omniauth-rails 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +47 -3
  3. data/Rakefile +1 -0
  4. data/app/assets/stylesheets/omniauth/rails/application.css +11 -12
  5. data/app/controllers/omniauth/rails/{require_authentication.rb → authentication_concern.rb} +13 -3
  6. data/app/controllers/omniauth/rails/{require_authorization.rb → authorization_concern.rb} +13 -4
  7. data/app/controllers/omniauth/rails/controllers_concern.rb +11 -0
  8. data/app/controllers/omniauth/rails/flash.rb +2 -21
  9. data/app/models/omniauth/rails/authentication_request.rb +5 -2
  10. data/app/views/omniauth/rails/forbidden.html +1 -0
  11. data/app/views/omniauth/rails/sessions/destroy.html.erb +3 -3
  12. data/config/initializers/omniauth_rails.rb +1 -34
  13. data/lib/omniauth/rails.rb +2 -0
  14. data/lib/omniauth/rails/configuration.rb +5 -1
  15. data/lib/omniauth/rails/configurator.rb +103 -0
  16. data/lib/omniauth/rails/engine.rb +13 -0
  17. data/lib/omniauth/rails/provider.rb +20 -0
  18. data/lib/omniauth/rails/provider/google_oauth2.rb +34 -0
  19. data/lib/omniauth/rails/version.rb +1 -1
  20. data/lib/tasks/mutant.rake +8 -0
  21. data/spec/controllers/application_controller_spec.rb +0 -1
  22. data/spec/controllers/authentication_concern_spec.rb +40 -0
  23. data/spec/examples.txt +20 -15
  24. data/spec/lib/omniauth/rails/configurator_spec.rb +45 -0
  25. data/spec/models/omniauth/rails/authorization_types/emails_spec.rb +0 -2
  26. data/spec/models/omniauth/rails/authorization_types/regex_spec.rb +0 -2
  27. data/spec/rails_helper_for_engine.rb +1 -1
  28. data/spec/spec_helper.rb +2 -0
  29. data/spec/test_app/app/controllers/private_controller.rb +0 -1
  30. data/spec/test_app/config/application.rb +1 -0
  31. data/spec/test_app/config/omniauth_rails.yml +6 -0
  32. data/spec/test_app/config/routes.rb +0 -3
  33. data/spec/test_app/log/development.log +2333 -0
  34. data/spec/test_app/log/test.log +50737 -0
  35. data/spec/test_app/spec/requests/private_controller_spec.rb +33 -6
  36. data/spec/test_app/spec/requests/sessions_controller_spec.rb +11 -9
  37. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/7w/7wvYXBtPYrpJ0AsySxiCGKfyqkX-mahHfSlLe8bkKLg.cache +1 -0
  38. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/Em/EmJbUP6PHR0uxNqWjp0TDKiG2j-89vsmX0dfwbmvzkc.cache +0 -0
  39. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/HS/HScCeVhpnmJmuQX7s7oOUbEmBL2KWC40o78iLC-3e3M.cache +1 -0
  40. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/O7/O7W_v6SN36f1tRfV6clZc10p24T7-Ihb3_totn6VrVA.cache +0 -0
  41. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/S-/S-cHz0vJ4VrdXCUiB5fP9TR5Viz885rz10Wgix-urAA.cache +0 -0
  42. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/WJ/WJhc1q0sGH7WcpvF09oA0iw4iAdiQkHerW6hdCHwxHo.cache +0 -0
  43. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/jK/jK2TgENQlNR4Qvt28Euq9dEK5k_UQuVSbofD4vWeTno.cache +0 -0
  44. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/n0/n0Kk2o2xNYUkuiXPYuld9V2t6GRLzY5YfDfnqdfKlRo.cache +1 -0
  45. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/nF/nFB84MNiFDrMN0WelMUdomScBrhYdJ4b8LPhXT3v8C4.cache +1 -0
  46. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/xW/xW2O0qRLEOz9w_8VDiVMAztr-N8UrUvx8v5EEV7mFBU.cache +0 -0
  47. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/yb/ybtAnaaqo1s0ZXeIKLc5sW1EovhL83HYrgFcKGHUa0Q.cache +1 -0
  48. data/spec/test_app/tmp/pids/server.pid +1 -1
  49. metadata +50 -18
@@ -8,18 +8,45 @@ RSpec.describe PrivateController do
8
8
  context "user is not authenticated" do
9
9
  it "redirects to the sign_in page" do
10
10
  get "/private"
11
- expect(response).to redirect_to("/auth/sign_in")
11
+ expect(response).to redirect_to("#{OmniAuth.config.path_prefix}/sign_in")
12
+ end
13
+
14
+ context "dev_mode is enabled" do
15
+ around(:each) do |example|
16
+ original_value = Omniauth::Rails::Configuration.dev_mode
17
+ Omniauth::Rails::Configuration.dev_mode = true
18
+ example.run
19
+ Omniauth::Rails::Configuration.dev_mode = original_value
20
+ end
21
+
22
+ it "responds with a 200" do
23
+ get "/private"
24
+ expect(response).to have_http_status(:success)
25
+ end
12
26
  end
13
27
  end
14
28
 
15
29
  context "user is authenticated" do
16
- before do
17
- sign_in("foo@bar.com")
30
+ context "user is authorized" do
31
+ before do
32
+ sign_in("foo@bar.com")
33
+ end
34
+
35
+ it "responds with a 200" do
36
+ get "/private"
37
+ expect(response).to have_http_status(:success)
38
+ end
18
39
  end
19
40
 
20
- it "responds with a 200" do
21
- get "/private"
22
- expect(response).to have_http_status(:success)
41
+ context "not authorized" do
42
+ before do
43
+ sign_in("foo@baz.com") # This domain is not in the allowed list of domains.
44
+ end
45
+
46
+ it "responds with a 403:forbidden" do
47
+ get "/private"
48
+ expect(response).to have_http_status(:forbidden)
49
+ end
23
50
  end
24
51
  end
25
52
  end
@@ -6,7 +6,7 @@ require "rails_helper"
6
6
  RSpec.describe Omniauth::Rails::SessionsController do
7
7
  describe "#new" do
8
8
  it "redirects to the OmniAuth provider endpoint" do
9
- get "/auth/sign_in"
9
+ get "#{OmniAuth.config.path_prefix}/sign_in"
10
10
  expect(response).to redirect_to("/auth/google_oauth2")
11
11
  end
12
12
 
@@ -16,7 +16,7 @@ RSpec.describe Omniauth::Rails::SessionsController do
16
16
  end
17
17
 
18
18
  it "redirects directly to the authenticated_root" do
19
- get "/auth/sign_in"
19
+ get "#{OmniAuth.config.path_prefix}/sign_in"
20
20
  expect(response).to redirect_to(Omniauth::Rails::Configuration.authenticated_root)
21
21
  end
22
22
  end
@@ -30,7 +30,7 @@ RSpec.describe Omniauth::Rails::SessionsController do
30
30
 
31
31
  it "logs the user out" do
32
32
  expect(authenticated?).to eq(true)
33
- delete "/auth/sign_out"
33
+ delete "#{OmniAuth.config.path_prefix}/sign_out"
34
34
  expect(authenticated?).to eq(false)
35
35
  end
36
36
 
@@ -43,7 +43,7 @@ RSpec.describe Omniauth::Rails::SessionsController do
43
43
  end
44
44
 
45
45
  it "renders some html saying you have been logged out" do
46
- delete "/auth/sign_out"
46
+ delete "#{OmniAuth.config.path_prefix}/sign_out"
47
47
  expect(response).to have_http_status(:success)
48
48
  end
49
49
  end
@@ -59,8 +59,9 @@ RSpec.describe Omniauth::Rails::SessionsController do
59
59
  end
60
60
 
61
61
  it "redirects to /auth/failure?message=csrf_detected&strategy=google_oauth2" do
62
- get "/auth/google_oauth2/callback"
63
- expect(response).to redirect_to("/auth/failure?message=csrf_detected&strategy=google_oauth2")
62
+ get "#{OmniAuth.config.path_prefix}/google_oauth2/callback"
63
+ location = "#{OmniAuth.config.path_prefix}/failure?message=csrf_detected&strategy=google_oauth2"
64
+ expect(response).to redirect_to(location)
64
65
  end
65
66
  end
66
67
 
@@ -72,14 +73,15 @@ RSpec.describe Omniauth::Rails::SessionsController do
72
73
  end
73
74
 
74
75
  it "redirects to /auth/failure?message=invalid_credentials&strategy=google_oauth2" do
