devise_oauth_token_authenticatable 0.0.1 → 0.0.2

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 (47) hide show
  1. data/.gitignore +4 -0
  2. data/README.md +1 -7
  3. data/Rakefile +4 -0
  4. data/devise_oauth_token_authenticatable.gemspec +7 -1
  5. data/lib/devise/oauth_token_authenticatable/strategies/oauth_token_authenticatable_strategy.rb +42 -4
  6. data/lib/devise/oauth_token_authenticatable/version.rb +1 -1
  7. data/lib/devise_oauth_token_authenticatable.rb +0 -1
  8. data/spec/controllers/protected_controller_spec.rb +61 -0
  9. data/spec/dummy/Rakefile +7 -0
  10. data/spec/dummy/app/assets/javascripts/application.js +7 -0
  11. data/spec/dummy/app/assets/stylesheets/application.css +7 -0
  12. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  13. data/spec/dummy/app/controllers/protected_controller.rb +6 -0
  14. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  15. data/spec/dummy/app/mailers/.gitkeep +0 -0
  16. data/spec/dummy/app/models/.gitkeep +0 -0
  17. data/spec/dummy/app/models/user.rb +12 -0
  18. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  19. data/spec/dummy/config.ru +4 -0
  20. data/spec/dummy/config/application.rb +51 -0
  21. data/spec/dummy/config/boot.rb +10 -0
  22. data/spec/dummy/config/database.yml +25 -0
  23. data/spec/dummy/config/environment.rb +5 -0
  24. data/spec/dummy/config/environments/development.rb +30 -0
  25. data/spec/dummy/config/environments/production.rb +60 -0
  26. data/spec/dummy/config/environments/test.rb +39 -0
  27. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  28. data/spec/dummy/config/initializers/devise.rb +219 -0
  29. data/spec/dummy/config/initializers/inflections.rb +10 -0
  30. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  31. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  32. data/spec/dummy/config/initializers/session_store.rb +8 -0
  33. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  34. data/spec/dummy/config/locales/devise.en.yml +58 -0
  35. data/spec/dummy/config/locales/en.yml +5 -0
  36. data/spec/dummy/config/routes.rb +6 -0
  37. data/spec/dummy/db/migrate/20111014142838_create_users.rb +9 -0
  38. data/spec/dummy/db/migrate/20111014161437_create_devise_oauth2_providable_schema.rb +55 -0
  39. data/spec/dummy/db/schema.rb +78 -0
  40. data/spec/dummy/lib/assets/.gitkeep +0 -0
  41. data/spec/dummy/public/404.html +26 -0
  42. data/spec/dummy/public/422.html +26 -0
  43. data/spec/dummy/public/500.html +26 -0
  44. data/spec/dummy/public/favicon.ico +0 -0
  45. data/spec/dummy/script/rails +6 -0
  46. data/spec/spec_helper.rb +30 -0
  47. metadata +259 -105
