omniauth-rails 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 616345b56f40baaac08ef6a197acf3137fce7e31
4
- data.tar.gz: 5fb0400757b818f85115577d8b8d3a0b14b51231
3
+ metadata.gz: c6d2b159ffa7c3a79e1d087ef959ca0b3d7cd72e
4
+ data.tar.gz: 22009bc23afa52bc767ddf72b40bcdbd6a4edc55
5
5
  SHA512:
6
- metadata.gz: c930a515046cdb299b78d02ca8537b12a68c93ae10939ea4b3517a3b214bcc3ca9101bbf7b20f65cf95aa522f849ccf1698e106c1d48c5673656310baa30992f
7
- data.tar.gz: 96425177e68e72e472c169aa389b0348acd0f28514ecde87dd5c0302d26dbb496895c2dbcd1020fc66d71e2f2691fe2aa870a1027ec5cd68c847445fa001eb1a
6
+ metadata.gz: 4d626533af6fe691850ae7ada15912df89ead75730f633f26e2716d00fd8b306c26e57ea587562b53bc91b72a6208c265e26ef226b2103de34542d0b3dfd4ab5
7
+ data.tar.gz: 1b028b3d832b737968007320bba1bb4745c2f465db8d401519cc252c4dd06a692a5732e3051331d547fddabfe7a6a9c5e84b8f6931724c3b995ff30ef4f35606
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  module Omniauth
3
3
  module Rails
4
- VERSION = "0.4.0"
4
+ VERSION = "0.5.0"
5
5
  end
6
6
  end
data/spec/examples.txt CHANGED
@@ -1,26 +1,26 @@
1
1
  example_id | status | run_time |
2
2
  ------------------------------------------------------------------------ | ------ | --------------- |
3
3
  ./spec/controllers/application_controller_spec.rb[1:1] | passed | 0.00035 seconds |
