omniauth 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of omniauth might be problematic. Click here for more details.
- data/.gitignore +49 -29
- data/.travis.yml +2 -0
- data/Gemfile +4 -0
- data/{LICENSE → LICENSE.md} +1 -1
- data/{README.markdown → README.md} +11 -5
- data/Rakefile +2 -1
- data/lib/omniauth/version.rb +1 -1
- data/oa-basic/Gemfile +7 -0
- data/oa-basic/lib/omniauth/version.rb +1 -1
- data/oa-basic/oa-basic.gemspec +1 -2
- data/oa-core/Gemfile +3 -0
- data/oa-core/lib/omniauth/form.rb +5 -3
- data/oa-core/lib/omniauth/strategy.rb +5 -5
- data/oa-core/lib/omniauth/version.rb +1 -1
- data/oa-core/oa-core.gemspec +1 -1
- data/oa-core/spec/omniauth/strategy_spec.rb +5 -0
- data/oa-enterprise/Gemfile +7 -0
- data/oa-enterprise/lib/omniauth/strategies/cas/service_ticket_validator.rb +13 -6
- data/oa-enterprise/lib/omniauth/version.rb +1 -1
- data/oa-enterprise/oa-enterprise.gemspec +1 -2
- data/oa-enterprise/spec/omniauth/strategies/ldap_spec.rb +41 -0
- data/oa-more/Gemfile +7 -0
- data/oa-more/lib/omniauth/more.rb +2 -0
- data/oa-more/lib/omniauth/strategies/draugiem.rb +104 -0
- data/oa-more/lib/omniauth/strategies/ign.rb +93 -0
- data/oa-more/lib/omniauth/strategies/yupoo.rb +8 -8
- data/oa-more/lib/omniauth/version.rb +1 -1
- data/oa-more/oa-more.gemspec +1 -2
- data/oa-more/spec/omniauth/strategies/draugiem_spec.rb +51 -0
- data/oa-more/spec/spec_helper.rb +1 -1
- data/oa-oauth/Gemfile +7 -0
- data/oa-oauth/lib/omniauth/oauth.rb +3 -0
- data/oa-oauth/lib/omniauth/strategies/facebook.rb +1 -1
- data/oa-oauth/lib/omniauth/strategies/google.rb +2 -2
- data/oa-oauth/lib/omniauth/strategies/gowalla.rb +9 -1
- data/oa-oauth/lib/omniauth/strategies/linked_in.rb +17 -16
- data/oa-oauth/lib/omniauth/strategies/mailru.rb +107 -0
- data/oa-oauth/lib/omniauth/strategies/oauth.rb +2 -4
- data/oa-oauth/lib/omniauth/strategies/oauth2.rb +5 -12
- data/oa-oauth/lib/omniauth/strategies/plurk.rb +58 -0
- data/oa-oauth/lib/omniauth/strategies/taobao.rb +79 -0
- data/oa-oauth/lib/omniauth/strategies/vkontakte.rb +7 -4
- data/oa-oauth/lib/omniauth/version.rb +1 -1
- data/oa-oauth/oa-oauth.gemspec +1 -2
- data/oa-oauth/spec/omniauth/strategies/mailru_spec.rb +5 -0
- data/oa-oauth/spec/omniauth/strategies/plurk_spec.rb +5 -0
- data/oa-oauth/spec/omniauth/strategies/taobao_spec.rb +5 -0
- data/oa-openid/Gemfile +7 -0
- data/oa-openid/lib/omniauth/openid.rb +1 -0
- data/oa-openid/lib/omniauth/strategies/steam.rb +55 -0
- data/oa-openid/lib/omniauth/version.rb +1 -1
- data/oa-openid/oa-openid.gemspec +1 -2
- data/omniauth.gemspec +8 -8
- data/tasks/all.rb +1 -1
- metadata +34 -18
data/oa-openid/oa-openid.gemspec
CHANGED
@@ -2,7 +2,6 @@
|
|
2
2
|
require File.expand_path('../lib/omniauth/version', __FILE__)
|
3
3
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
|
-
gem.add_runtime_dependency 'jruby-openssl', '~> 0.7.3' if RUBY_PLATFORM == 'java'
|
6
5
|
gem.add_runtime_dependency 'oa-core', OmniAuth::Version::STRING
|
7
6
|
gem.add_runtime_dependency 'rack-openid', '~> 1.3.1'
|
8
7
|
gem.add_runtime_dependency 'ruby-openid-apps-discovery', '~> 1.2.0'
|
@@ -12,7 +11,7 @@ Gem::Specification.new do |gem|
|
|
12
11
|
gem.add_development_dependency 'rspec', '~> 2.5'
|
13
12
|
gem.add_development_dependency 'simplecov', '~> 0.4'
|
14
13
|
gem.add_development_dependency 'webmock', '~> 1.6'
|
15
|
-
gem.add_development_dependency 'yard', '~> 0.
|
14
|
+
gem.add_development_dependency 'yard', '~> 0.7'
|
16
15
|
gem.add_development_dependency 'ZenTest', '~> 4.5'
|
17
16
|
gem.name = 'oa-openid'
|
18
17
|
gem.version = OmniAuth::Version::STRING
|
data/omniauth.gemspec
CHANGED
@@ -2,19 +2,19 @@
|
|
2
2
|
require File.expand_path('../lib/omniauth/version', __FILE__)
|
3
3
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
|
-
%w(oa-
|
5
|
+
%w(oa-basic oa-enterprise oa-core oa-more oa-oauth oa-openid).each do |subgem|
|
6
6
|
gem.add_runtime_dependency subgem, OmniAuth::Version::STRING
|
7
7
|
end
|
8
|
-
gem.
|
9
|
-
gem.version = OmniAuth::Version::STRING
|
10
|
-
gem.summary = %q{Rack middleware for standardized multi-provider authentication.}
|
8
|
+
gem.authors = ['Michael Bleigh', 'Erik Michaels-Ober']
|
11
9
|
gem.description = %q{OmniAuth is an authentication framework that that separates the concept of authentiation from the concept of identity, providing simple hooks for any application to have one or multiple authentication providers for a user.}
|
12
10
|
gem.email = ['michael@intridea.com', 'sferik@gmail.com']
|
13
|
-
gem.homepage = 'http://github.com/intridea/omniauth'
|
14
|
-
gem.authors = ['Michael Bleigh', 'Erik Michaels-Ober']
|
15
11
|
gem.executables = `git ls-files -- bin/*`.split("\n").map{|f| File.basename(f)}
|
16
12
|
gem.files = `git ls-files`.split("\n")
|
17
|
-
gem.
|
13
|
+
gem.homepage = 'http://github.com/intridea/omniauth'
|
14
|
+
gem.name = 'omniauth'
|
18
15
|
gem.require_paths = ['lib']
|
19
|
-
gem.required_rubygems_version = Gem::Requirement.new('>= 1.3.6')
|
16
|
+
gem.required_rubygems_version = Gem::Requirement.new('>= 1.3.6')
|
17
|
+
gem.summary = %q{Rack middleware for standardized multi-provider authentication.}
|
18
|
+
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
|
+
gem.version = OmniAuth::Version::STRING
|
20
20
|
end
|
data/tasks/all.rb
CHANGED
@@ -20,7 +20,7 @@ PROJECTS.each do |project|
|
|
20
20
|
namespace project.to_sym do
|
21
21
|
dir = root + (project == 'omniauth' ? '' : "/#{project}")
|
22
22
|
package_dir = "#{dir}/pkg"
|
23
|
-
coverage_dir = "#{dir}/
|
23
|
+
coverage_dir = "#{dir}/coverage"
|
24
24
|
temp_dir = "#{dir}/tmp"
|
25
25
|
gem = "#{project}-#{version}.gem"
|
26
26
|
gemspec = "#{project}.gemspec"
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: omniauth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.2.
|
5
|
+
version: 0.2.6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Michael Bleigh
|
@@ -11,72 +11,72 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2011-
|
14
|
+
date: 2011-05-20 00:00:00 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
|
-
name: oa-
|
17
|
+
name: oa-basic
|
18
18
|
prerelease: false
|
19
19
|
requirement: &id001 !ruby/object:Gem::Requirement
|
20
20
|
none: false
|
21
21
|
requirements:
|
22
22
|
- - "="
|
23
23
|
- !ruby/object:Gem::Version
|
24
|
-
version: 0.2.
|
24
|
+
version: 0.2.6
|
25
25
|
type: :runtime
|
26
26
|
version_requirements: *id001
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name: oa-
|
28
|
+
name: oa-enterprise
|
29
29
|
prerelease: false
|
30
30
|
requirement: &id002 !ruby/object:Gem::Requirement
|
31
31
|
none: false
|
32
32
|
requirements:
|
33
33
|
- - "="
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.2.
|
35
|
+
version: 0.2.6
|
36
36
|
type: :runtime
|
37
37
|
version_requirements: *id002
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
|
-
name: oa-
|
39
|
+
name: oa-core
|
40
40
|
prerelease: false
|
41
41
|
requirement: &id003 !ruby/object:Gem::Requirement
|
42
42
|
none: false
|
43
43
|
requirements:
|
44
44
|
- - "="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 0.2.
|
46
|
+
version: 0.2.6
|
47
47
|
type: :runtime
|
48
48
|
version_requirements: *id003
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
|
-
name: oa-
|
50
|
+
name: oa-more
|
51
51
|
prerelease: false
|
52
52
|
requirement: &id004 !ruby/object:Gem::Requirement
|
53
53
|
none: false
|
54
54
|
requirements:
|
55
55
|
- - "="
|
56
56
|
- !ruby/object:Gem::Version
|
57
|
-
version: 0.2.
|
57
|
+
version: 0.2.6
|
58
58
|
type: :runtime
|
59
59
|
version_requirements: *id004
|
60
60
|
- !ruby/object:Gem::Dependency
|
61
|
-
name: oa-
|
61
|
+
name: oa-oauth
|
62
62
|
prerelease: false
|
63
63
|
requirement: &id005 !ruby/object:Gem::Requirement
|
64
64
|
none: false
|
65
65
|
requirements:
|
66
66
|
- - "="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.2.
|
68
|
+
version: 0.2.6
|
69
69
|
type: :runtime
|
70
70
|
version_requirements: *id005
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
|
-
name: oa-
|
72
|
+
name: oa-openid
|
73
73
|
prerelease: false
|
74
74
|
requirement: &id006 !ruby/object:Gem::Requirement
|
75
75
|
none: false
|
76
76
|
requirements:
|
77
77
|
- - "="
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version: 0.2.
|
79
|
+
version: 0.2.6
|
80
80
|
type: :runtime
|
81
81
|
version_requirements: *id006
|
82
82
|
description: OmniAuth is an authentication framework that that separates the concept of authentiation from the concept of identity, providing simple hooks for any application to have one or multiple authentication providers for a user.
|
@@ -98,14 +98,15 @@ files:
|
|
98
98
|
- .travis.yml
|
99
99
|
- .yardopts
|
100
100
|
- Gemfile
|
101
|
-
- LICENSE
|
102
|
-
- README.
|
101
|
+
- LICENSE.md
|
102
|
+
- README.md
|
103
103
|
- Rakefile
|
104
104
|
- lib/omniauth.rb
|
105
105
|
- lib/omniauth/version.rb
|
106
106
|
- oa-basic/.gemtest
|
107
107
|
- oa-basic/.rspec
|
108
108
|
- oa-basic/.yardopts
|
109
|
+
- oa-basic/Gemfile
|
109
110
|
- oa-basic/LICENSE
|
110
111
|
- oa-basic/README.rdoc
|
111
112
|
- oa-basic/Rakefile
|
@@ -119,6 +120,7 @@ files:
|
|
119
120
|
- oa-core/.gemtest
|
120
121
|
- oa-core/.rspec
|
121
122
|
- oa-core/.yardopts
|
123
|
+
- oa-core/Gemfile
|
122
124
|
- oa-core/LICENSE
|
123
125
|
- oa-core/Rakefile
|
124
126
|
- oa-core/autotest/discover.rb
|
@@ -140,6 +142,7 @@ files:
|
|
140
142
|
- oa-enterprise/.gemtest
|
141
143
|
- oa-enterprise/.rspec
|
142
144
|
- oa-enterprise/.yardopts
|
145
|
+
- oa-enterprise/Gemfile
|
143
146
|
- oa-enterprise/LICENSE
|
144
147
|
- oa-enterprise/README.rdoc
|
145
148
|
- oa-enterprise/Rakefile
|
@@ -155,26 +158,32 @@ files:
|
|
155
158
|
- oa-enterprise/spec/fixtures/cas_failure.xml
|
156
159
|
- oa-enterprise/spec/fixtures/cas_success.xml
|
157
160
|
- oa-enterprise/spec/omniauth/strategies/cas_spec.rb
|
161
|
+
- oa-enterprise/spec/omniauth/strategies/ldap_spec.rb
|
158
162
|
- oa-enterprise/spec/spec_helper.rb
|
159
163
|
- oa-more/.gemtest
|
160
164
|
- oa-more/.rspec
|
161
165
|
- oa-more/.yardopts
|
166
|
+
- oa-more/Gemfile
|
162
167
|
- oa-more/LICENSE
|
163
168
|
- oa-more/README.rdoc
|
164
169
|
- oa-more/Rakefile
|
165
170
|
- oa-more/lib/oa-more.rb
|
166
171
|
- oa-more/lib/omniauth/more.rb
|
172
|
+
- oa-more/lib/omniauth/strategies/draugiem.rb
|
167
173
|
- oa-more/lib/omniauth/strategies/flickr.rb
|
174
|
+
- oa-more/lib/omniauth/strategies/ign.rb
|
168
175
|
- oa-more/lib/omniauth/strategies/windows_live.rb
|
169
176
|
- oa-more/lib/omniauth/strategies/windows_live/windowslivelogin.rb
|
170
177
|
- oa-more/lib/omniauth/strategies/yupoo.rb
|
171
178
|
- oa-more/lib/omniauth/version.rb
|
172
179
|
- oa-more/oa-more.gemspec
|
180
|
+
- oa-more/spec/omniauth/strategies/draugiem_spec.rb
|
173
181
|
- oa-more/spec/omniauth/strategies/flickr_spec.rb
|
174
182
|
- oa-more/spec/spec_helper.rb
|
175
183
|
- oa-oauth/.gemtest
|
176
184
|
- oa-oauth/.rspec
|
177
185
|
- oa-oauth/.yardopts
|
186
|
+
- oa-oauth/Gemfile
|
178
187
|
- oa-oauth/LICENSE
|
179
188
|
- oa-oauth/README.rdoc
|
180
189
|
- oa-oauth/Rakefile
|
@@ -198,12 +207,14 @@ files:
|
|
198
207
|
- oa-oauth/lib/omniauth/strategies/instagram.rb
|
199
208
|
- oa-oauth/lib/omniauth/strategies/instapaper.rb
|
200
209
|
- oa-oauth/lib/omniauth/strategies/linked_in.rb
|
210
|
+
- oa-oauth/lib/omniauth/strategies/mailru.rb
|
201
211
|
- oa-oauth/lib/omniauth/strategies/meetup.rb
|
202
212
|
- oa-oauth/lib/omniauth/strategies/miso.rb
|
203
213
|
- oa-oauth/lib/omniauth/strategies/mixi.rb
|
204
214
|
- oa-oauth/lib/omniauth/strategies/netflix.rb
|
205
215
|
- oa-oauth/lib/omniauth/strategies/oauth.rb
|
206
216
|
- oa-oauth/lib/omniauth/strategies/oauth2.rb
|
217
|
+
- oa-oauth/lib/omniauth/strategies/plurk.rb
|
207
218
|
- oa-oauth/lib/omniauth/strategies/qzone.rb
|
208
219
|
- oa-oauth/lib/omniauth/strategies/rdio.rb
|
209
220
|
- oa-oauth/lib/omniauth/strategies/renren.rb
|
@@ -211,6 +222,7 @@ files:
|
|
211
222
|
- oa-oauth/lib/omniauth/strategies/smug_mug.rb
|
212
223
|
- oa-oauth/lib/omniauth/strategies/sound_cloud.rb
|
213
224
|
- oa-oauth/lib/omniauth/strategies/t163.rb
|
225
|
+
- oa-oauth/lib/omniauth/strategies/taobao.rb
|
214
226
|
- oa-oauth/lib/omniauth/strategies/teambox.rb
|
215
227
|
- oa-oauth/lib/omniauth/strategies/thirty_seven_signals.rb
|
216
228
|
- oa-oauth/lib/omniauth/strategies/tqq.rb
|
@@ -246,16 +258,19 @@ files:
|
|
246
258
|
- oa-oauth/spec/omniauth/strategies/hyves_spec.rb
|
247
259
|
- oa-oauth/spec/omniauth/strategies/identica_spec.rb
|
248
260
|
- oa-oauth/spec/omniauth/strategies/linked_in_spec.rb
|
261
|
+
- oa-oauth/spec/omniauth/strategies/mailru_spec.rb
|
249
262
|
- oa-oauth/spec/omniauth/strategies/meetup_spec.rb
|
250
263
|
- oa-oauth/spec/omniauth/strategies/miso_spec.rb
|
251
264
|
- oa-oauth/spec/omniauth/strategies/netflix_spec.rb
|
252
265
|
- oa-oauth/spec/omniauth/strategies/oauth2_spec.rb
|
253
266
|
- oa-oauth/spec/omniauth/strategies/oauth_spec.rb
|
267
|
+
- oa-oauth/spec/omniauth/strategies/plurk_spec.rb
|
254
268
|
- oa-oauth/spec/omniauth/strategies/rdio_spec.rb
|
255
269
|
- oa-oauth/spec/omniauth/strategies/salesforce_spec.rb
|
256
270
|
- oa-oauth/spec/omniauth/strategies/smug_mug_spec.rb
|
257
271
|
- oa-oauth/spec/omniauth/strategies/sound_cloud_spec.rb
|
258
272
|
- oa-oauth/spec/omniauth/strategies/t163_spec.rb
|
273
|
+
- oa-oauth/spec/omniauth/strategies/taobao_spec.rb
|
259
274
|
- oa-oauth/spec/omniauth/strategies/teambox_spec.rb
|
260
275
|
- oa-oauth/spec/omniauth/strategies/thirty_seven_signals_spec.rb
|
261
276
|
- oa-oauth/spec/omniauth/strategies/trade_me_spec.rb
|
@@ -274,6 +289,7 @@ files:
|
|
274
289
|
- oa-openid/.gemtest
|
275
290
|
- oa-openid/.rspec
|
276
291
|
- oa-openid/.yardopts
|
292
|
+
- oa-openid/Gemfile
|
277
293
|
- oa-openid/LICENSE
|
278
294
|
- oa-openid/README.rdoc
|
279
295
|
- oa-openid/Rakefile
|
@@ -282,6 +298,7 @@ files:
|
|
282
298
|
- oa-openid/lib/omniauth/openid/gapps.rb
|
283
299
|
- oa-openid/lib/omniauth/strategies/google_apps.rb
|
284
300
|
- oa-openid/lib/omniauth/strategies/open_id.rb
|
301
|
+
- oa-openid/lib/omniauth/strategies/steam.rb
|
285
302
|
- oa-openid/lib/omniauth/version.rb
|
286
303
|
- oa-openid/oa-openid.gemspec
|
287
304
|
- oa-openid/spec/omniauth/strategies/open_id_spec.rb
|
@@ -311,10 +328,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
311
328
|
requirements: []
|
312
329
|
|
313
330
|
rubyforge_project:
|
314
|
-
rubygems_version: 1.
|
331
|
+
rubygems_version: 1.8.2
|
315
332
|
signing_key:
|
316
333
|
specification_version: 3
|
317
334
|
summary: Rack middleware for standardized multi-provider authentication.
|
318
335
|
test_files: []
|
319
336
|
|
320
|
-
has_rdoc:
|