@@ -0,0 +1,78 @@
1
+ # This file is auto-generated from the current state of the database. Instead
2
+ # of editing this file, please use the migrations feature of Active Record to
3
+ # incrementally modify your database, and then regenerate this schema definition.
4
+ #
5
+ # Note that this schema.rb definition is the authoritative source for your
6
+ # database schema. If you need to create the application database on another
7
+ # system, you should be using db:schema:load, not running all the migrations
8
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
9
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
10
+ #
11
+ # It's strongly recommended to check this file into your version control system.
12
+
13
+ ActiveRecord::Schema.define(:version => 20111014161437) do
14
+
15
+ create_table "oauth2_access_tokens", :force => true do |t|
16
+ t.integer "user_id"
17
+ t.integer "client_id"
18
+ t.integer "refresh_token_id"
19
+ t.string "token"
20
+ t.datetime "expires_at"
21
+ t.datetime "created_at"
22
+ t.datetime "updated_at"
23
+ end
24
+
25
+ add_index "oauth2_access_tokens", ["client_id"], :name => "index_oauth2_access_tokens_on_client_id"
26
+ add_index "oauth2_access_tokens", ["expires_at"], :name => "index_oauth2_access_tokens_on_expires_at"
27
+ add_index "oauth2_access_tokens", ["token"], :name => "index_oauth2_access_tokens_on_token", :unique => true
28
+ add_index "oauth2_access_tokens", ["user_id"], :name => "index_oauth2_access_tokens_on_user_id"
29
+
30
+ create_table "oauth2_authorization_codes", :force => true do |t|
31
+ t.integer "user_id"
32
+ t.integer "client_id"
33
+ t.string "token"
34
+ t.datetime "expires_at"
35
+ t.string "redirect_uri"
36
+ t.datetime "created_at"
37
+ t.datetime "updated_at"
38
+ end
39
+
40
+ add_index "oauth2_authorization_codes", ["client_id"], :name => "index_oauth2_authorization_codes_on_client_id"
41
+ add_index "oauth2_authorization_codes", ["expires_at"], :name => "index_oauth2_authorization_codes_on_expires_at"
42
+ add_index "oauth2_authorization_codes", ["token"], :name => "index_oauth2_authorization_codes_on_token", :unique => true
43
+ add_index "oauth2_authorization_codes", ["user_id"], :name => "index_oauth2_authorization_codes_on_user_id"
44
+
45
+ create_table "oauth2_clients", :force => true do |t|
46
+ t.string "name"
47
+ t.string "redirect_uri"
48
+ t.string "website"
49
+ t.string "identifier"
50
+ t.string "secret"
51
+ t.datetime "created_at"
52
+ t.datetime "updated_at"
53
+ end
54
+
55
+ add_index "oauth2_clients", ["identifier"], :name => "index_oauth2_clients_on_identifier", :unique => true
56
+
57
+ create_table "oauth2_refresh_tokens", :force => true do |t|
58
+ t.integer "user_id"
59
+ t.integer "client_id"
60
+ t.string "token"
61
+ t.datetime "expires_at"
62
+ t.datetime "created_at"
63
+ t.datetime "updated_at"
64
+ end
65
+
66
+ add_index "oauth2_refresh_tokens", ["client_id"], :name => "index_oauth2_refresh_tokens_on_client_id"
67
+ add_index "oauth2_refresh_tokens", ["expires_at"], :name => "index_oauth2_refresh_tokens_on_expires_at"
68
+ add_index "oauth2_refresh_tokens", ["token"], :name => "index_oauth2_refresh_tokens_on_token", :unique => true
69
+ add_index "oauth2_refresh_tokens", ["user_id"], :name => "index_oauth2_refresh_tokens_on_user_id"
70
+
71
+ create_table "users", :force => true do |t|
72
+ t.string "email", :default => "", :null => false
73
+ t.string "encrypted_password", :limit => 128, :default => "", :null => false
74
+ t.datetime "created_at"
75
+ t.datetime "updated_at"
76
+ end
77
+
78
+ end
File without changes
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/404.html -->
21
+ <div class="dialog">
22
+ <h1>The page you were looking for doesn't exist.</h1>
23
+ <p>You may have mistyped the address or the page may have moved.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/422.html -->
21
+ <div class="dialog">
22
+ <h1>The change you wanted was rejected.</h1>
23
+ <p>Maybe you tried to change something you didn't have access to.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/500.html -->
21
+ <div class="dialog">
22
+ <h1>We're sorry, but something went wrong.</h1>
23
+ <p>We've been notified about this issue and we'll take a look at it shortly.</p>
24
+ </div>
25
+ </body>
26
+ </html>
File without changes
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
@@ -0,0 +1,30 @@
1
+ # Configure Rails Envinronment
2
+ ENV["RAILS_ENV"] = "test"
3
+ spec_root = File.expand_path('..', __FILE__)
4
+ require File.expand_path("dummy/config/environment.rb", spec_root)
5
+
6
+ require 'webmock'
7
+ require 'rspec/rails'
8
+ require 'webmock/rspec'
9
+ require 'shoulda-matchers'
10
+ require 'factory_girl_rspec'
11
+ FactoryGirl.definition_file_paths = [File.join(spec_root, 'factories')]
12
+ FactoryGirl.find_definitions
13
+
14
+ ENGINE_RAILS_ROOT=File.join(File.dirname(__FILE__), '../')
15
+
16
+ # Requires supporting ruby files with custom matchers and macros, etc,
17
+ # in spec/support/ and its subdirectories.
18
+ Dir[File.join(ENGINE_RAILS_ROOT, "spec/support/**/*.rb")].each {|f| require f }
19
+
20
+ RSpec.configure do |config|
21
+ config.include Devise::TestHelpers, :type => :controller
22
+
23
+ config.use_transactional_fixtures = true
24
+
25
+ # enable rendering of views for controller tests
26
+ # see http://stackoverflow.com/questions/4401539/rspec-2-how-to-render-views-by-default-for-all-controller-specs
27
+ config.render_views
28
+ end
29
+
30
+ ActiveRecord::Migrator.migrate(File.expand_path("dummy/db/migrate/", spec_root))
metadata CHANGED
@@ -1,106 +1,191 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: devise_oauth_token_authenticatable
3
- version: !ruby/object:Gem::Version
4
- hash: 29
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 1
10
- version: 0.0.1
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Marc Leglise
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-07-09 00:00:00 -07:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
12
+ date: 2012-08-06 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
22
15
  name: rails
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 3
30
- segments:
31
- - 3
32
- - 1
33
- - 0
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
34
21
  version: 3.1.0