4
- ./spec/controllers/authentication_concern_spec.rb[1:1:1] | passed | 0.00616 seconds |
5
- ./spec/controllers/authentication_concern_spec.rb[1:1:2:1] | passed | 0.00417 seconds |
6
- ./spec/helpers/application_helper_spec.rb[1:1:1:1] | passed | 0.00198 seconds |
7
- ./spec/helpers/application_helper_spec.rb[1:1:2:1] | passed | 0.00073 seconds |
8
- ./spec/lib/omniauth/rails/configurator_spec.rb[1:1:1:1:1] | passed | 0.00056 seconds |
9
- ./spec/models/omniauth/rails/authorization_types/emails_spec.rb[1:1:1:1] | passed | 0.00014 seconds |
10
- ./spec/models/omniauth/rails/authorization_types/emails_spec.rb[1:1:2:1] | passed | 0.00011 seconds |
11
- ./spec/models/omniauth/rails/authorization_types/regex_spec.rb[1:1:1:1] | passed | 0.00016 seconds |
12
- ./spec/models/omniauth/rails/authorization_types/regex_spec.rb[1:1:2:1] | passed | 0.0001 seconds |
13
- ./spec/omniauth_rails_spec.rb[1:1] | passed | 0.00274 seconds |
14
- ./spec/test_app/spec/controllers/private_controller_spec.rb[1:1:1:1] | passed | 0.00702 seconds |
15
- ./spec/test_app/spec/requests/private_controller_spec.rb[1:1:1:1] | passed | 0.0023 seconds |
16
- ./spec/test_app/spec/requests/private_controller_spec.rb[1:1:1:2:1] | passed | 0.00581 seconds |
17
- ./spec/test_app/spec/requests/private_controller_spec.rb[1:1:2:1:1] | passed | 0.00654 seconds |
18
- ./spec/test_app/spec/requests/private_controller_spec.rb[1:1:2:2:1] | passed | 0.01837 seconds |
19
- ./spec/test_app/spec/requests/public_controller_spec.rb[1:1:1] | passed | 0.007 seconds |
20
- ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:1:1] | passed | 0.00279 seconds |
21
- ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:1:2:1] | passed | 0.01024 seconds |
22
- ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:2:1:1] | passed | 0.17337 seconds |
23
- ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:2:1:2:1] | passed | 0.00497 seconds |
24
- ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:3:1:1] | passed | 0.00183 seconds |
25
- ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:3:2:1] | passed | 0.01741 seconds |
26
- ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:3:3:1] | passed | 0.01195 seconds |
4
+ ./spec/controllers/authentication_concern_spec.rb[1:1:1] | passed | 0.00858 seconds |
5
+ ./spec/controllers/authentication_concern_spec.rb[1:1:2:1] | passed | 0.00539 seconds |
6
+ ./spec/helpers/application_helper_spec.rb[1:1:1:1] | passed | 0.00096 seconds |
7
+ ./spec/helpers/application_helper_spec.rb[1:1:2:1] | passed | 0.00106 seconds |
8
+ ./spec/lib/omniauth/rails/configurator_spec.rb[1:1:1:1:1] | passed | 0.01158 seconds |
9
+ ./spec/models/omniauth/rails/authorization_types/emails_spec.rb[1:1:1:1] | passed | 0.00011 seconds |
10
+ ./spec/models/omniauth/rails/authorization_types/emails_spec.rb[1:1:2:1] | passed | 0.00013 seconds |
11
+ ./spec/models/omniauth/rails/authorization_types/regex_spec.rb[1:1:1:1] | passed | 0.00013 seconds |
12
+ ./spec/models/omniauth/rails/authorization_types/regex_spec.rb[1:1:2:1] | passed | 0.00013 seconds |
13
+ ./spec/omniauth_rails_spec.rb[1:1] | passed | 0.00081 seconds |
14
+ ./spec/test_app/spec/controllers/private_controller_spec.rb[1:1:1:1] | passed | 0.0175 seconds |
15
+ ./spec/test_app/spec/requests/private_controller_spec.rb[1:1:1:1] | passed | 0.01117 seconds |
16
+ ./spec/test_app/spec/requests/private_controller_spec.rb[1:1:1:2:1] | passed | 0.00622 seconds |
17
+ ./spec/test_app/spec/requests/private_controller_spec.rb[1:1:2:1:1] | passed | 0.16747 seconds |
18
+ ./spec/test_app/spec/requests/private_controller_spec.rb[1:1:2:2:1] | passed | 0.02733 seconds |
19
+ ./spec/test_app/spec/requests/public_controller_spec.rb[1:1:1] | passed | 0.00713 seconds |
20
+ ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:1:1] | passed | 0.004 seconds |
21
+ ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:1:2:1] | passed | 0.00221 seconds |
22
+ ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:2:1:1] | passed | 0.01223 seconds |
23
+ ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:2:1:2:1] | passed | 0.00569 seconds |
24
+ ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:3:1:1] | passed | 0.00105 seconds |
25
+ ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:3:2:1] | passed | 0.00109 seconds |
26
+ ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:3:3:1] | passed | 0.00239 seconds |
@@ -60071,3 +60071,315 @@ Processing by PublicController#show as HTML
60071
60071
  Rendering public/show.html.erb within layouts/application
60072
60072
  Rendered public/show.html.erb within layouts/application (0.3ms)
60073
60073
  Completed 200 OK in 5ms (Views: 3.7ms)
60074
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
60075
+ Mounting Omniauth::Rails::Engine in Rails.application.routes
60076
+ Autoloading Omniauth::Rails::ControllersConcern into ActionController::Base
60077
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-19 17:42:21 -0600
60078
+ Processing by Omniauth::Rails::SessionsController#create as HTML
60079
+ Parameters: {"provider"=>"google_oauth2"}
60080
+ Redirected to http://www.example.com/private
60081
+ Completed 302 Found in 4ms
60082
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-19 17:42:21 -0600
60083
+ (google_oauth2) Authentication failure! invalid_credentials encountered.
60084
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-19 17:42:21 -0600
60085
+ (google_oauth2) Authentication failure! csrf_detected encountered.
60086
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-19 17:42:21 -0600
60087
+ Processing by Omniauth::Rails::SessionsController#new as HTML
60088
+ Redirected to http://www.example.com/auth/google_oauth2
60089
+ Completed 302 Found in 1ms
60090
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-19 17:42:21 -0600
60091
+ Processing by Omniauth::Rails::SessionsController#new as HTML
60092
+ Redirected to http://www.example.com/private
60093
+ Completed 302 Found in 0ms
60094
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:42:21 -0600
60095
+ Processing by PrivateController#show as HTML
60096
+ Rendering private/show.html.erb within layouts/application
60097
+ Rendered private/show.html.erb within layouts/application (1.1ms)
60098
+ Completed 200 OK in 163ms (Views: 159.8ms)
60099
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-19 17:42:21 -0600
60100
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
60101
+ Redirected to http://www.example.com/public
60102
+ Completed 302 Found in 0ms
60103
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:42:21 -0600
60104
+ Processing by PrivateController#show as HTML
60105
+ Redirected to http://www.example.com/auth/sign_in
60106
+ Filter chain halted as #<Proc:0x007fb297052278@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
60107
+ Completed 302 Found in 1ms
60108
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-19 17:42:21 -0600
60109
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
60110
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb
60111
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb (0.5ms)
60112
+ Completed 200 OK in 2ms (Views: 2.3ms)
60113
+ Processing by AnonymousController#fake_action as HTML
60114
+ Redirected to http://test.host/auth/sign_in
60115
+ Filter chain halted as :require_authentication rendered or redirected
60116
+ Completed 302 Found in 0ms
60117
+ Processing by AnonymousController#fake_action as HTML
60118
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authentication'
60119
+ Completed 200 OK in 0ms
60120
+ Omniauth::Rails: dev_mode is enabled. Authentication and authorization are disabled.
60121
+ Processing by PrivateController#show as HTML
60122
+ Rendering private/show.html.erb within layouts/application
60123
+ Rendered private/show.html.erb within layouts/application (0.2ms)
60124
+ Completed 200 OK in 6ms (Views: 4.7ms)
60125
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:42:22 -0600
60126
+ Processing by PrivateController#show as HTML
60127
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html
60128
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html (0.3ms)
60129
+ Filter chain halted as #<Proc:0x007fb297052278@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
60130
+ Completed 403 Forbidden in 17ms (Views: 16.5ms)
60131
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:42:22 -0600
60132
+ Processing by PrivateController#show as HTML
60133
+ Rendering private/show.html.erb within layouts/application
60134
+ Rendered private/show.html.erb within layouts/application (0.5ms)
60135
+ Completed 200 OK in 6ms (Views: 4.3ms)
60136
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:42:22 -0600
60137
+ Processing by PrivateController#show as HTML
60138
+ Redirected to http://www.example.com/auth/sign_in
60139
+ Filter chain halted as #<Proc:0x007fb297052278@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
60140
+ Completed 302 Found in 0ms
60141
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:42:22 -0600
60142
+ Processing by PrivateController#show as HTML
60143
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authorization'
60144
+ Rendering private/show.html.erb within layouts/application
60145
+ Rendered private/show.html.erb within layouts/application (0.2ms)
60146
+ Completed 200 OK in 4ms (Views: 3.4ms)
60147
+ Started GET "/public" for 127.0.0.1 at 2016-09-19 17:42:22 -0600
60148
+ Processing by PublicController#show as HTML
60149
+ Rendering public/show.html.erb within layouts/application
60150
+ Rendered public/show.html.erb within layouts/application (0.4ms)
60151
+ Completed 200 OK in 7ms (Views: 6.0ms)
60152
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
60153
+ Mounting Omniauth::Rails::Engine in Rails.application.routes
60154
+ Autoloading Omniauth::Rails::ControllersConcern into ActionController::Base
60155
+ Processing by PrivateController#show as HTML
60156
+ Rendering private/show.html.erb within layouts/application
60157
+ Rendered private/show.html.erb within layouts/application (0.2ms)
60158
+ Completed 200 OK in 10ms (Views: 6.1ms)
60159
+ Omniauth::Rails: dev_mode is enabled. Authentication and authorization are disabled.
60160
+ Processing by AnonymousController#fake_action as HTML
60161
+ Redirected to http://test.host/auth/sign_in
60162
+ Filter chain halted as :require_authentication rendered or redirected
60163
+ Completed 302 Found in 4ms
60164
+ Processing by AnonymousController#fake_action as HTML
60165
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authentication'
60166
+ Completed 200 OK in 0ms
60167
+ Started GET "/public" for 127.0.0.1 at 2016-09-19 17:42:25 -0600
60168
+ Processing by PublicController#show as HTML
60169
+ Rendering public/show.html.erb within layouts/application
60170
+ Rendered public/show.html.erb within layouts/application (0.9ms)
60171
+ Completed 200 OK in 167ms (Views: 165.9ms)
60172
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-19 17:42:25 -0600
60173
+ Processing by Omniauth::Rails::SessionsController#new as HTML
60174
+ Redirected to http://www.example.com/auth/google_oauth2
60175
+ Completed 302 Found in 1ms
60176
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-19 17:42:25 -0600
60177
+ Processing by Omniauth::Rails::SessionsController#new as HTML
60178
+ Redirected to http://www.example.com/
60179
+ Completed 302 Found in 0ms
60180
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:42:25 -0600
60181
+ Processing by PrivateController#show as HTML
60182
+ Rendering private/show.html.erb within layouts/application
60183
+ Rendered private/show.html.erb within layouts/application (0.3ms)
60184
+ Completed 200 OK in 5ms (Views: 4.0ms)
60185
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-19 17:42:25 -0600
60186
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
60187
+ Redirected to http://www.example.com/
60188
+ Completed 302 Found in 0ms
60189
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:42:25 -0600
60190
+ Processing by PrivateController#show as HTML
60191
+ Redirected to http://www.example.com/auth/sign_in
60192
+ Filter chain halted as #<Proc:0x007fcdde228ea0@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
60193
+ Completed 302 Found in 1ms
60194
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-19 17:42:25 -0600
60195
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
60196
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb
60197
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb (0.7ms)
60198
+ Completed 200 OK in 3ms (Views: 2.7ms)
60199
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-19 17:42:25 -0600
60200
+ Processing by Omniauth::Rails::SessionsController#create as HTML
60201
+ Parameters: {"provider"=>"google_oauth2"}
60202
+ Redirected to http://www.example.com/
60203
+ Completed 302 Found in 1ms
60204
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-19 17:42:25 -0600
60205
+ (google_oauth2) Authentication failure! invalid_credentials encountered.
60206
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-19 17:42:25 -0600
60207
+ (google_oauth2) Authentication failure! csrf_detected encountered.
60208
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:42:25 -0600
60209
+ Processing by PrivateController#show as HTML
60210
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html
60211
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html (0.3ms)
60212
+ Filter chain halted as #<Proc:0x007fcdde228ea0@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
60213
+ Completed 403 Forbidden in 14ms (Views: 13.5ms)
60214
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:42:25 -0600
60215
+ Processing by PrivateController#show as HTML
60216
+ Rendering private/show.html.erb within layouts/application
60217
+ Rendered private/show.html.erb within layouts/application (0.3ms)
60218
+ Completed 200 OK in 5ms (Views: 3.9ms)
60219
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:42:25 -0600
60220
+ Processing by PrivateController#show as HTML
60221
+ Redirected to http://www.example.com/auth/sign_in
60222
+ Filter chain halted as #<Proc:0x007fcdde228ea0@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
60223
+ Completed 302 Found in 1ms
60224
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:42:25 -0600
60225
+ Processing by PrivateController#show as HTML
60226
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authorization'
60227
+ Rendering private/show.html.erb within layouts/application
60228
+ Rendered private/show.html.erb within layouts/application (0.2ms)
60229
+ Completed 200 OK in 4ms (Views: 3.4ms)
60230
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
60231
+ Mounting Omniauth::Rails::Engine in Rails.application.routes
60232
+ Autoloading Omniauth::Rails::ControllersConcern into ActionController::Base
60233
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-10-06 16:09:22 -0600
60234
+ Processing by Omniauth::Rails::SessionsController#create as HTML
60235
+ Parameters: {"provider"=>"google_oauth2"}
60236
+ Redirected to http://www.example.com/private
60237
+ Completed 302 Found in 7ms
60238
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-10-06 16:09:22 -0600
60239
+ (google_oauth2) Authentication failure! invalid_credentials encountered.
60240
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-10-06 16:09:22 -0600
60241
+ (google_oauth2) Authentication failure! csrf_detected encountered.
60242
+ Started GET "/private" for 127.0.0.1 at 2016-10-06 16:09:22 -0600
60243
+ Processing by PrivateController#show as HTML
60244
+ Rendering private/show.html.erb within layouts/application
60245
+ Rendered private/show.html.erb within layouts/application (1.5ms)
60246
+ Completed 200 OK in 169ms (Views: 165.7ms)
60247
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-10-06 16:09:22 -0600
60248
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
60249
+ Redirected to http://www.example.com/public
60250
+ Completed 302 Found in 0ms
60251
+ Started GET "/private" for 127.0.0.1 at 2016-10-06 16:09:22 -0600
60252
+ Processing by PrivateController#show as HTML
60253
+ Redirected to http://www.example.com/auth/sign_in
60254
+ Filter chain halted as #<Proc:0x007fea6e3fb2f8@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
60255
+ Completed 302 Found in 1ms
60256
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-10-06 16:09:22 -0600
60257
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
60258
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb
60259
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb (0.9ms)
60260
+ Completed 200 OK in 3ms (Views: 3.0ms)
60261
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-10-06 16:09:22 -0600
60262
+ Processing by Omniauth::Rails::SessionsController#new as HTML
60263
+ Redirected to http://www.example.com/auth/google_oauth2
60264
+ Completed 302 Found in 1ms
60265
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-10-06 16:09:22 -0600
60266
+ Processing by Omniauth::Rails::SessionsController#new as HTML
60267
+ Redirected to http://www.example.com/private
60268
+ Completed 302 Found in 0ms
60269
+ Omniauth::Rails: dev_mode is enabled. Authentication and authorization are disabled.
60270
+ Started GET "/private" for 127.0.0.1 at 2016-10-06 16:09:22 -0600
60271
+ Processing by PrivateController#show as HTML
60272
+ Rendering private/show.html.erb within layouts/application
60273
+ Rendered private/show.html.erb within layouts/application (0.2ms)
60274
+ Completed 200 OK in 5ms (Views: 3.9ms)
60275
+ Started GET "/private" for 127.0.0.1 at 2016-10-06 16:09:22 -0600
60276
+ Processing by PrivateController#show as HTML
60277
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html
60278
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html (0.2ms)
60279
+ Filter chain halted as #<Proc:0x007fea6e3fb2f8@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
60280
+ Completed 403 Forbidden in 14ms (Views: 13.3ms)
60281
+ Started GET "/private" for 127.0.0.1 at 2016-10-06 16:09:22 -0600
60282
+ Processing by PrivateController#show as HTML
60283
+ Redirected to http://www.example.com/auth/sign_in
60284
+ Filter chain halted as #<Proc:0x007fea6e3fb2f8@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
60285
+ Completed 302 Found in 1ms
60286
+ Started GET "/private" for 127.0.0.1 at 2016-10-06 16:09:22 -0600
60287
+ Processing by PrivateController#show as HTML
60288
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authorization'
60289
+ Rendering private/show.html.erb within layouts/application
60290
+ Rendered private/show.html.erb within layouts/application (0.3ms)
60291
+ Completed 200 OK in 5ms (Views: 3.5ms)
60292
+ Processing by AnonymousController#fake_action as HTML
60293
+ Redirected to http://test.host/auth/sign_in
60294
+ Filter chain halted as :require_authentication rendered or redirected
60295
+ Completed 302 Found in 0ms
60296
+ Processing by AnonymousController#fake_action as HTML
60297
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authentication'
60298
+ Completed 200 OK in 0ms
60299
+ Started GET "/public" for 127.0.0.1 at 2016-10-06 16:09:22 -0600
60300
+ Processing by PublicController#show as HTML
60301
+ Rendering public/show.html.erb within layouts/application
60302
+ Rendered public/show.html.erb within layouts/application (0.3ms)
60303
+ Completed 200 OK in 6ms (Views: 5.0ms)
60304
+ Processing by PrivateController#show as HTML
60305
+ Rendering private/show.html.erb within layouts/application
60306
+ Rendered private/show.html.erb within layouts/application (0.2ms)
60307
+ Completed 200 OK in 7ms (Views: 4.9ms)
60308
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
60309
+ Mounting Omniauth::Rails::Engine in Rails.application.routes
60310
+ Autoloading Omniauth::Rails::ControllersConcern into ActionController::Base
60311
+ Processing by PrivateController#show as HTML
60312
+ Rendering private/show.html.erb within layouts/application
60313
+ Rendered private/show.html.erb within layouts/application (0.2ms)
60314
+ Completed 200 OK in 12ms (Views: 8.1ms)
60315
+ Omniauth::Rails: dev_mode is enabled. Authentication and authorization are disabled.
60316
+ Started GET "/private" for 127.0.0.1 at 2016-10-06 16:16:29 -0600
60317
+ Processing by PrivateController#show as HTML
60318
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html
60319
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html (1.3ms)
60320
+ Filter chain halted as #<Proc:0x007fdd5e9484d0@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
60321
+ Completed 403 Forbidden in 19ms (Views: 18.4ms)
60322
+ Started GET "/private" for 127.0.0.1 at 2016-10-06 16:16:29 -0600
60323
+ Processing by PrivateController#show as HTML
60324
+ Rendering private/show.html.erb within layouts/application
60325
+ Rendered private/show.html.erb within layouts/application (0.3ms)
60326
+ Completed 200 OK in 165ms (Views: 163.9ms)
60327
+ Started GET "/private" for 127.0.0.1 at 2016-10-06 16:16:30 -0600
60328
+ Processing by PrivateController#show as HTML
60329
+ Redirected to http://www.example.com/auth/sign_in
60330
+ Filter chain halted as #<Proc:0x007fdd5e9484d0@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
60331
+ Completed 302 Found in 7ms
60332
+ Started GET "/private" for 127.0.0.1 at 2016-10-06 16:16:30 -0600
60333
+ Processing by PrivateController#show as HTML
60334
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authorization'
60335
+ Rendering private/show.html.erb within layouts/application
60336
+ Rendered private/show.html.erb within layouts/application (0.3ms)
60337
+ Completed 200 OK in 4ms (Views: 3.5ms)
60338
+ Processing by AnonymousController#fake_action as HTML
60339
+ Redirected to http://test.host/auth/sign_in
60340
+ Filter chain halted as :require_authentication rendered or redirected
60341
+ Completed 302 Found in 1ms
60342
+ Processing by AnonymousController#fake_action as HTML
60343
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authentication'
60344
+ Completed 200 OK in 0ms
60345
+ Started GET "/public" for 127.0.0.1 at 2016-10-06 16:16:30 -0600
60346
+ Processing by PublicController#show as HTML
60347
+ Rendering public/show.html.erb within layouts/application
60348
+ Rendered public/show.html.erb within layouts/application (0.2ms)
60349
+ Completed 200 OK in 5ms (Views: 3.8ms)
60350
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-10-06 16:16:30 -0600
60351
+ Processing by Omniauth::Rails::SessionsController#new as HTML
60352
+ Redirected to http://www.example.com/auth/google_oauth2
60353
+ Completed 302 Found in 1ms
60354
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-10-06 16:16:30 -0600
60355
+ Processing by Omniauth::Rails::SessionsController#new as HTML
60356
+ Redirected to http://www.example.com/
60357
+ Completed 302 Found in 0ms
60358
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-10-06 16:16:30 -0600
60359
+ (google_oauth2) Authentication failure! invalid_credentials encountered.
60360
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-10-06 16:16:30 -0600
60361
+ (google_oauth2) Authentication failure! csrf_detected encountered.
60362
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-10-06 16:16:30 -0600
60363
+ Processing by Omniauth::Rails::SessionsController#create as HTML
60364
+ Parameters: {"provider"=>"google_oauth2"}
60365
+ Redirected to http://www.example.com/
60366
+ Completed 302 Found in 1ms
60367
+ Started GET "/private" for 127.0.0.1 at 2016-10-06 16:16:30 -0600
60368
+ Processing by PrivateController#show as HTML
60369
+ Rendering private/show.html.erb within layouts/application
60370
+ Rendered private/show.html.erb within layouts/application (0.3ms)
60371
+ Completed 200 OK in 6ms (Views: 5.1ms)
60372
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-10-06 16:16:30 -0600
60373
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
60374
+ Redirected to http://www.example.com/
60375
+ Completed 302 Found in 0ms
60376
+ Started GET "/private" for 127.0.0.1 at 2016-10-06 16:16:30 -0600
60377
+ Processing by PrivateController#show as HTML
60378
+ Redirected to http://www.example.com/auth/sign_in
60379
+ Filter chain halted as #<Proc:0x007fdd5e9484d0@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
60380
+ Completed 302 Found in 1ms
60381
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-10-06 16:16:30 -0600
60382
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
60383
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb
60384
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb (0.6ms)
60385
+ Completed 200 OK in 4ms (Views: 3.5ms)
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.4.0
4
+ version: 0.5.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-19 00:00:00.000000000 Z
11
+ date: 2016-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: byebug
@@ -140,22 +140,16 @@ dependencies:
140
140
  name: rails
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - "~>"
144
- - !ruby/object:Gem::Version
145
- version: 5.0.0
146
143
  - - ">="
147
144
  - !ruby/object:Gem::Version
148
- version: 5.0.0.1
145
+ version: '0'
149
146
  type: :runtime
150
147
  prerelease: false
151
148
  version_requirements: !ruby/object:Gem::Requirement
152
149
  requirements:
153
- - - "~>"
154
- - !ruby/object:Gem::Version
155
- version: 5.0.0
156
150
  - - ">="
157
151
  - !ruby/object:Gem::Version
158
- version: 5.0.0.1
152
+ version: '0'
159
153
  - !ruby/object:Gem::Dependency
160
154
  name: omniauth
161
155
  requirement: !ruby/object:Gem::Requirement