75
- get "/auth/google_oauth2/callback"
76
- expect(response).to redirect_to("/auth/failure?message=invalid_credentials&strategy=google_oauth2")
76
+ get "#{OmniAuth.config.path_prefix}/google_oauth2/callback"
77
+ location = "#{OmniAuth.config.path_prefix}/failure?message=invalid_credentials&strategy=google_oauth2"
78
+ expect(response).to redirect_to(location)
77
79
  end
78
80
  end
79
81
 
80
82
  context "a valid auth response" do
81
83
  it "redirects to Configuration.authenticated_root" do
82
- get "/auth/google_oauth2/callback"
84
+ get "#{OmniAuth.config.path_prefix}/google_oauth2/callback"
83
85
  expect(response).to redirect_to(Omniauth::Rails::Configuration.authenticated_root)
84
86
  end
85
87
  end
@@ -0,0 +1 @@
1
+ I"�/Users/danrabinowitz/code/omniauth-rails/app/assets/stylesheets/omniauth/rails/application.css?type=text/css&pipeline=self&id=760d2f424a57f2c73e311012f21fa9a036a22ac13a85e62b05510de5387e7246:ET
@@ -0,0 +1 @@
1
+ I"�/Users/danrabinowitz/code/omniauth-rails/app/assets/stylesheets/omniauth/rails/application.css?type=text/css&pipeline=self&id=436abbfe978e164ac742d376a76589cd96cece88ea67b84424fd23d1912014ed:ET
@@ -0,0 +1 @@
1
+ I"�/Users/danrabinowitz/code/omniauth-rails/app/assets/stylesheets/omniauth/rails/application.css?type=text/css&id=9c9a531715f9f98bc26df13988b5e7e4daa324aa00e0b02dbde97b28ce967dae:ET
@@ -0,0 +1 @@
1
+ "%@�f���+�}l&�&����5�o���>���'�
@@ -0,0 +1 @@
1
+ I"�/Users/danrabinowitz/code/omniauth-rails/app/assets/stylesheets/omniauth/rails/application.css?type=text/css&id=c7351ed7db3b2a677cf003024ca1f85e9b40012516e946c8f5286a5d7a27f7be:ET
@@ -1 +1 @@
1
- 61688
1
+ 49930
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Rabinowitz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-12 00:00:00.000000000 Z
11
+ date: 2016-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: byebug
@@ -123,41 +123,41 @@ dependencies:
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
- name: rails
126
+ name: omniauth-google-oauth2
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - "~>"
130
- - !ruby/object:Gem::Version
131
- version: 5.0.0
132
129
  - - ">="
133
130
  - !ruby/object:Gem::Version
134
- version: 5.0.0.1
135
- type: :runtime
131
+ version: '0'
132
+ type: :development
136
133
  prerelease: false
137
134
  version_requirements: !ruby/object:Gem::Requirement
138
135
  requirements:
139
- - - "~>"
140
- - !ruby/object:Gem::Version
141
- version: 5.0.0
142
136
  - - ">="
143
137
  - !ruby/object:Gem::Version
144
- version: 5.0.0.1
138
+ version: '0'
145
139
  - !ruby/object:Gem::Dependency
146
- name: omniauth
140
+ name: rails
147
141
  requirement: !ruby/object:Gem::Requirement
148
142
  requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: 5.0.0
149
146
  - - ">="
150
147
  - !ruby/object:Gem::Version
151
- version: '0'
148
+ version: 5.0.0.1
152
149
  type: :runtime
153
150
  prerelease: false
154
151
  version_requirements: !ruby/object:Gem::Requirement
155
152
  requirements:
153
+ - - "~>"
154
+ - !ruby/object:Gem::Version
155
+ version: 5.0.0
156
156
  - - ">="
157
157
  - !ruby/object:Gem::Version
158
- version: '0'
158
+ version: 5.0.0.1
159
159
  - !ruby/object:Gem::Dependency
160
- name: omniauth-google-oauth2
160
+ name: omniauth
161
161
  requirement: !ruby/object:Gem::Requirement
162
162
  requirements:
163
163
  - - ">="
@@ -184,9 +184,10 @@ files:
184
184
  - app/assets/config/omniauth_rails_manifest.js
185
185
  - app/assets/stylesheets/omniauth/rails/application.css
186
186
  - app/controllers/omniauth/rails/application_controller.rb
187
+ - app/controllers/omniauth/rails/authentication_concern.rb
188
+ - app/controllers/omniauth/rails/authorization_concern.rb
189
+ - app/controllers/omniauth/rails/controllers_concern.rb
187
190
  - app/controllers/omniauth/rails/flash.rb
188
- - app/controllers/omniauth/rails/require_authentication.rb
189
- - app/controllers/omniauth/rails/require_authorization.rb
190
191
  - app/controllers/omniauth/rails/sessions_controller.rb
191
192
  - app/helpers/omniauth/rails/application_helper.rb
192
193
  - app/models/omniauth/rails/authentication_data_store.rb
@@ -198,17 +199,24 @@ files:
198
199
  - app/models/omniauth/rails/authorization_types/emails.rb
199
200
  - app/models/omniauth/rails/authorization_types/regex.rb
200
201
  - app/models/omniauth/rails/omni_auth_route_builder.rb
202
+ - app/views/omniauth/rails/forbidden.html
201
203
  - app/views/omniauth/rails/sessions/destroy.html.erb
202
204
  - config/initializers/omniauth_rails.rb
203
205
  - config/routes.rb
204
206
  - lib/omniauth/rails.rb
205
207
  - lib/omniauth/rails/configuration.rb
208
+ - lib/omniauth/rails/configurator.rb
206
209
  - lib/omniauth/rails/engine.rb
210
+ - lib/omniauth/rails/provider.rb
211
+ - lib/omniauth/rails/provider/google_oauth2.rb
207
212
  - lib/omniauth/rails/test/controller_helpers.rb
208
213
  - lib/omniauth/rails/test/request_helpers.rb
209
214
  - lib/omniauth/rails/version.rb
215
+ - lib/tasks/mutant.rake
210
216
  - spec/controllers/application_controller_spec.rb
217
+ - spec/controllers/authentication_concern_spec.rb
211
218
  - spec/examples.txt
219
+ - spec/lib/omniauth/rails/configurator_spec.rb
212
220
  - spec/models/omniauth/rails/authorization_types/emails_spec.rb
213
221
  - spec/models/omniauth/rails/authorization_types/regex_spec.rb
214
222
  - spec/omniauth_rails_spec.rb
@@ -272,10 +280,13 @@ files:
272
280
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/3v/3voyTxS8FmTTGPrz-QQ23N6AgGate2o7X5ZnZeTkQbs.cache
273
281
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/5V/5VAABbvE5t5bCDKmKjLivvfe1CqYdD4n4vtZQiMa4I0.cache
274
282
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/64/64siRwVaDPAW5fTe1O4rlGaq-0ExxAWA0-csPcik-uM.cache
283
+ - spec/test_app/tmp/cache/assets/sprockets/v3.0/7w/7wvYXBtPYrpJ0AsySxiCGKfyqkX-mahHfSlLe8bkKLg.cache
275
284
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/Aa/AasprW2BgqWDcmZnsPRxs-R5D0VGpL7dHYMwtsC1tmE.cache
276
285
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/An/An3DVlfO1pzT7FAnm09q3Ok_2PmGYhiAvxuW9OgG9wc.cache
277
286
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/C-/C-_kx_I8fFV2TrLPw8CNFy1uLrN6G4yLPg_4vOhlohQ.cache
278
287
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/EG/EGN6771mS8m_7wi-Cr-GgFKv9U9IE3gpo9JQ-N3AYlQ.cache
288
+ - spec/test_app/tmp/cache/assets/sprockets/v3.0/Em/EmJbUP6PHR0uxNqWjp0TDKiG2j-89vsmX0dfwbmvzkc.cache
289
+ - spec/test_app/tmp/cache/assets/sprockets/v3.0/HS/HScCeVhpnmJmuQX7s7oOUbEmBL2KWC40o78iLC-3e3M.cache
279
290
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/Hl/HlzBaGDQ4NV3ctlz-qlmStUWDCELhxzVK1-SgLkPCH0.cache
280
291
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/IB/IBoXb9_P8EU8f7aPVNE8cWJybcus8fS7KGvi4HxKdMU.cache
281
292
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/K2/K28c2b37N3eRA-Pckb3MO3D3BvGXfbxDGNeRYIXG8Cg.cache
@@ -284,10 +295,13 @@ files:
284
295
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/Kh/KhKDGOFwOEJlSwLMaG8Yak8AktHsnEr-fUwLpl9d0tc.cache
285
296
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/NX/NXZl3HljnPNJmh2CNpp0skcYvQx4eSEp6vuG5o3lqqY.cache
286
297
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/NX/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache
298
+ - spec/test_app/tmp/cache/assets/sprockets/v3.0/O7/O7W_v6SN36f1tRfV6clZc10p24T7-Ihb3_totn6VrVA.cache
287
299
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/Ob/ObDGu7gmDzQuH86CeAdhWRPf0sfv9Qo3CoxGK3VOYWI.cache
288
300
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/QG/QGjnK1OGVhAWzpma8R60Qdcr6v46sAWmpwQpeoWltX8.cache
289
301
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/Qn/Qn2TRz8mMz8dPVvXgHUfqXC19EPZQgG3XDqm5W_E-A0.cache
302
+ - spec/test_app/tmp/cache/assets/sprockets/v3.0/S-/S-cHz0vJ4VrdXCUiB5fP9TR5Viz885rz10Wgix-urAA.cache
290
303
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/WC/WCTd8gm1KmkPKRB14gd1wwFv3x9NwMsmquXet4Z1DTU.cache
304
+ - spec/test_app/tmp/cache/assets/sprockets/v3.0/WJ/WJhc1q0sGH7WcpvF09oA0iw4iAdiQkHerW6hdCHwxHo.cache
291
305
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/Z-/Z-3hfqbx8r350iW9zFPz_OdVHX0X4Z4bMk9YbS1eha8.cache
292
306
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/Z2/Z2DJdVm4jsJXg0HzuQVyAAmjJbVdzKntXlmd14iNVbU.cache
293
307
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/ZA/ZAzUlqsc-uLa_zcjt1t6EBkPqI8PkEoxz40i4FgrRlQ.cache
@@ -300,19 +314,24 @@ files:
300
314
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/g4/g4TbkEUbvKBMpO8z4ioPbq8ArdLl-scuF3pVaLJhmVI.cache
301
315
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/id/idcyFsf20F5Vd3GC1XtM_PxlNnROM6CxO1j11NG3RWk.cache
302
316
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/ih/ihflBRw1ToLzP0q8oKAJl_a6EHHbTdJUcVR5DANsIuA.cache
317
+ - spec/test_app/tmp/cache/assets/sprockets/v3.0/jK/jK2TgENQlNR4Qvt28Euq9dEK5k_UQuVSbofD4vWeTno.cache
303
318
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/jz/jzXohzOyfczV5wKfQVQWgE1H0IMN4jaxEM3XlhHNgvk.cache
304
319
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/lH/lHLoBOtMavo_6UnfOn0DVLI2JQBT1W9sGR3IZzOD6o8.cache
305
320
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/mD/mDmWU5fLvNY4uggphc1wqYVQDn_w_U6Jz2XRSf59jDc.cache
306
321
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/mX/mX1nlsL_SWOB4y22W5FheRX0YEONKyOY7xUeIvRiHco.cache
322
+ - spec/test_app/tmp/cache/assets/sprockets/v3.0/n0/n0Kk2o2xNYUkuiXPYuld9V2t6GRLzY5YfDfnqdfKlRo.cache
307
323
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/n5/n5FDaqgvLV4Rc1Xm6TykMEFanDhSJJ77HPuPCEgCDQM.cache
308
324
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/n9/n9Nzbk_dEL3fNO-u56owqnrG7YQmhcvDgJ2fWWE_9jE.cache
325
+ - spec/test_app/tmp/cache/assets/sprockets/v3.0/nF/nFB84MNiFDrMN0WelMUdomScBrhYdJ4b8LPhXT3v8C4.cache
309
326
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/nU/nUDR2L4CaIx5IszaYaaaACw519TTTzvpxsp7NMl6KyQ.cache
310
327
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache
311
328
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/pc/pcFf9fij5Xa__QoHi-QzN_0Q_UGLhv6gihTXnoFX3sg.cache
312
329
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/q-/q-721tFv_0DZO9GZ_kHYUD_jn6GNRC09vb51mwyxbuI.cache
313
330
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/r6/r6saZ-BJCnX2-U353od1DgtZIGy5kXrCuXatXntMcTE.cache
314
331
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/wY/wYWiPwDGlToFGYId__oKg8QMPEeuRZoP1FhQahshfOo.cache
332
+ - spec/test_app/tmp/cache/assets/sprockets/v3.0/xW/xW2O0qRLEOz9w_8VDiVMAztr-N8UrUvx8v5EEV7mFBU.cache
315
333
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/yD/yDj60NQvsiwl1QWQXH-iC4pgF1cmHkUFo-kkXBSjsIQ.cache
334
+ - spec/test_app/tmp/cache/assets/sprockets/v3.0/yb/ybtAnaaqo1s0ZXeIKLc5sW1EovhL83HYrgFcKGHUa0Q.cache
316
335
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/ym/ymCwqEVBkEs6bYteLf70KCA5pCKZtqjQ3TbZQzrIs3M.cache
317
336
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/z0/z041WxjoEQvRhtSLORbkRlsNTgi68Rwx7XUyaDbPn0M.cache
318
337
  - spec/test_app/tmp/pids/server.pid
