oa-oauth 0.2.6 → 0.3.0.rc3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (143) hide show
  1. data/Gemfile +4 -0
  2. data/lib/omniauth/oauth.rb +65 -47
  3. data/lib/omniauth/strategies/google_oauth2.rb +59 -0
  4. data/lib/omniauth/strategies/oauth.rb +8 -2
  5. data/lib/omniauth/strategies/oauth/blogger.rb +58 -0
  6. data/lib/omniauth/strategies/{dopplr.rb → oauth/dopplr.rb} +19 -21
  7. data/lib/omniauth/strategies/{douban.rb → oauth/douban.rb} +18 -18
  8. data/lib/omniauth/strategies/oauth/dropbox.rb +40 -0
  9. data/lib/omniauth/strategies/{evernote.rb → oauth/evernote.rb} +11 -13
  10. data/lib/omniauth/strategies/oauth/flattr.rb +47 -0
  11. data/lib/omniauth/strategies/oauth/flickr.rb +39 -0
  12. data/lib/omniauth/strategies/{goodreads.rb → oauth/goodreads.rb} +9 -9
  13. data/lib/omniauth/strategies/{google.rb → oauth/google.rb} +19 -20
  14. data/lib/omniauth/strategies/oauth/google_health.rb +71 -0
  15. data/lib/omniauth/strategies/oauth/google_health_sandbox.rb +74 -0
  16. data/lib/omniauth/strategies/oauth/hyves.rb +69 -0
  17. data/lib/omniauth/strategies/{identica.rb → oauth/identica.rb} +20 -16
  18. data/lib/omniauth/strategies/{linked_in.rb → oauth/linked_in.rb} +14 -14
  19. data/lib/omniauth/strategies/{meetup.rb → oauth/meetup.rb} +18 -16
  20. data/lib/omniauth/strategies/{miso.rb → oauth/miso.rb} +14 -7
  21. data/lib/omniauth/strategies/{netflix.rb → oauth/netflix.rb} +16 -14
  22. data/lib/omniauth/strategies/oauth/orkut.rb +63 -0
  23. data/lib/omniauth/strategies/oauth/plurk.rb +57 -0
  24. data/lib/omniauth/strategies/{qzone.rb → oauth/qzone.rb} +15 -12
  25. data/lib/omniauth/strategies/oauth/rdio.rb +48 -0
  26. data/lib/omniauth/strategies/oauth/smug_mug.rb +47 -0
  27. data/lib/omniauth/strategies/{t163.rb → oauth/t163.rb} +17 -17
  28. data/lib/omniauth/strategies/oauth/tqq.rb +63 -0
  29. data/lib/omniauth/strategies/oauth/trade_me.rb +50 -0
  30. data/lib/omniauth/strategies/oauth/trip_it.rb +24 -0
  31. data/lib/omniauth/strategies/{tsina.rb → oauth/tsina.rb} +21 -15
  32. data/lib/omniauth/strategies/{tsohu.rb → oauth/tsohu.rb} +15 -17
  33. data/lib/omniauth/strategies/{tumblr.rb → oauth/tumblr.rb} +13 -15
  34. data/lib/omniauth/strategies/{twitter.rb → oauth/twitter.rb} +17 -16
  35. data/lib/omniauth/strategies/{type_pad.rb → oauth/type_pad.rb} +18 -27
  36. data/lib/omniauth/strategies/{vimeo.rb → oauth/vimeo.rb} +18 -14
  37. data/lib/omniauth/strategies/{yahoo.rb → oauth/yahoo.rb} +17 -12
  38. data/lib/omniauth/strategies/{yammer.rb → oauth/yammer.rb} +17 -12
  39. data/lib/omniauth/strategies/{you_tube.rb → oauth/you_tube.rb} +16 -14
  40. data/lib/omniauth/strategies/oauth2.rb +7 -5
  41. data/lib/omniauth/strategies/oauth2/angellist.rb +57 -0
  42. data/lib/omniauth/strategies/oauth2/bitly.rb +43 -0
  43. data/lib/omniauth/strategies/oauth2/cobot.rb +54 -0
  44. data/lib/omniauth/strategies/{dailymile.rb → oauth2/dailymile.rb} +19 -20
  45. data/lib/omniauth/strategies/{doit.rb → oauth2/doit.rb} +18 -18
  46. data/lib/omniauth/strategies/{facebook.rb → oauth2/facebook.rb} +38 -21
  47. data/lib/omniauth/strategies/{foursquare.rb → oauth2/foursquare.rb} +20 -19
  48. data/lib/omniauth/strategies/{github.rb → oauth2/github.rb} +21 -19
  49. data/lib/omniauth/strategies/oauth2/glitch.rb +45 -0
  50. data/lib/omniauth/strategies/oauth2/gowalla.rb +72 -0
  51. data/lib/omniauth/strategies/{instagram.rb → oauth2/instagram.rb} +19 -17
  52. data/lib/omniauth/strategies/oauth2/liveid.rb +67 -0
  53. data/lib/omniauth/strategies/oauth2/mailchimp.rb +39 -0
  54. data/lib/omniauth/strategies/oauth2/mailru.rb +75 -0
  55. data/lib/omniauth/strategies/{mixi.rb → oauth2/mixi.rb} +23 -18
  56. data/lib/omniauth/strategies/{renren.rb → oauth2/renren.rb} +25 -23
  57. data/lib/omniauth/strategies/oauth2/salesforce.rb +48 -0
  58. data/lib/omniauth/strategies/oauth2/sound_cloud.rb +60 -0
  59. data/lib/omniauth/strategies/{taobao.rb → oauth2/taobao.rb} +24 -22
  60. data/lib/omniauth/strategies/{teambox.rb → oauth2/teambox.rb} +19 -17
  61. data/lib/omniauth/strategies/{thirty_seven_signals.rb → oauth2/thirty_seven_signals.rb} +17 -17
  62. data/lib/omniauth/strategies/oauth2/viadeo.rb +72 -0
  63. data/lib/omniauth/strategies/oauth2/vkontakte.rb +104 -0
  64. data/lib/omniauth/strategies/oauth2/we_pay.rb +48 -0
  65. data/lib/omniauth/strategies/xauth.rb +3 -3
  66. data/lib/omniauth/strategies/{instapaper.rb → xauth/instapaper.rb} +9 -12
  67. data/lib/omniauth/version.rb +3 -3
  68. data/oa-oauth.gemspec +17 -18
  69. data/spec/omniauth/strategies/{bitly_spec.rb → google_oauth2_spec.rb} +1 -1
  70. data/spec/omniauth/strategies/{dopplr_spec.rb → oauth/dopplr_spec.rb} +1 -1
  71. data/spec/omniauth/strategies/{douban_spec.rb → oauth/douban_spec.rb} +1 -1
  72. data/spec/omniauth/strategies/oauth/dropbox_spec.rb +5 -0
  73. data/spec/omniauth/strategies/{evernote_spec.rb → oauth/evernote_spec.rb} +1 -1
  74. data/spec/omniauth/strategies/oauth/flattr_spec.rb +5 -0
  75. data/spec/omniauth/strategies/oauth/flickr_spec.rb +6 -0
  76. data/spec/omniauth/strategies/{goodreads_spec.rb → oauth/goodreads_spec.rb} +1 -1
  77. data/spec/omniauth/strategies/oauth/google_health_sandbox_spec.rb +5 -0
  78. data/spec/omniauth/strategies/oauth/google_health_spec.rb +5 -0
  79. data/spec/omniauth/strategies/{google_spec.rb → oauth/google_spec.rb} +1 -1
  80. data/spec/omniauth/strategies/{hyves_spec.rb → oauth/hyves_spec.rb} +1 -1
  81. data/spec/omniauth/strategies/{identica_spec.rb → oauth/identica_spec.rb} +1 -1
  82. data/spec/omniauth/strategies/{linked_in_spec.rb → oauth/linked_in_spec.rb} +1 -1
  83. data/spec/omniauth/strategies/{meetup_spec.rb → oauth/meetup_spec.rb} +3 -3
  84. data/spec/omniauth/strategies/{miso_spec.rb → oauth/miso_spec.rb} +1 -1
  85. data/spec/omniauth/strategies/{netflix_spec.rb → oauth/netflix_spec.rb} +1 -1
  86. data/spec/omniauth/strategies/oauth/oauth_spec.rb +131 -0
  87. data/spec/omniauth/strategies/oauth/orkut_spec.rb +5 -0
  88. data/spec/omniauth/strategies/{plurk_spec.rb → oauth/plurk_spec.rb} +1 -1
  89. data/spec/omniauth/strategies/{rdio_spec.rb → oauth/rdio_spec.rb} +1 -1
  90. data/spec/omniauth/strategies/{smug_mug_spec.rb → oauth/smug_mug_spec.rb} +1 -1
  91. data/spec/omniauth/strategies/{t163_spec.rb → oauth/t163_spec.rb} +1 -1
  92. data/spec/omniauth/strategies/{trade_me_spec.rb → oauth/trade_me_spec.rb} +1 -1
  93. data/spec/omniauth/strategies/{trip_it_spec.rb → oauth/trip_it_spec.rb} +1 -1
  94. data/spec/omniauth/strategies/{tsina_spec.rb → oauth/tsina_spec.rb} +1 -1
  95. data/spec/omniauth/strategies/{tumblr_spec.rb → oauth/tumblr_spec.rb} +1 -1
  96. data/spec/omniauth/strategies/oauth/twitter_spec.rb +43 -0
  97. data/spec/omniauth/strategies/{type_pad_spec.rb → oauth/type_pad_spec.rb} +1 -1
  98. data/spec/omniauth/strategies/{vimeo_spec.rb → oauth/vimeo_spec.rb} +1 -1
  99. data/spec/omniauth/strategies/{yahoo_spec.rb → oauth/yahoo_spec.rb} +1 -1
  100. data/spec/omniauth/strategies/{yammer_spec.rb → oauth/yammer_spec.rb} +1 -1
  101. data/spec/omniauth/strategies/{you_tube_spec.rb → oauth/you_tube_spec.rb} +1 -1
  102. data/spec/omniauth/strategies/oauth2/angellist_spec.rb +5 -0
  103. data/spec/omniauth/strategies/oauth2/bitly_spec.rb +5 -0
  104. data/spec/omniauth/strategies/oauth2/cobot_spec.rb +5 -0
  105. data/spec/omniauth/strategies/{dailymile_spec.rb → oauth2/dailymile_spec.rb} +1 -1
  106. data/spec/omniauth/strategies/{doit_spec.rb → oauth2/doit_spec.rb} +1 -1
  107. data/spec/omniauth/strategies/{facebook_spec.rb → oauth2/facebook_spec.rb} +1 -1
  108. data/spec/omniauth/strategies/{foursquare_spec.rb → oauth2/foursquare_spec.rb} +1 -1
  109. data/spec/omniauth/strategies/{github_spec.rb → oauth2/github_spec.rb} +1 -1
  110. data/spec/omniauth/strategies/oauth2/glitch_spec.rb +5 -0
  111. data/spec/omniauth/strategies/{gowalla_spec.rb → oauth2/gowalla_spec.rb} +1 -1
  112. data/spec/omniauth/strategies/oauth2/instagram_spec.rb +5 -0
  113. data/spec/omniauth/strategies/oauth2/liveid_spec.rb +5 -0
  114. data/spec/omniauth/strategies/oauth2/mailchimp_spec.rb +6 -0
  115. data/spec/omniauth/strategies/{mailru_spec.rb → oauth2/mailru_spec.rb} +1 -1
  116. data/spec/omniauth/strategies/{salesforce_spec.rb → oauth2/salesforce_spec.rb} +1 -1
  117. data/spec/omniauth/strategies/oauth2/sound_cloud_spec.rb +5 -0
  118. data/spec/omniauth/strategies/oauth2/taobao_spec.rb +5 -0
  119. data/spec/omniauth/strategies/{teambox_spec.rb → oauth2/teambox_spec.rb} +1 -1
  120. data/spec/omniauth/strategies/{thirty_seven_signals_spec.rb → oauth2/thirty_seven_signals_spec.rb} +1 -1
  121. data/spec/omniauth/strategies/oauth2/viadeo_spec.rb +5 -0
  122. data/spec/omniauth/strategies/{vkontakte_spec.rb → oauth2/vkontakte_spec.rb} +1 -1
  123. data/spec/omniauth/strategies/oauth2/we_pay_spec.rb +5 -0
  124. data/spec/spec_helper.rb +4 -0
  125. metadata +277 -151
  126. data/lib/omniauth/strategies/bitly.rb +0 -46
  127. data/lib/omniauth/strategies/gowalla.rb +0 -72
  128. data/lib/omniauth/strategies/hyves.rb +0 -67
  129. data/lib/omniauth/strategies/mailru.rb +0 -107
  130. data/lib/omniauth/strategies/plurk.rb +0 -58
  131. data/lib/omniauth/strategies/rdio.rb +0 -45
  132. data/lib/omniauth/strategies/salesforce.rb +0 -44
  133. data/lib/omniauth/strategies/smug_mug.rb +0 -42
  134. data/lib/omniauth/strategies/sound_cloud.rb +0 -46
  135. data/lib/omniauth/strategies/tqq.rb +0 -64
  136. data/lib/omniauth/strategies/trade_me.rb +0 -45
  137. data/lib/omniauth/strategies/trip_it.rb +0 -22
  138. data/lib/omniauth/strategies/vkontakte.rb +0 -87
  139. data/spec/omniauth/strategies/oauth2_spec.rb +0 -0
  140. data/spec/omniauth/strategies/oauth_spec.rb +0 -77
  141. data/spec/omniauth/strategies/sound_cloud_spec.rb +0 -5
  142. data/spec/omniauth/strategies/taobao_spec.rb +0 -5
  143. data/spec/omniauth/strategies/twitter_spec.rb +0 -20