35
22
  type: :runtime
36
- version_requirements: *id001
37
- - !ruby/object:Gem::Dependency
38
- name: devise
39
23
  prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- hash: 11
46
- segments:
47
- - 2
48
- - 1
49
- - 0
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 3.1.0
30
+ - !ruby/object:Gem::Dependency
31
+ name: devise
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
50
37
  version: 2.1.0
51
38
  type: :runtime
52
- version_requirements: *id002
53
- - !ruby/object:Gem::Dependency
54
- name: oauth2
55
39
  prerelease: false
56
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: 2.1.0
46
+ - !ruby/object:Gem::Dependency
47
+ name: oauth2
48
+ requirement: !ruby/object:Gem::Requirement
57
49
  none: false
58
- requirements:
50
+ requirements:
59
51
  - - ~>
60
- - !ruby/object:Gem::Version
61
- hash: 5
62
- segments:
63
- - 0
64
- - 6
65
- - 1
52
+ - !ruby/object:Gem::Version
66
53
  version: 0.6.1
67
54
  type: :runtime
68
- version_requirements: *id003
69
- - !ruby/object:Gem::Dependency
70
- name: rack-oauth2
71
55
  prerelease: false
72
- requirement: &id004 !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ">="
76
- - !ruby/object:Gem::Version
77
- hash: 39
78
- segments:
79
- - 0
80
- - 14
81
- - 0
82
- version: 0.14.0
83
- type: :runtime
84
- version_requirements: *id004
85
- description: "\n\
86
- There are plenty of gems out there that deal with being an OAuth2 \"consumer\",\n\
87
- where you redirect users to an OAuth2 \"provider\", allowing you to hand off\n\
88
- authentication to a separate service. There are also plenty of gems that set\n\
89
- you up as your own OAuth2 provider. ***BUT***, what happens when you want to\n\
90
- separate your \"authentication\" server from your \"resource\" server?\n\n\
91
- This gem is meant to be used on an API \"resource\" server, where you want to\n\
92
- accept OAuth Access Tokens from a client, and validate them against a separate\n\
93
- \"authentication\" server. This communication is outside the scope of the\n\
94
- official OAuth 2 spec, but there is a need for it anyway.\n "
95
- email:
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 0.6.1
62
+ - !ruby/object:Gem::Dependency
63
+ name: rspec-rails
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: 2.6.1
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: 2.6.1
78
+ - !ruby/object:Gem::Dependency
79
+ name: sqlite3
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: 1.3.5
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: 1.3.5
94
+ - !ruby/object:Gem::Dependency
95
+ name: shoulda-matchers
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: 1.0.0.beta3
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: 1.0.0.beta3
110
+ - !ruby/object:Gem::Dependency
111
+ name: factory_girl
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: 2.2.0
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: 2.2.0
126
+ - !ruby/object:Gem::Dependency
127
+ name: factory_girl_rspec
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
133
+ version: 0.0.1
134
+ type: :development
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: 0.0.1
142
+ - !ruby/object:Gem::Dependency
143
+ name: rake
144
+ requirement: !ruby/object:Gem::Requirement
145
+ none: false
146
+ requirements:
147
+ - - ! '>='
148
+ - !ruby/object:Gem::Version
149
+ version: 0.9.2.2
150
+ type: :development
151
+ prerelease: false
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ! '>='
156
+ - !ruby/object:Gem::Version
157
+ version: 0.9.2.2
158
+ - !ruby/object:Gem::Dependency
159
+ name: webmock
160
+ requirement: !ruby/object:Gem::Requirement
161
+ none: false
162
+ requirements:
163
+ - - ! '>='
164
+ - !ruby/object:Gem::Version
165
+ version: 1.8.8
166
+ type: :development
167
+ prerelease: false
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
170
+ requirements:
171
+ - - ! '>='
172
+ - !ruby/object:Gem::Version
173
+ version: 1.8.8
174
+ description: ! "\nThere are plenty of gems out there that deal with being an OAuth2
175
+ \"consumer\",\nwhere you redirect users to an OAuth2 \"provider\", allowing you
176
+ to hand off\nauthentication to a separate service. There are also plenty of gems
177
+ that set\nyou up as your own OAuth2 provider. ***BUT***, what happens when you want
178
+ to\nseparate your \"authentication\" server from your \"resource\" server?\n\nThis
179
+ gem is meant to be used on an API \"resource\" server, where you want to\naccept
180
+ OAuth Access Tokens from a client, and validate them against a separate\n\"authentication\"
181
+ server. This communication is outside the scope of the\nofficial OAuth 2 spec, but
182
+ there is a need for it anyway.\n "
183
+ email:
96
184
  - mleglise@gmail.com
97
185
  executables: []
98
-
99
186
  extensions: []
100
-
101
187
  extra_rdoc_files: []
102
-
103
- files:
188
+ files:
104
189
  - .gitignore
105
190
  - Gemfile
106
191
  - LICENSE
@@ -111,39 +196,108 @@ files:
111
196
  - lib/devise/oauth_token_authenticatable/strategies/oauth_token_authenticatable_strategy.rb
112
197
  - lib/devise/oauth_token_authenticatable/version.rb
113
198
  - lib/devise_oauth_token_authenticatable.rb
114
- has_rdoc: true
199
+ - spec/controllers/protected_controller_spec.rb
200
+ - spec/dummy/Rakefile
201
+ - spec/dummy/app/assets/javascripts/application.js
202
+ - spec/dummy/app/assets/stylesheets/application.css
203
+ - spec/dummy/app/controllers/application_controller.rb
204
+ - spec/dummy/app/controllers/protected_controller.rb
205
+ - spec/dummy/app/helpers/application_helper.rb
206
+ - spec/dummy/app/mailers/.gitkeep
207
+ - spec/dummy/app/models/.gitkeep
208
+ - spec/dummy/app/models/user.rb
209
+ - spec/dummy/app/views/layouts/application.html.erb
210
+ - spec/dummy/config.ru
211
+ - spec/dummy/config/application.rb
212
+ - spec/dummy/config/boot.rb
213
+ - spec/dummy/config/database.yml
214
+ - spec/dummy/config/environment.rb
215
+ - spec/dummy/config/environments/development.rb
216
+ - spec/dummy/config/environments/production.rb
217
+ - spec/dummy/config/environments/test.rb
218
+ - spec/dummy/config/initializers/backtrace_silencers.rb
219
+ - spec/dummy/config/initializers/devise.rb
220
+ - spec/dummy/config/initializers/inflections.rb
221
+ - spec/dummy/config/initializers/mime_types.rb
222
+ - spec/dummy/config/initializers/secret_token.rb
223
+ - spec/dummy/config/initializers/session_store.rb
224
+ - spec/dummy/config/initializers/wrap_parameters.rb
225
+ - spec/dummy/config/locales/devise.en.yml
226
+ - spec/dummy/config/locales/en.yml
227
+ - spec/dummy/config/routes.rb
228
+ - spec/dummy/db/migrate/20111014142838_create_users.rb
229
+ - spec/dummy/db/migrate/20111014161437_create_devise_oauth2_providable_schema.rb
230
+ - spec/dummy/db/schema.rb
231
+ - spec/dummy/lib/assets/.gitkeep
232
+ - spec/dummy/public/404.html
233
+ - spec/dummy/public/422.html
234
+ - spec/dummy/public/500.html
235
+ - spec/dummy/public/favicon.ico
236
+ - spec/dummy/script/rails
237
+ - spec/spec_helper.rb
115
238
  homepage: https://github.com/mleglise/devise_oauth_token_authenticatable
116
239
  licenses: []
117
-
118
240
  post_install_message:
119
241
  rdoc_options: []
120
-
121
- require_paths:
242
+ require_paths:
122
243
  - lib
123
- required_ruby_version: !ruby/object:Gem::Requirement
244
+ required_ruby_version: !ruby/object:Gem::Requirement
124
245
  none: false
125
- requirements:
126
- - - ">="
127
- - !ruby/object:Gem::Version
128
- hash: 3
129
- segments:
130
- - 0
131
- version: "0"
132
- required_rubygems_version: !ruby/object:Gem::Requirement
246
+ requirements:
247
+ - - ! '>='
248
+ - !ruby/object:Gem::Version
249
+ version: '0'
250
+ required_rubygems_version: !ruby/object:Gem::Requirement
133
251
  none: false
134
- requirements:
135
- - - ">="
136
- - !ruby/object:Gem::Version
137
- hash: 3
138
- segments:
139
- - 0
140
- version: "0"
252
+ requirements:
253
+ - - ! '>='
254
+ - !ruby/object:Gem::Version
255
+ version: '0'
141
256
  requirements: []
142
-
143
257
  rubyforge_project:
144
- rubygems_version: 1.6.2
258
+ rubygems_version: 1.8.24
145
259
  signing_key:
146
260
  specification_version: 3
147
- summary: Allows Rails 3 + Devise to authenticate users via an OAuth Access Token from a 3rd party provider.
148
- test_files: []
149
-
261
+ summary: Allows Rails 3 + Devise to authenticate users via an OAuth Access Token from
262
+ a 3rd party provider.
263
+ test_files:
264
+ - spec/controllers/protected_controller_spec.rb
265
+ - spec/dummy/Rakefile
266
+ - spec/dummy/app/assets/javascripts/application.js
267
+ - spec/dummy/app/assets/stylesheets/application.css
268
+ - spec/dummy/app/controllers/application_controller.rb
269
+ - spec/dummy/app/controllers/protected_controller.rb
270
+ - spec/dummy/app/helpers/application_helper.rb
271
+ - spec/dummy/app/mailers/.gitkeep
272
+ - spec/dummy/app/models/.gitkeep
273
+ - spec/dummy/app/models/user.rb
274
+ - spec/dummy/app/views/layouts/application.html.erb
275
+ - spec/dummy/config.ru
276
+ - spec/dummy/config/application.rb
277
+ - spec/dummy/config/boot.rb
278
+ - spec/dummy/config/database.yml
279
+ - spec/dummy/config/environment.rb
280
+ - spec/dummy/config/environments/development.rb
281
+ - spec/dummy/config/environments/production.rb
282
+ - spec/dummy/config/environments/test.rb
283
+ - spec/dummy/config/initializers/backtrace_silencers.rb
284
+ - spec/dummy/config/initializers/devise.rb
285
+ - spec/dummy/config/initializers/inflections.rb
286
+ - spec/dummy/config/initializers/mime_types.rb
287
+ - spec/dummy/config/initializers/secret_token.rb
288
+ - spec/dummy/config/initializers/session_store.rb
289
+ - spec/dummy/config/initializers/wrap_parameters.rb
290
+ - spec/dummy/config/locales/devise.en.yml
291
+ - spec/dummy/config/locales/en.yml
292
+ - spec/dummy/config/routes.rb
293
+ - spec/dummy/db/migrate/20111014142838_create_users.rb
294
+ - spec/dummy/db/migrate/20111014161437_create_devise_oauth2_providable_schema.rb
295
+ - spec/dummy/db/schema.rb
296
+ - spec/dummy/lib/assets/.gitkeep
297
+ - spec/dummy/public/404.html
298
+ - spec/dummy/public/422.html
299
+ - spec/dummy/public/500.html
300
+ - spec/dummy/public/favicon.ico
301
+ - spec/dummy/script/rails
302
+ - spec/spec_helper.rb
303
+ has_rdoc: