nyauth 0.2.8 → 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 (66) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -4
  3. data/app/controllers/concerns/nyauth/client_concern.rb +21 -9
  4. data/app/controllers/concerns/nyauth/{application_concern.rb → controller_concern.rb} +3 -1
  5. data/app/controllers/concerns/nyauth/session_concern.rb +2 -1
  6. data/app/controllers/nyauth/confirmation_requests_controller.rb +3 -4
  7. data/app/controllers/nyauth/confirmations_controller.rb +3 -4
  8. data/app/controllers/nyauth/passwords_controller.rb +5 -7
  9. data/app/controllers/nyauth/registrations_controller.rb +4 -5
  10. data/app/controllers/nyauth/reset_password_requests_controller.rb +3 -4
  11. data/app/controllers/nyauth/reset_passwords_controller.rb +5 -6
  12. data/app/controllers/nyauth/sessions_controller.rb +9 -7
  13. data/app/helpers/nyauth/application_helper.rb +6 -6
  14. data/app/views/nyauth/confirmation_requests/new.html.erb +1 -1
  15. data/app/views/nyauth/passwords/edit.html.erb +1 -1
  16. data/app/views/nyauth/registrations/new.html.erb +1 -1
  17. data/app/views/nyauth/reset_password_requests/new.html.erb +1 -1
  18. data/app/views/nyauth/reset_passwords/edit.html.erb +1 -1
  19. data/app/views/nyauth/sessions/new.html.erb +1 -1
  20. data/lib/nyauth/test/macros.rb +2 -0
  21. data/lib/nyauth/version.rb +1 -1
  22. data/spec/dummy/app/controllers/application_controller.rb +1 -5
  23. data/spec/dummy/app/controllers/posts_controller.rb +2 -1
  24. data/spec/dummy/app/views/posts/index.html.erb +0 -0
  25. data/spec/dummy/db/test.sqlite3 +0 -0
  26. data/spec/dummy/log/development.log +360 -4
  27. data/spec/dummy/log/test.log +8658 -0
  28. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/00R4IbuMWUgW0TswtkCnDqB8MUJqvz76FgkmbrLPTd8.cache +0 -0
  29. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/1-v7tFLPkD6uyCpAKjAKORwPg5YalyY-SYwjNGTiHQo.cache +1 -0
  30. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/122B1KZyQmgyJoX7uc4JINcUDUmcMHJsbf5JopBIpSg.cache +2 -0
  31. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/2W23wCoDaNvkpc-htXrPJ_4wwRXsCB8sDUi-vlecXRY.cache +1 -0
  32. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/8UAh9fJot2eROIl2PFflmIp2Q0G3oNNzBxCYx6AWaTw.cache +3 -0
  33. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/8Ze9kDXrEQxOBazUvSE0NM5zLGZnHFsDskzK_P47vk4.cache +1 -0
  34. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Ald0qisxC6krU6CCGUtsVQJwZ786HWf2a4VJnhi2Lrw.cache +1 -0
  35. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Bx8MbffT9WQGgl0DcTM5n11UlQabeTzIyqKGm2snGus.cache +1 -0
  36. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/CjFGeOmtoOvDUwEi78Mx3PtuchpMqlfecazo-n8RsAQ.cache +0 -0
  37. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/DK6c5xJ8kSeXSqJlndPmMohu6AMbxDTYw3amSuVkoTs.cache +2 -0
  38. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/E16A8LE9OYp6k-WBc2Egdmn6XL_-ipcmDOYBOfBITqs.cache +2 -0
  39. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/EGILbSm92CBXW0Z6Mp6o2YygxS4b8Hhd2CW8igzKuRM.cache +1 -0
  40. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/FIPwj786RByADaWtmUkp2eeWQvQ_QmX1ER1sGGOKgqo.cache +1 -0
  41. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Fo9EHolUACmT7eKdJVmIzktbVgFRBZQkcCGHFfpD7u0.cache +1 -0
  42. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/KiPxsMrAEr8OMX4H_Q8MSOgJ0PuFTQf2yX0S4kZsDVs.cache +1 -0
  43. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Tpj_x0CkqGAEMDgH-JGBkdkajznkLbbiVVZOxEqURxU.cache +0 -0
  44. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ZM48tpiRiDxrKqKUvohWJfOeqwp5RsXgtKY84fW-qEE.cache +0 -0
  45. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ZcwAlVnn77peLsFoZbCh7F7wpmxPhsehRs1frol6gfU.cache +1 -0
  46. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/h1z_izpQoHamMnv_RoNWN6gT2x3tY11ndWa7uVWkiaE.cache +0 -0
  47. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/k-V4Qz1zxawVTQoo00igdXRPgv4xOiV8fQsQtj8uDhA.cache +0 -0
  48. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/lANr4VX8LDWQ3kMj0yoqyqiwK3SEqtIXkA-22639ZQQ.cache +2 -0
  49. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/mKfHoait9-j98PxObraQnsOWSk7xeFfrgppKbFtsUP0.cache +1 -0
  50. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/s0L4Qc1LxOsV_VIoN33m851q4i5lQVM1ygIhke4UJhM.cache +2 -0
  51. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/sjZSTu90VegaTEOBnEbgI9A0_THfWp-_QVzTR7p7m_k.cache +1 -0
  52. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/y7TMQhIN-uRk0HFOYLmEtgTZdktzieFoy6OGzULuesI.cache +0 -0
  53. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ysMIP1GiNEslwSMFx4V6kVDb4UFG1mgq0U7Pjh2AIzY.cache +1 -0
  54. data/spec/dummy/tmp/capybara/capybara-201508010214202383711168.html +19 -0
  55. data/spec/dummy/tmp/capybara/capybara-201508010214573127580777.html +1 -0
  56. data/spec/dummy/tmp/capybara/capybara-201508010215518845010832.html +16 -0
  57. data/spec/featrues/nyauth/sessions_spec.rb +12 -0
  58. data/spec/helpers/nyauth/application_helper_spec.rb +50 -50
  59. data/spec/lib/generators/nyauth/tmp/app/views/nyauth/confirmation_requests/new.html.erb +1 -1
  60. data/spec/lib/generators/nyauth/tmp/app/views/nyauth/passwords/edit.html.erb +1 -1
  61. data/spec/lib/generators/nyauth/tmp/app/views/nyauth/registrations/new.html.erb +1 -1
  62. data/spec/lib/generators/nyauth/tmp/app/views/nyauth/reset_password_requests/new.html.erb +1 -1
  63. data/spec/lib/generators/nyauth/tmp/app/views/nyauth/reset_passwords/edit.html.erb +1 -1
  64. data/spec/lib/generators/nyauth/tmp/app/views/nyauth/sessions/new.html.erb +1 -1
  65. data/spec/rails_helper.rb +1 -2
  66. metadata +64 -3