@@ -343,7 +362,9 @@ summary: A Rails Engine to make it as easy as possible to add oauth authenticati
343
362
  to a Rails app.
344
363
  test_files:
345
364
  - spec/controllers/application_controller_spec.rb
365
+ - spec/controllers/authentication_concern_spec.rb
346
366
  - spec/examples.txt
367
+ - spec/lib/omniauth/rails/configurator_spec.rb
347
368
  - spec/models/omniauth/rails/authorization_types/emails_spec.rb
348
369
  - spec/models/omniauth/rails/authorization_types/regex_spec.rb
349
370
  - spec/omniauth_rails_spec.rb
@@ -407,6 +428,7 @@ test_files:
407
428
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/3v/3voyTxS8FmTTGPrz-QQ23N6AgGate2o7X5ZnZeTkQbs.cache
408
429
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/5V/5VAABbvE5t5bCDKmKjLivvfe1CqYdD4n4vtZQiMa4I0.cache
409
430
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/64/64siRwVaDPAW5fTe1O4rlGaq-0ExxAWA0-csPcik-uM.cache
431
+ - spec/test_app/tmp/cache/assets/sprockets/v3.0/7w/7wvYXBtPYrpJ0AsySxiCGKfyqkX-mahHfSlLe8bkKLg.cache
410
432
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/Aa/AasprW2BgqWDcmZnsPRxs-R5D0VGpL7dHYMwtsC1tmE.cache
411
433
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/An/An3DVlfO1pzT7FAnm09q3Ok_2PmGYhiAvxuW9OgG9wc.cache
412
434
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/b_/b_Itlk9QZZd7Rvf8kcA4yLP1R5Acu7jB-m1xQiSU0qE.cache
@@ -414,14 +436,17 @@ test_files:
414
436
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/C-/C-_kx_I8fFV2TrLPw8CNFy1uLrN6G4yLPg_4vOhlohQ.cache
415
437
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/d6/d6PosAq3dbPqxxvjAcaLgePkRuQ8w__EA-M42WarK_0.cache
416
438
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/EG/EGN6771mS8m_7wi-Cr-GgFKv9U9IE3gpo9JQ-N3AYlQ.cache
439
+ - spec/test_app/tmp/cache/assets/sprockets/v3.0/Em/EmJbUP6PHR0uxNqWjp0TDKiG2j-89vsmX0dfwbmvzkc.cache
417
440
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/fD/fDbKpwc4jlsYlnxTT3vnhsiBcSJF3imnAGUBp9nq_Bw.cache
418
441
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/fE/fEHvM7gLiXuJB6lDj2KNzgAx5L3BBn2NSsuodvPAryI.cache
419
442
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/fg/fgbqfgH_CvzP2H744Q3ywDzlqLRSgSw0AH6ifkC7roo.cache
420
443
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/g4/g4TbkEUbvKBMpO8z4ioPbq8ArdLl-scuF3pVaLJhmVI.cache
421
444
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/Hl/HlzBaGDQ4NV3ctlz-qlmStUWDCELhxzVK1-SgLkPCH0.cache
445
+ - spec/test_app/tmp/cache/assets/sprockets/v3.0/HS/HScCeVhpnmJmuQX7s7oOUbEmBL2KWC40o78iLC-3e3M.cache
422
446
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/IB/IBoXb9_P8EU8f7aPVNE8cWJybcus8fS7KGvi4HxKdMU.cache
423
447
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/id/idcyFsf20F5Vd3GC1XtM_PxlNnROM6CxO1j11NG3RWk.cache
424
448
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/ih/ihflBRw1ToLzP0q8oKAJl_a6EHHbTdJUcVR5DANsIuA.cache
449
+ - spec/test_app/tmp/cache/assets/sprockets/v3.0/jK/jK2TgENQlNR4Qvt28Euq9dEK5k_UQuVSbofD4vWeTno.cache
425
450
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/jz/jzXohzOyfczV5wKfQVQWgE1H0IMN4jaxEM3XlhHNgvk.cache
426
451
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/K2/K28c2b37N3eRA-Pckb3MO3D3BvGXfbxDGNeRYIXG8Cg.cache
427
452
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/Kh/KhKDGOFwOEJlSwLMaG8Yak8AktHsnEr-fUwLpl9d0tc.cache
@@ -430,20 +455,27 @@ test_files:
430
455
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/lH/lHLoBOtMavo_6UnfOn0DVLI2JQBT1W9sGR3IZzOD6o8.cache
431
456
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/mD/mDmWU5fLvNY4uggphc1wqYVQDn_w_U6Jz2XRSf59jDc.cache
432
457
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/mX/mX1nlsL_SWOB4y22W5FheRX0YEONKyOY7xUeIvRiHco.cache
458
+ - spec/test_app/tmp/cache/assets/sprockets/v3.0/n0/n0Kk2o2xNYUkuiXPYuld9V2t6GRLzY5YfDfnqdfKlRo.cache
433
459
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/n5/n5FDaqgvLV4Rc1Xm6TykMEFanDhSJJ77HPuPCEgCDQM.cache
434
460
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/n9/n9Nzbk_dEL3fNO-u56owqnrG7YQmhcvDgJ2fWWE_9jE.cache
435
461
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache
462
+ - spec/test_app/tmp/cache/assets/sprockets/v3.0/nF/nFB84MNiFDrMN0WelMUdomScBrhYdJ4b8LPhXT3v8C4.cache
436
463
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/nU/nUDR2L4CaIx5IszaYaaaACw519TTTzvpxsp7NMl6KyQ.cache
437
464
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/NX/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache
438
465
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/NX/NXZl3HljnPNJmh2CNpp0skcYvQx4eSEp6vuG5o3lqqY.cache
466
+ - spec/test_app/tmp/cache/assets/sprockets/v3.0/O7/O7W_v6SN36f1tRfV6clZc10p24T7-Ihb3_totn6VrVA.cache
439
467
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/Ob/ObDGu7gmDzQuH86CeAdhWRPf0sfv9Qo3CoxGK3VOYWI.cache
440
468
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/pc/pcFf9fij5Xa__QoHi-QzN_0Q_UGLhv6gihTXnoFX3sg.cache
441
469
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/q-/q-721tFv_0DZO9GZ_kHYUD_jn6GNRC09vb51mwyxbuI.cache
442
470
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/QG/QGjnK1OGVhAWzpma8R60Qdcr6v46sAWmpwQpeoWltX8.cache
443
471
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/Qn/Qn2TRz8mMz8dPVvXgHUfqXC19EPZQgG3XDqm5W_E-A0.cache
444
472
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/r6/r6saZ-BJCnX2-U353od1DgtZIGy5kXrCuXatXntMcTE.cache
473
+ - spec/test_app/tmp/cache/assets/sprockets/v3.0/S-/S-cHz0vJ4VrdXCUiB5fP9TR5Viz885rz10Wgix-urAA.cache
445
474
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/WC/WCTd8gm1KmkPKRB14gd1wwFv3x9NwMsmquXet4Z1DTU.cache
475
+ - spec/test_app/tmp/cache/assets/sprockets/v3.0/WJ/WJhc1q0sGH7WcpvF09oA0iw4iAdiQkHerW6hdCHwxHo.cache
446
476
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/wY/wYWiPwDGlToFGYId__oKg8QMPEeuRZoP1FhQahshfOo.cache
477
+ - spec/test_app/tmp/cache/assets/sprockets/v3.0/xW/xW2O0qRLEOz9w_8VDiVMAztr-N8UrUvx8v5EEV7mFBU.cache
478
+ - spec/test_app/tmp/cache/assets/sprockets/v3.0/yb/ybtAnaaqo1s0ZXeIKLc5sW1EovhL83HYrgFcKGHUa0Q.cache
447
479
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/yD/yDj60NQvsiwl1QWQXH-iC4pgF1cmHkUFo-kkXBSjsIQ.cache
448
480
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/ym/ymCwqEVBkEs6bYteLf70KCA5pCKZtqjQ3TbZQzrIs3M.cache
449
481
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/Z-/Z-3hfqbx8r350iW9zFPz_OdVHX0X4Z4bMk9YbS1eha8.cache