rack-oauth2 0.10.1 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.11.0
|
@@ -22,7 +22,10 @@ describe Rack::OAuth2::Server::Authorize::Extension::CodeAndToken do
|
|
22
22
|
end
|
23
23
|
end
|
24
24
|
its(:status) { should == 302 }
|
25
|
-
its(:location) { should
|
25
|
+
its(:location) { should include "#{redirect_uri}#" }
|
26
|
+
its(:location) { should include "code=#{authorization_code}"}
|
27
|
+
its(:location) { should include "access_token=#{access_token}"}
|
28
|
+
its(:location) { should include 'token_type=bearer' }
|
26
29
|
|
27
30
|
context 'when refresh_token is given' do
|
28
31
|
let :bearer_token do
|
@@ -31,7 +34,10 @@ describe Rack::OAuth2::Server::Authorize::Extension::CodeAndToken do
|
|
31
34
|
:refresh_token => 'refresh'
|
32
35
|
)
|
33
36
|
end
|
34
|
-
its(:location) { should
|
37
|
+
its(:location) { should include "#{redirect_uri}#" }
|
38
|
+
its(:location) { should include "code=#{authorization_code}"}
|
39
|
+
its(:location) { should include "access_token=#{access_token}"}
|
40
|
+
its(:location) { should include 'token_type=bearer' }
|
35
41
|
end
|
36
42
|
end
|
37
43
|
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: rack-oauth2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.
|
5
|
+
version: 0.11.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- nov matake
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-09-
|
13
|
+
date: 2011-09-16 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rack
|