@@ -0,0 +1,5 @@
1
+ require 'spec_helper'
2
+
3
+ describe OmniAuth::Strategies::Orkut do
4
+ it_should_behave_like 'an oauth strategy'
5
+ end
@@ -1,4 +1,4 @@
1
- require File.expand_path('../../../spec_helper', __FILE__)
1
+ require 'spec_helper'
2
2
 
3
3
  describe OmniAuth::Strategies::Plurk do
4
4
  it_should_behave_like 'an oauth strategy'
@@ -1,4 +1,4 @@
1
- require File.expand_path('../../../spec_helper', __FILE__)
1
+ require 'spec_helper'
2
2
 
3
3
  describe OmniAuth::Strategies::Rdio do
4
4
  it_should_behave_like "an oauth strategy"
@@ -1,4 +1,4 @@
1
- require File.expand_path('../../../spec_helper', __FILE__)
1
+ require 'spec_helper'
2
2
 
3
3
  describe OmniAuth::Strategies::SmugMug do
4
4
  it_should_behave_like 'an oauth strategy'
@@ -1,4 +1,4 @@
1
- require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
1
+ require 'spec_helper'
2
2
 
3
3
  describe OmniAuth::Strategies::T163 do
4
4
  it_should_behave_like "an oauth strategy"
@@ -1,4 +1,4 @@
1
- require File.expand_path('../../../spec_helper', __FILE__)
1
+ require 'spec_helper'
2
2
 
3
3
  describe OmniAuth::Strategies::TradeMe do
4
4
  it_should_behave_like 'an oauth strategy'
@@ -1,4 +1,4 @@
1
- require File.expand_path('../../../spec_helper', __FILE__)
1
+ require 'spec_helper'
2
2
 
3
3
  describe OmniAuth::Strategies::TripIt do
4
4
  it_should_behave_like 'an oauth strategy'
@@ -1,4 +1,4 @@
1
- require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
1
+ require 'spec_helper'
2
2
 
3
3
  describe OmniAuth::Strategies::Tsina do
4
4
  it_should_behave_like "an oauth strategy"
@@ -1,4 +1,4 @@
1
- require File.expand_path('../../../spec_helper', __FILE__)
1
+ require 'spec_helper'
2
2
 
3
3
  describe OmniAuth::Strategies::Tumblr do
4
4
  it_should_behave_like 'an oauth strategy'
@@ -0,0 +1,43 @@
1
+ require 'spec_helper'
2
+
3
+ describe OmniAuth::Strategies::Twitter do
4
+ it_should_behave_like 'an oauth strategy'
5
+
6
+ def app
7
+ Rack::Builder.new {
8
+ use OmniAuth::Test::PhonySession
9
+ use OmniAuth::Builder do
10
+ provider :twitter, 'abc', 'def'
11
+ end
12
+ run lambda { |env| [404, {'Content-Type' => 'text/plain'}, [env.key?('omniauth.auth').to_s]] }
13
+ }.to_app
14
+ end
15
+
16
+ it 'should use the authorize path by default' do
17
+ s = strategy_class.new(app, 'abc', 'def')
18
+ s.consumer.options[:authorize_path].should == '/oauth/authorize'
19
+ end
20
+
21
+ it 'should set options[:authorize_params] to { :force_login => "true" } if :force_login is true' do
22
+ s = strategy_class.new(app, 'abc', 'def', :force_login => true)
23
+ s.options[:authorize_params].should == { :force_login => 'true' }
24
+ end
25
+
26
+ it 'should use the authorize path if :sign_in is false' do
27
+ s = strategy_class.new(app, 'abc', 'def', :sign_in => false)
28
+ s.consumer.options[:authorize_path].should == '/oauth/authorize'
29
+ end
30
+
31
+ it 'should properly handle a timeout when fetching the user hash' do
32
+ stub_request(:post, 'https://api.twitter.com/oauth/access_token').
33
+ to_return(:body => "oauth_token=yourtoken&oauth_token_secret=yoursecret")
34
+
35
+ stub_request(:get, "https://api.twitter.com/1/account/verify_credentials.json").
36
+ to_raise(Errno::ETIMEDOUT)
37
+
38
+ get '/auth/twitter/callback', {:oauth_verifier => 'dudeman'}, {'rack.session' => {'oauth' => {"twitter" => {'callback_confirmed' => true, 'request_token' => 'yourtoken', 'request_secret' => 'yoursecret'}}}}
39
+
40
+ last_request.env['omniauth.error'].should be_kind_of(::Timeout::Error)
41
+ last_request.env['omniauth.error.type'] = :service_unavailable
42
+ end
43
+ end
@@ -1,4 +1,4 @@
1
- require File.expand_path('../../../spec_helper', __FILE__)
1
+ require 'spec_helper'
2
2
 
3
3
  describe OmniAuth::Strategies::TypePad do
4
4
  it_should_behave_like 'an oauth strategy'
@@ -1,4 +1,4 @@
1
- require File.expand_path('../../../spec_helper', __FILE__)
1
+ require 'spec_helper'
2
2
 
3
3
  describe OmniAuth::Strategies::Vimeo do
4
4
  it_should_behave_like 'an oauth strategy'
@@ -1,4 +1,4 @@
1
- require File.expand_path('../../../spec_helper', __FILE__)
1
+ require 'spec_helper'
2
2
 
3
3
  describe OmniAuth::Strategies::Yahoo do
4
4
  it_should_behave_like 'an oauth strategy'
@@ -1,4 +1,4 @@
1
- require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
1
+ require 'spec_helper'
2
2
 
3
3
  describe OmniAuth::Strategies::Yammer do
4
4
  it_should_behave_like 'an oauth strategy'
@@ -1,4 +1,4 @@
1
- require File.expand_path('../../../spec_helper', __FILE__)
1
+ require 'spec_helper'
2
2
 
3
3
  describe OmniAuth::Strategies::YouTube do
4
4
  it_should_behave_like 'an oauth strategy'
@@ -0,0 +1,5 @@
1
+ require 'spec_helper'
2
+
3
+ describe OmniAuth::Strategies::AngelList do
4
+ it_should_behave_like "an oauth2 strategy"
5
+ end
@@ -0,0 +1,5 @@
1
+ require 'spec_helper'
2
+
3
+ describe OmniAuth::Strategies::Bitly do
4
+ it_should_behave_like "an oauth2 strategy"
5
+ end
@@ -0,0 +1,5 @@
1
+ require 'spec_helper'
2
+
3
+ describe OmniAuth::Strategies::Cobot do
4
+ it_should_behave_like "an oauth2 strategy"
5
+ end
@@ -1,4 +1,4 @@
1
- require File.expand_path('../../../spec_helper', __FILE__)
1
+ require 'spec_helper'
2
2
 
3
3
  describe OmniAuth::Strategies::Dailymile do
4
4
  it_should_behave_like "an oauth2 strategy"
@@ -1,4 +1,4 @@
1
- require File.expand_path('../../../spec_helper', __FILE__)
1
+ require 'spec_helper'
2
2
 
3
3
  describe OmniAuth::Strategies::Doit do
4
4
  it_should_behave_like "an oauth2 strategy"
@@ -1,4 +1,4 @@
1
- require File.expand_path('../../../spec_helper', __FILE__)
1
+ require 'spec_helper'
2
2
 
3
3
  describe OmniAuth::Strategies::Facebook do
4
4
  it_should_behave_like "an oauth2 strategy"
@@ -1,4 +1,4 @@
1
- require File.expand_path('../../../spec_helper', __FILE__)
1
+ require 'spec_helper'
2
2
 
3
3
  describe OmniAuth::Strategies::Foursquare do
4
4
  it_should_behave_like "an oauth2 strategy"
@@ -1,4 +1,4 @@
1
- require File.expand_path('../../../spec_helper', __FILE__)
1
+ require 'spec_helper'
2
2
 
3
3
  describe OmniAuth::Strategies::GitHub do
4
4
  it_should_behave_like "an oauth2 strategy"
@@ -0,0 +1,5 @@
1
+ require 'spec_helper'
2
+
3
+ describe OmniAuth::Strategies::Glitch do
4
+ it_should_behave_like 'an oauth2 strategy'
5
+ end
@@ -1,4 +1,4 @@
1
- require File.expand_path('../../../spec_helper', __FILE__)
1
+ require 'spec_helper'
2
2
 
3
3
  describe OmniAuth::Strategies::Gowalla do
4
4
  it_should_behave_like "an oauth2 strategy"
@@ -0,0 +1,5 @@
1
+ require 'spec_helper'
2
+
3
+ describe OmniAuth::Strategies::Instagram do
4
+ it_should_behave_like "an oauth2 strategy"
5
+ end
@@ -0,0 +1,5 @@
1
+ require 'spec_helper'
2
+
3
+ describe OmniAuth::Strategies::Liveid do
4
+ it_should_behave_like 'an oauth2 strategy'
5
+ end
@@ -0,0 +1,6 @@
1
+ # oa-oauth/spec/omniauth/strategies/rdio_spec.rb
2
+ require File.expand_path('../../../../spec_helper', __FILE__)
3
+
4
+ describe OmniAuth::Strategies::Mailchimp do
5
+ it_should_behave_like "an oauth2 strategy"
6
+ end
@@ -1,4 +1,4 @@
1
- require File.expand_path('../../../spec_helper', __FILE__)
1
+ require 'spec_helper'
2
2
 
3
3
  describe OmniAuth::Strategies::Mailru do
4
4
  it_should_behave_like "an oauth2 strategy"
@@ -1,4 +1,4 @@
1
- require File.expand_path('../../../spec_helper', __FILE__)
1
+ require 'spec_helper'
2
2
 
3
3
  describe OmniAuth::Strategies::Salesforce do
4
4
  it_should_behave_like 'an oauth2 strategy'
@@ -0,0 +1,5 @@
1
+ require 'spec_helper'
2
+
3
+ describe OmniAuth::Strategies::SoundCloud do
4
+ it_should_behave_like "an oauth2 strategy"
5
+ end
@@ -0,0 +1,5 @@
1
+ require 'spec_helper'
2
+
3
+ describe OmniAuth::Strategies::Taobao do
4
+ it_should_behave_like "an oauth2 strategy"
5
+ end
@@ -1,4 +1,4 @@
1
- require File.expand_path('../../../spec_helper', __FILE__)
1
+ require 'spec_helper'
2
2
 
3
3
  describe OmniAuth::Strategies::Teambox do
4
4
  it_should_behave_like "an oauth2 strategy"
@@ -1,4 +1,4 @@
1
- require File.expand_path('../../../spec_helper', __FILE__)
1
+ require 'spec_helper'
2
2
 
3
3
  describe OmniAuth::Strategies::ThirtySevenSignals do
4
4
  it_should_behave_like 'an oauth2 strategy'
@@ -0,0 +1,5 @@
1
+ require 'spec_helper'
2
+
3
+ describe OmniAuth::Strategies::Viadeo do
4
+ it_should_behave_like "an oauth2 strategy"
5
+ end
@@ -1,4 +1,4 @@
1
- require File.expand_path('../../../spec_helper', __FILE__)
1
+ require 'spec_helper'
2
2
 
3
3
  describe OmniAuth::Strategies::Vkontakte do
4
4
  it_should_behave_like "an oauth2 strategy"
@@ -0,0 +1,5 @@
1
+ require 'spec_helper'
2
+
3
+ describe OmniAuth::Strategies::WePay do
4
+ it_should_behave_like "an oauth2 strategy"
5
+ end
data/spec/spec_helper.rb CHANGED
@@ -1,8 +1,11 @@
1
+ $:.unshift File.expand_path('..', __FILE__)
2
+ $:.unshift File.expand_path('../../lib', __FILE__)
1
3
  require 'simplecov'
2
4
  SimpleCov.start
3
5
  require 'rspec'
4
6
  require 'rack/test'
5
7
  require 'webmock/rspec'
8
+ require 'vcr'
6
9
  require 'omniauth/core'
7
10
  require 'omniauth/test'
8
11
  require 'omniauth/oauth'
@@ -10,6 +13,7 @@ require File.expand_path('../support/shared_examples', __FILE__)
10
13
 
11
14
  RSpec.configure do |config|
12
15
  config.include WebMock::API
16
+ config.extend VCR::RSpec::Macros
13
17
  config.include Rack::Test::Methods
14
18
  config.extend OmniAuth::Test::StrategyMacros, :type => :strategy
15
19
  end
metadata CHANGED
@@ -1,8 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oa-oauth
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.2.6
4
+ hash: 15424035
5
+ prerelease: 6
6
+ segments:
7
+ - 0
8
+ - 3
9
+ - 0
10
+ - rc
11
+ - 3
12
+ version: 0.3.0.rc3
6
13
  platform: ruby
7
14
  authors:
8
15
  - Michael Bleigh
@@ -11,7 +18,7 @@ autorequire:
11
18
  bindir: bin
12
19
  cert_chain: []
13
20
 
14
- date: 2011-05-20 00:00:00 Z
21
+ date: 2011-09-03 00:00:00 Z
15
22
  dependencies:
16
23
  - !ruby/object:Gem::Dependency
17
24
  name: faraday
@@ -21,7 +28,12 @@ dependencies:
21
28
  requirements:
22
29
  - - ~>
23
30
  - !ruby/object:Gem::Version
24
- version: 0.6.1
31
+ hash: 5
32
+ segments:
33
+ - 0
34
+ - 7
35
+ - 3
36
+ version: 0.7.3
25
37
  type: :runtime
26
38
  version_requirements: *id001
27
39
  - !ruby/object:Gem::Dependency
@@ -32,6 +44,11 @@ dependencies:
32
44
  requirements:
33
45
  - - ~>
34
46
  - !ruby/object:Gem::Version
47
+ hash: 23
48
+ segments:
49
+ - 1
50
+ - 0
51
+ - 0
35
52
  version: 1.0.0
36
53
  type: :runtime
37
54
  version_requirements: *id002
@@ -43,7 +60,12 @@ dependencies:
43
60
  requirements:
44
61
  - - ~>
45
62
  - !ruby/object:Gem::Version
46
- version: 0.2.2
63
+ hash: 19
64
+ segments:
65
+ - 0
66
+ - 3
67
+ - 0
68
+ version: 0.3.0
47
69
  type: :runtime
48
70
  version_requirements: *id003
49
71
  - !ruby/object:Gem::Dependency
@@ -54,7 +76,14 @@ dependencies:
54
76
  requirements:
55
77
  - - "="
56
78
  - !ruby/object:Gem::Version
57
- version: 0.2.6
79
+ hash: 15424035
80
+ segments:
81
+ - 0
82
+ - 3
83
+ - 0
84
+ - rc
85
+ - 3
86
+ version: 0.3.0.rc3
58
87
  type: :runtime
59
88
  version_requirements: *id004
60
89
  - !ruby/object:Gem::Dependency
@@ -65,6 +94,11 @@ dependencies:
65
94
  requirements:
66
95
  - - ~>
67
96
  - !ruby/object:Gem::Version
97
+ hash: 15
98
+ segments:
99
+ - 0
100
+ - 4
101
+ - 0
68
102
  version: 0.4.0
69
103
  type: :runtime
70
104
  version_requirements: *id005
@@ -76,7 +110,12 @@ dependencies:
76
110
  requirements:
77
111
  - - ~>
78
112
  - !ruby/object:Gem::Version
79
- version: 0.4.1
113
+ hash: 11
114
+ segments:
115
+ - 0
116
+ - 5
117
+ - 0
118
+ version: 0.5.0
80
119
  type: :runtime
81
120
  version_requirements: *id006
82
121
  - !ruby/object:Gem::Dependency
@@ -87,40 +126,56 @@ dependencies:
87
126
  requirements:
88
127
  - - ~>
89
128
  - !ruby/object:Gem::Version
90
- version: "0.9"
129
+ hash: 15
130
+ segments:
131
+ - 1
132
+ - 0
133
+ version: "1.0"
91
134
  type: :development
92
135
  version_requirements: *id007
93
136
  - !ruby/object:Gem::Dependency
94
- name: maruku
137
+ name: rack-test
95
138
  prerelease: false
96
139
  requirement: &id008 !ruby/object:Gem::Requirement
97
140
  none: false
98
141
  requirements:
99
142
  - - ~>
100
143
  - !ruby/object:Gem::Version
101
- version: "0.6"
144
+ hash: 1
145
+ segments:
146
+ - 0
147
+ - 5
148
+ version: "0.5"
102
149
  type: :development
103
150
  version_requirements: *id008
104
151
  - !ruby/object:Gem::Dependency
105
- name: rack-test
152
+ name: rake
106
153
  prerelease: false
107
154
  requirement: &id009 !ruby/object:Gem::Requirement
108
155
  none: false
109
156
  requirements:
110
157
  - - ~>
111
158
  - !ruby/object:Gem::Version
112
- version: "0.5"
159
+ hash: 27
160
+ segments:
161
+ - 0
162
+ - 8
163
+ version: "0.8"
113
164
  type: :development
114
165
  version_requirements: *id009
115
166
  - !ruby/object:Gem::Dependency
116
- name: rake
167
+ name: rdiscount
117
168
  prerelease: false
118
169
  requirement: &id010 !ruby/object:Gem::Requirement
119
170
  none: false
120
171
  requirements:
121
172
  - - ~>
122
173
  - !ruby/object:Gem::Version
123
- version: "0.8"
174
+ hash: 3
175
+ segments:
176
+ - 1
177
+ - 6
178
+ version: "1.6"
124
179
  type: :development
125
180
  version_requirements: *id010
126
181
  - !ruby/object:Gem::Dependency
@@ -131,6 +186,10 @@ dependencies:
131
186
  requirements:
132
187
  - - ~>
133
188
  - !ruby/object:Gem::Version
189
+ hash: 9
190
+ segments:
191
+ - 2
192
+ - 5
134
193
  version: "2.5"
135
194
  type: :development
136
195
  version_requirements: *id011
@@ -142,40 +201,56 @@ dependencies:
142
201
  requirements:
143
202
  - - ~>
144
203
  - !ruby/object:Gem::Version
204
+ hash: 3
205
+ segments:
206
+ - 0
207
+ - 4
145
208
  version: "0.4"
146
209
  type: :development
147
210
  version_requirements: *id012
148
211
  - !ruby/object:Gem::Dependency
149
- name: webmock
212
+ name: vcr
150
213
  prerelease: false
151
214
  requirement: &id013 !ruby/object:Gem::Requirement
152
215
  none: false
153
216
  requirements:
154
217
  - - ~>
155
218
  - !ruby/object:Gem::Version
156
- version: "1.6"
219
+ hash: 27
220
+ segments:
221
+ - 1
222
+ - 10
223
+ version: "1.10"
157
224
  type: :development
158
225
  version_requirements: *id013
159
226
  - !ruby/object:Gem::Dependency
160
- name: yard
227
+ name: webmock
161
228
  prerelease: false
162
229
  requirement: &id014 !ruby/object:Gem::Requirement
163
230
  none: false
164
231
  requirements:
165
232
  - - ~>
166
233
  - !ruby/object:Gem::Version
167
- version: "0.7"
234
+ hash: 1
235
+ segments:
236
+ - 1
237
+ - 7
238
+ version: "1.7"
168
239
  type: :development
169
240
  version_requirements: *id014
170
241
  - !ruby/object:Gem::Dependency
171
- name: ZenTest
242
+ name: yard
172
243
  prerelease: false
173
244
  requirement: &id015 !ruby/object:Gem::Requirement
174
245
  none: false
175
246
  requirements:
176
247
  - - ~>
177
248
  - !ruby/object:Gem::Version
178
- version: "4.5"
249
+ hash: 5
250
+ segments:
251
+ - 0
252
+ - 7
253
+ version: "0.7"
179
254
  type: :development
180
255
  version_requirements: *id015
181
256
  description: OAuth strategies for OmniAuth.
@@ -199,100 +274,129 @@ files:
199
274
  - autotest/discover.rb
200
275
  - lib/oa-oauth.rb
201
276
  - lib/omniauth/oauth.rb
202
- - lib/omniauth/strategies/bitly.rb
203
- - lib/omniauth/strategies/dailymile.rb
204
- - lib/omniauth/strategies/doit.rb
205
- - lib/omniauth/strategies/dopplr.rb
206
- - lib/omniauth/strategies/douban.rb
207
- - lib/omniauth/strategies/evernote.rb
208
- - lib/omniauth/strategies/facebook.rb
209
- - lib/omniauth/strategies/foursquare.rb
210
- - lib/omniauth/strategies/github.rb
211
- - lib/omniauth/strategies/goodreads.rb
212
- - lib/omniauth/strategies/google.rb
213
- - lib/omniauth/strategies/gowalla.rb
214
- - lib/omniauth/strategies/hyves.rb
215
- - lib/omniauth/strategies/identica.rb
216
- - lib/omniauth/strategies/instagram.rb
217
- - lib/omniauth/strategies/instapaper.rb
218
- - lib/omniauth/strategies/linked_in.rb
219
- - lib/omniauth/strategies/mailru.rb
220
- - lib/omniauth/strategies/meetup.rb
221
- - lib/omniauth/strategies/miso.rb
222
- - lib/omniauth/strategies/mixi.rb
223
- - lib/omniauth/strategies/netflix.rb
277
+ - lib/omniauth/strategies/google_oauth2.rb
224
278
  - lib/omniauth/strategies/oauth.rb
279
+ - lib/omniauth/strategies/oauth/blogger.rb
280
+ - lib/omniauth/strategies/oauth/dopplr.rb
281
+ - lib/omniauth/strategies/oauth/douban.rb
282
+ - lib/omniauth/strategies/oauth/dropbox.rb
283
+ - lib/omniauth/strategies/oauth/evernote.rb
284
+ - lib/omniauth/strategies/oauth/flattr.rb
285
+ - lib/omniauth/strategies/oauth/flickr.rb
286
+ - lib/omniauth/strategies/oauth/goodreads.rb
287
+ - lib/omniauth/strategies/oauth/google.rb
288
+ - lib/omniauth/strategies/oauth/google_health.rb
289
+ - lib/omniauth/strategies/oauth/google_health_sandbox.rb
290
+ - lib/omniauth/strategies/oauth/hyves.rb
291
+ - lib/omniauth/strategies/oauth/identica.rb
292
+ - lib/omniauth/strategies/oauth/linked_in.rb
293
+ - lib/omniauth/strategies/oauth/meetup.rb
294
+ - lib/omniauth/strategies/oauth/miso.rb
295
+ - lib/omniauth/strategies/oauth/netflix.rb
296
+ - lib/omniauth/strategies/oauth/orkut.rb
297
+ - lib/omniauth/strategies/oauth/plurk.rb
298
+ - lib/omniauth/strategies/oauth/qzone.rb
299
+ - lib/omniauth/strategies/oauth/rdio.rb
300
+ - lib/omniauth/strategies/oauth/smug_mug.rb
301
+ - lib/omniauth/strategies/oauth/t163.rb
302
+ - lib/omniauth/strategies/oauth/tqq.rb
303
+ - lib/omniauth/strategies/oauth/trade_me.rb
304
+ - lib/omniauth/strategies/oauth/trip_it.rb
305
+ - lib/omniauth/strategies/oauth/tsina.rb
306
+ - lib/omniauth/strategies/oauth/tsohu.rb
307
+ - lib/omniauth/strategies/oauth/tumblr.rb
308
+ - lib/omniauth/strategies/oauth/twitter.rb
309
+ - lib/omniauth/strategies/oauth/type_pad.rb
310
+ - lib/omniauth/strategies/oauth/vimeo.rb
311
+ - lib/omniauth/strategies/oauth/yahoo.rb
312
+ - lib/omniauth/strategies/oauth/yammer.rb
313
+ - lib/omniauth/strategies/oauth/you_tube.rb
225
314
  - lib/omniauth/strategies/oauth2.rb
226
- - lib/omniauth/strategies/plurk.rb
227
- - lib/omniauth/strategies/qzone.rb
228
- - lib/omniauth/strategies/rdio.rb
229
- - lib/omniauth/strategies/renren.rb
230
- - lib/omniauth/strategies/salesforce.rb
231
- - lib/omniauth/strategies/smug_mug.rb
232
- - lib/omniauth/strategies/sound_cloud.rb
233
- - lib/omniauth/strategies/t163.rb
234
- - lib/omniauth/strategies/taobao.rb
235
- - lib/omniauth/strategies/teambox.rb
236
- - lib/omniauth/strategies/thirty_seven_signals.rb
237
- - lib/omniauth/strategies/tqq.rb
238
- - lib/omniauth/strategies/trade_me.rb
239
- - lib/omniauth/strategies/trip_it.rb
240
- - lib/omniauth/strategies/tsina.rb
241
- - lib/omniauth/strategies/tsohu.rb
242
- - lib/omniauth/strategies/tumblr.rb
243
- - lib/omniauth/strategies/twitter.rb
244
- - lib/omniauth/strategies/type_pad.rb
245
- - lib/omniauth/strategies/vimeo.rb
246
- - lib/omniauth/strategies/vkontakte.rb
315
+ - lib/omniauth/strategies/oauth2/angellist.rb
316
+ - lib/omniauth/strategies/oauth2/bitly.rb
317
+ - lib/omniauth/strategies/oauth2/cobot.rb
318
+ - lib/omniauth/strategies/oauth2/dailymile.rb
319
+ - lib/omniauth/strategies/oauth2/doit.rb
320
+ - lib/omniauth/strategies/oauth2/facebook.rb
321
+ - lib/omniauth/strategies/oauth2/foursquare.rb
322
+ - lib/omniauth/strategies/oauth2/github.rb
323
+ - lib/omniauth/strategies/oauth2/glitch.rb
324
+ - lib/omniauth/strategies/oauth2/gowalla.rb
325
+ - lib/omniauth/strategies/oauth2/instagram.rb
326
+ - lib/omniauth/strategies/oauth2/liveid.rb
327
+ - lib/omniauth/strategies/oauth2/mailchimp.rb
328
+ - lib/omniauth/strategies/oauth2/mailru.rb
329
+ - lib/omniauth/strategies/oauth2/mixi.rb
330
+ - lib/omniauth/strategies/oauth2/renren.rb
331
+ - lib/omniauth/strategies/oauth2/salesforce.rb
332
+ - lib/omniauth/strategies/oauth2/sound_cloud.rb
333
+ - lib/omniauth/strategies/oauth2/taobao.rb
334
+ - lib/omniauth/strategies/oauth2/teambox.rb
335
+ - lib/omniauth/strategies/oauth2/thirty_seven_signals.rb
336
+ - lib/omniauth/strategies/oauth2/viadeo.rb
337
+ - lib/omniauth/strategies/oauth2/vkontakte.rb
338
+ - lib/omniauth/strategies/oauth2/we_pay.rb
247
339
  - lib/omniauth/strategies/xauth.rb
248
- - lib/omniauth/strategies/yahoo.rb
249
- - lib/omniauth/strategies/yammer.rb
250
- - lib/omniauth/strategies/you_tube.rb
340
+ - lib/omniauth/strategies/xauth/instapaper.rb
251
341
  - lib/omniauth/version.rb
252
342
  - oa-oauth.gemspec
253
343
  - spec/fixtures/basecamp_200.xml
254
344
  - spec/fixtures/campfire_200.json
255
- - spec/omniauth/strategies/bitly_spec.rb
256
- - spec/omniauth/strategies/dailymile_spec.rb
257
- - spec/omniauth/strategies/doit_spec.rb
258
- - spec/omniauth/strategies/dopplr_spec.rb
259
- - spec/omniauth/strategies/douban_spec.rb
260
- - spec/omniauth/strategies/evernote_spec.rb
261
- - spec/omniauth/strategies/facebook_spec.rb
262
- - spec/omniauth/strategies/foursquare_spec.rb
263
- - spec/omniauth/strategies/github_spec.rb
264
- - spec/omniauth/strategies/goodreads_spec.rb
265
- - spec/omniauth/strategies/google_spec.rb
266
- - spec/omniauth/strategies/gowalla_spec.rb
267
- - spec/omniauth/strategies/hyves_spec.rb
268
- - spec/omniauth/strategies/identica_spec.rb
269
- - spec/omniauth/strategies/linked_in_spec.rb
270
- - spec/omniauth/strategies/mailru_spec.rb
271
- - spec/omniauth/strategies/meetup_spec.rb
272
- - spec/omniauth/strategies/miso_spec.rb
273
- - spec/omniauth/strategies/netflix_spec.rb
274
- - spec/omniauth/strategies/oauth2_spec.rb
275
- - spec/omniauth/strategies/oauth_spec.rb
276
- - spec/omniauth/strategies/plurk_spec.rb
277
- - spec/omniauth/strategies/rdio_spec.rb
278
- - spec/omniauth/strategies/salesforce_spec.rb
279
- - spec/omniauth/strategies/smug_mug_spec.rb
280
- - spec/omniauth/strategies/sound_cloud_spec.rb
281
- - spec/omniauth/strategies/t163_spec.rb
282
- - spec/omniauth/strategies/taobao_spec.rb
283
- - spec/omniauth/strategies/teambox_spec.rb
284
- - spec/omniauth/strategies/thirty_seven_signals_spec.rb
285
- - spec/omniauth/strategies/trade_me_spec.rb
286
- - spec/omniauth/strategies/trip_it_spec.rb
287
- - spec/omniauth/strategies/tsina_spec.rb
288
- - spec/omniauth/strategies/tumblr_spec.rb
289
- - spec/omniauth/strategies/twitter_spec.rb
290
- - spec/omniauth/strategies/type_pad_spec.rb
291
- - spec/omniauth/strategies/vimeo_spec.rb
292
- - spec/omniauth/strategies/vkontakte_spec.rb
293
- - spec/omniauth/strategies/yahoo_spec.rb
294
- - spec/omniauth/strategies/yammer_spec.rb
295
- - spec/omniauth/strategies/you_tube_spec.rb
345
+ - spec/omniauth/strategies/google_oauth2_spec.rb
346
+ - spec/omniauth/strategies/oauth/dopplr_spec.rb
347
+ - spec/omniauth/strategies/oauth/douban_spec.rb
348
+ - spec/omniauth/strategies/oauth/dropbox_spec.rb
349
+ - spec/omniauth/strategies/oauth/evernote_spec.rb
350
+ - spec/omniauth/strategies/oauth/flattr_spec.rb
351
+ - spec/omniauth/strategies/oauth/flickr_spec.rb
352
+ - spec/omniauth/strategies/oauth/goodreads_spec.rb
353
+ - spec/omniauth/strategies/oauth/google_health_sandbox_spec.rb
354
+ - spec/omniauth/strategies/oauth/google_health_spec.rb
355
+ - spec/omniauth/strategies/oauth/google_spec.rb
356
+ - spec/omniauth/strategies/oauth/hyves_spec.rb
357
+ - spec/omniauth/strategies/oauth/identica_spec.rb
358
+ - spec/omniauth/strategies/oauth/linked_in_spec.rb
359
+ - spec/omniauth/strategies/oauth/meetup_spec.rb
360
+ - spec/omniauth/strategies/oauth/miso_spec.rb
361
+ - spec/omniauth/strategies/oauth/netflix_spec.rb
362
+ - spec/omniauth/strategies/oauth/oauth_spec.rb
363
+ - spec/omniauth/strategies/oauth/orkut_spec.rb
364
+ - spec/omniauth/strategies/oauth/plurk_spec.rb
365
+ - spec/omniauth/strategies/oauth/rdio_spec.rb
366
+ - spec/omniauth/strategies/oauth/smug_mug_spec.rb
367
+ - spec/omniauth/strategies/oauth/t163_spec.rb
368
+ - spec/omniauth/strategies/oauth/trade_me_spec.rb
369
+ - spec/omniauth/strategies/oauth/trip_it_spec.rb
370
+ - spec/omniauth/strategies/oauth/tsina_spec.rb
371
+ - spec/omniauth/strategies/oauth/tumblr_spec.rb
372
+ - spec/omniauth/strategies/oauth/twitter_spec.rb
373
+ - spec/omniauth/strategies/oauth/type_pad_spec.rb
374
+ - spec/omniauth/strategies/oauth/vimeo_spec.rb
375
+ - spec/omniauth/strategies/oauth/yahoo_spec.rb
376
+ - spec/omniauth/strategies/oauth/yammer_spec.rb
377
+ - spec/omniauth/strategies/oauth/you_tube_spec.rb
378
+ - spec/omniauth/strategies/oauth2/angellist_spec.rb
379
+ - spec/omniauth/strategies/oauth2/bitly_spec.rb
380
+ - spec/omniauth/strategies/oauth2/cobot_spec.rb
381
+ - spec/omniauth/strategies/oauth2/dailymile_spec.rb
382
+ - spec/omniauth/strategies/oauth2/doit_spec.rb
383
+ - spec/omniauth/strategies/oauth2/facebook_spec.rb
384
+ - spec/omniauth/strategies/oauth2/foursquare_spec.rb
385
+ - spec/omniauth/strategies/oauth2/github_spec.rb
386
+ - spec/omniauth/strategies/oauth2/glitch_spec.rb
387
+ - spec/omniauth/strategies/oauth2/gowalla_spec.rb
388
+ - spec/omniauth/strategies/oauth2/instagram_spec.rb
389
+ - spec/omniauth/strategies/oauth2/liveid_spec.rb
390
+ - spec/omniauth/strategies/oauth2/mailchimp_spec.rb
391
+ - spec/omniauth/strategies/oauth2/mailru_spec.rb
392
+ - spec/omniauth/strategies/oauth2/salesforce_spec.rb
393
+ - spec/omniauth/strategies/oauth2/sound_cloud_spec.rb
394
+ - spec/omniauth/strategies/oauth2/taobao_spec.rb
395
+ - spec/omniauth/strategies/oauth2/teambox_spec.rb
396
+ - spec/omniauth/strategies/oauth2/thirty_seven_signals_spec.rb
397
+ - spec/omniauth/strategies/oauth2/viadeo_spec.rb
398
+ - spec/omniauth/strategies/oauth2/vkontakte_spec.rb
399
+ - spec/omniauth/strategies/oauth2/we_pay_spec.rb
296
400
  - spec/spec_helper.rb
297
401
  - spec/support/shared_examples.rb
298
402
  homepage: http://github.com/intridea/omniauth
@@ -308,63 +412,85 @@ required_ruby_version: !ruby/object:Gem::Requirement
308
412
  requirements:
309
413
  - - ">="
310
414
  - !ruby/object:Gem::Version
415
+ hash: 3
416
+ segments:
417
+ - 0
311
418
  version: "0"
312
419
  required_rubygems_version: !ruby/object:Gem::Requirement
313
420
  none: false
314
421
  requirements:
315
- - - ">="
422
+ - - ">"
316
423
  - !ruby/object:Gem::Version
317
- version: 1.3.6
424
+ hash: 25
425
+ segments:
426
+ - 1
427
+ - 3
428
+ - 1
429
+ version: 1.3.1
318
430
  requirements: []
319
431
 
320
432
  rubyforge_project:
321
- rubygems_version: 1.8.2
433
+ rubygems_version: 1.8.10
322
434
  signing_key:
323
435
  specification_version: 3
324
436
  summary: OAuth strategies for OmniAuth.
325
437
  test_files:
326
438
  - spec/fixtures/basecamp_200.xml
327
439
  - spec/fixtures/campfire_200.json
328
- - spec/omniauth/strategies/bitly_spec.rb
329
- - spec/omniauth/strategies/dailymile_spec.rb
330
- - spec/omniauth/strategies/doit_spec.rb
331
- - spec/omniauth/strategies/dopplr_spec.rb
332
- - spec/omniauth/strategies/douban_spec.rb
333
- - spec/omniauth/strategies/evernote_spec.rb
334
- - spec/omniauth/strategies/facebook_spec.rb
335
- - spec/omniauth/strategies/foursquare_spec.rb
336
- - spec/omniauth/strategies/github_spec.rb
337
- - spec/omniauth/strategies/goodreads_spec.rb
338
- - spec/omniauth/strategies/google_spec.rb
339
- - spec/omniauth/strategies/gowalla_spec.rb
340
- - spec/omniauth/strategies/hyves_spec.rb
341
- - spec/omniauth/strategies/identica_spec.rb
342
- - spec/omniauth/strategies/linked_in_spec.rb
343
- - spec/omniauth/strategies/mailru_spec.rb
344
- - spec/omniauth/strategies/meetup_spec.rb
345
- - spec/omniauth/strategies/miso_spec.rb
346
- - spec/omniauth/strategies/netflix_spec.rb
347
- - spec/omniauth/strategies/oauth2_spec.rb
348
- - spec/omniauth/strategies/oauth_spec.rb
349
- - spec/omniauth/strategies/plurk_spec.rb
350
- - spec/omniauth/strategies/rdio_spec.rb
351
- - spec/omniauth/strategies/salesforce_spec.rb
352
- - spec/omniauth/strategies/smug_mug_spec.rb
353
- - spec/omniauth/strategies/sound_cloud_spec.rb
354
- - spec/omniauth/strategies/t163_spec.rb
355
- - spec/omniauth/strategies/taobao_spec.rb
356
- - spec/omniauth/strategies/teambox_spec.rb
357
- - spec/omniauth/strategies/thirty_seven_signals_spec.rb
358
- - spec/omniauth/strategies/trade_me_spec.rb
359
- - spec/omniauth/strategies/trip_it_spec.rb
360
- - spec/omniauth/strategies/tsina_spec.rb
361
- - spec/omniauth/strategies/tumblr_spec.rb
362
- - spec/omniauth/strategies/twitter_spec.rb
363
- - spec/omniauth/strategies/type_pad_spec.rb
364
- - spec/omniauth/strategies/vimeo_spec.rb
365
- - spec/omniauth/strategies/vkontakte_spec.rb
366
- - spec/omniauth/strategies/yahoo_spec.rb
367
- - spec/omniauth/strategies/yammer_spec.rb
368
- - spec/omniauth/strategies/you_tube_spec.rb
440
+ - spec/omniauth/strategies/google_oauth2_spec.rb
441
+ - spec/omniauth/strategies/oauth/dopplr_spec.rb
442
+ - spec/omniauth/strategies/oauth/douban_spec.rb
443
+ - spec/omniauth/strategies/oauth/dropbox_spec.rb
444
+ - spec/omniauth/strategies/oauth/evernote_spec.rb
445
+ - spec/omniauth/strategies/oauth/flattr_spec.rb
446
+ - spec/omniauth/strategies/oauth/flickr_spec.rb
447
+ - spec/omniauth/strategies/oauth/goodreads_spec.rb
448
+ - spec/omniauth/strategies/oauth/google_health_sandbox_spec.rb
449
+ - spec/omniauth/strategies/oauth/google_health_spec.rb
450
+ - spec/omniauth/strategies/oauth/google_spec.rb
451
+ - spec/omniauth/strategies/oauth/hyves_spec.rb
452
+ - spec/omniauth/strategies/oauth/identica_spec.rb
453
+ - spec/omniauth/strategies/oauth/linked_in_spec.rb
454
+ - spec/omniauth/strategies/oauth/meetup_spec.rb
455
+ - spec/omniauth/strategies/oauth/miso_spec.rb
456
+ - spec/omniauth/strategies/oauth/netflix_spec.rb
457
+ - spec/omniauth/strategies/oauth/oauth_spec.rb
458
+ - spec/omniauth/strategies/oauth/orkut_spec.rb
459
+ - spec/omniauth/strategies/oauth/plurk_spec.rb
460
+ - spec/omniauth/strategies/oauth/rdio_spec.rb
461
+ - spec/omniauth/strategies/oauth/smug_mug_spec.rb
462
+ - spec/omniauth/strategies/oauth/t163_spec.rb
463
+ - spec/omniauth/strategies/oauth/trade_me_spec.rb
464
+ - spec/omniauth/strategies/oauth/trip_it_spec.rb
465
+ - spec/omniauth/strategies/oauth/tsina_spec.rb
466
+ - spec/omniauth/strategies/oauth/tumblr_spec.rb
467
+ - spec/omniauth/strategies/oauth/twitter_spec.rb
468
+ - spec/omniauth/strategies/oauth/type_pad_spec.rb
469
+ - spec/omniauth/strategies/oauth/vimeo_spec.rb
470
+ - spec/omniauth/strategies/oauth/yahoo_spec.rb
471
+ - spec/omniauth/strategies/oauth/yammer_spec.rb
472
+ - spec/omniauth/strategies/oauth/you_tube_spec.rb
473
+ - spec/omniauth/strategies/oauth2/angellist_spec.rb
474
+ - spec/omniauth/strategies/oauth2/bitly_spec.rb
475
+ - spec/omniauth/strategies/oauth2/cobot_spec.rb
476
+ - spec/omniauth/strategies/oauth2/dailymile_spec.rb
477
+ - spec/omniauth/strategies/oauth2/doit_spec.rb
478
+ - spec/omniauth/strategies/oauth2/facebook_spec.rb
479
+ - spec/omniauth/strategies/oauth2/foursquare_spec.rb
480
+ - spec/omniauth/strategies/oauth2/github_spec.rb
481
+ - spec/omniauth/strategies/oauth2/glitch_spec.rb
482
+ - spec/omniauth/strategies/oauth2/gowalla_spec.rb
483
+ - spec/omniauth/strategies/oauth2/instagram_spec.rb
484
+ - spec/omniauth/strategies/oauth2/liveid_spec.rb
485
+ - spec/omniauth/strategies/oauth2/mailchimp_spec.rb
486
+ - spec/omniauth/strategies/oauth2/mailru_spec.rb
487
+ - spec/omniauth/strategies/oauth2/salesforce_spec.rb
488
+ - spec/omniauth/strategies/oauth2/sound_cloud_spec.rb
489
+ - spec/omniauth/strategies/oauth2/taobao_spec.rb
490
+ - spec/omniauth/strategies/oauth2/teambox_spec.rb
491
+ - spec/omniauth/strategies/oauth2/thirty_seven_signals_spec.rb
492
+ - spec/omniauth/strategies/oauth2/viadeo_spec.rb
493
+ - spec/omniauth/strategies/oauth2/vkontakte_spec.rb
494
+ - spec/omniauth/strategies/oauth2/we_pay_spec.rb
369
495
  - spec/spec_helper.rb
370
496
  - spec/support/shared_examples.rb