nyauth 0.6.2 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +16 -0
  3. data/app/controllers/concerns/nyauth/client_concern.rb +1 -0
  4. data/app/controllers/concerns/nyauth/session_concern.rb +6 -7
  5. data/app/controllers/nyauth/base_controller.rb +1 -1
  6. data/app/controllers/nyauth/passwords_controller.rb +1 -0
  7. data/app/helpers/nyauth/application_helper.rb +3 -3
  8. data/app/views/layouts/nyauth/base.html.erb +18 -0
  9. data/lib/generators/nyauth/views_generator.rb +1 -0
  10. data/lib/nyauth/engine.rb +0 -1
  11. data/lib/nyauth/version.rb +1 -1
  12. data/spec/dummy/app/views/layouts/nyauth/base.html.erb +27 -0
  13. data/spec/dummy/db/development.sqlite3 +0 -0
  14. data/spec/dummy/db/test.sqlite3 +0 -0
  15. data/spec/dummy/log/development.log +294 -0
  16. data/spec/dummy/log/test.log +19906 -0
  17. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/0AWhJVsvbBJ7AYsQOdeszwX0r8EYUsLI-TdEoXooEiU.cache +0 -0
  18. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/0FM3SWeCI4Oi5LiwzwOUyBmGt2gTYa5t6pQhj3BUd44.cache +1 -0
  19. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/0FNbCt5AIaVZJMMrIgqoOYWUQuJaCklpTcmG9qfV_To.cache +0 -0
  20. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/2Bw1g-qty-VZ1rpU3goctGGmKNhK9sAjr8o-V1zEQ4Q.cache +1 -0
  21. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/2NBqGhntP-vkXcqELAsDTzmnheGw93xJN_VGA0pgaRE.cache +2 -0
  22. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +2 -0
  23. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/6uBj736Z-58LtocrFKZzz1uajY_Qstrhw74pYT_7pYs.cache +0 -0
  24. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/8LrPqRwiyYmz_nQwqetts1NQav6TpjysEihoYs4rmUU.cache +1 -0
  25. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/8ZAzeQyvCKjeGynGYasYUe63iBbXWOVrdvfYjJZW0Ag.cache +1 -0
  26. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/9cX46CMJX34PwdWf-3bhmb2MWLXv-AvRyCcAxzR1nts.cache +1 -0
  27. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/CNXGLOU1u3FFzGFDMg_4iNcdCDd2iAmoOaiRROni8Tk.cache +2 -0
  28. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/JxXbJi3TlIsr7SQgg5gjpneDczsdO_61PF8VDHMFKnY.cache +1 -0
  29. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/M7oa-ssP0ThBOv3o2FcsdNgXY3vxnpfs-rW3tIOkwkU.cache +2 -0
  30. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +3 -0
  31. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/P-tRtEJV1hmm3XX_s2vzlv7IJIreLP2uLe1efVaBG_U.cache +1 -0
  32. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/PzgqYXi74GpSYH3ITrTcSekNeLaMg0lwZmmGl7pgVKc.cache +0 -0
  33. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/R-7n9gCGLZNfO_G1fkWy8NVWfz9ujBIZbalZ459zinE.cache +0 -0
  34. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/TA-AV2GWUU1Auzz1rvQ4P-Nj0W5noq_k16mU7em555A.cache +1 -0
  35. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/WI0rScq4mjMPfUxQAE2IRkoyOQ4bKZMJpzKUSRYB02c.cache +1 -0
  36. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/cWck8-Qn-uyFSH6bSSy7_WAg0GwCPplw6v6aPo4MErM.cache +1 -0
  37. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/e04WqbGeGkl5YDRLb2aAhsmEMX8R5KBGDRY18mXYt10.cache +1 -0
  38. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/jR95W7cPuwSgjFdmxZItZ_zI5Qxlv9P32kWThGArg4o.cache +0 -0
  39. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/oSl3Gtq7JNslsiewWXls1TEn9LQquDmmnRMx2qqr7OE.cache +1 -0
  40. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/q70-CclrhEXo50ncdKKzHoR3J7t9X5UMS4mKYIwtu2M.cache +0 -0
  41. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/qqF6JapxqwrrevcaGIMpUVdokC81Ba5WqzbUKMFZ5ZQ.cache +1 -0
  42. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/xNxWjlD2nQ_nHrl6FvGZ5mhn4F5A5XJAlz029Se49y4.cache +2 -0
  43. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-4qrDnXnR_pbziS1hESm-dFiw4z8STO3F5jDY2Dof48.cache +1 -0
  44. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/0AWhJVsvbBJ7AYsQOdeszwX0r8EYUsLI-TdEoXooEiU.cache +0 -0
  45. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/2PF9ETuL8pb0m6Z85iXuHRxblp6ZRN8d3r-6FZzrPFQ.cache +2 -0
  46. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/32tM06w1B-F8-loEa4MszRHJ7C1nvYTtymKnswm3P8A.cache +1 -0
  47. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/3QNY3YfGJCFjyeyJ2kAnfDPp7NeHJheTG7x_Gfc6dB8.cache +1 -0
  48. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4NR1wYbIwZm9OYpxxxmVaixkFa7sTMzlWYaC1De98ek.cache +1 -0
  49. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +2 -0
  50. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9cX46CMJX34PwdWf-3bhmb2MWLXv-AvRyCcAxzR1nts.cache +1 -0
  51. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/CNXGLOU1u3FFzGFDMg_4iNcdCDd2iAmoOaiRROni8Tk.cache +2 -0
  52. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/CqVOmJrrmL5OyHuPvAnzMW7_qI7B6ZjAnRhKfYVAcBI.cache +1 -0
  53. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ESia7kFxwW-gfSxuZJYFKw7ooVxP3ouqlm0WKpn-cIs.cache +0 -0
  54. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/NJzkUidXfvM3WTqpWBCg67ADrqCpFix-U5OORkMUeoM.cache +1 -0
  55. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +3 -0
  56. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/TA-AV2GWUU1Auzz1rvQ4P-Nj0W5noq_k16mU7em555A.cache +1 -0
  57. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ctUXkHPESbkQeCYFr8hl8yLE3kn8jmcUb1NOiOdBSvo.cache +2 -0
  58. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/e04WqbGeGkl5YDRLb2aAhsmEMX8R5KBGDRY18mXYt10.cache +1 -0
  59. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/fiLTh3BLPt8IVe66lHDqAwycPFB6ExP1gpXT3eWb9i8.cache +0 -0
  60. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/h7MY9FBilZ_gxsOc9cHLqH7vxICQOhLd5TMKmZuzI7c.cache +0 -0
  61. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/jlNGBh1Z1I9qDwcgvcRkqdKvFBKENBlfE3S-7DgqYQo.cache +0 -0
  62. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/m0W9mpBvLJ9B7BBUEwznJdArxMDOwdNi7P-sGaTEh4U.cache +0 -0
  63. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/oSl3Gtq7JNslsiewWXls1TEn9LQquDmmnRMx2qqr7OE.cache +1 -0
  64. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/rsE5dQcOjn63R-ZIq1iyLKjPfyQsvAzRbAYTmWH5erE.cache +1 -0
  65. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/tCKRW3hCMRwAupohHKhqPwNAqRn4TUj43zKNA-itJvQ.cache +0 -0
  66. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/uWaD5Vs5btQ3NjdrC2Kvkmzr4qesvLCzcQZ3HohPfGI.cache +1 -0
  67. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/x0QxvzgEOluqS41GBK4T4CWRknwR0jTO4x5SRYo-IAM.cache +1 -0
  68. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xNxWjlD2nQ_nHrl6FvGZ5mhn4F5A5XJAlz029Se49y4.cache +2 -0
  69. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/0FM3SWeCI4Oi5LiwzwOUyBmGt2gTYa5t6pQhj3BUd44.cache +1 -0
  70. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/8ZAzeQyvCKjeGynGYasYUe63iBbXWOVrdvfYjJZW0Ag.cache +1 -0
  71. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/cWck8-Qn-uyFSH6bSSy7_WAg0GwCPplw6v6aPo4MErM.cache +1 -0
  72. data/spec/dummy/tmp/capybara/capybara-201602151820216634758582.html +18 -0
  73. data/spec/factories/users.rb +1 -1
  74. data/spec/helpers/nyauth/application_helper_spec.rb +4 -4
  75. data/spec/lib/generators/nyauth/tmp/app/views/layouts/nyauth/base.html.erb +18 -0
  76. data/spec/lib/generators/nyauth/tmp/app/views/layouts/nyauth/mailer.html.erb +1 -0
  77. data/spec/lib/generators/nyauth/tmp/app/views/layouts/nyauth/mailer.text.erb +1 -0
  78. data/spec/lib/generators/nyauth/views_generator_spec.rb +3 -0
  79. data/spec/rails_helper.rb +0 -2
  80. data/spec/support/controllers/nyauth/session_concern.rb +6 -6
  81. metadata +126 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b35378de1bfbf79de9c36c64755161867631beef
4
- data.tar.gz: 64b2a659c453b7c269e1c0f52b74e6895d206479
3
+ metadata.gz: b6eb0f450c4f26f25159c12c32d0c13caefb0982
4
+ data.tar.gz: e393da8db0e0fc91a59a5a1e80d91943e801160b
5
5
  SHA512:
6
- metadata.gz: 1d6c8b8670ae4b991c28c645f55924f50b089a14fcfe559281e737a2046c6370342b445caef658008bbf4e0fc25400f98fb86e280a39c6cd65230c35b3ff332a
7
- data.tar.gz: 50c4ce5ee2b94dff6fbc075d92c43c2faf18328a71c3088ee01974e889e5b0651dfee33b8a77ab94d05e89522295aa506091f127d5d0569e221bce3a3c751063
6
+ metadata.gz: 191a1a5e3900a560fc841f472a48c471779f8aa6c29555b09faba4a791e6e6a4edd609fcf2d154f89b1fda48ef050ca2c3f15bccec8fdce035accc07b5962577
7
+ data.tar.gz: 7bfa56e198e0cb751c5626464e37a68073b9a87c915fbec010f17de9859de71d6637fa510ab5dc13bc601798dfc68d1a9010fdcec18327d1247bd6fc0ea49ebd
data/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Nyauth
2
2
 
