warden-doorkeeper 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4c0b52a1259a660a8ffea43ac56251dde1c6d9b7
4
- data.tar.gz: d4aedaeaee4c87b095de9a9f976ce7c42c6e8f64
3
+ metadata.gz: e2567e1ce3d6ee2bd43376de72d9aa2a3239d405
4
+ data.tar.gz: 545e41d22e121859982654e5d9633e586c35665d
5
5
  SHA512:
6
- metadata.gz: 18141a31da1cdd63a9b5613a971d73397b79f46f7782b0af41c77de702ccd0c1932e48715ee1626c41e0151acea93dfa74cae7ec122c429dbd88f3e4911ab9e2
7
- data.tar.gz: 27658c4f743139011f77ac0f8b9fc9bb08f97cbbef1168093ff8b62a53f24821456e4d39268240f043a6d906baa2d8518bf09af3ae064a6b4fb82f55dd237613
6
+ metadata.gz: f117c56e877fb918de72184c476f81c4a20a96f22b0c21c5704be77f85f3259f563f9d8ace924a173e6237144e3315e42c54c023b4eb7fa12fa6fc3d7db039e3
7
+ data.tar.gz: e9bf8ca0ffb4034c5fa07251924c9b9c447c36c12fe7cad900a277c43996e8aaae566d6bdb666c4afe8448a6db4c0b74bee66cd28a4237e775ce7a1dadc11641
@@ -1,7 +1,7 @@
1
1
  require "warden"
2
2
 
3
3
  class Warden::Strategies::Doorkeeper < ::Warden::Strategies::Base
4
- VERSION = "0.2.0"
4
+ VERSION = "0.3.0"
5
5
 
6
6
  attr_reader :token, :scope
7
7
 
@@ -12,7 +12,7 @@ class Warden::Strategies::Doorkeeper < ::Warden::Strategies::Base
12
12
  end
13
13
 
14
14
  def valid?
15
- @token = OAuth::Token.authenticate(request, *Doorkeeper.configuration.access_token_methods)
15
+ @token = ::Doorkeeper::OAuth::Token.authenticate(request, *Doorkeeper.configuration.access_token_methods)
16
16
  @token && @token.accessible? && @token.acceptable?(@scope)
17
17
  end
18
18
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: warden-doorkeeper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Margison
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-04 00:00:00.000000000 Z
11
+ date: 2015-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: warden
@@ -24,7 +24,7 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.2'
27
- description: Integration with Doorkeeper.
27
+ description: Integration with Doorkeeper, an OAuth 2.0 provider.
28
28
  email: kolorahl@gmail.com
29
29
  executables: []
30
30
  extensions: []
@@ -34,7 +34,8 @@ files:
34
34
  - README.md
35
35
  - lib/warden/strategies/doorkeeper.rb
36
36
  homepage: https://github.com/kolorahl/warden-doorkeeper
37
- licenses: []
37
+ licenses:
38
+ - MIT
38
39
  metadata: {}
39
40
  post_install_message:
40
41
  rdoc_options: []
@@ -52,9 +53,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
52
53
  version: '0'
53
54
  requirements: []
54
55
  rubyforge_project:
55
- rubygems_version: 2.3.0
56
+ rubygems_version: 2.4.6
56
57
  signing_key:
57
58
  specification_version: 4
58
59
  summary: Integration with Doorkeeper.
59
60
  test_files: []
60
- has_rdoc: