omniauth 0.2.6 → 0.3.0

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.
Files changed (214) hide show
  1. data/README.md +62 -34
  2. data/lib/omniauth/version.rb +2 -2
  3. metadata +59 -225
  4. data/.autotest +0 -9
  5. data/.document +0 -5
  6. data/.gemtest +0 -0
  7. data/.gitignore +0 -56
  8. data/.rspec +0 -2
  9. data/.travis.yml +0 -9
  10. data/.yardopts +0 -4
  11. data/Gemfile +0 -12
  12. data/Rakefile +0 -51
  13. data/oa-basic/.gemtest +0 -0
  14. data/oa-basic/.rspec +0 -3
  15. data/oa-basic/.yardopts +0 -4
  16. data/oa-basic/Gemfile +0 -7
  17. data/oa-basic/LICENSE +0 -19
  18. data/oa-basic/README.rdoc +0 -34
  19. data/oa-basic/Rakefile +0 -6
  20. data/oa-basic/lib/oa-basic.rb +0 -1
  21. data/oa-basic/lib/omniauth/basic.rb +0 -8
  22. data/oa-basic/lib/omniauth/strategies/http_basic.rb +0 -56
  23. data/oa-basic/lib/omniauth/version.rb +0 -19
  24. data/oa-basic/oa-basic.gemspec +0 -27
  25. data/oa-basic/spec/omniauth/strategies/basic_spec.rb +0 -7
  26. data/oa-basic/spec/spec_helper.rb +0 -11
  27. data/oa-core/.gemtest +0 -0
  28. data/oa-core/.rspec +0 -3
  29. data/oa-core/.yardopts +0 -4
  30. data/oa-core/Gemfile +0 -3
  31. data/oa-core/LICENSE +0 -19
  32. data/oa-core/Rakefile +0 -6
  33. data/oa-core/autotest/discover.rb +0 -1
  34. data/oa-core/lib/oa-core.rb +0 -1
  35. data/oa-core/lib/omniauth/builder.rb +0 -33
  36. data/oa-core/lib/omniauth/core.rb +0 -135
  37. data/oa-core/lib/omniauth/form.rb +0 -186
  38. data/oa-core/lib/omniauth/strategy.rb +0 -227
  39. data/oa-core/lib/omniauth/test/phony_session.rb +0 -8
  40. data/oa-core/lib/omniauth/test/strategy_macros.rb +0 -34
  41. data/oa-core/lib/omniauth/test/strategy_test_case.rb +0 -49
  42. data/oa-core/lib/omniauth/test.rb +0 -12
  43. data/oa-core/lib/omniauth/version.rb +0 -19
  44. data/oa-core/oa-core.gemspec +0 -24
  45. data/oa-core/spec/omniauth/builder_spec.rb +0 -20
  46. data/oa-core/spec/omniauth/core_spec.rb +0 -79
  47. data/oa-core/spec/omniauth/strategy_spec.rb +0 -363
  48. data/oa-core/spec/spec_helper.rb +0 -12
  49. data/oa-enterprise/.gemtest +0 -0
  50. data/oa-enterprise/.rspec +0 -3
  51. data/oa-enterprise/.yardopts +0 -4
  52. data/oa-enterprise/Gemfile +0 -7
  53. data/oa-enterprise/LICENSE +0 -19
  54. data/oa-enterprise/README.rdoc +0 -82
  55. data/oa-enterprise/Rakefile +0 -6
  56. data/oa-enterprise/lib/oa-enterprise.rb +0 -1
  57. data/oa-enterprise/lib/omniauth/enterprise.rb +0 -8
  58. data/oa-enterprise/lib/omniauth/strategies/cas/configuration.rb +0 -98
  59. data/oa-enterprise/lib/omniauth/strategies/cas/service_ticket_validator.rb +0 -91
  60. data/oa-enterprise/lib/omniauth/strategies/cas.rb +0 -47
  61. data/oa-enterprise/lib/omniauth/strategies/ldap/adaptor.rb +0 -279
  62. data/oa-enterprise/lib/omniauth/strategies/ldap.rb +0 -111
  63. data/oa-enterprise/lib/omniauth/version.rb +0 -19
  64. data/oa-enterprise/oa-enterprise.gemspec +0 -31
  65. data/oa-enterprise/spec/fixtures/cas_failure.xml +0 -4
  66. data/oa-enterprise/spec/fixtures/cas_success.xml +0 -8
  67. data/oa-enterprise/spec/omniauth/strategies/cas_spec.rb +0 -94
  68. data/oa-enterprise/spec/omniauth/strategies/ldap_spec.rb +0 -41
  69. data/oa-enterprise/spec/spec_helper.rb +0 -14
  70. data/oa-more/.gemtest +0 -0
  71. data/oa-more/.rspec +0 -3
  72. data/oa-more/.yardopts +0 -4
  73. data/oa-more/Gemfile +0 -7
  74. data/oa-more/LICENSE +0 -19
  75. data/oa-more/README.rdoc +0 -22
  76. data/oa-more/Rakefile +0 -6
  77. data/oa-more/lib/oa-more.rb +0 -1
  78. data/oa-more/lib/omniauth/more.rb +0 -11
  79. data/oa-more/lib/omniauth/strategies/draugiem.rb +0 -104
  80. data/oa-more/lib/omniauth/strategies/flickr.rb +0 -86
  81. data/oa-more/lib/omniauth/strategies/ign.rb +0 -93
  82. data/oa-more/lib/omniauth/strategies/windows_live/windowslivelogin.rb +0 -1143
  83. data/oa-more/lib/omniauth/strategies/windows_live.rb +0 -39
  84. data/oa-more/lib/omniauth/strategies/yupoo.rb +0 -67
  85. data/oa-more/lib/omniauth/version.rb +0 -19
  86. data/oa-more/oa-more.gemspec +0 -29
  87. data/oa-more/spec/omniauth/strategies/draugiem_spec.rb +0 -51
  88. data/oa-more/spec/omniauth/strategies/flickr_spec.rb +0 -7
  89. data/oa-more/spec/spec_helper.rb +0 -11
  90. data/oa-oauth/.gemtest +0 -0
  91. data/oa-oauth/.rspec +0 -3
  92. data/oa-oauth/.yardopts +0 -4
  93. data/oa-oauth/Gemfile +0 -7
  94. data/oa-oauth/LICENSE +0 -19
  95. data/oa-oauth/README.rdoc +0 -35
  96. data/oa-oauth/Rakefile +0 -6
  97. data/oa-oauth/autotest/discover.rb +0 -1
  98. data/oa-oauth/lib/oa-oauth.rb +0 -1
  99. data/oa-oauth/lib/omniauth/oauth.rb +0 -56
  100. data/oa-oauth/lib/omniauth/strategies/bitly.rb +0 -46
  101. data/oa-oauth/lib/omniauth/strategies/dailymile.rb +0 -64
  102. data/oa-oauth/lib/omniauth/strategies/doit.rb +0 -60
  103. data/oa-oauth/lib/omniauth/strategies/dopplr.rb +0 -53
  104. data/oa-oauth/lib/omniauth/strategies/douban.rb +0 -60
  105. data/oa-oauth/lib/omniauth/strategies/evernote.rb +0 -54
  106. data/oa-oauth/lib/omniauth/strategies/facebook.rb +0 -70
  107. data/oa-oauth/lib/omniauth/strategies/foursquare.rb +0 -62
  108. data/oa-oauth/lib/omniauth/strategies/github.rb +0 -50
  109. data/oa-oauth/lib/omniauth/strategies/goodreads.rb +0 -44
  110. data/oa-oauth/lib/omniauth/strategies/google.rb +0 -80
  111. data/oa-oauth/lib/omniauth/strategies/gowalla.rb +0 -72
  112. data/oa-oauth/lib/omniauth/strategies/hyves.rb +0 -67
  113. data/oa-oauth/lib/omniauth/strategies/identica.rb +0 -49
  114. data/oa-oauth/lib/omniauth/strategies/instagram.rb +0 -56
  115. data/oa-oauth/lib/omniauth/strategies/instapaper.rb +0 -40
  116. data/oa-oauth/lib/omniauth/strategies/linked_in.rb +0 -56
  117. data/oa-oauth/lib/omniauth/strategies/mailru.rb +0 -107
  118. data/oa-oauth/lib/omniauth/strategies/meetup.rb +0 -56
  119. data/oa-oauth/lib/omniauth/strategies/miso.rb +0 -41
  120. data/oa-oauth/lib/omniauth/strategies/mixi.rb +0 -59
  121. data/oa-oauth/lib/omniauth/strategies/netflix.rb +0 -65
  122. data/oa-oauth/lib/omniauth/strategies/oauth.rb +0 -83
  123. data/oa-oauth/lib/omniauth/strategies/oauth2.rb +0 -91
  124. data/oa-oauth/lib/omniauth/strategies/plurk.rb +0 -58
  125. data/oa-oauth/lib/omniauth/strategies/qzone.rb +0 -69
  126. data/oa-oauth/lib/omniauth/strategies/rdio.rb +0 -45
  127. data/oa-oauth/lib/omniauth/strategies/renren.rb +0 -87
  128. data/oa-oauth/lib/omniauth/strategies/salesforce.rb +0 -44
  129. data/oa-oauth/lib/omniauth/strategies/smug_mug.rb +0 -42
  130. data/oa-oauth/lib/omniauth/strategies/sound_cloud.rb +0 -46
  131. data/oa-oauth/lib/omniauth/strategies/t163.rb +0 -57
  132. data/oa-oauth/lib/omniauth/strategies/taobao.rb +0 -79
  133. data/oa-oauth/lib/omniauth/strategies/teambox.rb +0 -49
  134. data/oa-oauth/lib/omniauth/strategies/thirty_seven_signals.rb +0 -41
  135. data/oa-oauth/lib/omniauth/strategies/tqq.rb +0 -64
  136. data/oa-oauth/lib/omniauth/strategies/trade_me.rb +0 -45
  137. data/oa-oauth/lib/omniauth/strategies/trip_it.rb +0 -22
  138. data/oa-oauth/lib/omniauth/strategies/tsina.rb +0 -79
  139. data/oa-oauth/lib/omniauth/strategies/tsohu.rb +0 -57
  140. data/oa-oauth/lib/omniauth/strategies/tumblr.rb +0 -60
  141. data/oa-oauth/lib/omniauth/strategies/twitter.rb +0 -57
  142. data/oa-oauth/lib/omniauth/strategies/type_pad.rb +0 -76
  143. data/oa-oauth/lib/omniauth/strategies/vimeo.rb +0 -54
  144. data/oa-oauth/lib/omniauth/strategies/vkontakte.rb +0 -87
  145. data/oa-oauth/lib/omniauth/strategies/xauth.rb +0 -67
  146. data/oa-oauth/lib/omniauth/strategies/yahoo.rb +0 -55
  147. data/oa-oauth/lib/omniauth/strategies/yammer.rb +0 -43
  148. data/oa-oauth/lib/omniauth/strategies/you_tube.rb +0 -73
  149. data/oa-oauth/lib/omniauth/version.rb +0 -19
  150. data/oa-oauth/oa-oauth.gemspec +0 -32
  151. data/oa-oauth/spec/fixtures/basecamp_200.xml +0 -24
  152. data/oa-oauth/spec/fixtures/campfire_200.json +0 -10
  153. data/oa-oauth/spec/omniauth/strategies/bitly_spec.rb +0 -5
  154. data/oa-oauth/spec/omniauth/strategies/dailymile_spec.rb +0 -5
  155. data/oa-oauth/spec/omniauth/strategies/doit_spec.rb +0 -5
  156. data/oa-oauth/spec/omniauth/strategies/dopplr_spec.rb +0 -5
  157. data/oa-oauth/spec/omniauth/strategies/douban_spec.rb +0 -5
  158. data/oa-oauth/spec/omniauth/strategies/evernote_spec.rb +0 -5
  159. data/oa-oauth/spec/omniauth/strategies/facebook_spec.rb +0 -5
  160. data/oa-oauth/spec/omniauth/strategies/foursquare_spec.rb +0 -18
  161. data/oa-oauth/spec/omniauth/strategies/github_spec.rb +0 -5
  162. data/oa-oauth/spec/omniauth/strategies/goodreads_spec.rb +0 -6
  163. data/oa-oauth/spec/omniauth/strategies/google_spec.rb +0 -5
  164. data/oa-oauth/spec/omniauth/strategies/gowalla_spec.rb +0 -5
  165. data/oa-oauth/spec/omniauth/strategies/hyves_spec.rb +0 -5
  166. data/oa-oauth/spec/omniauth/strategies/identica_spec.rb +0 -5
  167. data/oa-oauth/spec/omniauth/strategies/linked_in_spec.rb +0 -5
  168. data/oa-oauth/spec/omniauth/strategies/mailru_spec.rb +0 -5
  169. data/oa-oauth/spec/omniauth/strategies/meetup_spec.rb +0 -14
  170. data/oa-oauth/spec/omniauth/strategies/miso_spec.rb +0 -5
  171. data/oa-oauth/spec/omniauth/strategies/netflix_spec.rb +0 -5
  172. data/oa-oauth/spec/omniauth/strategies/oauth2_spec.rb +0 -0
  173. data/oa-oauth/spec/omniauth/strategies/oauth_spec.rb +0 -77
  174. data/oa-oauth/spec/omniauth/strategies/plurk_spec.rb +0 -5
  175. data/oa-oauth/spec/omniauth/strategies/rdio_spec.rb +0 -5
  176. data/oa-oauth/spec/omniauth/strategies/salesforce_spec.rb +0 -5
  177. data/oa-oauth/spec/omniauth/strategies/smug_mug_spec.rb +0 -5
  178. data/oa-oauth/spec/omniauth/strategies/sound_cloud_spec.rb +0 -5
  179. data/oa-oauth/spec/omniauth/strategies/t163_spec.rb +0 -5
  180. data/oa-oauth/spec/omniauth/strategies/taobao_spec.rb +0 -5
  181. data/oa-oauth/spec/omniauth/strategies/teambox_spec.rb +0 -5
  182. data/oa-oauth/spec/omniauth/strategies/thirty_seven_signals_spec.rb +0 -5
  183. data/oa-oauth/spec/omniauth/strategies/trade_me_spec.rb +0 -5
  184. data/oa-oauth/spec/omniauth/strategies/trip_it_spec.rb +0 -5
  185. data/oa-oauth/spec/omniauth/strategies/tsina_spec.rb +0 -5
  186. data/oa-oauth/spec/omniauth/strategies/tumblr_spec.rb +0 -5
  187. data/oa-oauth/spec/omniauth/strategies/twitter_spec.rb +0 -20
  188. data/oa-oauth/spec/omniauth/strategies/type_pad_spec.rb +0 -5
  189. data/oa-oauth/spec/omniauth/strategies/vimeo_spec.rb +0 -5
  190. data/oa-oauth/spec/omniauth/strategies/vkontakte_spec.rb +0 -5
  191. data/oa-oauth/spec/omniauth/strategies/yahoo_spec.rb +0 -5
  192. data/oa-oauth/spec/omniauth/strategies/yammer_spec.rb +0 -5
  193. data/oa-oauth/spec/omniauth/strategies/you_tube_spec.rb +0 -5
  194. data/oa-oauth/spec/spec_helper.rb +0 -27
  195. data/oa-oauth/spec/support/shared_examples.rb +0 -29
  196. data/oa-openid/.gemtest +0 -0
  197. data/oa-openid/.rspec +0 -3
  198. data/oa-openid/.yardopts +0 -4
  199. data/oa-openid/Gemfile +0 -7
  200. data/oa-openid/LICENSE +0 -19
  201. data/oa-openid/README.rdoc +0 -51
  202. data/oa-openid/Rakefile +0 -6
  203. data/oa-openid/lib/oa-openid.rb +0 -1
  204. data/oa-openid/lib/omniauth/openid/gapps.rb +0 -32
  205. data/oa-openid/lib/omniauth/openid.rb +0 -60
  206. data/oa-openid/lib/omniauth/strategies/google_apps.rb +0 -23
  207. data/oa-openid/lib/omniauth/strategies/open_id.rb +0 -132
  208. data/oa-openid/lib/omniauth/strategies/steam.rb +0 -55
  209. data/oa-openid/lib/omniauth/version.rb +0 -19
  210. data/oa-openid/oa-openid.gemspec +0 -28
  211. data/oa-openid/spec/omniauth/strategies/open_id_spec.rb +0 -71
  212. data/oa-openid/spec/spec_helper.rb +0 -14
  213. data/omniauth.gemspec +0 -20
  214. data/tasks/all.rb +0 -134
data/README.md CHANGED
@@ -1,26 +1,34 @@
1
1
  # OmniAuth: Standardized Multi-Provider Authentication
2
-
3
- OmniAuth is a new Rack-based authentication system for multi-provider external authentcation. OmniAuth is built from the ground up on the philosophy that **authentication is not the same as identity**, and is based on two observations:
4
-
5
- 1. The traditional 'sign up using a login and password' model is becoming the exception, not the rule. Modern web applications offer external authentication via OpenID, Facebook, and/or OAuth.
6
- 2. The interconnectable web is no longer a dream, it is a necessity. It is not unreasonable to expect that one application may need to be able to connect to one, three, or twelve other services. Modern authentication systems should allow a user's identity to be associated with many authentications.
7
-
8
- ## Installation
9
-
2
+ OmniAuth is a new Rack-based authentication system for multi-provider external
3
+ authentcation. OmniAuth is built from the ground up on the philosophy that
4
+ **authentication is not the same as identity**, and is based on two
5
+ observations:
6
+
7
+ 1. The traditional 'sign up using a login and password' model is becoming the
8
+ exception, not the rule. Modern web applications offer external
9
+ authentication via OpenID, Facebook, and/or OAuth.
10
+ 2. The interconnectable web is no longer a dream, it is a necessity. It is not
11
+ unreasonable to expect that one application may need to be able to connect
12
+ to one, three, or twelve other services. Modern authentication systems
13
+ should allow a user's identity to be associated with many authentications.
14
+
15
+ ## <a name="installation">Installation</a>
10
16
  To install OmniAuth, simply install the gem:
11
17
 
12
18
  gem install omniauth
13
19
 
14
- ## Continuous Integration
15
- [![Build Status](http://travis-ci.org/intridea/omniauth.png)](http://travis-ci.org/intridea/omniauth)
16
-
17
- ## Providers
20
+ ## <a name="ci">Continuous Integration</a>
21
+ [![Build Status](https://travis-ci.org/intridea/omniauth.png)](http://travis-ci.org/intridea/omniauth)
18
22
 
23
+ ## <a name="providers">Providers</a>
19
24
  OmniAuth currently supports the following external providers:
20
25
 
21
26
  * via OAuth (OAuth 1.0, OAuth 2, and xAuth)
22
27
  * 37signals ID (credit: [mbleigh](https://github.com/mbleigh))
28
+ * AngelList (credit: [joshuaxls](https://github.com/joshuaxls))
23
29
  * Bit.ly (credit: [philnash](https://github.com/philnash))
30
+ * Blogger (credit: [dsueiro-backing](https://github.com/dsueiro-backing))
31
+ * Cobot (credit: [kamal](https://github.com/kamal))
24
32
  * DailyMile (credit: [cdmwebs](https://github.com/cdmwebs))
25
33
  * Doit.im (credit: [chouti](https://github.com/chouti))
26
34
  * Dopplr (credit: [flextrip](https://github.com/flextrip))
@@ -29,18 +37,24 @@ OmniAuth currently supports the following external providers:
29
37
  * Facebook (credit: [mbleigh](https://github.com/mbleigh))
30
38
  * Foursquare (credit: [mbleigh](https://github.com/mbleigh))
31
39
  * GitHub (credit: [mbleigh](https://github.com/mbleigh))
40
+ * Glitch (credit: [harrylove](https://github.com/harrylove))
32
41
  * GoodReads (credit: [cristoffer](https://github.com/christoffer))
42
+ * Google Health (credit: [jaigouk](https://github.com/jaigouk))
33
43
  * Gowalla (credit: [kvnsmth](https://github.com/kvnsmth))
34
44
  * Hyves (credit: [mrdg](https://github.com/mrdg))
35
45
  * Identi.ca (credit: [dcu](https://github.com/dcu))
46
+ * Flattr (credit: [dcu](https://github.com/dcu))
36
47
  * Instagram (credit: [kiyoshi](https://github.com/kiyoshi))
37
48
  * Instapaper (credit: [micpringle](https://github.com/micpringle))
49
+ * LastFM (credit: [tictoc](https://github.com/tictoc))
38
50
  * LinkedIn (credit: [mbleigh](https://github.com/mbleigh))
51
+ * Mailchimp (via [srbiv](http://github.com/srbiv))
39
52
  * Mailru (credit: [lexer](https://github.com/lexer))
40
53
  * Meetup (credit [coderoshi](https://github.com/coderoshi))
41
54
  * Miso (credit: [rickenharp](https://github.com/rickenharp))
42
55
  * Mixi (credit: [kiyoshi](https://github.com/kiyoshi))
43
56
  * Netflix (credit: [caged](https://github.com/caged))
57
+ * Orkut (credit: [andersonleite](https://github.com/andersonleite))
44
58
  * Plurk (credit: [albb0920](http://github.com/albb0920))
45
59
  * Qzone (credit: [quake](https://github.com/quake))
46
60
  * Rdio (via [brandonweiss](https://github.com/brandonweiss))
@@ -58,36 +72,28 @@ OmniAuth currently supports the following external providers:
58
72
  * Tsohu (credit: [quake](https://github.com/quake))
59
73
  * Tumblr (credit: [jamiew](https://github.com/jamiew))
60
74
  * Twitter (credit: [mbleigh](https://github.com/mbleigh))
75
+ * Viadeo (credit: [guillaug](https://github.com/guillaug))
61
76
  * Vimeo (credit: [jamiew](https://github.com/jamiew))
62
77
  * Vkontakte (credit: [german](https://github.com/german))
78
+ * WePay (credit: [ryanwood](https://github.com/ryanwood))
79
+ * Yahoo (credit: [mpd](https://github.com/mpd))
63
80
  * Yammer (credit: [kltcalamay](https://github.com/kltcalamay))
64
81
  * YouTube (credit: [jamiew](https://github.com/jamiew))
65
82
  * CAS (Central Authentication Service) (credit: [jamesarosen](https://github.com/jamesarosen))
66
83
  * Flickr (credit: [pchilton](https://github.com/pchilton))
67
84
  * Google Apps (via OpenID) (credit: [mbleigh](https://github.com/mbleigh))
85
+ * Google OpenID+OAuth (via Hybrid Protocol) (credit: [boyvanamstel](https://github.com/boyvanamstel))
68
86
  * LDAP (credit: [pyu10055](https://github.com/pyu10055))
69
87
  * OpenID (credit: [mbleigh](https://github.com/mbleigh))
70
88
  * Yupoo (credit: [chouti](https://github.com/chouti))
71
89
 
72
- ## Compatibility
73
-
74
- OmniAuth is tested against the following Ruby versions:
75
-
76
- * 1.8.7
77
- * 1.9.1
78
- * 1.9.2
79
- * jRuby (note, the Evernote strategy is not available for jRuby)
80
- * Rubinius
81
- * REE
82
-
83
- ## Usage
84
-
90
+ ## <a name="usage">Usage</a>
85
91
  OmniAuth is a collection of Rack middleware. To use a single strategy, you simply need to add the middleware:
86
92
 
87
93
  require 'oa-oauth'
88
94
  use OmniAuth::Strategies::Twitter, 'CONSUMER_KEY', 'CONSUMER_SECRET'
89
95
 
90
- Now to initiate authentication you merely need to redirect the user to `/auth/twitter` via a link or other means. Once the user has authenticated to Twitter, they will be redirected to `/auth/twitter/callback`. You should build an endpoint that handles this URL, at which point you will will have access to the authentication information through the `omniauth.auth` parameter of the Rack environment. For example, in Sinatra you would do something like this:
96
+ Now to initiate authentication you merely need to redirect the user to `/auth/twitter` via a link or other means. Once the user has authenticated to Twitter, they will be redirected to `/auth/twitter/callback`. You should build an endpoint that handles this URL, at which point you will have access to the authentication information through the `omniauth.auth` parameter of the Rack environment. For example, in Sinatra you would do something like this:
91
97
 
92
98
  get '/auth/twitter/callback' do
93
99
  auth_hash = request.env['omniauth.auth']
@@ -107,21 +113,43 @@ The hash in question will look something like this:
107
113
 
108
114
  The `user_info` hash will automatically be populated with as much information about the user as OmniAuth was able to pull from the given API or authentication provider.
109
115
 
110
- ## Resources
111
-
116
+ ## <a name="resources">Resources</a>
112
117
  The best place to find more information is the [OmniAuth Wiki](https://github.com/intridea/omniauth/wiki). Some specific information you might be interested in:
113
118
 
114
- * [CI Build Status](http://travis-ci.org/#!/intridea/omniauth)
119
+ * [CI Build Status](http://travis-ci.org/intridea/omniauth)
115
120
  * [Roadmap](https://github.com/intridea/omniauth/wiki/Roadmap)
116
121
  * [Changelog](https://github.com/intridea/omniauth/wiki/Changelog)
117
122
  * [Report Issues](https://github.com/intridea/omniauth/issues)
118
123
  * [Mailing List](http://groups.google.com/group/omniauth)
119
124
 
120
- ## OmniAuth Core
121
-
125
+ ## <a name="core">Core Team</a>
122
126
  * **Michael Bleigh** ([mbleigh](https://github.com/mbleigh))
123
127
  * **Erik Michaels-Ober** ([sferik](https://github.com/sferik))
124
128
 
125
- ## License
126
-
127
- OmniAuth is licensed under the MIT License.
129
+ ## <a name="rubies">Supported Rubies</a>
130
+ This library aims to support and is [tested
131
+ against](http://travis-ci.org/intridea/omniauth) the following Ruby
132
+ implementations:
133
+
134
+ * Ruby 1.8.7
135
+ * Ruby 1.9.2
136
+ * [JRuby](http://www.jruby.org/)
137
+ * [Rubinius](http://rubini.us/)
138
+ * [Ruby Enterprise Edition](http://www.rubyenterpriseedition.com/)
139
+
140
+ If something doesn't work on one of these interpreters, it should be considered
141
+ a bug.
142
+
143
+ This library may inadvertently work (or seem to work) on other Ruby
144
+ implementations, however support will only be provided for the versions listed
145
+ above.
146
+
147
+ If you would like this library to support another Ruby version, you may
148
+ volunteer to be a maintainer. Being a maintainer entails making sure all tests
149
+ run and pass on that implementation. When something breaks on your
150
+ implementation, you will be personally responsible for providing patches in a
151
+ timely fashion. If critical issues for a particular implementation exist at the
152
+ time of a major release, support for that Ruby version may be dropped.
153
+
154
+ ## <a name="license">License</a>
155
+ OmniAuth is released under the MIT License.
@@ -4,10 +4,10 @@ module OmniAuth
4
4
  MAJOR = 0
5
5
  end
6
6
  unless defined?(::OmniAuth::Version::MINOR)
7
- MINOR = 2
7
+ MINOR = 3
8
8
  end
9
9
  unless defined?(::OmniAuth::Version::PATCH)
10
- PATCH = 6
10
+ PATCH = 0
11
11
  end
12
12
  unless defined?(::OmniAuth::Version::PRE)
13
13
  PRE = nil
metadata CHANGED
@@ -1,8 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 19
4
5
  prerelease:
5
- version: 0.2.6
6
+ segments:
7
+ - 0
8
+ - 3
9
+ - 0
10
+ version: 0.3.0
6
11
  platform: ruby
7
12
  authors:
8
13
  - Michael Bleigh
@@ -11,7 +16,8 @@ autorequire:
11
16
  bindir: bin
12
17
  cert_chain: []
13
18
 
14
- date: 2011-05-20 00:00:00 Z
19
+ date: 2011-09-22 00:00:00 -05:00
20
+ default_executable:
15
21
  dependencies:
16
22
  - !ruby/object:Gem::Dependency
17
23
  name: oa-basic
@@ -21,7 +27,12 @@ dependencies:
21
27
  requirements:
22
28
  - - "="
23
29
  - !ruby/object:Gem::Version
24
- version: 0.2.6
30
+ hash: 19
31
+ segments:
32
+ - 0
33
+ - 3
34
+ - 0
35
+ version: 0.3.0
25
36
  type: :runtime
26
37
  version_requirements: *id001
27
38
  - !ruby/object:Gem::Dependency
@@ -32,7 +43,12 @@ dependencies:
32
43
  requirements:
33
44
  - - "="
34
45
  - !ruby/object:Gem::Version
35
- version: 0.2.6
46
+ hash: 19
47
+ segments:
48
+ - 0
49
+ - 3
50
+ - 0
51
+ version: 0.3.0
36
52
  type: :runtime
37
53
  version_requirements: *id002
38
54
  - !ruby/object:Gem::Dependency
@@ -43,7 +59,12 @@ dependencies:
43
59
  requirements:
44
60
  - - "="
45
61
  - !ruby/object:Gem::Version
46
- version: 0.2.6
62
+ hash: 19
63
+ segments:
64
+ - 0
65
+ - 3
66
+ - 0
67
+ version: 0.3.0
47
68
  type: :runtime
48
69
  version_requirements: *id003
49
70
  - !ruby/object:Gem::Dependency
@@ -54,7 +75,12 @@ dependencies:
54
75
  requirements:
55
76
  - - "="
56
77
  - !ruby/object:Gem::Version
57
- version: 0.2.6
78
+ hash: 19
79
+ segments:
80
+ - 0
81
+ - 3
82
+ - 0
83
+ version: 0.3.0
58
84
  type: :runtime
59
85
  version_requirements: *id004
60
86
  - !ruby/object:Gem::Dependency
@@ -65,7 +91,12 @@ dependencies:
65
91
  requirements:
66
92
  - - "="
67
93
  - !ruby/object:Gem::Version
68
- version: 0.2.6
94
+ hash: 19
95
+ segments:
96
+ - 0
97
+ - 3
98
+ - 0
99
+ version: 0.3.0
69
100
  type: :runtime
70
101
  version_requirements: *id005
71
102
  - !ruby/object:Gem::Dependency
@@ -76,10 +107,15 @@ dependencies:
76
107
  requirements:
77
108
  - - "="
78
109
  - !ruby/object:Gem::Version
79
- version: 0.2.6
110
+ hash: 19
111
+ segments:
112
+ - 0
113
+ - 3
114
+ - 0
115
+ version: 0.3.0
80
116
  type: :runtime
81
117
  version_requirements: *id006
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.
118
+ description: OmniAuth is an authentication framework 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.
83
119
  email:
84
120
  - michael@intridea.com
85
121
  - sferik@gmail.com
@@ -90,221 +126,11 @@ extensions: []
90
126
  extra_rdoc_files: []
91
127
 
92
128
  files:
93
- - .autotest
94
- - .document
95
- - .gemtest
96
- - .gitignore
97
- - .rspec
98
- - .travis.yml
99
- - .yardopts
100
- - Gemfile
101
- - LICENSE.md
102
- - README.md
103
- - Rakefile
104
- - lib/omniauth.rb
105
129
  - lib/omniauth/version.rb
106
- - oa-basic/.gemtest
107
- - oa-basic/.rspec
108
- - oa-basic/.yardopts
109
- - oa-basic/Gemfile
110
- - oa-basic/LICENSE
111
- - oa-basic/README.rdoc
112
- - oa-basic/Rakefile
113
- - oa-basic/lib/oa-basic.rb
114
- - oa-basic/lib/omniauth/basic.rb
115
- - oa-basic/lib/omniauth/strategies/http_basic.rb
116
- - oa-basic/lib/omniauth/version.rb
117
- - oa-basic/oa-basic.gemspec
118
- - oa-basic/spec/omniauth/strategies/basic_spec.rb
119
- - oa-basic/spec/spec_helper.rb
120
- - oa-core/.gemtest
121
- - oa-core/.rspec
122
- - oa-core/.yardopts
123
- - oa-core/Gemfile
124
- - oa-core/LICENSE
125
- - oa-core/Rakefile
126
- - oa-core/autotest/discover.rb
127
- - oa-core/lib/oa-core.rb
128
- - oa-core/lib/omniauth/builder.rb
129
- - oa-core/lib/omniauth/core.rb
130
- - oa-core/lib/omniauth/form.rb
131
- - oa-core/lib/omniauth/strategy.rb
132
- - oa-core/lib/omniauth/test.rb
133
- - oa-core/lib/omniauth/test/phony_session.rb
134
- - oa-core/lib/omniauth/test/strategy_macros.rb
135
- - oa-core/lib/omniauth/test/strategy_test_case.rb
136
- - oa-core/lib/omniauth/version.rb
137
- - oa-core/oa-core.gemspec
138
- - oa-core/spec/omniauth/builder_spec.rb
139
- - oa-core/spec/omniauth/core_spec.rb
140
- - oa-core/spec/omniauth/strategy_spec.rb
141
- - oa-core/spec/spec_helper.rb
142
- - oa-enterprise/.gemtest
143
- - oa-enterprise/.rspec
144
- - oa-enterprise/.yardopts
145
- - oa-enterprise/Gemfile
146
- - oa-enterprise/LICENSE
147
- - oa-enterprise/README.rdoc
148
- - oa-enterprise/Rakefile
149
- - oa-enterprise/lib/oa-enterprise.rb
150
- - oa-enterprise/lib/omniauth/enterprise.rb
151
- - oa-enterprise/lib/omniauth/strategies/cas.rb
152
- - oa-enterprise/lib/omniauth/strategies/cas/configuration.rb
153
- - oa-enterprise/lib/omniauth/strategies/cas/service_ticket_validator.rb
154
- - oa-enterprise/lib/omniauth/strategies/ldap.rb
155
- - oa-enterprise/lib/omniauth/strategies/ldap/adaptor.rb
156
- - oa-enterprise/lib/omniauth/version.rb
157
- - oa-enterprise/oa-enterprise.gemspec
158
- - oa-enterprise/spec/fixtures/cas_failure.xml
159
- - oa-enterprise/spec/fixtures/cas_success.xml
160
- - oa-enterprise/spec/omniauth/strategies/cas_spec.rb
161
- - oa-enterprise/spec/omniauth/strategies/ldap_spec.rb
162
- - oa-enterprise/spec/spec_helper.rb
163
- - oa-more/.gemtest
164
- - oa-more/.rspec
165
- - oa-more/.yardopts
166
- - oa-more/Gemfile
167
- - oa-more/LICENSE
168
- - oa-more/README.rdoc
169
- - oa-more/Rakefile
170
- - oa-more/lib/oa-more.rb
171
- - oa-more/lib/omniauth/more.rb
172
- - oa-more/lib/omniauth/strategies/draugiem.rb
173
- - oa-more/lib/omniauth/strategies/flickr.rb
174
- - oa-more/lib/omniauth/strategies/ign.rb
175
- - oa-more/lib/omniauth/strategies/windows_live.rb
176
- - oa-more/lib/omniauth/strategies/windows_live/windowslivelogin.rb
177
- - oa-more/lib/omniauth/strategies/yupoo.rb
178
- - oa-more/lib/omniauth/version.rb
179
- - oa-more/oa-more.gemspec
180
- - oa-more/spec/omniauth/strategies/draugiem_spec.rb
181
- - oa-more/spec/omniauth/strategies/flickr_spec.rb
182
- - oa-more/spec/spec_helper.rb
183
- - oa-oauth/.gemtest
184
- - oa-oauth/.rspec
185
- - oa-oauth/.yardopts
186
- - oa-oauth/Gemfile
187
- - oa-oauth/LICENSE
188
- - oa-oauth/README.rdoc
189
- - oa-oauth/Rakefile
190
- - oa-oauth/autotest/discover.rb
191
- - oa-oauth/lib/oa-oauth.rb
192
- - oa-oauth/lib/omniauth/oauth.rb
193
- - oa-oauth/lib/omniauth/strategies/bitly.rb
194
- - oa-oauth/lib/omniauth/strategies/dailymile.rb
195
- - oa-oauth/lib/omniauth/strategies/doit.rb
196
- - oa-oauth/lib/omniauth/strategies/dopplr.rb
197
- - oa-oauth/lib/omniauth/strategies/douban.rb
198
- - oa-oauth/lib/omniauth/strategies/evernote.rb
199
- - oa-oauth/lib/omniauth/strategies/facebook.rb
200
- - oa-oauth/lib/omniauth/strategies/foursquare.rb
201
- - oa-oauth/lib/omniauth/strategies/github.rb
202
- - oa-oauth/lib/omniauth/strategies/goodreads.rb
203
- - oa-oauth/lib/omniauth/strategies/google.rb
204
- - oa-oauth/lib/omniauth/strategies/gowalla.rb
205
- - oa-oauth/lib/omniauth/strategies/hyves.rb
206
- - oa-oauth/lib/omniauth/strategies/identica.rb
207
- - oa-oauth/lib/omniauth/strategies/instagram.rb
208
- - oa-oauth/lib/omniauth/strategies/instapaper.rb
209
- - oa-oauth/lib/omniauth/strategies/linked_in.rb
210
- - oa-oauth/lib/omniauth/strategies/mailru.rb
211
- - oa-oauth/lib/omniauth/strategies/meetup.rb
212
- - oa-oauth/lib/omniauth/strategies/miso.rb
213
- - oa-oauth/lib/omniauth/strategies/mixi.rb
214
- - oa-oauth/lib/omniauth/strategies/netflix.rb
215
- - oa-oauth/lib/omniauth/strategies/oauth.rb
216
- - oa-oauth/lib/omniauth/strategies/oauth2.rb
217
- - oa-oauth/lib/omniauth/strategies/plurk.rb
218
- - oa-oauth/lib/omniauth/strategies/qzone.rb
219
- - oa-oauth/lib/omniauth/strategies/rdio.rb
220
- - oa-oauth/lib/omniauth/strategies/renren.rb
221
- - oa-oauth/lib/omniauth/strategies/salesforce.rb
222
- - oa-oauth/lib/omniauth/strategies/smug_mug.rb
223
- - oa-oauth/lib/omniauth/strategies/sound_cloud.rb
224
- - oa-oauth/lib/omniauth/strategies/t163.rb
225
- - oa-oauth/lib/omniauth/strategies/taobao.rb
226
- - oa-oauth/lib/omniauth/strategies/teambox.rb
227
- - oa-oauth/lib/omniauth/strategies/thirty_seven_signals.rb
228
- - oa-oauth/lib/omniauth/strategies/tqq.rb
229
- - oa-oauth/lib/omniauth/strategies/trade_me.rb
230
- - oa-oauth/lib/omniauth/strategies/trip_it.rb
231
- - oa-oauth/lib/omniauth/strategies/tsina.rb
232
- - oa-oauth/lib/omniauth/strategies/tsohu.rb
233
- - oa-oauth/lib/omniauth/strategies/tumblr.rb
234
- - oa-oauth/lib/omniauth/strategies/twitter.rb
235
- - oa-oauth/lib/omniauth/strategies/type_pad.rb
236
- - oa-oauth/lib/omniauth/strategies/vimeo.rb
237
- - oa-oauth/lib/omniauth/strategies/vkontakte.rb
238
- - oa-oauth/lib/omniauth/strategies/xauth.rb
239
- - oa-oauth/lib/omniauth/strategies/yahoo.rb
240
- - oa-oauth/lib/omniauth/strategies/yammer.rb
241
- - oa-oauth/lib/omniauth/strategies/you_tube.rb
242
- - oa-oauth/lib/omniauth/version.rb
243
- - oa-oauth/oa-oauth.gemspec
244
- - oa-oauth/spec/fixtures/basecamp_200.xml
245
- - oa-oauth/spec/fixtures/campfire_200.json
246
- - oa-oauth/spec/omniauth/strategies/bitly_spec.rb
247
- - oa-oauth/spec/omniauth/strategies/dailymile_spec.rb
248
- - oa-oauth/spec/omniauth/strategies/doit_spec.rb
249
- - oa-oauth/spec/omniauth/strategies/dopplr_spec.rb
250
- - oa-oauth/spec/omniauth/strategies/douban_spec.rb
251
- - oa-oauth/spec/omniauth/strategies/evernote_spec.rb
252
- - oa-oauth/spec/omniauth/strategies/facebook_spec.rb
253
- - oa-oauth/spec/omniauth/strategies/foursquare_spec.rb
254
- - oa-oauth/spec/omniauth/strategies/github_spec.rb
255
- - oa-oauth/spec/omniauth/strategies/goodreads_spec.rb
256
- - oa-oauth/spec/omniauth/strategies/google_spec.rb
257
- - oa-oauth/spec/omniauth/strategies/gowalla_spec.rb
258
- - oa-oauth/spec/omniauth/strategies/hyves_spec.rb
259
- - oa-oauth/spec/omniauth/strategies/identica_spec.rb
260
- - oa-oauth/spec/omniauth/strategies/linked_in_spec.rb
261
- - oa-oauth/spec/omniauth/strategies/mailru_spec.rb
262
- - oa-oauth/spec/omniauth/strategies/meetup_spec.rb
263
- - oa-oauth/spec/omniauth/strategies/miso_spec.rb
264
- - oa-oauth/spec/omniauth/strategies/netflix_spec.rb
265
- - oa-oauth/spec/omniauth/strategies/oauth2_spec.rb
266
- - oa-oauth/spec/omniauth/strategies/oauth_spec.rb
267
- - oa-oauth/spec/omniauth/strategies/plurk_spec.rb
268
- - oa-oauth/spec/omniauth/strategies/rdio_spec.rb
269
- - oa-oauth/spec/omniauth/strategies/salesforce_spec.rb
270
- - oa-oauth/spec/omniauth/strategies/smug_mug_spec.rb
271
- - oa-oauth/spec/omniauth/strategies/sound_cloud_spec.rb
272
- - oa-oauth/spec/omniauth/strategies/t163_spec.rb
273
- - oa-oauth/spec/omniauth/strategies/taobao_spec.rb
274
- - oa-oauth/spec/omniauth/strategies/teambox_spec.rb
275
- - oa-oauth/spec/omniauth/strategies/thirty_seven_signals_spec.rb
276
- - oa-oauth/spec/omniauth/strategies/trade_me_spec.rb
277
- - oa-oauth/spec/omniauth/strategies/trip_it_spec.rb
278
- - oa-oauth/spec/omniauth/strategies/tsina_spec.rb
279
- - oa-oauth/spec/omniauth/strategies/tumblr_spec.rb
280
- - oa-oauth/spec/omniauth/strategies/twitter_spec.rb
281
- - oa-oauth/spec/omniauth/strategies/type_pad_spec.rb
282
- - oa-oauth/spec/omniauth/strategies/vimeo_spec.rb
283
- - oa-oauth/spec/omniauth/strategies/vkontakte_spec.rb
284
- - oa-oauth/spec/omniauth/strategies/yahoo_spec.rb
285
- - oa-oauth/spec/omniauth/strategies/yammer_spec.rb
286
- - oa-oauth/spec/omniauth/strategies/you_tube_spec.rb
287
- - oa-oauth/spec/spec_helper.rb
288
- - oa-oauth/spec/support/shared_examples.rb
289
- - oa-openid/.gemtest
290
- - oa-openid/.rspec
291
- - oa-openid/.yardopts
292
- - oa-openid/Gemfile
293
- - oa-openid/LICENSE
294
- - oa-openid/README.rdoc
295
- - oa-openid/Rakefile
296
- - oa-openid/lib/oa-openid.rb
297
- - oa-openid/lib/omniauth/openid.rb
298
- - oa-openid/lib/omniauth/openid/gapps.rb
299
- - oa-openid/lib/omniauth/strategies/google_apps.rb
300
- - oa-openid/lib/omniauth/strategies/open_id.rb
301
- - oa-openid/lib/omniauth/strategies/steam.rb
302
- - oa-openid/lib/omniauth/version.rb
303
- - oa-openid/oa-openid.gemspec
304
- - oa-openid/spec/omniauth/strategies/open_id_spec.rb
305
- - oa-openid/spec/spec_helper.rb
306
- - omniauth.gemspec
307
- - tasks/all.rb
130
+ - lib/omniauth.rb
131
+ - README.md
132
+ - LICENSE.md
133
+ has_rdoc: true
308
134
  homepage: http://github.com/intridea/omniauth
309
135
  licenses: []
310
136
 
@@ -318,19 +144,27 @@ required_ruby_version: !ruby/object:Gem::Requirement
318
144
  requirements:
319
145
  - - ">="
320
146
  - !ruby/object:Gem::Version
147
+ hash: 3
148
+ segments:
149
+ - 0
321
150
  version: "0"
322
151
  required_rubygems_version: !ruby/object:Gem::Requirement
323
152
  none: false
324
153
  requirements:
325
154
  - - ">="
326
155
  - !ruby/object:Gem::Version
156
+ hash: 23
157
+ segments:
158
+ - 1
159
+ - 3
160
+ - 6
327
161
  version: 1.3.6
328
162
  requirements: []
329
163
 
330
164
  rubyforge_project:
331
- rubygems_version: 1.8.2
165
+ rubygems_version: 1.6.2
332
166
  signing_key:
333
167
  specification_version: 3
334
- summary: Rack middleware for standardized multi-provider authentication.
168
+ summary: Rack middleware for standardized multi-provider authentication
335
169
  test_files: []
336
170
 
data/.autotest DELETED
@@ -1,9 +0,0 @@
1
- require 'autotest/bundler'
2
-
3
- Autotest.add_hook :initialize do |at|
4
- at.clear_mappings
5
-
6
- at.add_mapping(%r{^.*/spec/.*_spec.rb$}) do |filename, _|
7
- filename
8
- end
9
- end
data/.document DELETED
@@ -1,5 +0,0 @@
1
- README.rdoc
2
- lib/**/*.rb
3
- bin/*
4
- features/**/*.feature
5
- LICENSE
data/.gemtest DELETED
File without changes
data/.gitignore DELETED
@@ -1,56 +0,0 @@
1
- !.autotest
2
- !.document
3
- !.gemtest
4
- !.gitignore
5
- !.rspec
6
- !.yardopts
7
- *.gem
8
- *.rbc
9
- *.sw[a-z]
10
- *.tmproj
11
- *.tmproject
12
- *.un~
13
- *~
14
- .*
15
- .DS_Store
16
- .Spotlight-V100
17
- .Trashes
18
- .\#*
19
- ._*
20
- .bundle
21
- .config
22
- .directory
23
- .elc
24
- .loadpath
25
- .project
26
- .redcar
27
- .rvmrc
28
- .yardoc
29
- /.emacs.desktop
30
- /.emacs.desktop.lock
31
- /live
32
- Desktop.ini
33
- Gemfile.lock
34
- Icon?
35
- InstalledFiles
36
- Session.vim
37
- Thumbs.db
38
- \#*
39
- \#*\#
40
- _yardoc
41
- auto-save-list
42
- coverage
43
- dist/*
44
- doc
45
- doc/
46
- lib/bundler/man
47
- oa-live
48
- pkg
49
- pkg/*
50
- rdoc
51
- spec/reports
52
- test/tmp
53
- test/version_tmp
54
- tmp
55
- tmtags
56
- tramp
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --color
2
- --format=progress
data/.travis.yml DELETED
@@ -1,9 +0,0 @@
1
- script: "bundle exec rake test"
2
- rvm:
3
- - 1.8.7
4
- - 1.9.1
5
- - 1.9.2
6
- - jruby
7
- - rbx
8
- - ree
9
- - ruby-head
data/.yardopts DELETED
@@ -1,4 +0,0 @@
1
- --markup markdown
2
- --markup-provider maruku
3
- -
4
- LICENSE
data/Gemfile DELETED
@@ -1,12 +0,0 @@
1
- source 'http://rubygems.org'
2
-
3
- platforms :jruby do
4
- gem 'jruby-openssl', '~> 0.7'
5
- end
6
-
7
- gemspec :path => 'oa-basic'
8
- gemspec :path => 'oa-core'
9
- gemspec :path => 'oa-enterprise'
10
- gemspec :path => 'oa-more'
11
- gemspec :path => 'oa-oauth'
12
- gemspec :path => 'oa-openid'