3
+ [![Code Climate](https://codeclimate.com/github/ppworks/nyauth/badges/gpa.svg)](https://codeclimate.com/github/ppworks/nyauth)
4
+ [![Build Status](https://travis-ci.org/ppworks/nyauth.svg?branch=master)](https://travis-ci.org/ppworks/nyauth)
5
+
3
6
  Simple & modulable authentication gem
4
7
 
5
8
  [CHANGE LOG](https://github.com/ppworks/nyauth/blob/master/CHANGELOG.md)
@@ -10,9 +13,22 @@ Simple & modulable authentication gem
10
13
  class ApplicationController < ActionController::Base
11
14
  include Nyauth::ControllerConcern
12
15
  before_action -> { require_authentication! as: nyauth_client_name }
16
+ helper_method :current_user
17
+
18
+ private
19
+
20
+ def current_user
21
+ current_authenticated(as: :user)
22
+ end
13
23
  end
14
24
  ```
15
25
 
26
+ For the current signed-in user, this helper is available:
27
+
28
+ ```ruby
29
+ current_user
30
+ ```
31
+
16
32
  ### migration
17
33
 
18
34
  ```ruby
@@ -2,6 +2,7 @@ module Nyauth
2
2
  module ClientConcern
3
3
  extend ActiveSupport::Concern
4
4
  included do |base|
5
+ next unless base.ancestors.include?(ActionController::Base)
5
6
  helper_method :nyauth_client_class
6
7
  helper_method :nyauth_client_name
7
8
  end
@@ -3,12 +3,13 @@ module Nyauth
3
3
  extend ActiveSupport::Concern
4
4
 
5
5
  included do |base|
6
- if base.ancestors.include?(ActionController::Base)
7
- helper_method :signed_in?, :current_authenticated
8
- class_attribute :allow_actions
9
- end
6
+ next unless base.ancestors.include?(ActionController::Base)
7
+ helper_method :signed_in?, :current_authenticated
8
+ class_attribute :allow_actions
10
9
  end
11
10
 
11
+ private
12
+
12
13
  # ex.)
13
14
  # sign_in(client)
14
15
  def sign_in(client)
@@ -40,7 +41,7 @@ module Nyauth
40
41
  def require_authentication!(options = {})
41
42
  options.reverse_merge!(as: :user)
42
43
  return if self.class.allow_actions == :all
43
- return if self.class.allow_actions.present? && request[:action].to_sym.in?(self.class.allow_actions)
44
+ return if self.class.allow_actions.present? && params[:action].to_sym.in?(self.class.allow_actions)
44
45
 
45
46
  unless signed_in?(options)
46
47
  session["#{options[:as]}_return_to"] = request.url if request.get?
@@ -62,8 +63,6 @@ module Nyauth
62
63
  end
63
64
  end
64
65
 
65
- private
66
-
67
66
  def nyauth_nyan
68
67
  request.env['nyauth']
69
68
  end
@@ -1,5 +1,5 @@
1
1
  module Nyauth
2
- class BaseController < ApplicationController
2
+ class BaseController < ActionController::Base
3
3
  include Nyauth::ControllerConcern
4
4
  self.responder = Nyauth::AppResponder
5
5
  respond_to :html, :json
@@ -8,6 +8,7 @@ module Nyauth
8
8
 
9
9
  def update
10
10
  @client.attributes = client_params
11
+ @client.password_digest_will_change! # HACK for Rails5beta2 https://github.com/rails/rails/issues/23645
11
12
  @client.save(context: :update_password)
12
13
  respond_with(@client, location: Nyauth.configuration.redirect_path_after_update_password.call(nyauth_client_name) || main_app.root_path)
13
14
  end
@@ -1,6 +1,6 @@
1
1
  module Nyauth
2
2
  module ApplicationHelper
3
- def method_missing method, *args, &block
3
+ def method_missing(method, *args, &block)
4
4
  if method =~ /(.+)_path_for\z/
5
5
  detect_url_helper($1, *args)
6
6
  elsif method =~ /(_url|_path)\z/
@@ -25,7 +25,7 @@ module Nyauth
25
25
 
26
26
  def detect_url_helper_for_nyauth(feature, *args)
27
27
  path = @__candidates.grep(/\A#{feature}_path\z/).first
28
- return nil unless path
28
+ return '' unless path
29
29
 
30
30
  nyauth.__send__(path, *args)
31
31
  end
@@ -37,7 +37,7 @@ module Nyauth
37
37
  path = @__candidates.grep(/\A#{nyauth_client_name}_#{feature}_path\z/).first
38
38
  end
39
39
 
40
- return nil unless path
40
+ return '' unless path
41
41
 
42
42
  main_app.__send__(path, *args)
43
43
  end
@@ -0,0 +1,18 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Nyauth</title>
5
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
6
+ <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
7
+ <%= csrf_meta_tags %>
8
+ </head>
9
+ <body>
10
+ <% if flash[:notice] %>
11
+ <%= flash[:notice] %>
12
+ <% end %>
13
+ <% if flash[:alert] %>
14
+ <%= flash[:alert] %>
15
+ <% end %>
16
+ <%= yield %>
17
+ </body>
18
+ </html>
@@ -6,6 +6,7 @@ module Nyauth
6
6
 
7
7
  def copy_views
8
8
  directory "nyauth", "app/views/nyauth"
9
+ directory "layouts/nyauth", "app/views/layouts/nyauth"
9
10
  puts "copy views complete"
10
11
  end
11
12
  end
data/lib/nyauth/engine.rb CHANGED
@@ -10,7 +10,6 @@ module Nyauth
10
10
  class Engine < ::Rails::Engine
11
11
  isolate_namespace Nyauth
12
12
 
13
- config.i18n.load_path += Dir[Engine.root.join('config', 'locales', '**', '*.{rb,yml}').to_s]
14
13
  config.generators do |g|
15
14
  g.test_framework :rspec, fixture: false
16
15
  g.fixture_replacement :factory_girl, dir: 'spec/factories'
@@ -1,3 +1,3 @@
1
1
  module Nyauth
2
- VERSION = "0.6.2"
2
+ VERSION = "0.7.0"
3
3
  end
@@ -0,0 +1,27 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Dummy</title>
5
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
6
+ <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
7
+ <%= csrf_meta_tags %>
8
+ </head>
9
+ <body>
10
+
11
+ <% if flash[:notice] %>
12
+ <%= flash[:notice] %>
13
+ <% end %>
14
+ <% if flash[:alert] %>
15
+ <%= flash[:alert] %>
16
+ <% end %>
17
+ <%= link_to "Secret page(URL helper on application)", secret_page_path %>
18
+ <% if signed_in?(as: :user) %>
19
+ <%= link_to t('nav.nyauth.sessions.destroy'), session_path_for(:user), class: 'pure-menu-link', method: :delete %>
20
+ <% end %>
21
+ <% if signed_in?(as: :admin) %>
22
+ <%= link_to t('nav.nyauth.sessions.destroy'), session_path_for(:admin), class: 'pure-menu-link', method: :delete %>
23
+ <% end %>
24
+
25
+ <%= yield %>
26
+ </body>
27
+ </html>
Binary file
Binary file
@@ -0,0 +1,294 @@
1
+  (2.0ms) CREATE TABLE "admins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "password_digest" varchar NOT NULL, "password_salt" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
2
+  (0.1ms) select sqlite_version(*)
3
+  (1.1ms) CREATE UNIQUE INDEX "index_admins_on_email" ON "admins" ("email")
4
+  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "password_digest" varchar NOT NULL, "password_salt" varchar NOT NULL, "nickname" varchar, "confirmed_at" datetime, "confirmation_key" varchar, "confirmation_key_expired_at" datetime, "reset_password_key" varchar, "reset_password_key_expired_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
5
+  (1.1ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
6
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
7
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
8
+  (0.1ms) SELECT version FROM "schema_migrations"
9
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150317141956')
10
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150303135922')
11
+ DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from call at /Users/koshikawa/repository/github.com/ppworks/nyauth/gemfiles/vendor/bundle/gems/rake-10.5.0/lib/rake/task.rb:240)
12
+  (1.0ms) CREATE TABLE "admins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "password_digest" varchar NOT NULL, "password_salt" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
13
+  (0.1ms) select sqlite_version(*)
14
+  (0.7ms) CREATE UNIQUE INDEX "index_admins_on_email" ON "admins" ("email")
15
+  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "password_digest" varchar NOT NULL, "password_salt" varchar NOT NULL, "nickname" varchar, "confirmed_at" datetime, "confirmation_key" varchar, "confirmation_key_expired_at" datetime, "reset_password_key" varchar, "reset_password_key_expired_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
16
+  (0.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
17
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar PRIMARY KEY) 
18
+  (0.1ms) SELECT version FROM "schema_migrations"
19
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150317141956')
20
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150303135922')
21
+  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
22
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" ORDER BY "ar_internal_metadata"."key" ASC LIMIT ? [["LIMIT", 1]]
23
+  (0.1ms) begin transaction
24
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2016-02-12 09:22:07 UTC], ["updated_at", 2016-02-12 09:22:07 UTC]]
25
+  (0.7ms) commit transaction
26
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" ORDER BY "ar_internal_metadata"."key" ASC LIMIT ? [["LIMIT", 1]]
27
+  (0.1ms) begin transaction
28
+  (0.0ms) commit transaction
29
+ DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from call at /Users/koshikawa/repository/github.com/ppworks/nyauth/gemfiles/vendor/bundle/gems/rake-10.5.0/lib/rake/task.rb:240)
30
+  (2.0ms) CREATE TABLE "admins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "password_digest" varchar NOT NULL, "password_salt" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
31
+  (0.1ms) select sqlite_version(*)
32
+  (1.0ms) CREATE UNIQUE INDEX "index_admins_on_email" ON "admins" ("email")
33
+  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "password_digest" varchar NOT NULL, "password_salt" varchar NOT NULL, "nickname" varchar, "confirmed_at" datetime, "confirmation_key" varchar, "confirmation_key_expired_at" datetime, "reset_password_key" varchar, "reset_password_key_expired_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
34
+  (0.9ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
35
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar PRIMARY KEY) 
36
+  (0.1ms) SELECT version FROM "schema_migrations"
37
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150317141956')
38
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150303135922')
39
+  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
40
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" ORDER BY "ar_internal_metadata"."key" ASC LIMIT ? [["LIMIT", 1]]
41
+  (0.0ms) begin transaction
42
+ SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2016-02-12 09:23:30 UTC], ["updated_at", 2016-02-12 09:23:30 UTC]]
43
+  (0.9ms) commit transaction
44
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" ORDER BY "ar_internal_metadata"."key" ASC LIMIT ? [["LIMIT", 1]]
45
+  (0.1ms) begin transaction
46
+  (0.1ms) commit transaction
47
+ DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from call at /Users/koshikawa/repository/github.com/ppworks/nyauth/gemfiles/vendor/bundle/gems/rake-10.5.0/lib/rake/task.rb:240)
48
+  (1.8ms) CREATE TABLE "admins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "password_digest" varchar NOT NULL, "password_salt" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
49
+  (0.1ms) select sqlite_version(*)
50
+  (0.8ms) CREATE UNIQUE INDEX "index_admins_on_email" ON "admins" ("email")
51
+  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "password_digest" varchar NOT NULL, "password_salt" varchar NOT NULL, "nickname" varchar, "confirmed_at" datetime, "confirmation_key" varchar, "confirmation_key_expired_at" datetime, "reset_password_key" varchar, "reset_password_key_expired_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
52
+  (0.9ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
53
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar PRIMARY KEY) 
54
+  (0.1ms) SELECT version FROM "schema_migrations"
55
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150317141956')
56
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150303135922')
57
+  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
58
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" ORDER BY "ar_internal_metadata"."key" ASC LIMIT ? [["LIMIT", 1]]
59
+  (0.0ms) begin transaction
60
+ SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2016-02-12 09:24:45 UTC], ["updated_at", 2016-02-12 09:24:45 UTC]]
61
+  (0.5ms) commit transaction
62
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" ORDER BY "ar_internal_metadata"."key" ASC LIMIT ? [["LIMIT", 1]]
63
+  (0.0ms) begin transaction
64
+  (0.0ms) commit transaction
65
+ DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from call at /Users/koshikawa/repository/github.com/ppworks/nyauth/gemfiles/vendor/bundle/gems/rake-10.5.0/lib/rake/task.rb:240)
66
+  (1.1ms) CREATE TABLE "admins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "password_digest" varchar NOT NULL, "password_salt" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
67
+  (0.1ms) select sqlite_version(*)
68
+  (0.9ms) CREATE UNIQUE INDEX "index_admins_on_email" ON "admins" ("email")
69
+  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "password_digest" varchar NOT NULL, "password_salt" varchar NOT NULL, "nickname" varchar, "confirmed_at" datetime, "confirmation_key" varchar, "confirmation_key_expired_at" datetime, "reset_password_key" varchar, "reset_password_key_expired_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
70
+  (0.9ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
71
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar PRIMARY KEY) 
72
+  (0.1ms) SELECT version FROM "schema_migrations"
73
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150317141956')
74
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150303135922')
75
+  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
76
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" ORDER BY "ar_internal_metadata"."key" ASC LIMIT ? [["LIMIT", 1]]
77
+  (0.0ms) begin transaction
78
+ SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2016-02-15 10:26:15 UTC], ["updated_at", 2016-02-15 10:26:15 UTC]]
79
+  (1.0ms) commit transaction
80
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" ORDER BY "ar_internal_metadata"."key" ASC LIMIT ? [["LIMIT", 1]]
81
+  (0.1ms) begin transaction
82
+  (0.0ms) commit transaction
83
+
84
+
85
+ Started GET "/" for ::1 at 2016-06-13 14:11:53 +0900
86
+
87
+ ActiveRecord::PendingMigrationError (
88
+
89
+ Migrations are pending. To resolve this issue, run:
90
+
91
+ bin/rake db:migrate RAILS_ENV=development
92
+
93
+ ):
94
+ activerecord (4.2.4) lib/active_record/migration.rb:392:in `check_pending!'
95
+ activerecord (4.2.4) lib/active_record/migration.rb:373:in `call'
96
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
97
+ activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
98
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
99
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
100
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
101
+ actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
102
+ actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
103
+ actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
104
+ actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
105
+ railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
106
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
107
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
108
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
109
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
110
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
111
+ actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
112
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
113
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
114
+ activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
115
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
116
+ actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
117
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
118
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
119
+ railties (4.2.4) lib/rails/application.rb:165:in `call'
120
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
121
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
122
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
123
+ /Users/koshikawa/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service'
124
+ /Users/koshikawa/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
125
+ /Users/koshikawa/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread'
126
+
127
+
128
+ Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.7ms)
129
+ Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms)
130
+ Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms)
131
+ Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (43.3ms)
132
+  (1.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
133
+  (0.1ms) select sqlite_version(*)
134
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
135
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
136
+ Migrating to CreateUsers (20150303135922)
137
+  (0.1ms) begin transaction
138
+  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "password_digest" varchar NOT NULL, "password_salt" varchar NOT NULL, "nickname" varchar, "confirmed_at" datetime, "confirmation_key" varchar, "confirmation_key_expired_at" datetime, "reset_password_key" varchar, "reset_password_key_expired_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
139
+  (0.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
140
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150303135922"]]
141
+  (0.9ms) commit transaction
142
+ Migrating to CreateAdmins (20150317141956)
143
+  (0.1ms) begin transaction
144
+  (0.3ms) CREATE TABLE "admins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "password_digest" varchar NOT NULL, "password_salt" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
145
+  (0.4ms) CREATE UNIQUE INDEX "index_admins_on_email" ON "admins" ("email")
146
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150317141956"]]
147
+  (0.7ms) commit transaction
148
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
149
+  (0.2ms) SELECT sql
150
+ FROM sqlite_master
151
+ WHERE name='index_admins_on_email' AND type='index'
152
+ UNION ALL
153
+ SELECT sql
154
+ FROM sqlite_temp_master
155
+ WHERE name='index_admins_on_email' AND type='index'
156
+
157
+  (0.1ms)  SELECT sql
158
+ FROM sqlite_master
159
+ WHERE name='index_users_on_email' AND type='index'
160
+ UNION ALL
161
+ SELECT sql
162
+ FROM sqlite_temp_master
163
+ WHERE name='index_users_on_email' AND type='index'
164
+ 
165
+
166
+
167
+ Started GET "/" for ::1 at 2016-06-13 14:12:14 +0900
168
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
169
+ Processing by PagesController#index as HTML
170
+ Rendered pages/index.html.erb within layouts/application (1.0ms)
171
+ Completed 200 OK in 209ms (Views: 209.2ms | ActiveRecord: 0.0ms)
172
+
173
+
174
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-06-13 14:12:15 +0900
175
+
176
+
177
+ Started GET "/assets/jquery_ujs.self-ca5248a2fad13d6bd58ea121318d642f195f0b2dd818b30615f785ff365e8d1f.js?body=1" for ::1 at 2016-06-13 14:12:15 +0900
178
+
179
+
180
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2016-06-13 14:12:15 +0900
181
+
182
+
183
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2016-06-13 14:12:15 +0900
184
+
185
+
186
+ Started GET "/secret_page" for ::1 at 2016-06-13 14:12:17 +0900
187
+ Processing by SecretPagesController#show as HTML
188
+ Redirected to http://localhost:3000/session/new
189
+ Filter chain halted as #<Proc:0x007fc79a750a58@/Users/koshikawa/repository/github.com/ppworks/nyauth/spec/dummy/app/controllers/secret_pages_controller.rb:2 (lambda)> rendered or redirected
190
+ Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
191
+
192
+
193
+ Started GET "/session/new" for ::1 at 2016-06-13 14:12:17 +0900
194
+ Processing by Nyauth::SessionsController#new as HTML
195
+ Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/app/views/nyauth/sessions/new.html.erb (15.2ms)
196
+ Completed 200 OK in 28ms (Views: 20.6ms | ActiveRecord: 0.0ms)
197
+
198
+
199
+ Started POST "/session" for ::1 at 2016-06-13 14:12:18 +0900
200
+ Processing by Nyauth::SessionsController#create as HTML
201
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"KBpHe2/dO2rnAYRTGkKXCM2xJZzvyNtPoKFj9fcTpnjYNvsV5LAGpk9K1eDpr7LVzI2YBSfNPY42p67D1CnmsA==", "session"=>{"email"=>"koshikawa.naoto@moneyforward.co.jp", "password"=>"[FILTERED]"}, "commit"=>"Sign in"}
202
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" DESC LIMIT 1 [["email", "koshikawa.naoto@moneyforward.co.jp"]]
203
+ Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/app/views/nyauth/sessions/new.html.erb (1.2ms)
204
+ Completed 200 OK in 21ms (Views: 6.7ms | ActiveRecord: 0.4ms)
205
+
206
+
207
+ Started GET "/registration/new" for ::1 at 2016-06-13 14:12:20 +0900
208
+ Processing by Nyauth::RegistrationsController#new as HTML
209
+ Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/app/views/nyauth/registrations/new.html.erb (3.5ms)
210
+ Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.0ms)
211
+
212
+
213
+ Started POST "/registration" for ::1 at 2016-06-13 14:12:26 +0900
214
+ Processing by Nyauth::RegistrationsController#create as HTML
215
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"uhrnn0sILExym9tIMDqSTYqgQhdDl284LdSLDKevYVBKNlvxwGURgNrQivvD17eQi5z/jouSifm70kY6hJUhmA==", "registration"=>{"email"=>"koshikawa.naoto@moneyforward.co.jp", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
216
+  (0.1ms) begin transaction
217
+ SQL (0.6ms) INSERT INTO "users" ("email", "password_salt", "password_digest", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["email", "koshikawa.naoto@moneyforward.co.jp"], ["password_salt", "cf567478aded6575b17d81b96f91132362e40189349e5aa673583c3a33b4c9ea54ff76b85631f68002a9dba66538b8d87ec893272745e6e41f607afd71739616"], ["password_digest", "2ec84cc09c92474ce04cf2a0fabdd8255b6952332722ef10830418c3fdd4d037"], ["created_at", "2016-06-13 05:12:26.963110"], ["updated_at", "2016-06-13 05:12:26.963110"]]
218
+  (0.9ms) commit transaction
219
+ Redirected to http://localhost:3000/
220
+ Completed 302 Found in 51ms (ActiveRecord: 1.5ms)
221
+
222
+
223
+ Started GET "/" for ::1 at 2016-06-13 14:12:26 +0900
224
+ Processing by PagesController#index as HTML
225
+ Rendered pages/index.html.erb within layouts/application (0.0ms)
226
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
227
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
228
+ Completed 200 OK in 22ms (Views: 21.8ms | ActiveRecord: 0.2ms)
229
+
230
+
231
+ Started GET "/secret_page" for ::1 at 2016-06-13 14:12:28 +0900
232
+ Processing by SecretPagesController#show as HTML
233
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
234
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
235
+ Rendered secret_pages/show.html.erb within layouts/application (2.9ms)
236
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
237
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
238
+ Completed 200 OK in 26ms (Views: 24.3ms | ActiveRecord: 0.1ms)
239
+
240
+
241
+ Started GET "/secret_page" for ::1 at 2016-06-13 14:12:32 +0900
242
+ Processing by SecretPagesController#show as HTML
243
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
244
+ CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
245
+ Rendered secret_pages/show.html.erb within layouts/application (1.4ms)
246
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
247
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
248
+ Completed 200 OK in 25ms (Views: 23.3ms | ActiveRecord: 0.2ms)
249
+
250
+
251
+ Started GET "/confirmation_requests/new" for ::1 at 2016-06-13 14:12:48 +0900
252
+ Processing by Nyauth::ConfirmationRequestsController#new as HTML
253
+ Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/app/views/nyauth/confirmation_requests/new.html.erb (4.4ms)
254
+ Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.0ms)
255
+
256
+
257
+ Started GET "/password/edit" for ::1 at 2016-06-13 14:12:51 +0900
258
+ Processing by Nyauth::PasswordsController#edit as HTML
259
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
260
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
261
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
262
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
263
+ Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/app/views/nyauth/passwords/edit.html.erb (2.7ms)
264
+ Completed 200 OK in 12ms (Views: 8.6ms | ActiveRecord: 0.2ms)
265
+
266
+
267
+ Started GET "/secret_page" for ::1 at 2016-06-13 14:13:46 +0900
268
+ Processing by SecretPagesController#show as HTML
269
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
270
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
271
+ Rendered secret_pages/show.html.erb within layouts/application (1.5ms)
272
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
273
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
274
+ Completed 200 OK in 26ms (Views: 24.1ms | ActiveRecord: 0.2ms)
275
+
276
+
277
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2016-06-13 14:13:46 +0900
278
+
279
+
280
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-06-13 14:13:46 +0900
281
+
282
+
283
+ Started GET "/assets/jquery_ujs.self-ca5248a2fad13d6bd58ea121318d642f195f0b2dd818b30615f785ff365e8d1f.js?body=1" for ::1 at 2016-06-13 14:13:46 +0900
284
+
285
+
286
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2016-06-13 14:13:46 +0900
287
+
288
+
289
+ Started GET "/confirmation_requests/new" for ::1 at 2016-06-13 14:13:48 +0900
290
+ Processing by Nyauth::ConfirmationRequestsController#new as HTML
291
+ Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/app/views/nyauth/confirmation_requests/new.html.erb within layouts/nyauth/base (2.3ms)
292
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
293
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
294
+ Completed 200 OK in 29ms (Views: 28.6ms | ActiveRecord: 0.1ms)