doorkeeper-gem / doorkeeper-mongodb Goto Github PK
View Code? Open in Web Editor NEWMongoid and MongoMapper support for Doorkeeper.
License: MIT License
Mongoid and MongoMapper support for Doorkeeper.
License: MIT License
Is there any plan to support mongoid5? Though it is still in beta version, but i found that mongoDB's official documentation is saying about mongoid5: http://docs.mongodb.org/ecosystem/tutorial/ruby-mongoid-tutorial/
$ISSUE_BODY
Doorkeeper has ORM changes merged to master
branch.
See doorkeeper-gem/doorkeeper@d98d192 for the details.
Since 5.2.0.rc3 RedirectUriValidator lives under Doorkeeper namespace.
this is reflected in lib/doorkeeper/orm/active_record/application.rb
- validates :redirect_uri, redirect_uri: true
+ validates :redirect_uri, "doorkeeper/redirect_uri": true
but doorkeeper-mongodb/lib/doorkeeper-mongodb/mixins/mongoid/application_mixin.rb still uses old class which does not exist any more
validates :redirect_uri, redirect_uri: true
So if I try to run console I get this error
NameError:
uninitialized constant Doorkeeper::RedirectUriValidator
# /Users/andrii/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/active_support.rb:79:in `block in load_missing_constant'
# /Users/andrii/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/active_support.rb:8:in `without_bootsnap_cache'
# /Users/andrii/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/active_support.rb:79:in `rescue in load_missing_constant'
# /Users/andrii/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/active_support.rb:58:in `load_missing_constant'
# ./config/initializers/doorkeeper.rb:4:in `<main>'
Gemfile
gem 'doorkeeper', '5.2.0'
gem 'doorkeeper-mongodb', '~> 5.0.0'
Doorkeeper has ORM changes merged to master
branch.
See doorkeeper-gem/doorkeeper@25d0380 for the details.
Mirroring this issue: doorkeeper-gem/doorkeeper#891 . Would it be possible to get the confidential property added to the Doorkeeper:Application class?
Doorkeeper has ORM changes merged to master
branch.
See doorkeeper-gem/doorkeeper@7e39c20 for the details.
Gemfile needs to be:
gem 'doorkeeper-mongodb', github: 'doorkeeper-gem/doorkeeper-mongodb'
As gem isn't yet published
the company project needs to use mongoid 6, but it is not supported yet. I hope the gangster will develop it earlier, thank you
I maintain a bunch of other Mongoid related gems (check my GH profile) and would be glad to help with this one. Please give me repo access, thanks.
Hello.
I'm using Mongoid6.
I enabled application ownership, with confirmation => false
Doorkeeper.configure do
enable_application_owner :confirmation => false
end
But, trying to save without owner, the following error occurred.
pry(main)> app = Doorkeeper::Application.new(name: 'myapp', redirect_uri: 'https://example.com/path/to')
=> #<Doorkeeper::Application _id: 5b29ee7ee89bded141f1a15f, created_at: nil, updated_at: nil, scopes: nil, name: "myapp", uid: nil, secret: nil, redirect_uri: "https://example.com/path/to", owner_type: nil, owner_id: nil>
pry(main)> app.save!
Mongoid::Errors::Validations:
message:
Validation of Doorkeeper::Application failed.
summary:
The following errors were found: Owner can't be blank
resolution:
Try persisting the document with valid data or remove the validations.
Doorkeeper::Application.validators
are in the following state,
the (7)
will always execute, so I think that an error has occurred.
pry(main)> Doorkeeper::Application.validators
=> [
(1) #<Mongoid::Validatable::AssociatedValidator:0x00007fe9030b1550 @attributes=[:access_grants], @options={}>,
(2) #<Mongoid::Validatable::AssociatedValidator:0x00007fe8fd9b5508 @attributes=[:access_tokens], @options={}>,
(3) #<Mongoid::Validatable::PresenceValidator:0x00007fe9030bb528 @attributes=[:name, :secret, :uid], @options={}>,
(4) #<Mongoid::Validatable::UniquenessValidator:0x00007fe9030ba8a8 @attributes=[:uid], @options={}>,
(5) #<RedirectUriValidator:0x00007fe901ddb228 @attributes=[:redirect_uri], @options={}>,
(6) #<Mongoid::Validatable::AssociatedValidator:0x00007fe901de0138 @attributes=[:authorized_tokens], @options={}>,
(7) #<Mongoid::Validatable::PresenceValidator:0x00007fe8fff31d40 @attributes=[:owner], @options={}>,
(8) #<Mongoid::Validatable::PresenceValidator:0x00007fe8fff309b8 @attributes=[:owner], @options={:if=>:validate_owner?}>
]
When we are not using ActiveRecord, It seems belongs_to_options[:optional] = true
is not set.
So I think that the (7)
validator will be set
if :confirmation => false
,
Doorkeeper.configure do
enable_application_owner :confirmation => false
end
should succeed save without owner.
pry(main)> app = Doorkeeper::Application.new(name: 'myapp', redirect_uri: 'https://example.com/path/to')
pry(main)> app.save!
=> true
The following error occurred.
pry(main)> app = Doorkeeper::Application.new(name: 'myapp', redirect_uri: 'https://example.com/path/to')
pry(main)> app.save!
Mongoid::Errors::Validations:
message:
Validation of Doorkeeper::Application failed.
summary:
The following errors were found: Owner can't be blank
resolution:
Try persisting the document with valid data or remove the validations.
Ruby version:
2.5
Gemfile.lock
rails (5.0.7)
mongoid (6.1.1)
activemodel (~> 5.0)
mongo (>= 2.4.1, < 3.0.0)
doorkeeper (4.3.2)
railties (>= 4.2)
doorkeeper-i18n (4.0.0)
doorkeeper-mongodb (4.1.0)
doorkeeper (>= 4.0.0, < 5.0)
Thank you.
I'll provide more details if you don't get it. Or create a pull request when I can.
app.as_json(current_resource_owner: app.owner)['id'].is_a?(String) == true
app.as_json(current_resource_owner: app.owner)['id'].is_a?(String) != true
app.as_json(current_resource_owner: app.owner)['id'].is_a?(BSON::ObjectId) == true
Ruby version:
2.7.3
Gemfile.lock
doorkeeper (5.5.2)
doorkeeper-mongodb (5.2.2)
mongo (2.14.0)
mongoid (6.4.8)
rails (5.2.6)
What we need to do to see your problem or bug?
Simply create an expired access token and call the method.
The method should return "not expired Access Token with a matching set of scopes that belongs to specific Application and Resource Owner" (as the method description says)
Ruby version:
2.3.0
Gemfile.lock
GIT
remote: git://github.com/dfabreguette-ap/neo4jrb_spatial.git
revision: ee6f88c5aa002f4c27bf11f43f062df53a250640
specs:
neo4jrb_spatial (2.0.0)
neo4j (>= 8.0.6, <= 8.3.4)
neo4j-core (>= 7.2.2)
neo4j-rake_tasks (~> 0.3)
GIT
remote: git://github.com/dfabreguette-ap/wikipedia-client.git
revision: e7c8d9f349b158ddaf7f4b13b543288a550c1302
specs:
wikipedia-client (1.6.1)
GIT
remote: git://github.com/doorkeeper-gem/doorkeeper-mongodb.git
revision: 844fc7fde715c1b7e0b08390a1d12bd4a1099b30
specs:
doorkeeper-mongodb (4.1.0)
doorkeeper (>= 4.0.0, < 5.0)
GEM
remote: https://rubygems.org/
specs:
actioncable (5.1.6)
actionpack (= 5.1.6)
nio4r (~> 2.0)
websocket-driver (~> 0.6.1)
actionmailer (5.1.6)
actionpack (= 5.1.6)
actionview (= 5.1.6)
activejob (= 5.1.6)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (5.1.6)
actionview (= 5.1.6)
activesupport (= 5.1.6)
rack (~> 2.0)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (5.1.6)
activesupport (= 5.1.6)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
activejob (5.1.6)
activesupport (= 5.1.6)
globalid (>= 0.3.6)
activemodel (5.1.6)
activesupport (= 5.1.6)
activerecord (5.1.6)
activemodel (= 5.1.6)
activesupport (= 5.1.6)
arel (~> 8.0)
activesupport (5.1.6)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
angular-rails-templates (1.0.2)
railties (>= 4.2, < 6)
sprockets (>= 3.0, < 5)
tilt
angularjs-rails (1.4.8)
angularjs-rails-resource (2.0.0)
arel (8.0.0)
ast (2.4.0)
auto_html (1.6.4)
redcarpet (~> 3.1)
rinku (~> 1.5.0)
autogrow-textarea-rails (3.1.0)
autoprefixer-rails (8.3.0)
execjs
aws-partitions (1.80.0)
aws-sdk (3.0.1)
aws-sdk-resources (~> 3)
aws-sdk-acm (1.6.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-acmpca (1.0.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-alexaforbusiness (1.2.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-apigateway (1.10.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-applicationautoscaling (1.8.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-applicationdiscoveryservice (1.1.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-appstream (1.7.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-appsync (1.1.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-athena (1.0.1)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-autoscaling (1.5.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-autoscalingplans (1.1.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-batch (1.4.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-budgets (1.5.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-cloud9 (1.1.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-clouddirectory (1.2.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-cloudformation (1.4.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-cloudfront (1.2.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-cloudhsm (1.3.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-cloudhsmv2 (1.1.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-cloudsearch (1.0.1)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-cloudsearchdomain (1.0.1)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-cloudtrail (1.0.1)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-cloudwatch (1.5.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-cloudwatchevents (1.3.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-cloudwatchlogs (1.2.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-codebuild (1.7.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-codecommit (1.3.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-codedeploy (1.3.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-codepipeline (1.1.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-codestar (1.1.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-cognitoidentity (1.0.1)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-cognitoidentityprovider (1.3.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-cognitosync (1.0.1)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-comprehend (1.0.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-configservice (1.8.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-connect (1.0.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-core (3.19.0)
aws-partitions (~> 1.0)
aws-sigv4 (~> 1.0)
jmespath (~> 1.0)
aws-sdk-costandusagereportservice (1.0.1)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-costexplorer (1.2.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-databasemigrationservice (1.5.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-datapipeline (1.0.1)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-dax (1.0.1)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-devicefarm (1.4.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-directconnect (1.1.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-directoryservice (1.1.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-dynamodb (1.5.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-dynamodbstreams (1.0.1)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-ec2 (1.29.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-ecr (1.3.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-ecs (1.12.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-efs (1.0.1)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-elasticache (1.3.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-elasticbeanstalk (1.5.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-elasticloadbalancing (1.2.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-elasticloadbalancingv2 (1.8.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-elasticsearchservice (1.4.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-elastictranscoder (1.0.1)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-emr (1.1.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-firehose (1.1.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-fms (1.0.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-gamelift (1.3.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-glacier (1.6.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-glue (1.7.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-greengrass (1.3.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-guardduty (1.2.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-health (1.0.1)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-iam (1.4.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-importexport (1.0.1)
aws-sdk-core (~> 3)
aws-sigv2 (~> 1.0)
aws-sdk-inspector (1.3.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-iot (1.4.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-iotdataplane (1.0.1)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-iotjobsdataplane (1.0.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-kinesis (1.2.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-kinesisanalytics (1.2.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-kinesisvideo (1.0.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-kinesisvideoarchivedmedia (1.0.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-kinesisvideomedia (1.0.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-kms (1.5.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-lambda (1.5.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-lambdapreview (1.0.1)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-lex (1.3.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-lexmodelbuildingservice (1.5.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-lightsail (1.4.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-machinelearning (1.0.1)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-marketplacecommerceanalytics (1.0.1)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-marketplaceentitlementservice (1.0.1)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-marketplacemetering (1.0.1)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-mediaconvert (1.1.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-medialive (1.4.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-mediapackage (1.1.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-mediastore (1.1.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-mediastoredata (1.1.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-migrationhub (1.1.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-mobile (1.0.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-mq (1.0.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-mturk (1.3.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-opsworks (1.2.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-opsworkscm (1.2.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-organizations (1.8.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-pinpoint (1.4.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-polly (1.4.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-pricing (1.0.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-rds (1.15.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-redshift (1.2.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-rekognition (1.2.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-resourcegroups (1.0.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-resourcegroupstaggingapi (1.0.1)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-resources (3.14.0)
aws-sdk-acm (~> 1)
aws-sdk-acmpca (~> 1)
aws-sdk-alexaforbusiness (~> 1)
aws-sdk-apigateway (~> 1)
aws-sdk-applicationautoscaling (~> 1)
aws-sdk-applicationdiscoveryservice (~> 1)
aws-sdk-appstream (~> 1)
aws-sdk-appsync (~> 1)
aws-sdk-athena (~> 1)
aws-sdk-autoscaling (~> 1)
aws-sdk-autoscalingplans (~> 1)
aws-sdk-batch (~> 1)
aws-sdk-budgets (~> 1)
aws-sdk-cloud9 (~> 1)
aws-sdk-clouddirectory (~> 1)
aws-sdk-cloudformation (~> 1)
aws-sdk-cloudfront (~> 1)
aws-sdk-cloudhsm (~> 1)
aws-sdk-cloudhsmv2 (~> 1)
aws-sdk-cloudsearch (~> 1)
aws-sdk-cloudsearchdomain (~> 1)
aws-sdk-cloudtrail (~> 1)
aws-sdk-cloudwatch (~> 1)
aws-sdk-cloudwatchevents (~> 1)
aws-sdk-cloudwatchlogs (~> 1)
aws-sdk-codebuild (~> 1)
aws-sdk-codecommit (~> 1)
aws-sdk-codedeploy (~> 1)
aws-sdk-codepipeline (~> 1)
aws-sdk-codestar (~> 1)
aws-sdk-cognitoidentity (~> 1)
aws-sdk-cognitoidentityprovider (~> 1)
aws-sdk-cognitosync (~> 1)
aws-sdk-comprehend (~> 1)
aws-sdk-configservice (~> 1)
aws-sdk-connect (~> 1)
aws-sdk-costandusagereportservice (~> 1)
aws-sdk-costexplorer (~> 1)
aws-sdk-databasemigrationservice (~> 1)
aws-sdk-datapipeline (~> 1)
aws-sdk-dax (~> 1)
aws-sdk-devicefarm (~> 1)
aws-sdk-directconnect (~> 1)
aws-sdk-directoryservice (~> 1)
aws-sdk-dynamodb (~> 1)
aws-sdk-dynamodbstreams (~> 1)
aws-sdk-ec2 (~> 1)
aws-sdk-ecr (~> 1)
aws-sdk-ecs (~> 1)
aws-sdk-efs (~> 1)
aws-sdk-elasticache (~> 1)
aws-sdk-elasticbeanstalk (~> 1)
aws-sdk-elasticloadbalancing (~> 1)
aws-sdk-elasticloadbalancingv2 (~> 1)
aws-sdk-elasticsearchservice (~> 1)
aws-sdk-elastictranscoder (~> 1)
aws-sdk-emr (~> 1)
aws-sdk-firehose (~> 1)
aws-sdk-fms (~> 1)
aws-sdk-gamelift (~> 1)
aws-sdk-glacier (~> 1)
aws-sdk-glue (~> 1)
aws-sdk-greengrass (~> 1)
aws-sdk-guardduty (~> 1)
aws-sdk-health (~> 1)
aws-sdk-iam (~> 1)
aws-sdk-importexport (~> 1)
aws-sdk-inspector (~> 1)
aws-sdk-iot (~> 1)
aws-sdk-iotdataplane (~> 1)
aws-sdk-iotjobsdataplane (~> 1)
aws-sdk-kinesis (~> 1)
aws-sdk-kinesisanalytics (~> 1)
aws-sdk-kinesisvideo (~> 1)
aws-sdk-kinesisvideoarchivedmedia (~> 1)
aws-sdk-kinesisvideomedia (~> 1)
aws-sdk-kms (~> 1)
aws-sdk-lambda (~> 1)
aws-sdk-lambdapreview (~> 1)
aws-sdk-lex (~> 1)
aws-sdk-lexmodelbuildingservice (~> 1)
aws-sdk-lightsail (~> 1)
aws-sdk-machinelearning (~> 1)
aws-sdk-marketplacecommerceanalytics (~> 1)
aws-sdk-marketplaceentitlementservice (~> 1)
aws-sdk-marketplacemetering (~> 1)
aws-sdk-mediaconvert (~> 1)
aws-sdk-medialive (~> 1)
aws-sdk-mediapackage (~> 1)
aws-sdk-mediastore (~> 1)
aws-sdk-mediastoredata (~> 1)
aws-sdk-migrationhub (~> 1)
aws-sdk-mobile (~> 1)
aws-sdk-mq (~> 1)
aws-sdk-mturk (~> 1)
aws-sdk-opsworks (~> 1)
aws-sdk-opsworkscm (~> 1)
aws-sdk-organizations (~> 1)
aws-sdk-pinpoint (~> 1)
aws-sdk-polly (~> 1)
aws-sdk-pricing (~> 1)
aws-sdk-rds (~> 1)
aws-sdk-redshift (~> 1)
aws-sdk-rekognition (~> 1)
aws-sdk-resourcegroups (~> 1)
aws-sdk-resourcegroupstaggingapi (~> 1)
aws-sdk-route53 (~> 1)
aws-sdk-route53domains (~> 1)
aws-sdk-s3 (~> 1)
aws-sdk-sagemaker (~> 1)
aws-sdk-sagemakerruntime (~> 1)
aws-sdk-secretsmanager (~> 1)
aws-sdk-serverlessapplicationrepository (~> 1)
aws-sdk-servicecatalog (~> 1)
aws-sdk-servicediscovery (~> 1)
aws-sdk-ses (~> 1)
aws-sdk-shield (~> 1)
aws-sdk-simpledb (~> 1)
aws-sdk-sms (~> 1)
aws-sdk-snowball (~> 1)
aws-sdk-sns (~> 1)
aws-sdk-sqs (~> 1)
aws-sdk-ssm (~> 1)
aws-sdk-states (~> 1)
aws-sdk-storagegateway (~> 1)
aws-sdk-support (~> 1)
aws-sdk-swf (~> 1)
aws-sdk-transcribeservice (~> 1)
aws-sdk-translate (~> 1)
aws-sdk-waf (~> 1)
aws-sdk-wafregional (~> 1)
aws-sdk-workdocs (~> 1)
aws-sdk-workmail (~> 1)
aws-sdk-workspaces (~> 1)
aws-sdk-xray (~> 1)
aws-sdk-route53 (1.9.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-route53domains (1.1.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-s3 (1.9.0)
aws-sdk-core (~> 3)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.0)
aws-sdk-sagemaker (1.7.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-sagemakerruntime (1.0.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-secretsmanager (1.0.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-serverlessapplicationrepository (1.2.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-servicecatalog (1.4.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-servicediscovery (1.2.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-ses (1.6.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-shield (1.1.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-simpledb (1.0.1)
aws-sdk-core (~> 3)
aws-sigv2 (~> 1.0)
aws-sdk-sms (1.0.1)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-snowball (1.2.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-sns (1.1.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-sqs (1.3.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-ssm (1.11.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-states (1.2.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-storagegateway (1.3.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-support (1.0.1)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-swf (1.0.1)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-transcribeservice (1.1.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-translate (1.1.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-waf (1.4.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-wafregional (1.4.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-workdocs (1.1.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-workmail (1.1.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-workspaces (1.1.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sdk-xray (1.1.0)
aws-sdk-core (~> 3)
aws-sigv4 (~> 1.0)
aws-sigv2 (1.0.1)
aws-sigv4 (1.0.2)
axiom-types (0.1.1)
descendants_tracker (~> 0.0.4)
ice_nine (~> 0.11.0)
thread_safe (~> 0.3, >= 0.3.1)
bcrypt (3.1.11)
bootsnap (1.3.0)
msgpack (~> 1.0)
bootstrap-sass (3.3.7)
autoprefixer-rails (>= 5.2.1)
sass (>= 3.3.4)
bootswatch-rails (3.3.5)
railties (>= 3.1)
bourbon (5.0.0)
sass (~> 3.4)
thor (~> 0.19)
browser (2.5.3)
bson (4.3.0)
buftok (0.2.0)
builder (3.2.3)
cancan (1.6.10)
capistrano (3.4.1)
i18n
rake (>= 10.0.0)
sshkit (~> 1.3)
capistrano-bundler (1.3.0)
capistrano (~> 3.1)
sshkit (~> 1.2)
capistrano-passenger (0.2.0)
capistrano (~> 3.0)
capistrano-rails (1.3.1)
capistrano (~> 3.1)
capistrano-bundler (~> 1.1)
capistrano-rake (0.1.0)
capistrano (>= 3.0)
capistrano-rvm (0.1.2)
capistrano (~> 3.0)
sshkit (~> 1.2)
capistrano-sidekiq (0.10.0)
capistrano
sidekiq (>= 3.4)
capybara (3.0.2)
addressable
mini_mime (>= 0.1.3)
nokogiri (~> 1.8)
rack (>= 1.6.0)
rack-test (>= 0.6.3)
xpath (~> 3.0)
capybara-angular (0.2.5)
capybara (>= 2.5.0)
certified (1.0.0)
childprocess (0.9.0)
ffi (~> 1.0, >= 1.0.11)
climate_control (0.2.0)
codeclimate-engine-rb (0.4.1)
virtus (~> 1.0)
coercible (1.0.0)
descendants_tracker (~> 0.0.1)
coffee-rails (4.2.2)
coffee-script (>= 2.2.0)
railties (>= 4.0.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.12.2)
commander (4.4.4)
highline (~> 1.7.2)
concurrent-ruby (1.0.5)
connection_pool (2.2.1)
cookiejar (0.3.3)
crass (1.0.4)
daemons (1.2.6)
database_cleaner (1.6.2)
declarative (0.0.10)
declarative-option (0.1.0)
descendants_tracker (0.0.4)
thread_safe (~> 0.3, >= 0.3.1)
devise (4.4.3)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 4.1.0, < 6.0)
responders
warden (~> 1.2.3)
devise-i18n (1.6.2)
devise (>= 4.4)
diff-lcs (1.3)
domain_name (0.5.20180417)
unf (>= 0.0.5, < 1.0.0)
doorkeeper (4.3.2)
railties (>= 4.2)
doorkeeper-jwt (0.2.1)
jwt (~> 1.5.2, >= 1.5.2)
elasticsearch (6.0.2)
elasticsearch-api (= 6.0.2)
elasticsearch-transport (= 6.0.2)
elasticsearch-api (6.0.2)
multi_json
elasticsearch-transport (6.0.2)
faraday
multi_json
em-hiredis (0.3.1)
eventmachine (~> 1.0)
hiredis (~> 0.6.0)
em-http-request (1.1.5)
addressable (>= 2.3.4)
cookiejar (!= 0.3.1)
em-socksify (>= 0.3)
eventmachine (>= 1.0.3)
http_parser.rb (>= 0.6.0)
em-socksify (0.3.2)
eventmachine (>= 1.0.0.beta.4)
enumerize (2.2.2)
activesupport (>= 3.2)
equalizer (0.0.11)
erubi (1.7.1)
erubis (2.7.0)
et-orbi (1.1.0)
tzinfo
ethon (0.11.0)
ffi (>= 1.3.0)
eventmachine (1.2.5)
exception_notification (4.2.2)
actionmailer (>= 4.0, < 6)
activesupport (>= 4.0, < 6)
excon (0.62.0)
execjs (2.7.0)
factory_bot (4.8.2)
activesupport (>= 3.0.0)
factory_bot_rails (4.8.2)
factory_bot (~> 4.8.2)
railties (>= 3.0.0)
faraday (0.12.2)
multipart-post (>= 1.2, < 3)
faraday_middleware (0.12.2)
faraday (>= 0.7.4, < 1.0)
faraday_middleware-multi_json (0.0.6)
faraday_middleware
multi_json
faye (1.2.4)
cookiejar (>= 0.3.0)
em-http-request (>= 0.3.0)
eventmachine (>= 0.12.0)
faye-websocket (>= 0.9.1)
multi_json (>= 1.0.0)
rack (>= 1.0.0)
websocket-driver (>= 0.5.1)
faye-authentication (1.8.2)
faye (>= 1.0)
jwt (>= 1.2)
faye-redis (0.2.0)
em-hiredis (>= 0.2.0)
eventmachine (>= 0.12.0)
multi_json (>= 1.0.0)
faye-websocket (0.10.7)
eventmachine (>= 0.12.0)
websocket-driver (>= 0.5.1)
fcm (0.0.2)
httparty
json
ffi (1.9.23)
figaro (1.1.1)
thor (~> 0.14)
flay (2.11.0)
erubis (~> 2.7.0)
path_expander (~> 1.0)
ruby_parser (~> 3.0)
sexp_processor (~> 4.0)
flog (4.6.2)
path_expander (~> 1.0)
ruby_parser (~> 3.1, > 3.1.0)
sexp_processor (~> 4.8)
font-awesome-rails (4.7.0.4)
railties (>= 3.2, < 6.0)
geocoder (1.4.7)
globalid (0.4.1)
activesupport (>= 4.2.0)
google-api-client (0.20.1)
addressable (~> 2.5, >= 2.5.1)
googleauth (>= 0.5, < 0.7.0)
httpclient (>= 2.8.1, < 3.0)
mime-types (~> 3.0)
representable (~> 3.0)
retriable (>= 2.0, < 4.0)
google-id-token (1.4.2)
jwt (>= 1)
googleauth (0.6.2)
faraday (~> 0.12)
jwt (>= 1.4, < 3.0)
logging (~> 2.0)
memoist (~> 0.12)
multi_json (~> 1.11)
os (~> 0.9)
signet (~> 0.7)
haml (5.0.4)
temple (>= 0.8.0)
tilt
haml-rails (1.0.0)
actionpack (>= 4.0.1)
activesupport (>= 4.0.1)
haml (>= 4.0.6, < 6.0)
html2haml (>= 1.0.1)
railties (>= 4.0.1)
hashie (3.5.7)
highline (1.7.10)
hiredis (0.6.1)
hkdf (0.3.0)
houston (2.2.4)
commander (~> 4.4)
json
html2haml (2.2.0)
erubis (~> 2.7.0)
haml (>= 4.0, < 6)
nokogiri (>= 1.6.0)
ruby_parser (~> 3.5)
http (3.0.0)
addressable (~> 2.3)
http-cookie (~> 1.0)
http-form_data (>= 2.0.0.pre.pre2, < 3)
http_parser.rb (~> 0.6.0)
http-cookie (1.0.3)
domain_name (~> 0.5)
http-form_data (2.1.0)
http_parser.rb (0.6.0)
httparty (0.16.2)
multi_xml (>= 0.5.2)
httpclient (2.8.3)
i18n (1.0.1)
concurrent-ruby (~> 1.0)
ice_nine (0.11.2)
jasmine-core (2.99.2)
jasmine-rails (0.14.7)
jasmine-core (>= 1.3, < 3.0)
phantomjs (>= 1.9)
railties (>= 3.2.0)
sprockets-rails
jbuilder (2.7.0)
activesupport (>= 4.2.0)
multi_json (>= 1.2)
jmespath (1.4.0)
jquery-fileupload-rails (0.4.7)
actionpack (>= 3.1)
railties (>= 3.1)
sass (>= 3.2)
jquery-rails (4.3.1)
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
jquery-ui-rails (5.0.5)
railties (>= 3.2.16)
json (1.8.6)
jwt (1.5.6)
kaminari (1.1.1)
activesupport (>= 4.1.0)
kaminari-actionview (= 1.1.1)
kaminari-activerecord (= 1.1.1)
kaminari-core (= 1.1.1)
kaminari-actionview (1.1.1)
actionview
kaminari-core (= 1.1.1)
kaminari-activerecord (1.1.1)
activerecord
kaminari-core (= 1.1.1)
kaminari-bootstrap (3.0.1)
kaminari (>= 0.13.0)
rails
kaminari-core (1.1.1)
kaminari-mongoid (1.0.1)
kaminari-core (~> 1.0)
mongoid
kaminari-neo4j (0.0.4)
activesupport (>= 3.0)
kaminari (>= 0.16.3)
neo4j (>= 4.0)
koala (3.0.0)
addressable
faraday
json (>= 1.8)
launchy (2.4.3)
addressable (~> 2.3)
letter_opener (1.6.0)
launchy (~> 2.2)
libv8 (3.16.14.19)
little-plugger (1.1.4)
logging (2.2.2)
little-plugger (~> 1.1)
multi_json (~> 1.10)
loofah (2.2.2)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mail (2.7.0)
mini_mime (>= 0.1.1)
mailchimp-api (2.0.6)
excon (>= 0.16.0)
json (>= 1.7.7)
memoist (0.16.0)
memoizable (0.4.2)
thread_safe (~> 0.3, >= 0.3.1)
method_source (0.9.0)
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
mimemagic (0.3.2)
mini_mime (1.0.0)
mini_portile2 (2.3.0)
minitest (5.11.3)
mongo (2.5.1)
bson (>= 4.3.0, < 5.0.0)
mongoid (6.4.0)
activemodel (>= 5.1, < 6.0.0)
mongo (>= 2.5.1, < 3.0.0)
mongoid-autoinc (6.0.2)
mongoid (~> 6.0)
mongoid-compatibility (0.5.1)
activesupport
mongoid (>= 2.0)
mongoid-geospatial (5.0.0)
mongoid (>= 5.0.0.beta)
mongoid-paperclip (0.0.11)
mongoid
paperclip (>= 2.3.6, != 4.3.0)
mongoid-rspec (4.0.0)
activesupport (>= 3.0.0)
mongoid (>= 2.0)
mongoid-compatibility
rspec (~> 3.3)
mongoid-slug (5.3.3)
mongoid (>= 3.0)
mongoid-compatibility
stringex (~> 2.0)
msgpack (1.2.4)
multi_json (1.13.1)
multi_xml (0.6.0)
multipart-post (2.0.0)
mustermann (1.0.2)
naught (1.1.0)
neo4j (8.3.4)
activemodel (>= 4.0)
activesupport (>= 4.0)
neo4j-core (>= 7.2.2)
orm_adapter (~> 0.5.0)
neo4j-core (8.1.4)
activesupport (>= 4.0)
faraday (>= 0.9.0)
faraday_middleware (>= 0.10.0)
faraday_middleware-multi_json
httpclient
json
multi_json
typhoeus (>= 1.1.2)
neo4j-rake_tasks (0.7.18)
os
rake
ruby-progressbar
rubyzip (>= 1.1.7)
nested_form (0.3.2)
net-http-persistent (2.9.4)
net-scp (1.2.1)
net-ssh (>= 2.6.5)
net-ssh (2.7.0)
netrc (0.11.0)
ngannotate-rails (1.2.2)
execjs
rails (>= 3.1)
nio4r (2.3.0)
nokogiri (1.8.2)
mini_portile2 (~> 2.3.0)
nokogumbo (1.5.0)
nokogiri
oauth (0.5.4)
oauth2 (1.4.0)
faraday (>= 0.8, < 0.13)
jwt (~> 1.0)
multi_json (~> 1.3)
multi_xml (~> 0.5)
rack (>= 1.2, < 3)
omniauth (1.8.1)
hashie (>= 3.4.6, < 3.6.0)
rack (>= 1.6.2, < 3)
omniauth-facebook (5.0.0)
omniauth-oauth2 (~> 1.2)
omniauth-google-oauth2 (0.5.3)
jwt (>= 1.5)
omniauth (>= 1.1.1)
omniauth-oauth2 (>= 1.5)
omniauth-oauth (1.1.0)
oauth
omniauth (~> 1.0)
omniauth-oauth2 (1.5.0)
oauth2 (~> 1.1)
omniauth (~> 1.2)
omniauth-twitter (1.4.0)
omniauth-oauth (~> 1.1)
rack
open_uri_redirections (0.2.1)
orm_adapter (0.5.0)
os (0.9.6)
paperclip (6.0.0)
activemodel (>= 4.2.0)
activesupport (>= 4.2.0)
mime-types
mimemagic (~> 0.3.0)
terrapin (~> 0.6.0)
parallel (1.12.1)
parallel_tests (2.21.3)
parallel
parser (2.5.1.0)
ast (~> 2.4.0)
path_expander (1.0.3)
paypal-sdk-rest (1.7.2)
multi_json (~> 1.0)
xml-simple
phantomjs (2.1.1.0)
public_activity (1.5.0)
actionpack (>= 3.0.0)
activerecord (>= 3.0)
i18n (>= 0.5.0)
railties (>= 3.0.0)
public_suffix (3.0.2)
puma (3.11.4)
rack (2.0.4)
rack-cors (1.0.2)
rack-pjax (1.0.0)
nokogiri (~> 1.5)
rack (>= 1.1)
rack-protection (2.0.1)
rack
rack-test (1.0.0)
rack (>= 1.0, < 3)
rails (5.1.6)
actioncable (= 5.1.6)
actionmailer (= 5.1.6)
actionpack (= 5.1.6)
actionview (= 5.1.6)
activejob (= 5.1.6)
activemodel (= 5.1.6)
activerecord (= 5.1.6)
activesupport (= 5.1.6)
bundler (>= 1.3.0)
railties (= 5.1.6)
sprockets-rails (>= 2.0.0)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-html-sanitizer (1.0.4)
loofah (~> 2.2, >= 2.2.2)
rails-i18n (5.1.1)
i18n (>= 0.7, < 2)
railties (>= 5.0, < 6)
rails_admin (1.3.0)
builder (~> 3.1)
coffee-rails (~> 4.0)
font-awesome-rails (>= 3.0, < 5)
haml (>= 4.0, < 6)
jquery-rails (>= 3.0, < 5)
jquery-ui-rails (~> 5.0)
kaminari (>= 0.14, < 2.0)
nested_form (~> 0.3)
rack-pjax (>= 0.7)
rails (>= 4.0, < 6)
remotipart (~> 1.3)
sass-rails (>= 4.0, < 6)
railties (5.1.6)
actionpack (= 5.1.6)
activesupport (= 5.1.6)
method_source
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rainbow (3.0.0)
rake (12.3.1)
rb-fsevent (0.10.3)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
rdoc (4.3.0)
redcarpet (3.4.0)
redis (4.0.1)
redis-namespace (1.6.0)
redis (>= 3.0.4)
reek (4.8.1)
codeclimate-engine-rb (~> 0.4.0)
parser (>= 2.5.0.0, < 2.6)
rainbow (>= 2.0, < 4.0)
ref (2.0.0)
remotipart (1.4.0)
representable (3.0.4)
declarative (< 0.1.0)
declarative-option (< 0.2.0)
uber (< 0.2.0)
responders (2.4.0)
actionpack (>= 4.2.0, < 5.3)
railties (>= 4.2.0, < 5.3)
rest-client (2.0.2)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
retriable (3.1.1)
rinku (1.5.1)
roo (2.7.1)
nokogiri (~> 1)
rubyzip (~> 1.1, < 2.0.0)
rspec (3.7.0)
rspec-core (~> 3.7.0)
rspec-expectations (~> 3.7.0)
rspec-mocks (~> 3.7.0)
rspec-core (3.7.1)
rspec-support (~> 3.7.0)
rspec-expectations (3.7.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.7.0)
rspec-mocks (3.7.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.7.0)
rspec-rails (3.7.2)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (~> 3.7.0)
rspec-expectations (~> 3.7.0)
rspec-mocks (~> 3.7.0)
rspec-support (~> 3.7.0)
rspec-support (3.7.1)
ruby-progressbar (1.9.0)
ruby_parser (3.11.0)
sexp_processor (~> 4.9)
rubycritic (3.4.0)
flay (~> 2.8)
flog (~> 4.4)
launchy (= 2.4.3)
parser (~> 2.5.0)
rainbow (~> 3.0)
reek (~> 4.4)
ruby_parser (~> 3.8)
tty-which (~> 0.3.0)
virtus (~> 1.0)
rubyzip (1.2.1)
rufus-scheduler (3.4.2)
et-orbi (~> 1.0)
sanitize (4.6.4)
crass (~> 1.0.2)
nokogiri (>= 1.4.4)
nokogumbo (~> 1.4)
sass (3.5.6)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
sass-rails (5.0.7)
railties (>= 4.0.0, < 6)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3)
sdoc (0.4.2)
json (~> 1.7, >= 1.7.7)
rdoc (~> 4.0)
searchkick (3.0.2)
activemodel (>= 4.2)
elasticsearch (>= 5)
hashie
selenium-webdriver (3.11.0)
childprocess (~> 0.5)
rubyzip (~> 1.2)
serviceworker-rails (0.5.5)
railties (>= 3.1)
sexp_processor (4.11.0)
sidekiq (5.1.3)
concurrent-ruby (~> 1.0)
connection_pool (~> 2.2, >= 2.2.0)
rack-protection (>= 1.5.0)
redis (>= 3.3.5, < 5)
sidekiq-cron (0.6.3)
rufus-scheduler (>= 3.3.0)
sidekiq (>= 4.2.1)
signet (0.8.1)
addressable (~> 2.3)
faraday (~> 0.9)
jwt (>= 1.5, < 3.0)
multi_json (~> 1.10)
simple_form (4.0.0)
actionpack (> 4)
activemodel (> 4)
simple_oauth (0.3.1)
sinatra (2.0.1)
mustermann (~> 1.0)
rack (~> 2.0)
rack-protection (= 2.0.1)
tilt (~> 2.0)
spring (2.0.2)
activesupport (>= 4.2)
sprockets (3.7.1)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.2.1)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
sshkit (1.3.0)
net-scp (>= 1.1.2)
net-ssh
term-ansicolor
streamio-ffmpeg (3.0.2)
multi_json (~> 1.8)
stringex (2.8.4)
swagger-blocks (2.0.2)
temple (0.8.0)
term-ansicolor (1.6.0)
tins (~> 1.0)
terrapin (0.6.0)
climate_control (>= 0.0.3, < 1.0)
therubyracer (0.12.3)
libv8 (~> 3.16.14.15)
ref
thin (1.7.2)
daemons (~> 1.0, >= 1.0.9)
eventmachine (~> 1.0, >= 1.0.4)
rack (>= 1, < 3)
thor (0.20.0)
thread_safe (0.3.6)
tilt (2.0.8)
timecop (0.9.1)
tins (1.16.3)
tinymce-rails (4.7.11)
railties (>= 3.1.1)
tinymce-rails-langs (4.20180103)
tinymce-rails (~> 4.1, >= 4.1.10)
truncate_html (0.9.3)
tty-which (0.3.0)
twitter (6.2.0)
addressable (~> 2.3)
buftok (~> 0.2.0)
equalizer (~> 0.0.11)
http (~> 3.0)
http-form_data (~> 2.0)
http_parser.rb (~> 0.6.0)
memoizable (~> 0.4.0)
multipart-post (~> 2.0)
naught (~> 1.0)
simple_oauth (~> 0.3.0)
typhoeus (1.3.0)
ethon (>= 0.9.0)
tzinfo (1.2.5)
thread_safe (~> 0.1)
uber (0.1.0)
uglifier (4.1.9)
execjs (>= 0.3.0, < 3)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.5)
videojs_rails (4.12.15)
virtus (1.0.5)
axiom-types (~> 0.1)
coercible (~> 1.0)
descendants_tracker (~> 0.0, >= 0.0.3)
equalizer (~> 0.0, >= 0.0.9)
warden (1.2.7)
rack (>= 1.0)
webpush (0.3.2)
hkdf (~> 0.2)
jwt
websocket-driver (0.6.5)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.3)
wicked_pdf (1.1.0)
will_paginate (3.1.6)
xml-simple (1.1.5)
xmlrpc (0.3.0)
xpath (3.0.0)
nokogiri (~> 1.8)
PLATFORMS
ruby
DEPENDENCIES
angular-rails-templates
angularjs-rails (~> 1.4.7)
angularjs-rails-resource (~> 2.0.0)
auto_html (~> 1.6.4)
autogrow-textarea-rails
aws-sdk (~> 3)
bootsnap
bootstrap-sass
bootswatch-rails
bourbon
browser
cancan
capistrano (~> 3.0)
capistrano-bundler (~> 1.1)
capistrano-passenger
capistrano-rails (~> 1.1)
capistrano-rake
capistrano-rvm (~> 0.1)
capistrano-sidekiq
capybara
capybara-angular
certified
coffee-rails
database_cleaner
devise
devise-i18n
doorkeeper
doorkeeper-jwt
doorkeeper-mongodb!
enumerize
exception_notification
execjs
factory_bot_rails
faye
faye-authentication
faye-redis
fcm
figaro
font-awesome-rails
geocoder
google-api-client (~> 0.10)
google-id-token
haml
haml-rails
houston
jasmine-rails
jbuilder (~> 2.2)
jquery-fileupload-rails
jquery-rails
kaminari
kaminari-bootstrap (~> 3.0.1)
kaminari-mongoid
kaminari-neo4j
koala
letter_opener
mailchimp-api
mongoid (~> 6.4.0)
mongoid-autoinc
mongoid-geospatial
mongoid-paperclip
mongoid-rspec
mongoid-slug (~> 5.3.0)
multi_json
neo4j
neo4jrb_spatial!
net-http-persistent (~> 2.9.4)
net-ssh (~> 2.7.0)
ngannotate-rails
oauth2
omniauth-facebook
omniauth-google-oauth2
omniauth-twitter
open_uri_redirections
parallel_tests
paypal-sdk-rest
public_activity
puma
rack-cors
rails (< 5.2)
rails-i18n
rails_admin
redis-namespace
responders (~> 2.0)
rest-client
roo
rspec-rails
rubycritic
sanitize
sass-rails (~> 5.0, >= 5.0.6)
sdoc (~> 0.4.0)
searchkick
selenium-webdriver
serviceworker-rails
sidekiq
sidekiq-cron
simple_form
sinatra
spring
streamio-ffmpeg
swagger-blocks
therubyracer
thin
timecop
tinymce-rails
tinymce-rails-langs
truncate_html
twitter
uglifier
videojs_rails
webpush
wicked_pdf
wikipedia-client!
will_paginate
xmlrpc
RUBY VERSION
ruby 2.3.0p0
BUNDLED WITH
1.16.1
Doorkeeper has ORM changes merged to master
branch.
See doorkeeper-gem/doorkeeper@19de07c for the details.
Doorkeeper master has ORM changed merged to master
branch.
See doorkeeper-gem/doorkeeper@78599a6 for the details.
Hi! I'm encountering the following error when using doorkeeper-mongodb 5.0 with doorkeeper 5.1.0:
Given my gem versions are
And I have a Doorkeeper application
When I go to /oauth/applications/:application_id
Then I should be able to view the Doorkeeper application
I get the following error:
Started GET "/oauth/applications/5cdf7a58321dcb0007955ee0" for 172.18.0.1 at 2019-05-21 22:48:15 +0000
Cannot render console from 172.18.0.1! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255
Processing by Doorkeeper::ApplicationsController#show as HTML
Parameters: {"id"=>"5cdf7a58321dcb0007955ee0"}
Rendering /usr/local/bundle/gems/doorkeeper-5.1.0views/doorkeeper/applications/show.html.erb within layouts/doorkeeper/admin
Rendered /usr/local/bundle/gems/doorkeeper-5.1.0views/doorkeeper/applications/show.html.erb within layouts/doorkeeper/admin (4.5ms)
Completed 500 Internal Server Error in 18ms
ActionView::Template::Error (undefined method `plaintext_secret' for #<Doorkeeper::Application:0x00007f50cdc82178>):
8: <p><code class="bg-light" id="application_id"><%= @application.uid %></code></p>
9:
10: <h4><%= t('.secret') %>:</h4>
11: <p><code class="bg-light" id="secret"><%= @application.plaintext_secret %></code></p>
12:
13: <h4><%= t('.scopes') %>:</h4>
14: <p><code class="bg-light" id="scopes"><%= @application.scopes.presence || raw(' ') %></code></p>
doorkeeper (5.1.0views) doorkeeper/applications/show.html.erb:11:in `__usr_local_bundle_gems_doorkeeper______views_doorkeeper_applications_show_html_erb__3282679595179731542_69992513242040'
Roll back Doorkeeper to 5.0.2.
ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux]
GIT
remote: https://github.com/SnackNation/json-logic-ruby.git
revision: 52a84fdc4a84b85b4619d21e9a403889044d8815
branch: deep_fetch_false_value
specs:
json_logic (0.4.1)
GIT
remote: https://github.com/SnackNation/spring-watcher-listen.git
revision: 2af02a92bef8a2e51d6601e40270228a3b3b9967
specs:
spring-watcher-listen (2.0.2)
listen (>= 2.7, < 4.0)
spring (>= 1.2, < 3.0)
GEM
remote: https://rubygems.org/
specs:
actioncable (5.2.1)
actionpack (= 5.2.1)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
actionmailer (5.2.1)
actionpack (= 5.2.1)
actionview (= 5.2.1)
activejob (= 5.2.1)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (5.2.1)
actionview (= 5.2.1)
activesupport (= 5.2.1)
rack (~> 2.0)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (5.2.1)
activesupport (= 5.2.1)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
activejob (5.2.1)
activesupport (= 5.2.1)
globalid (>= 0.3.6)
activemodel (5.2.1)
activesupport (= 5.2.1)
activemodel-serializers-xml (1.0.2)
activemodel (> 5.x)
activesupport (> 5.x)
builder (~> 3.1)
activerecord (5.2.1)
activemodel (= 5.2.1)
activesupport (= 5.2.1)
arel (>= 9.0)
activestorage (5.2.1)
actionpack (= 5.2.1)
activerecord (= 5.2.1)
marcel (~> 0.3.1)
activesupport (5.2.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
arel (9.0.0)
ast (2.4.0)
attr_extras (5.2.0)
bindex (0.5.0)
bootsnap (1.3.1)
msgpack (~> 1.0)
brakeman (4.3.1)
bson (4.4.2)
builder (3.2.3)
byebug (10.0.2)
capybara (3.6.0)
addressable
mini_mime (>= 0.1.3)
nokogiri (~> 1.8)
rack (>= 1.6.0)
rack-test (>= 0.6.3)
xpath (~> 3.1)
capybara-screenshot (1.0.21)
capybara (>= 1.0, < 4)
launchy
childprocess (0.9.0)
ffi (~> 1.0, >= 1.0.11)
concurrent-ruby (1.1.4)
config (1.7.1)
activesupport (>= 3.0)
deep_merge (~> 1.2.1)
dry-validation (>= 0.12.2)
crack (0.4.3)
safe_yaml (~> 1.0.0)
crass (1.0.4)
database_cleaner (1.7.0)
debase (0.2.2)
debase-ruby_core_source (>= 0.10.2)
debase-ruby_core_source (0.10.3)
deep_merge (1.2.1)
diff-lcs (1.3)
doorkeeper (5.1.0)
railties (>= 5)
doorkeeper-mongodb (5.0.0)
doorkeeper (>= 5.0, < 6.0)
dotenv (2.5.0)
dotenv-rails (2.5.0)
dotenv (= 2.5.0)
railties (>= 3.2, < 6.0)
draper (3.0.1)
actionpack (~> 5.0)
activemodel (~> 5.0)
activemodel-serializers-xml (~> 1.0)
activesupport (~> 5.0)
request_store (~> 1.0)
dry-configurable (0.8.1)
concurrent-ruby (~> 1.0)
dry-core (~> 0.4, >= 0.4.7)
dry-container (0.7.0)
concurrent-ruby (~> 1.0)
dry-configurable (~> 0.1, >= 0.1.3)
dry-core (0.4.7)
concurrent-ruby (~> 1.0)
dry-equalizer (0.2.1)
dry-inflector (0.1.2)
dry-logic (0.5.0)
dry-container (~> 0.2, >= 0.2.6)
dry-core (~> 0.2)
dry-equalizer (~> 0.2)
dry-types (0.14.0)
concurrent-ruby (~> 1.0)
dry-container (~> 0.3)
dry-core (~> 0.4, >= 0.4.4)
dry-equalizer (~> 0.2)
dry-inflector (~> 0.1, >= 0.1.2)
dry-logic (~> 0.5, >= 0.5)
dry-validation (0.13.0)
concurrent-ruby (~> 1.0)
dry-configurable (~> 0.1, >= 0.1.3)
dry-core (~> 0.2, >= 0.2.1)
dry-equalizer (~> 0.2)
dry-logic (~> 0.5, >= 0.5.0)
dry-types (~> 0.14, >= 0.14)
erubi (1.7.1)
execjs (2.7.0)
factory_bot (4.11.1)
activesupport (>= 3.0.0)
factory_bot_rails (4.11.1)
factory_bot (~> 4.11.1)
railties (>= 3.0.0)
faraday (0.12.2)
multipart-post (>= 1.2, < 3)
faraday_middleware (0.12.2)
faraday (>= 0.7.4, < 1.0)
ffi (1.9.25)
globalid (0.4.1)
activesupport (>= 4.2.0)
hashdiff (0.3.7)
hashie (3.5.7)
i18n (1.5.3)
concurrent-ruby (~> 1.0)
jaro_winkler (1.5.1)
jbuilder (2.7.0)
activesupport (>= 4.2.0)
multi_json (>= 1.2)
jwt (1.5.6)
kaminari-actionview (1.1.1)
actionview
kaminari-core (= 1.1.1)
kaminari-core (1.1.1)
kaminari-mongoid (1.0.1)
kaminari-core (~> 1.0)
mongoid
launchy (2.4.3)
addressable (~> 2.3)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
ruby_dep (~> 1.2)
local_time (2.1.0)
loofah (2.2.2)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mail (2.7.0)
mini_mime (>= 0.1.1)
marcel (0.3.2)
mimemagic (~> 0.3.2)
method_source (0.9.0)
mimemagic (0.3.2)
mini_mime (1.0.1)
mini_portile2 (2.3.0)
minitest (5.11.3)
minitest-focus (1.1.2)
minitest (>= 4, < 6)
minitest-test_profile (0.2.2)
minitest
mongo (2.7.0)
bson (>= 4.4.2, < 5.0.0)
mongoid (7.0.2)
activemodel (>= 5.1, < 6.0.0)
mongo (>= 2.5.1, < 3.0.0)
mongoid_rails_migrations (1.1.1)
activesupport (>= 4.2.0)
bundler (>= 1.0.0)
mongoid (>= 4.0.0)
rails (>= 4.2.0)
railties (>= 4.2.0)
msgpack (1.2.4)
multi_json (1.13.1)
multi_xml (0.6.0)
multipart-post (2.0.0)
nio4r (2.3.1)
nokogiri (1.8.4)
mini_portile2 (~> 2.3.0)
oauth2 (1.4.0)
faraday (>= 0.8, < 0.13)
jwt (~> 1.0)
multi_json (~> 1.3)
multi_xml (~> 0.5)
rack (>= 1.2, < 3)
omniauth (1.8.1)
hashie (>= 3.4.6, < 3.6.0)
rack (>= 1.6.2, < 3)
omniauth-google-oauth2 (0.5.3)
jwt (>= 1.5)
omniauth (>= 1.1.1)
omniauth-oauth2 (>= 1.5)
omniauth-oauth2 (1.5.0)
oauth2 (~> 1.1)
omniauth (~> 1.2)
parallel (1.12.1)
parser (2.5.1.2)
ast (~> 2.4.0)
powerpack (0.1.2)
public_suffix (3.0.3)
puma (3.12.0)
rack (2.0.5)
rack-proxy (0.6.5)
rack
rack-test (1.1.0)
rack (>= 1.0, < 3)
rails (5.2.1)
actioncable (= 5.2.1)
actionmailer (= 5.2.1)
actionpack (= 5.2.1)
actionview (= 5.2.1)
activejob (= 5.2.1)
activemodel (= 5.2.1)
activerecord (= 5.2.1)
activestorage (= 5.2.1)
activesupport (= 5.2.1)
bundler (>= 1.3.0)
railties (= 5.2.1)
sprockets-rails (>= 2.0.0)
rails-controller-testing (1.0.2)
actionpack (~> 5.x, >= 5.0.1)
actionview (~> 5.x, >= 5.0.1)
activesupport (~> 5.x)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-html-sanitizer (1.0.4)
loofah (~> 2.2, >= 2.2.2)
railties (5.2.1)
actionpack (= 5.2.1)
activesupport (= 5.2.1)
method_source
rake (>= 0.8.7)
thor (>= 0.19.0, < 2.0)
rainbow (3.0.0)
rake (12.3.1)
rb-fsevent (0.10.3)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
request_store (1.4.1)
rack (>= 1.4)
rspec-mocks (3.8.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.8.0)
rspec-support (3.8.0)
rubocop (0.59.2)
jaro_winkler (~> 1.5.1)
parallel (~> 1.10)
parser (>= 2.5, != 2.5.1.1)
powerpack (~> 0.1)
rainbow (>= 2.2.2, < 4.0)
ruby-progressbar (~> 1.7)
unicode-display_width (~> 1.0, >= 1.0.1)
rubocop-performance (1.0.0)
rubocop (>= 0.58.0)
ruby-debug-ide (0.6.1)
rake (>= 0.8.1)
ruby-progressbar (1.10.0)
ruby_dep (1.5.0)
rubyzip (1.2.1)
safe_yaml (1.0.4)
sass (3.5.7)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
sass-rails (5.0.7)
railties (>= 4.0.0, < 6)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3)
selenium-webdriver (3.14.0)
childprocess (~> 0.5)
rubyzip (~> 1.2)
simple_form (4.0.1)
actionpack (>= 5.0)
activemodel (>= 5.0)
spring (2.0.2)
activesupport (>= 4.2)
sprockets (3.7.2)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.2.1)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
thor (0.20.0)
thread_safe (0.3.6)
tilt (2.0.8)
timecop (0.9.1)
tzinfo (1.2.5)
thread_safe (~> 0.1)
uglifier (4.1.18)
execjs (>= 0.3.0, < 3)
unicode-display_width (1.4.0)
web-console (3.6.2)
actionview (>= 5.0)
activemodel (>= 5.0)
bindex (>= 0.4.0)
railties (>= 5.0)
webmock (3.4.2)
addressable (>= 2.3.6)
crack (>= 0.3.2)
hashdiff
webpacker (3.5.5)
activesupport (>= 4.2)
rack-proxy (>= 0.6.1)
railties (>= 4.2)
websocket-driver (0.7.0)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.3)
xpath (3.1.0)
nokogiri (~> 1.8)
PLATFORMS
ruby
DEPENDENCIES
attr_extras
bootsnap (>= 1.1.0)
brakeman
byebug
capybara (>= 2.15)
capybara-screenshot
config
database_cleaner
debase
doorkeeper
doorkeeper-mongodb
dotenv-rails
draper
factory_bot_rails
faraday
faraday_middleware
jbuilder (~> 2.5)
json_logic!
kaminari-actionview
kaminari-mongoid
listen (>= 3.0.5, < 3.2)
local_time
minitest-focus
minitest-test_profile
mongoid (~> 7.0)
mongoid_rails_migrations
omniauth (~> 1.8)
omniauth-google-oauth2
puma (~> 3.11)
rails (~> 5.2.1)
rails-controller-testing
rspec-mocks
rubocop
rubocop-performance
ruby-debug-ide
sass-rails (~> 5.0)
selenium-webdriver
simple_form
spring
spring-watcher-listen!
timecop
tzinfo-data
uglifier (>= 1.3.0)
web-console (>= 3.3.0)
webmock
webpacker (~> 3.5)
RUBY VERSION
ruby 2.5.3p105
BUNDLED WITH
1.17.1
Getting an error undefined method `refresh_token_revoked_on_use?' for Doorkeeper::AccessToken:Class
I'm upgrading an app that was in Doorkeeper 5.0 with doorkeeper-mongodb 5.0, to 5.2 of each (had to skip 5.1 due to #37)
When running tests, some of them fail with undefined method 'config' for Doorkeeper:Module
In particular, this line:
Doorkeeper::AccessGrant.create!(application_id: app.id, resource_owner_id: user.id, redirect_uri: "http://example.com", expires_in: 1.day)
While looking a bit more, I found this:
https://github.com/doorkeeper-gem/doorkeeper-mongodb/blob/v5.2.2/lib/doorkeeper-mongodb/mixins/mongoid/access_grant_mixin.rb#L139-L141
That is calling Doorkeeper.config
that doesn't seem to be available in Doorkeeper 5.2.
The same class calls Doorkeeper.configuration
in another part:
https://github.com/doorkeeper-gem/doorkeeper-mongodb/blob/v5.2.2/lib/doorkeeper-mongodb/mixins/mongoid/access_grant_mixin.rb#L35
This is breaking the application, and not allowing to do minor version upgrades of Doorkeeper. I would like to avoid jumping from 5.0 to 5.3+ if possible.
doorkeeper-mongodb 5.2 specifies in the gemspec that it needs doorkeeper >= 5.2
, but it's not working with 5.2.
I'd expect to either have a 5.1 or similar release that works both with doorkeeper 5.1 and 5.2 or somehow fix the versioning to work accordingly.
doorkeeper-mongodb 5.2 doesn't work with doorkeeper 5.2
Ruby version: 2.5.8
Gemfile.lock
doorkeeper (5.2.6)
railties (>= 5)
doorkeeper-mongodb (5.2.2)
doorkeeper (>= 5.2, < 6.0)
This is the exact same issue as doorkeeper-gem/doorkeeper#1497 with all the same steps to reproduce and expected behavior.
That issue was fixed by doorkeeper-gem/doorkeeper#1496
But this still lingers here because mixins/mongoid/access_token_mixin.rb
overrides evoke_previous_refresh_token!
So we need to port that fix here.
Hello,
I've been receiving the error below when trying to delete one of my applications from http://localhost:3000/api/v1/oauth/applications.
Started DELETE "/api/v1/oauth/applications/5930bd2aa54dd321f7248178" for ::1 at 2017-06-01 21:53:22 -0400
Processing by Doorkeeper::ApplicationsController#destroy as HTML
Parameters: {"utf8"=>"โ", "authenticity_token"=>"+IxdEDUYW65Hj99VUqdJ/rydjZjJE8CIFy7El5KuuZ0rf36wLE0M4qJxBUL61D1IeRW+VvgWw1o9ckXxpHBkVw==", "commit"=>"Destroy", "id"=>"5930bd2aa54dd321f7248178"}
MONGODB | localhost:27017 | playco_development.find | STARTED | {"find"=>"oauth_applications", "filter"=>{"_id"=>BSON::ObjectId('5930bd2aa54dd321f7248178')}}
MONGODB | localhost:27017 | playco_development.find | SUCCEEDED | 0.000784s
Completed 500 Internal Server Error in 9ms
NameError (uninitialized constant Mongoid::Relations::Cascading::DeleteAll):
activesupport (4.2.8) lib/active_support/inflector/methods.rb:263:in `const_get'
activesupport (4.2.8) lib/active_support/inflector/methods.rb:263:in `block in constantize'
activesupport (4.2.8) lib/active_support/inflector/methods.rb:259:in `each'
activesupport (4.2.8) lib/active_support/inflector/methods.rb:259:in `inject'
activesupport (4.2.8) lib/active_support/inflector/methods.rb:259:in `constantize'
activesupport (4.2.8) lib/active_support/core_ext/string/inflections.rb:66:in `constantize'
mongoid (5.2.1) lib/mongoid/relations/metadata.rb:98:in `cascade_strategy'
mongoid (5.2.1) lib/mongoid/relations/cascading.rb:30:in `block in cascade!'
Here are the gems I am using that are pertinent to mongoid and rails:
gem 'rails', '4.2.8'
gem 'mongoid', '~> 5.2.1'gem 'doorkeeper-mongodb', github: 'doorkeeper-gem/doorkeeper-mongodb'
gem "doorkeeper-grants_assertion", github: "doorkeeper-gem/doorkeeper-grants_assertion"
This only happens when trying to 'destroy' an existing application from the UI.
Any help would be greatly appreciated.
Doorkeeper has ORM changes merged to master
branch.
See doorkeeper-gem/doorkeeper@c54e731 for the details.
Hey there,
Would it be possible to maintain a CHANGELOG file so it's easier to follow what changes over time and if there are breaking changes pushed?
For example, I see that rubygems as currently version 4.0.1 but a released seem to have been made for 4.1.0.
It's quite confusing
Doorkeeper master has ORM changed merged to master
branch.
See doorkeeper-gem/doorkeeper@609bd27
for the details.
Set up an application to use doorkeeper-mongodb 5.20 and doorkeeper 5.3.1.
Applications should work as expected without raising an exception.
NoMethodError:
undefined method `polymorphic_resource_owner?' for #<Doorkeeper::Config:0x00007fcd0ef10260>
This is due to the fact that polymorphic_resource_owner?
is not defined on Doorkeeper::Config
in the latest released version of doorkeeper (5.3.1) but it is on master. Telling bundler to pull the latest doorkeeper from Github fixes the issue, but I would expect to be able to use the latest published versions.
Ruby version: 2.6.5
Hello, I have the following bug with Doorkeeper 3.0.1:
Started POST "/oauth/token" for 127.0.0.1 at 2015-10-13 11:02:54 +0200
Processing by Doorkeeper::TokensController#create as HTML
Completed 500 Internal Server Error in 3ms
NoMethodError (undefined method `transaction' for #<Doorkeeper::AccessGrant:0x00564532a949d0>):
doorkeeper (3.0.1) lib/doorkeeper/oauth/authorization_code_request.rb:24:in `before_successful_response'
doorkeeper (3.0.1) lib/doorkeeper/oauth/request_concern.rb:7:in `authorize'
doorkeeper (3.0.1) lib/doorkeeper/request/authorization_code.rb:19:in `authorize'
doorkeeper (3.0.1) app/controllers/doorkeeper/tokens_controller.rb:42:in `authorize_response'
doorkeeper (3.0.1) app/controllers/doorkeeper/tokens_controller.rb:4:in `create'
actionpack (4.1.6) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.6) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.6) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.6) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.6) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.6) lib/abstract_controller/base.rb:136:in `process'
actionpack (4.1.6) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.6) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.6) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:82:in `call'
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:73:in `block in call'
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:59:in `each'
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:678:in `call'
...
This is my Gemfile:
# ...
gem 'mongoid', '4.0.2'
gem 'devise', '3.5.2'
gem 'doorkeeper', '3.0.1'
gem 'doorkeeper-mongodb', github: 'doorkeeper-gem/doorkeeper-mongodb'
# ...
def before_successful_response
grant.transaction do
grant.lock!
raise Errors::InvalidGrantReuse if grant.revoked?
grant.revoke
find_or_create_access_token(grant.application,
grant.resource_owner_id,
grant.scopes,
server)
end
end
So this code breaks compatibility with Mongoid 4 and this gem.
reuse_access_token
in config/initializers/doorkeeper.rb
ArgumentError (wrong number of arguments (given 4, expected 3)):
doorkeeper-mongodb (5.3.0) lib/doorkeeper-mongodb/mixins/mongoid/access_token_mixin.rb:116:in `matching_token_for'
doorkeeper (5.6.6) lib/doorkeeper/oauth/client_credentials/creator.rb:49:in `find_active_existing_token_for'
doorkeeper (5.6.6) lib/doorkeeper/oauth/client_credentials/creator.rb:11:in `call'
doorkeeper (5.6.6) lib/doorkeeper/oauth/client_credentials/issuer.rb:37:in `create_token'
doorkeeper (5.6.6) lib/doorkeeper/oauth/client_credentials/issuer.rb:16:in `create'
doorkeeper (5.6.6) lib/doorkeeper/oauth/client_credentials_request.rb:33:in `valid?'
doorkeeper (5.6.6) lib/doorkeeper/oauth/base_request.rb:13:in `authorize'
doorkeeper (5.6.6) lib/doorkeeper/request/strategy.rb:8:in `authorize'
require 'bundler/setup'
require 'oauth2'
client = OAuth2::Client.new('{$client_id}', '{$client_cecret}', site: '{$url}')
access = client.client_credentials.get_token
When I enabled reuse_access_token
, below method is called.
https://github.com/doorkeeper-gem/doorkeeper/blob/0aa94c5a82035ec4840785156760a2930e5de27a/lib/doorkeeper/oauth/client_credentials/creator.rb#L47-L49
The number of this arguments is 4, but matching_token_for
method in doorkeeper-mongodb is set for 3 arguments.
This change was implemented at doorkeeper-gem/doorkeeper@a26b3ec
I can get access_token even when reuse_access_token
is enabled.
Error happened.
Ruby version:
ruby '3.2.2'
Gemfile.lock
doorkeeper (5.6.6)
railties (>= 5)
doorkeeper-mongodb (5.3.0)
doorkeeper (>= 5.2, < 6.0)
Doorkeeper master has ORM changed merged to master
branch.
See doorkeeper-gem/doorkeeper@1c755d9
Doorkeeper has ORM changes merged to master
branch.
See doorkeeper-gem/doorkeeper@ae7ce21 for the details.
Hello,
I'm trying to setup the authorization flow using doorkeeper and Mongo (with MongoMapper).
https://github.com/doorkeeper-gem/doorkeeper/wiki/authorization-flow
Everything seems fine except that my resource_owner_authenticator is getting my User from MongoDB, and when Doorkeeper tries to get the user id (in the matching_token? function), it can't because there is no id key accessible (and it's not allowed).
# app/controllers/doorkeeper/authorizations_controller.rb
def matching_token?
AccessToken.matching_token_for pre_auth.client,
current_resource_owner.id,
pre_auth.scopes
end
My question is : how to override the matching_token function to get another identifier ? Or is there any way to by-pass this problem.
Thanks,
Julian
Doorkeeper has ORM changes merged to master
branch.
See doorkeeper-gem/doorkeeper@d520b69 for the details.
I see nothing updated since 10 months ago, can we update the doorkeeper core?
(I am aware we can include via Github)
Hi
I've started getting the error below when running bundle install. I've been browsing the issues here, and I understand that there's a problem with lack of maintainership, but it would be great if it would still work until we find an alternative.
NoMethodError: undefined method spec' for nil:NilClass An error occurred while installing doorkeeper-mongodb (3.0.0), and Bundler cannot continue. Make sure that
gem install doorkeeper-mongodb -v '3.0.0'` succeeds before bundling.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.