oauth2 0.9.2 → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CONTRIBUTING.md +6 -3
- data/README.md +2 -11
- data/Rakefile +21 -1
- data/lib/oauth2/access_token.rb +16 -15
- data/lib/oauth2/client.rb +13 -11
- data/lib/oauth2/response.rb +8 -12
- data/lib/oauth2/strategy/assertion.rb +6 -8
- data/lib/oauth2/strategy/auth_code.rb +3 -3
- data/lib/oauth2/strategy/client_credentials.rb +12 -4
- data/lib/oauth2/strategy/implicit.rb +3 -3
- data/lib/oauth2/strategy/password.rb +2 -2
- data/lib/oauth2/version.rb +4 -7
- data/oauth2.gemspec +8 -9
- data/spec/helper.rb +5 -1
- data/spec/oauth2/access_token_spec.rb +38 -38
- data/spec/oauth2/client_spec.rb +58 -59
- data/spec/oauth2/response_spec.rb +20 -20
- data/spec/oauth2/strategy/assertion_spec.rb +13 -14
- data/spec/oauth2/strategy/auth_code_spec.rb +22 -22
- data/spec/oauth2/strategy/base_spec.rb +2 -2
- data/spec/oauth2/strategy/client_credentials_spec.rb +28 -17
- data/spec/oauth2/strategy/implicit_spec.rb +8 -8
- data/spec/oauth2/strategy/password_spec.rb +13 -13
- metadata +52 -82
- metadata.gz.sig +0 -0
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oauth2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
5
|
-
prerelease:
|
4
|
+
version: 0.9.3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Michael Bleigh
|
@@ -10,147 +9,119 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain:
|
13
|
-
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|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MlWR5MtdEhIYuBO4XhnejYgH0L/7BL2lymntVnsr/agdQoojQCN1IQmsRJvrR
|
22
|
+
duZRO3tZvoIo1pBc4JEehDuqCeyBgPLOqMoKtQlold1TQs1kWUBK7KWMFEhKC/Kg
|
23
|
+
zyzKRHQo9yDYwOvYngoBLY+T/lwCT4dyssdhzRbfnxAhaKu4SAssIwaC01yVowID
|
24
|
+
AQABozkwNzAJBgNVHRMEAjAAMB0GA1UdDgQWBBS0ruDfRak5ci1OpDNX/ZdDEkIs
|
25
|
+
iTALBgNVHQ8EBAMCBLAwDQYJKoZIhvcNAQEFBQADggEBAHHSMs/MP0sOaLkEv4Jo
|
26
|
+
zvkm3qn5A6t0vaHx774cmejyMU+5wySxRezspL7ULh9NeuK2OhU+Oe3TpqrAg5TK
|
27
|
+
R8GQILnVu2FemGA6sAkPDlcPtgA6ieI19PZOF6HVLmc/ID/dP/NgZWWzEeqQKmcK
|
28
|
+
2+HM+SEEDhZkScYekw4ZOe164ZtZG816oAv5x0pGitSIkumUp7V8iEZ/6ehr7Y9e
|
29
|
+
XOg4eeun5L/JjmjARoW2kNdvkRD3c2EeSLqWvQRsBlypHfhs6JJuLlyZPGhU3R/v
|
30
|
+
Sf3lVKpBCWgRpGTvy45XVpB+59y33PJmEuQ1PTEOYvQyao9UKMAAaAN/7qWQtjl0
|
31
|
+
hlw=
|
32
|
+
-----END CERTIFICATE-----
|
33
|
+
date: 2014-01-16 00:00:00.000000000 Z
|
41
34
|
dependencies:
|
42
35
|
- !ruby/object:Gem::Dependency
|
43
36
|
name: bundler
|
44
37
|
requirement: !ruby/object:Gem::Requirement
|
45
|
-
none: false
|
46
38
|
requirements:
|
47
|
-
- - ~>
|
39
|
+
- - "~>"
|
48
40
|
- !ruby/object:Gem::Version
|
49
41
|
version: '1.0'
|
50
42
|
type: :development
|
51
43
|
prerelease: false
|
52
44
|
version_requirements: !ruby/object:Gem::Requirement
|
53
|
-
none: false
|
54
45
|
requirements:
|
55
|
-
- - ~>
|
46
|
+
- - "~>"
|
56
47
|
- !ruby/object:Gem::Version
|
57
48
|
version: '1.0'
|
58
49
|
- !ruby/object:Gem::Dependency
|
59
50
|
name: faraday
|
60
51
|
requirement: !ruby/object:Gem::Requirement
|
61
|
-
none: false
|
62
52
|
requirements:
|
63
|
-
- -
|
53
|
+
- - ">="
|
64
54
|
- !ruby/object:Gem::Version
|
65
55
|
version: '0.8'
|
56
|
+
- - "<"
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: '0.10'
|
66
59
|
type: :runtime
|
67
60
|
prerelease: false
|
68
61
|
version_requirements: !ruby/object:Gem::Requirement
|
69
|
-
none: false
|
70
62
|
requirements:
|
71
|
-
- -
|
63
|
+
- - ">="
|
72
64
|
- !ruby/object:Gem::Version
|
73
65
|
version: '0.8'
|
74
|
-
-
|
75
|
-
name: httpauth
|
76
|
-
requirement: !ruby/object:Gem::Requirement
|
77
|
-
none: false
|
78
|
-
requirements:
|
79
|
-
- - ~>
|
66
|
+
- - "<"
|
80
67
|
- !ruby/object:Gem::Version
|
81
|
-
version: '0.
|
82
|
-
type: :runtime
|
83
|
-
prerelease: false
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
none: false
|
86
|
-
requirements:
|
87
|
-
- - ~>
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0.2'
|
68
|
+
version: '0.10'
|
90
69
|
- !ruby/object:Gem::Dependency
|
91
70
|
name: multi_json
|
92
71
|
requirement: !ruby/object:Gem::Requirement
|
93
|
-
none: false
|
94
72
|
requirements:
|
95
|
-
- - ~>
|
73
|
+
- - "~>"
|
96
74
|
- !ruby/object:Gem::Version
|
97
|
-
version: '1.
|
75
|
+
version: '1.3'
|
98
76
|
type: :runtime
|
99
77
|
prerelease: false
|
100
78
|
version_requirements: !ruby/object:Gem::Requirement
|
101
|
-
none: false
|
102
79
|
requirements:
|
103
|
-
- - ~>
|
80
|
+
- - "~>"
|
104
81
|
- !ruby/object:Gem::Version
|
105
|
-
version: '1.
|
82
|
+
version: '1.3'
|
106
83
|
- !ruby/object:Gem::Dependency
|
107
84
|
name: multi_xml
|
108
85
|
requirement: !ruby/object:Gem::Requirement
|
109
|
-
none: false
|
110
86
|
requirements:
|
111
|
-
- - ~>
|
87
|
+
- - "~>"
|
112
88
|
- !ruby/object:Gem::Version
|
113
89
|
version: '0.5'
|
114
90
|
type: :runtime
|
115
91
|
prerelease: false
|
116
92
|
version_requirements: !ruby/object:Gem::Requirement
|
117
|
-
none: false
|
118
93
|
requirements:
|
119
|
-
- - ~>
|
94
|
+
- - "~>"
|
120
95
|
- !ruby/object:Gem::Version
|
121
96
|
version: '0.5'
|
122
97
|
- !ruby/object:Gem::Dependency
|
123
98
|
name: rack
|
124
99
|
requirement: !ruby/object:Gem::Requirement
|
125
|
-
none: false
|
126
100
|
requirements:
|
127
|
-
- - ~>
|
101
|
+
- - "~>"
|
128
102
|
- !ruby/object:Gem::Version
|
129
103
|
version: '1.2'
|
130
104
|
type: :runtime
|
131
105
|
prerelease: false
|
132
106
|
version_requirements: !ruby/object:Gem::Requirement
|
133
|
-
none: false
|
134
107
|
requirements:
|
135
|
-
- - ~>
|
108
|
+
- - "~>"
|
136
109
|
- !ruby/object:Gem::Version
|
137
110
|
version: '1.2'
|
138
111
|
- !ruby/object:Gem::Dependency
|
139
112
|
name: jwt
|
140
113
|
requirement: !ruby/object:Gem::Requirement
|
141
|
-
none: false
|
142
114
|
requirements:
|
143
|
-
- - ~>
|
115
|
+
- - "~>"
|
144
116
|
- !ruby/object:Gem::Version
|
145
|
-
version: 0.1.
|
117
|
+
version: 0.1.8
|
146
118
|
type: :runtime
|
147
119
|
prerelease: false
|
148
120
|
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
none: false
|
150
121
|
requirements:
|
151
|
-
- - ~>
|
122
|
+
- - "~>"
|
152
123
|
- !ruby/object:Gem::Version
|
153
|
-
version: 0.1.
|
124
|
+
version: 0.1.8
|
154
125
|
description: A Ruby wrapper for the OAuth 2.0 protocol built with a similar style
|
155
126
|
to the original OAuth spec.
|
156
127
|
email:
|
@@ -160,12 +131,12 @@ executables: []
|
|
160
131
|
extensions: []
|
161
132
|
extra_rdoc_files: []
|
162
133
|
files:
|
163
|
-
- .document
|
134
|
+
- ".document"
|
164
135
|
- CONTRIBUTING.md
|
165
136
|
- LICENSE.md
|
166
137
|
- README.md
|
167
138
|
- Rakefile
|
168
|
-
- oauth2.
|
139
|
+
- lib/oauth2.rb
|
169
140
|
- lib/oauth2/access_token.rb
|
170
141
|
- lib/oauth2/client.rb
|
171
142
|
- lib/oauth2/error.rb
|
@@ -177,7 +148,7 @@ files:
|
|
177
148
|
- lib/oauth2/strategy/implicit.rb
|
178
149
|
- lib/oauth2/strategy/password.rb
|
179
150
|
- lib/oauth2/version.rb
|
180
|
-
-
|
151
|
+
- oauth2.gemspec
|
181
152
|
- spec/helper.rb
|
182
153
|
- spec/oauth2/access_token_spec.rb
|
183
154
|
- spec/oauth2/client_spec.rb
|
@@ -191,27 +162,26 @@ files:
|
|
191
162
|
homepage: http://github.com/intridea/oauth2
|
192
163
|
licenses:
|
193
164
|
- MIT
|
165
|
+
metadata: {}
|
194
166
|
post_install_message:
|
195
167
|
rdoc_options: []
|
196
168
|
require_paths:
|
197
169
|
- lib
|
198
170
|
required_ruby_version: !ruby/object:Gem::Requirement
|
199
|
-
none: false
|
200
171
|
requirements:
|
201
|
-
- -
|
172
|
+
- - ">="
|
202
173
|
- !ruby/object:Gem::Version
|
203
174
|
version: '0'
|
204
175
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
205
|
-
none: false
|
206
176
|
requirements:
|
207
|
-
- -
|
177
|
+
- - ">="
|
208
178
|
- !ruby/object:Gem::Version
|
209
179
|
version: 1.3.5
|
210
180
|
requirements: []
|
211
181
|
rubyforge_project:
|
212
|
-
rubygems_version:
|
182
|
+
rubygems_version: 2.2.0
|
213
183
|
signing_key:
|
214
|
-
specification_version:
|
184
|
+
specification_version: 4
|
215
185
|
summary: A Ruby wrapper for the OAuth 2.0 protocol.
|
216
186
|
test_files:
|
217
187
|
- spec/helper.rb
|
metadata.gz.sig
CHANGED
Binary file
|