@@ -5110,10 +5110,10 @@ Started GET "/assets/jquery_ujs.self-ca5248a2fad13d6bd58ea121318d642f195f0b2dd81
5110
5110
  Started GET "/reset_passwords/f6701aa0b07e0ff427876e28108ebc415beb5d8b62517ef6f0509d0554ea1f85/edit" for ::1 at 2015-07-04 11:54:58 +0900
5111
5111
 
5112
5112
  SyntaxError (/Users/koshikawa/repository/github.com/ppworks/nyauth/app/controllers/nyauth/reset_passwords_controller.rb:11: syntax error, unexpected ')', expecting keyword_end
5113
- ..._session_path_for(client_name)), @client.errors.full_message...
5113
+ ..._session_path_for(nyauth_client_name)), @client.errors.full_message...
5114
5114
  ... ^):
5115
5115
  /Users/koshikawa/repository/github.com/ppworks/nyauth/app/controllers/nyauth/reset_passwords_controller.rb:11: syntax error, unexpected ')', expecting keyword_end
5116
- ..._session_path_for(client_name)), @client.errors.full_message...
5116
+ ..._session_path_for(nyauth_client_name)), @client.errors.full_message...
5117
5117
  ... ^
5118
5118
  activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load'
5119
5119
  activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file'
@@ -5197,10 +5197,10 @@ SyntaxError (/Users/koshikawa/repository/github.com/ppworks/nyauth/app/controlle
5197
5197
  Started GET "/reset_passwords/f6701aa0b07e0ff427876e28108ebc415beb5d8b62517ef6f0509d0554ea1f85/edit" for ::1 at 2015-07-04 11:55:03 +0900
5198
5198
 
5199
5199
  SyntaxError (/Users/koshikawa/repository/github.com/ppworks/nyauth/app/controllers/nyauth/reset_passwords_controller.rb:11: syntax error, unexpected ')', expecting keyword_end
5200
- ..._session_path_for(client_name)), @client.errors.full_message...
5200
+ ..._session_path_for(nyauth_client_name)), @client.errors.full_message...
5201
5201
  ... ^):
5202
5202
  /Users/koshikawa/repository/github.com/ppworks/nyauth/app/controllers/nyauth/reset_passwords_controller.rb:11: syntax error, unexpected ')', expecting keyword_end
5203
- ..._session_path_for(client_name)), @client.errors.full_message...
5203
+ ..._session_path_for(nyauth_client_name)), @client.errors.full_message...
5204
5204
  ... ^
5205
5205
  activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load'
5206
5206
  activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file'
@@ -10322,3 +10322,359 @@ Started GET "/admin/session/new" for 127.0.0.1 at 2015-07-14 00:31:57 +0900
10322
10322
  Processing by Nyauth::SessionsController#new as HTML
10323
10323
  Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/app/views/nyauth/sessions/new.html.erb within layouts/application (6.9ms)
10324
10324
  Completed 200 OK in 25ms (Views: 24.8ms | ActiveRecord: 0.0ms)
10325
+
10326
+
10327
+ Started GET "/" for 127.0.0.1 at 2015-08-01 02:04:15 +0900
10328
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
10329
+ Processing by PagesController#index as HTML
10330
+ Rendered pages/index.html.erb within layouts/application (4.6ms)
10331
+ Completed 200 OK in 324ms (Views: 323.6ms | ActiveRecord: 0.0ms)
10332
+
10333
+
10334
+ Started GET "/" for 127.0.0.1 at 2015-08-01 02:04:16 +0900
10335
+ Processing by PagesController#index as HTML
10336
+ Rendered pages/index.html.erb within layouts/application (0.0ms)
10337
+ Completed 200 OK in 12ms (Views: 11.7ms | ActiveRecord: 0.0ms)
10338
+
10339
+
10340
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for 127.0.0.1 at 2015-08-01 02:04:16 +0900
10341
+
10342
+
10343
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for 127.0.0.1 at 2015-08-01 02:04:16 +0900
10344
+
10345
+
10346
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for 127.0.0.1 at 2015-08-01 02:04:16 +0900
10347
+
10348
+
10349
+ Started GET "/assets/jquery_ujs.self-ca5248a2fad13d6bd58ea121318d642f195f0b2dd818b30615f785ff365e8d1f.js?body=1" for 127.0.0.1 at 2015-08-01 02:04:16 +0900
10350
+
10351
+
10352
+ Started GET "/posts" for 127.0.0.1 at 2015-08-01 02:04:19 +0900
10353
+ Processing by PostsController#index as HTML
10354
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
10355
+
10356
+
10357
+ Started GET "/posts" for 127.0.0.1 at 2015-08-01 02:05:39 +0900
10358
+ Processing by PostsController#index as HTML
10359
+ Completed 500 Internal Server Error in 3ms
10360
+
10361
+ NameError (undefined local variable or method `nyauth_client_name' for #<PostsController:0x007fb06d4d3120>):
10362
+ app/controllers/posts_controller.rb:2:in `block in <class:PostsController>'
10363
+
10364
+
10365
+ Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.6ms)
10366
+ Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms)
10367
+ Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms)
10368
+ Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (72.5ms)
10369
+
10370
+
10371
+ Started GET "/posts" for 127.0.0.1 at 2015-08-01 02:05:49 +0900
10372
+ Processing by PostsController#index as HTML
10373
+ Filter chain halted as #<Proc:0x007fb06c763850@/Users/koshikawa/repository/github.com/ppworks/nyauth/spec/dummy/app/controllers/posts_controller.rb:2 (lambda)> rendered or redirected
10374
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
10375
+
10376
+
10377
+ Started GET "/" for 127.0.0.1 at 2015-08-01 02:05:54 +0900
10378
+ Processing by PagesController#index as HTML
10379
+ Rendered pages/index.html.erb within layouts/application (0.0ms)
10380
+ Completed 200 OK in 24ms (Views: 24.1ms | ActiveRecord: 0.0ms)
10381
+
10382
+
10383
+ Started GET "/session/new" for 127.0.0.1 at 2015-08-01 02:05:58 +0900
10384
+
10385
+ SyntaxError (/Users/koshikawa/repository/github.com/ppworks/nyauth/app/controllers/nyauth/sessions_controller.rb:19: syntax error, unexpected $undefined
10386
+ ... location: redirect_path || \ ...
10387
+ ... ^):
10388
+ /Users/koshikawa/repository/github.com/ppworks/nyauth/app/controllers/nyauth/sessions_controller.rb:19: syntax error, unexpected $undefined
10389
+ ... location: redirect_path || \ ...
10390
+ ... ^
10391
+ activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load'
10392
+ activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file'
10393
+ activesupport (4.2.0) lib/active_support/dependencies.rb:647:in `new_constants_in'
10394
+ activesupport (4.2.0) lib/active_support/dependencies.rb:456:in `load_file'
10395
+ activesupport (4.2.0) lib/active_support/dependencies.rb:354:in `require_or_load'
10396
+ activesupport (4.2.0) lib/active_support/dependencies.rb:494:in `load_missing_constant'
10397
+ activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing'
10398
+ activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get'
10399
+ activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize'
10400
+ activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each'
10401
+ activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject'
10402
+ activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize'
10403
+ activesupport (4.2.0) lib/active_support/dependencies.rb:566:in `get'
10404
+ activesupport (4.2.0) lib/active_support/dependencies.rb:597:in `constantize'
10405
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference'
10406
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller'
10407
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve'
10408
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
10409
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
10410
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
10411
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
10412
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
10413
+ railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
10414
+ railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
10415
+ actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
10416
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
10417
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
10418
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
10419
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
10420
+ /Users/koshikawa/repository/github.com/ppworks/nyauth/lib/nyauth/middleware.rb:13:in `block in call'
10421
+ /Users/koshikawa/repository/github.com/ppworks/nyauth/lib/nyauth/nyan.rb:20:in `run_callback'
10422
+ /Users/koshikawa/repository/github.com/ppworks/nyauth/lib/nyauth/middleware.rb:12:in `call'
10423
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
10424
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
10425
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
10426
+ actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
10427
+ actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
10428
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
10429
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
10430
+ actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
10431
+ activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
10432
+ activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
10433
+ activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
10434
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
10435
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
10436
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
10437
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
10438
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
10439
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
10440
+ actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
10441
+ actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
10442
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
10443
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
10444
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
10445
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
10446
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
10447
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
10448
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
10449
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
10450
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
10451
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
10452
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
10453
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
10454
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
10455
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
10456
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
10457
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
10458
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
10459
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
10460
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
10461
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
10462
+ /Users/koshikawa/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
10463
+ /Users/koshikawa/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
10464
+ /Users/koshikawa/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
10465
+
10466
+
10467
+ Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.4ms)
10468
+ Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms)
10469
+ Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms)
10470
+ Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (42.7ms)
10471
+
10472
+
10473
+ Started GET "/session/new" for 127.0.0.1 at 2015-08-01 02:07:08 +0900
10474
+ Processing by Nyauth::SessionsController#new as HTML
10475
+ Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/app/views/nyauth/sessions/new.html.erb within layouts/application (27.3ms)
10476
+ Completed 200 OK in 70ms (Views: 58.2ms | ActiveRecord: 0.0ms)
10477
+
10478
+
10479
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for 127.0.0.1 at 2015-08-01 02:07:08 +0900
10480
+
10481
+
10482
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for 127.0.0.1 at 2015-08-01 02:07:08 +0900
10483
+
10484
+
10485
+ Started GET "/assets/jquery_ujs.self-ca5248a2fad13d6bd58ea121318d642f195f0b2dd818b30615f785ff365e8d1f.js?body=1" for 127.0.0.1 at 2015-08-01 02:07:08 +0900
10486
+
10487
+
10488
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for 127.0.0.1 at 2015-08-01 02:07:08 +0900
10489
+
10490
+
10491
+ Started POST "/session" for 127.0.0.1 at 2015-08-01 02:07:11 +0900
10492
+ Processing by Nyauth::SessionsController#create as HTML
10493
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"1hU8Ziiq9Y4ufobZWR4vw8RzawZeC/rUlsMZmR/ieAt7rk2la1Z5nQARkk4SOt78OhrqOB2+E1ZIkkQqt3/FZw==", "session_service"=>{"email"=>"ppworks@example.com", "password"=>"[FILTERED]"}, "commit"=>"Sign in"}
10494
+ User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" DESC LIMIT 1 [["email", "ppworks@example.com"]]
10495
+ Redirected to http://www.lvh.me:3000/posts
10496
+ Completed 302 Found in 325ms (ActiveRecord: 1.9ms)
10497
+
10498
+
10499
+ Started GET "/posts" for 127.0.0.1 at 2015-08-01 02:07:11 +0900
10500
+ Processing by PostsController#index as HTML
10501
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
10502
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
10503
+ Completed 200 OK in 4ms (ActiveRecord: 0.2ms)
10504
+
10505
+
10506
+ Started GET "/posts" for 127.0.0.1 at 2015-08-01 02:07:14 +0900
10507
+ Processing by PostsController#index as HTML
10508
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
10509
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
10510
+ Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
10511
+
10512
+
10513
+ Started GET "/posts" for 127.0.0.1 at 2015-08-01 02:08:05 +0900
10514
+ Processing by PostsController#index as HTML
10515
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
10516
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
10517
+ Completed 200 OK in 15ms (ActiveRecord: 1.0ms)
10518
+
10519
+
10520
+ Started GET "/" for 127.0.0.1 at 2015-08-01 02:08:07 +0900
10521
+ Processing by PagesController#index as HTML
10522
+ Rendered pages/index.html.erb within layouts/application (0.1ms)
10523
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
10524
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
10525
+ Completed 200 OK in 26ms (Views: 25.3ms | ActiveRecord: 0.1ms)
10526
+
10527
+
10528
+ Started DELETE "/session" for 127.0.0.1 at 2015-08-01 02:08:09 +0900
10529
+ Processing by Nyauth::SessionsController#destroy as HTML
10530
+ Parameters: {"authenticity_token"=>"mkLCgynhG3BLQ7KyIVS+EbXmowtlt44ZMnT1xHFyuvs3+bNAah2XY2UspiVqcE8uS48iNSYCZ5vsJah32e8Hlw=="}
10531
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
10532
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
10533
+ Redirected to http://www.lvh.me:3000/session/new
10534
+ Completed 302 Found in 18ms (ActiveRecord: 0.1ms)
10535
+
10536
+
10537
+ Started GET "/session/new" for 127.0.0.1 at 2015-08-01 02:08:09 +0900
10538
+ Processing by Nyauth::SessionsController#new as HTML
10539
+ Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/app/views/nyauth/sessions/new.html.erb within layouts/application (4.6ms)
10540
+ Completed 200 OK in 23ms (Views: 21.5ms | ActiveRecord: 0.0ms)
10541
+
10542
+
10543
+ Started GET "/posts" for 127.0.0.1 at 2015-08-01 02:08:12 +0900
10544
+ Processing by PostsController#index as HTML
10545
+ Redirected to http://www.lvh.me:3000/session/new
10546
+ Filter chain halted as #<Proc:0x007fb071e40420@/Users/koshikawa/repository/github.com/ppworks/nyauth/spec/dummy/app/controllers/posts_controller.rb:2 (lambda)> rendered or redirected
10547
+ Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
10548
+
10549
+
10550
+ Started GET "/session/new" for 127.0.0.1 at 2015-08-01 02:08:12 +0900
10551
+ Processing by Nyauth::SessionsController#new as HTML
10552
+ Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/app/views/nyauth/sessions/new.html.erb within layouts/application (4.2ms)
10553
+ Completed 200 OK in 23ms (Views: 22.1ms | ActiveRecord: 0.0ms)
10554
+
10555
+
10556
+ Started POST "/session" for 127.0.0.1 at 2015-08-01 02:08:15 +0900
10557
+ Processing by Nyauth::SessionsController#create as HTML
10558
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"VUtXH4E8FHzUGqh1ZSnVw9xdmlyu+twk+C89tR26xz8Ebwks81q7Z5Ot/6Zv2u5yVpPkDumZOeids1LBAmWiHg==", "session_service"=>{"email"=>"ppworks@example.com", "password"=>"[FILTERED]"}, "commit"=>"Sign in"}
10559
+ User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" DESC LIMIT 1 [["email", "ppworks@example.com"]]
10560
+ Redirected to http://www.lvh.me:3000/posts
10561
+ Completed 302 Found in 17ms (ActiveRecord: 0.7ms)
10562
+
10563
+
10564
+ Started GET "/posts" for 127.0.0.1 at 2015-08-01 02:08:15 +0900
10565
+ Processing by PostsController#index as HTML
10566
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
10567
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
10568
+ Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
10569
+
10570
+
10571
+ Started GET "/posts" for 127.0.0.1 at 2015-08-01 02:08:45 +0900
10572
+ Processing by PostsController#index as HTML
10573
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
10574
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
10575
+ Completed 200 OK in 12ms (ActiveRecord: 0.9ms)
10576
+
10577
+
10578
+ Started GET "/" for 127.0.0.1 at 2015-08-01 02:08:51 +0900
10579
+ Processing by PagesController#index as HTML
10580
+ Rendered pages/index.html.erb within layouts/application (0.1ms)
10581
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
10582
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
10583
+ Completed 200 OK in 49ms (Views: 49.1ms | ActiveRecord: 0.1ms)
10584
+
10585
+
10586
+ Started DELETE "/session" for 127.0.0.1 at 2015-08-01 02:08:52 +0900
10587
+ Processing by Nyauth::SessionsController#destroy as HTML
10588
+ Parameters: {"authenticity_token"=>"gN9OSt4Z7fvuGjTvgFFxZUJsh2MAknz26KMyEYLmH8fR+xB5rH9C4KmtYzyKokrUyKL5MUfxmTqNP11lnTl65g=="}
10589
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
10590
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
10591
+ Redirected to http://www.lvh.me:3000/session/new
10592
+ Completed 302 Found in 17ms (ActiveRecord: 0.3ms)
10593
+
10594
+
10595
+ Started GET "/session/new" for 127.0.0.1 at 2015-08-01 02:08:52 +0900
10596
+ Processing by Nyauth::SessionsController#new as HTML
10597
+ Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/app/views/nyauth/sessions/new.html.erb within layouts/application (5.9ms)
10598
+ Completed 200 OK in 26ms (Views: 24.3ms | ActiveRecord: 0.0ms)
10599
+
10600
+
10601
+ Started GET "/posts" for 127.0.0.1 at 2015-08-01 02:08:55 +0900
10602
+ Processing by PostsController#index as HTML
10603
+ Redirected to http://www.lvh.me:3000/session/new
10604
+ Filter chain halted as #<Proc:0x007fb070fe6898@/Users/koshikawa/repository/github.com/ppworks/nyauth/spec/dummy/app/controllers/posts_controller.rb:2 (lambda)> rendered or redirected
10605
+ Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
10606
+
10607
+
10608
+ Started GET "/session/new" for 127.0.0.1 at 2015-08-01 02:08:55 +0900
10609
+ Processing by Nyauth::SessionsController#new as HTML
10610
+ Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/app/views/nyauth/sessions/new.html.erb within layouts/application (5.8ms)
10611
+ Completed 200 OK in 25ms (Views: 23.6ms | ActiveRecord: 0.0ms)
10612
+
10613
+
10614
+ Started POST "/session" for 127.0.0.1 at 2015-08-01 02:08:57 +0900
10615
+ Processing by Nyauth::SessionsController#create as HTML
10616
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"v4FkVCBYqVuVCVDvnqnzkZOyXEQCEpGcwdz1KERfhJO8cdka3XQwfZXtMJq9hPT0rC9i/hHDi4+xpWYKbx4HVQ==", "session_service"=>{"email"=>"ppworks@example.com", "password"=>"[FILTERED]"}, "commit"=>"Sign in"}
10617
+ User Load (1.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" DESC LIMIT 1 [["email", "ppworks@example.com"]]
10618
+ Redirected to http://www.lvh.me:3000/posts
10619
+ Completed 302 Found in 22ms (ActiveRecord: 1.2ms)
10620
+
10621
+
10622
+ Started GET "/posts" for 127.0.0.1 at 2015-08-01 02:08:57 +0900
10623
+ Processing by PostsController#index as HTML
10624
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
10625
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
10626
+ Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
10627
+
10628
+
10629
+ Started GET "/" for 127.0.0.1 at 2015-08-01 02:08:59 +0900
10630
+ Processing by PagesController#index as HTML
10631
+ Rendered pages/index.html.erb within layouts/application (0.0ms)
10632
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
10633
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
10634
+ Completed 200 OK in 30ms (Views: 29.2ms | ActiveRecord: 0.2ms)
10635
+
10636
+
10637
+ Started DELETE "/session" for 127.0.0.1 at 2015-08-01 02:09:00 +0900
10638
+ Processing by Nyauth::SessionsController#destroy as HTML
10639
+ Parameters: {"authenticity_token"=>"t0h4CWJrhYjW0xs7tsNeoTWtRJmehBvEgXB1IzvqIrS0uMVHn0ccrtY3e06V7lnECjB6I41VAdfxCeYBEKuhcg=="}
10640
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
10641
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
10642
+ Redirected to http://www.lvh.me:3000/session/new
10643
+ Completed 302 Found in 17ms (ActiveRecord: 0.2ms)
10644
+
10645
+
10646
+ Started GET "/session/new" for 127.0.0.1 at 2015-08-01 02:09:00 +0900
10647
+ Processing by Nyauth::SessionsController#new as HTML
10648
+ Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/app/views/nyauth/sessions/new.html.erb within layouts/application (5.5ms)
10649
+ Completed 200 OK in 25ms (Views: 24.2ms | ActiveRecord: 0.0ms)
10650
+
10651
+
10652
+ Started POST "/session" for 127.0.0.1 at 2015-08-01 02:09:01 +0900
10653
+ Processing by Nyauth::SessionsController#create as HTML
10654
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"TZsjXyxI50cPo8FVdW6kuEN2vl5mIF3uk7EjaMHbAWb1BdGp1v492hZ+Ui8roK17MBg/flGBEnVJB9JYkDaQ4w==", "session_service"=>{"email"=>"ppworks@example.com", "password"=>"[FILTERED]"}, "commit"=>"Sign in"}
10655
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" DESC LIMIT 1 [["email", "ppworks@example.com"]]
10656
+ Redirected to http://www.lvh.me:3000/
10657
+ Completed 302 Found in 27ms (ActiveRecord: 0.5ms)
10658
+
10659
+
10660
+ Started GET "/" for 127.0.0.1 at 2015-08-01 02:09:02 +0900
10661
+ Processing by PagesController#index as HTML
10662
+ Rendered pages/index.html.erb within layouts/application (0.1ms)
10663
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
10664
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
10665
+ Completed 200 OK in 31ms (Views: 31.0ms | ActiveRecord: 0.2ms)
10666
+
10667
+
10668
+ Started DELETE "/session" for 127.0.0.1 at 2015-08-01 02:09:03 +0900
10669
+ Processing by Nyauth::SessionsController#destroy as HTML
10670
+ Parameters: {"authenticity_token"=>"OLx9ny7IlLXuYuuL9r0MrjVE5G55pXL4PDFHdkf9GT2AIo9p1H5OKPe/ePGocwVtRiplTk4EPWPmh7ZGFhCIuA=="}
10671
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
10672
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
10673
+ Redirected to http://www.lvh.me:3000/session/new
10674
+ Completed 302 Found in 19ms (ActiveRecord: 0.2ms)
10675
+
10676
+
10677
+ Started GET "/session/new" for 127.0.0.1 at 2015-08-01 02:09:03 +0900
10678
+ Processing by Nyauth::SessionsController#new as HTML
10679
+ Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/app/views/nyauth/sessions/new.html.erb within layouts/application (5.3ms)
10680
+ Completed 200 OK in 23ms (Views: 22.4ms | ActiveRecord: 0.0ms)