nyauth 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +13 -1
- data/app/models/concerns/nyauth/reset_password_ability.rb +0 -1
- data/app/views/nyauth/confirmation_requests/new.html.erb +4 -0
- data/app/views/nyauth/confirmations/edit.html.erb +1 -0
- data/app/views/nyauth/passwords/edit.html.erb +6 -0
- data/app/views/nyauth/registrations/new.html.erb +7 -0
- data/app/views/nyauth/request_mailer/request_confirmation.html.erb +6 -0
- data/app/views/nyauth/request_mailer/request_reset_password.html.erb +6 -0
- data/app/views/nyauth/reset_password_requests/new.html.erb +4 -0
- data/app/views/nyauth/reset_passwords/edit.html.erb +6 -0
- data/app/views/nyauth/sessions/new.html.erb +6 -0
- data/config/routes.rb +4 -7
- data/lib/generators/nyauth/views_generator.rb +12 -0
- data/lib/nyauth/rails.rb +12 -0
- data/lib/nyauth/route.rb +21 -0
- data/lib/nyauth/version.rb +1 -1
- data/lib/nyauth.rb +1 -0
- data/spec/dummy/app/assets/javascripts/application.js +2 -0
- data/spec/dummy/config/routes.rb +1 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +231 -0
- data/spec/dummy/log/test.log +14687 -0
- data/spec/featrues/nyauth/passwords_spec.rb +1 -1
- data/spec/featrues/nyauth/registrations_spec.rb +1 -1
- data/spec/lib/generators/nyauth/tmp/app/views/nyauth/confirmation_requests/new.html.erb +4 -0
- data/spec/lib/generators/nyauth/tmp/app/views/nyauth/confirmations/edit.html.erb +1 -0
- data/spec/lib/generators/nyauth/tmp/app/views/nyauth/passwords/edit.html.erb +6 -0
- data/spec/lib/generators/nyauth/tmp/app/views/nyauth/registrations/new.html.erb +7 -0
- data/spec/lib/generators/nyauth/tmp/app/views/nyauth/request_mailer/request_confirmation.html.erb +6 -0
- data/spec/lib/generators/nyauth/tmp/app/views/nyauth/request_mailer/request_confirmation.text.erb +3 -0
- data/spec/lib/generators/nyauth/tmp/app/views/nyauth/request_mailer/request_reset_password.html.erb +6 -0
- data/spec/lib/generators/nyauth/tmp/app/views/nyauth/request_mailer/request_reset_password.text.erb +3 -0
- data/spec/lib/generators/nyauth/tmp/app/views/nyauth/reset_password_requests/new.html.erb +4 -0
- data/spec/lib/generators/nyauth/tmp/app/views/nyauth/reset_passwords/edit.html.erb +6 -0
- data/spec/lib/generators/nyauth/tmp/app/views/nyauth/sessions/new.html.erb +6 -0
- data/spec/lib/generators/nyauth/views_generator_spec.rb +27 -0
- metadata +41 -63
- data/app/views/nyauth/confirmation_requests/new.html.slim +0 -5
- data/app/views/nyauth/confirmations/edit.html.slim +0 -5
- data/app/views/nyauth/layouts/application.html.slim +0 -15
- data/app/views/nyauth/layouts/mailer.html.slim +0 -1
- data/app/views/nyauth/layouts/mailer.text.slim +0 -1
- data/app/views/nyauth/passwords/edit.html.slim +0 -11
- data/app/views/nyauth/registrations/new.html.slim +0 -12
- data/app/views/nyauth/request_mailer/request_confirmation.html.slim +0 -2
- data/app/views/nyauth/request_mailer/request_reset_password.html.slim +0 -2
- data/app/views/nyauth/reset_password_requests/new.html.slim +0 -5
- data/app/views/nyauth/reset_passwords/edit.html.slim +0 -11
- data/app/views/nyauth/sessions/new.html.slim +0 -11
- data/spec/dummy/tmp/pids/server.pid +0 -1
- data/spec/lib/generators/nyauth/tmp/config/initializers/nyauth.rb +0 -7
- /data/spec/dummy/app/views/pages/{index.html.slim → index.html.erb} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b37fe2ddb1f31d171ed9083a2636a017a4daefb6
|
4
|
+
data.tar.gz: 9431cfde95b22cec162714428b27cf12086ccff8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 452e765e5ca2dd88ddc78aa2054bf247dd0ea112eae083ced3519b4b32a005cbcba8d04865f1833b0067ffbca29db9496df32c6cb69fb1be0e993649b6082005
|
7
|
+
data.tar.gz: 19b672d5832eaa21dfc9df82a3bdf8e5cc12c7476eaba4e2fa33c589a53a8de3d33a614b0cd303b008a807f26a6a494fa59a96cb59a92b28c6d00796f9ceb8ea
|
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# Nyauth
|
2
2
|
|
3
|
+
Simple & modualbe authentication gem
|
4
|
+
|
3
5
|
### application_controller.rb
|
4
6
|
|
5
7
|
```ruby
|
@@ -47,7 +49,7 @@ end
|
|
47
49
|
Rails.application.routes.draw do
|
48
50
|
# for admin
|
49
51
|
namespace :nyauth, path: :admin, as: :admin do
|
50
|
-
|
52
|
+
concerns :nyauth_sessionable
|
51
53
|
end
|
52
54
|
|
53
55
|
# for user
|
@@ -86,3 +88,13 @@ new_reset_password_request GET /reset_password_requests/new(.:format)
|
|
86
88
|
new_session_path_for(:user) # /session/new
|
87
89
|
new_session_path_for(:admin) # /admin/session/new
|
88
90
|
```
|
91
|
+
|
92
|
+
### Generator
|
93
|
+
|
94
|
+
```
|
95
|
+
rails g nyauth:install
|
96
|
+
```
|
97
|
+
|
98
|
+
```
|
99
|
+
rails g nyauth:views
|
100
|
+
```
|
@@ -4,7 +4,6 @@ module Nyauth
|
|
4
4
|
|
5
5
|
included do
|
6
6
|
before_validation :check_reset_password_key, on: :reset_password
|
7
|
-
validates :email, email: { strict_mode: false }
|
8
7
|
validates :password, presence: true,
|
9
8
|
length: { minimum: Nyauth.configuration.password_minium },
|
10
9
|
on: [:create, :update_password, :reset_password]
|
@@ -0,0 +1 @@
|
|
1
|
+
<%= @client.errors.full_messages.join ',' %>
|
@@ -0,0 +1,7 @@
|
|
1
|
+
<%= form_for @client, url: registration_path_for(client_name) do |f| %>
|
2
|
+
<%= f.object.errors.full_messages.join ',' %>
|
3
|
+
<%= f.email_field :email %>
|
4
|
+
<%= f.password_field :password %>
|
5
|
+
<%= f.password_field :password_confirmation %>
|
6
|
+
<%= f.submit 'Sign up' %>
|
7
|
+
<% end %>
|
data/config/routes.rb
CHANGED
@@ -1,10 +1,7 @@
|
|
1
1
|
Nyauth::Engine.routes.draw do
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
get '/confirmations/:confirmation_key' => 'confirmations#update', as: :confirmation
|
7
|
-
resources :reset_password_requests, only: %i(new create)
|
8
|
-
resources :reset_passwords, param: :reset_password_key, only: %i(edit update)
|
2
|
+
concerns :nyauth_registrable
|
3
|
+
concerns :nyauth_sessionable
|
4
|
+
concerns :nyauth_passwordable
|
5
|
+
concerns :nyauth_confirmable
|
9
6
|
Nyauth.configuration.setup_redirect_path
|
10
7
|
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
module Nyauth
|
2
|
+
class ViewsGenerator < Rails::Generators::Base
|
3
|
+
source_root File.expand_path("../templates", __FILE__)
|
4
|
+
source_root File.expand_path("../../../../app/views", __FILE__)
|
5
|
+
desc "Creates Nyauth views for your application"
|
6
|
+
|
7
|
+
def copy_views
|
8
|
+
directory "nyauth", "app/views/nyauth"
|
9
|
+
puts "copy views complete"
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
data/lib/nyauth/rails.rb
ADDED
data/lib/nyauth/route.rb
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
module Nyauth
|
2
|
+
module Route
|
3
|
+
def nyauth_concerns
|
4
|
+
concern :nyauth_registrable do
|
5
|
+
resource :registration, only: %i(new create)
|
6
|
+
end
|
7
|
+
concern :nyauth_sessionable do
|
8
|
+
resource :session, only: %i(new create destroy)
|
9
|
+
end
|
10
|
+
concern :nyauth_passwordable do
|
11
|
+
resource :password, only: %i(edit update)
|
12
|
+
resources :reset_password_requests, only: %i(new create)
|
13
|
+
resources :reset_passwords, param: :reset_password_key, only: %i(edit update)
|
14
|
+
end
|
15
|
+
concern :nyauth_confirmable do
|
16
|
+
resources :confirmation_requests, only: %i(new create)
|
17
|
+
get '/confirmations/:confirmation_key' => 'confirmations#update', as: :confirmation
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
data/lib/nyauth/version.rb
CHANGED
data/lib/nyauth.rb
CHANGED
data/spec/dummy/config/routes.rb
CHANGED
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -3617,3 +3617,234 @@ Migrating to CreateAdmins (20150317141956)
|
|
3617
3617
|
FROM sqlite_temp_master
|
3618
3618
|
WHERE name='index_users_on_email' AND type='index'
|
3619
3619
|
[0m
|
3620
|
+
|
3621
|
+
|
3622
|
+
Started GET "/" for 127.0.0.1 at 2015-06-27 02:56:37 +0900
|
3623
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3624
|
+
Processing by PagesController#index as HTML
|
3625
|
+
Rendered pages/index.html.slim within layouts/application (0.1ms)
|
3626
|
+
Completed 200 OK in 27ms (Views: 26.9ms | ActiveRecord: 0.0ms)
|
3627
|
+
|
3628
|
+
|
3629
|
+
Started GET "/session" for 127.0.0.1 at 2015-06-27 02:56:41 +0900
|
3630
|
+
|
3631
|
+
ActionController::RoutingError (No route matches [GET] "/session"):
|
3632
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
3633
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
3634
|
+
railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
|
3635
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
|
3636
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
3637
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
|
3638
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
|
3639
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
|
3640
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
3641
|
+
rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
|
3642
|
+
rack (1.6.0) lib/rack/runtime.rb:18:in `call'
|
3643
|
+
activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
3644
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
3645
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
|
3646
|
+
rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
|
3647
|
+
railties (4.2.0) lib/rails/engine.rb:518:in `call'
|
3648
|
+
railties (4.2.0) lib/rails/application.rb:164:in `call'
|
3649
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
3650
|
+
rack (1.6.0) lib/rack/content_length.rb:15:in `call'
|
3651
|
+
rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
|
3652
|
+
/Users/koshikawa/.rbenv/versions/2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
|
3653
|
+
/Users/koshikawa/.rbenv/versions/2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
|
3654
|
+
/Users/koshikawa/.rbenv/versions/2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
|
3655
|
+
|
3656
|
+
|
3657
|
+
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.5ms)
|
3658
|
+
Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.8ms)
|
3659
|
+
Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
|
3660
|
+
Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (6.6ms)
|
3661
|
+
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.6ms)
|
3662
|
+
Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (109.2ms)
|
3663
|
+
|
3664
|
+
|
3665
|
+
Started GET "/" for 127.0.0.1 at 2015-06-27 02:57:37 +0900
|
3666
|
+
Processing by PagesController#index as HTML
|
3667
|
+
Rendered pages/index.html.slim within layouts/application (0.2ms)
|
3668
|
+
Completed 200 OK in 14ms (Views: 13.5ms | ActiveRecord: 0.0ms)
|
3669
|
+
|
3670
|
+
|
3671
|
+
Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-06-27 02:57:37 +0900
|
3672
|
+
|
3673
|
+
|
3674
|
+
Started GET "/assets/application-5f1f3a0d9f2a8d9e8fcda8edadddaf68.js?body=1" for 127.0.0.1 at 2015-06-27 02:57:37 +0900
|
3675
|
+
|
3676
|
+
|
3677
|
+
Started GET "/" for 127.0.0.1 at 2015-06-27 02:57:37 +0900
|
3678
|
+
Processing by PagesController#index as HTML
|
3679
|
+
Rendered pages/index.html.slim within layouts/application (0.0ms)
|
3680
|
+
Completed 200 OK in 12ms (Views: 11.8ms | ActiveRecord: 0.0ms)
|
3681
|
+
|
3682
|
+
|
3683
|
+
Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-06-27 02:57:37 +0900
|
3684
|
+
|
3685
|
+
|
3686
|
+
Started GET "/assets/application-5f1f3a0d9f2a8d9e8fcda8edadddaf68.js?body=1" for 127.0.0.1 at 2015-06-27 02:57:37 +0900
|
3687
|
+
|
3688
|
+
|
3689
|
+
Started GET "/" for 127.0.0.1 at 2015-06-27 02:57:52 +0900
|
3690
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3691
|
+
Processing by PagesController#index as HTML
|
3692
|
+
Rendered pages/index.html.slim within layouts/application (11.1ms)
|
3693
|
+
Completed 200 OK in 190ms (Views: 189.4ms | ActiveRecord: 0.0ms)
|
3694
|
+
|
3695
|
+
|
3696
|
+
Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for 127.0.0.1 at 2015-06-27 02:57:53 +0900
|
3697
|
+
|
3698
|
+
|
3699
|
+
Started GET "/assets/application.self-fb28094035fc8f155b896e47c199355db7c84fc9d6214ed9800f1022ac2ece52.js?body=1" for 127.0.0.1 at 2015-06-27 02:57:53 +0900
|
3700
|
+
|
3701
|
+
|
3702
|
+
Started GET "/session" for 127.0.0.1 at 2015-06-27 02:57:55 +0900
|
3703
|
+
|
3704
|
+
ActionController::RoutingError (No route matches [GET] "/session"):
|
3705
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
3706
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
3707
|
+
railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
|
3708
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
|
3709
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
3710
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
|
3711
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
|
3712
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
|
3713
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
3714
|
+
rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
|
3715
|
+
rack (1.6.0) lib/rack/runtime.rb:18:in `call'
|
3716
|
+
activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
3717
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
3718
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
|
3719
|
+
rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
|
3720
|
+
railties (4.2.0) lib/rails/engine.rb:518:in `call'
|
3721
|
+
railties (4.2.0) lib/rails/application.rb:164:in `call'
|
3722
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
3723
|
+
rack (1.6.0) lib/rack/content_length.rb:15:in `call'
|
3724
|
+
rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
|
3725
|
+
/Users/koshikawa/.rbenv/versions/2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
|
3726
|
+
/Users/koshikawa/.rbenv/versions/2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
|
3727
|
+
/Users/koshikawa/.rbenv/versions/2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
|
3728
|
+
|
3729
|
+
|
3730
|
+
Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms)
|
3731
|
+
Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
|
3732
|
+
Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.6ms)
|
3733
|
+
Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (5.5ms)
|
3734
|
+
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.1ms)
|
3735
|
+
Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (75.3ms)
|
3736
|
+
|
3737
|
+
|
3738
|
+
Started GET "/" for 127.0.0.1 at 2015-06-27 02:59:15 +0900
|
3739
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3740
|
+
Processing by PagesController#index as HTML
|
3741
|
+
Rendered pages/index.html.slim within layouts/application (8.7ms)
|
3742
|
+
Completed 200 OK in 176ms (Views: 175.7ms | ActiveRecord: 0.0ms)
|
3743
|
+
|
3744
|
+
|
3745
|
+
Started GET "/" for 127.0.0.1 at 2015-06-27 02:59:16 +0900
|
3746
|
+
Processing by PagesController#index as HTML
|
3747
|
+
Rendered pages/index.html.slim within layouts/application (0.0ms)
|
3748
|
+
Completed 200 OK in 10ms (Views: 10.2ms | ActiveRecord: 0.0ms)
|
3749
|
+
|
3750
|
+
|
3751
|
+
Started GET "/" for 127.0.0.1 at 2015-06-27 02:59:16 +0900
|
3752
|
+
Processing by PagesController#index as HTML
|
3753
|
+
Rendered pages/index.html.slim within layouts/application (0.0ms)
|
3754
|
+
Completed 200 OK in 12ms (Views: 11.7ms | ActiveRecord: 0.0ms)
|
3755
|
+
|
3756
|
+
|
3757
|
+
Started GET "/" for 127.0.0.1 at 2015-06-27 02:59:17 +0900
|
3758
|
+
Processing by PagesController#index as HTML
|
3759
|
+
Rendered pages/index.html.slim within layouts/application (0.1ms)
|
3760
|
+
Completed 200 OK in 12ms (Views: 11.6ms | ActiveRecord: 0.0ms)
|
3761
|
+
|
3762
|
+
|
3763
|
+
Started GET "/" for 127.0.0.1 at 2015-06-27 02:59:17 +0900
|
3764
|
+
Processing by PagesController#index as HTML
|
3765
|
+
Rendered pages/index.html.slim within layouts/application (0.0ms)
|
3766
|
+
Completed 200 OK in 11ms (Views: 10.4ms | ActiveRecord: 0.0ms)
|
3767
|
+
|
3768
|
+
|
3769
|
+
Started GET "/" for 127.0.0.1 at 2015-06-27 02:59:18 +0900
|
3770
|
+
Processing by PagesController#index as HTML
|
3771
|
+
Rendered pages/index.html.slim within layouts/application (0.0ms)
|
3772
|
+
Completed 200 OK in 13ms (Views: 13.0ms | ActiveRecord: 0.0ms)
|
3773
|
+
|
3774
|
+
|
3775
|
+
Started GET "/" for 127.0.0.1 at 2015-06-27 02:59:18 +0900
|
3776
|
+
Processing by PagesController#index as HTML
|
3777
|
+
Rendered pages/index.html.slim within layouts/application (0.1ms)
|
3778
|
+
Completed 200 OK in 11ms (Views: 10.8ms | ActiveRecord: 0.0ms)
|
3779
|
+
|
3780
|
+
|
3781
|
+
Started GET "/" for 127.0.0.1 at 2015-06-27 02:59:18 +0900
|
3782
|
+
Processing by PagesController#index as HTML
|
3783
|
+
Rendered pages/index.html.slim within layouts/application (0.0ms)
|
3784
|
+
Completed 200 OK in 12ms (Views: 12.2ms | ActiveRecord: 0.0ms)
|
3785
|
+
|
3786
|
+
|
3787
|
+
Started GET "/" for 127.0.0.1 at 2015-06-27 03:05:30 +0900
|
3788
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3789
|
+
Processing by PagesController#index as HTML
|
3790
|
+
Rendered pages/index.html.erb within layouts/application (0.9ms)
|
3791
|
+
Completed 500 Internal Server Error in 117ms
|
3792
|
+
|
3793
|
+
ActionView::Template::Error (couldn't find file 'jquery' with type 'application/javascript'):
|
3794
|
+
3: <head>
|
3795
|
+
4: <title>Dummy</title>
|
3796
|
+
5: <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
|
3797
|
+
6: <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
|
3798
|
+
7: <%= csrf_meta_tags %>
|
3799
|
+
8: </head>
|
3800
|
+
9: <body>
|
3801
|
+
app/assets/javascripts/application.js:13
|
3802
|
+
app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb___3247487760700748359_70267122845460'
|
3803
|
+
|
3804
|
+
|
3805
|
+
Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.2ms)
|
3806
|
+
Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.1ms)
|
3807
|
+
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 (15.5ms)
|
3808
|
+
Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/vendor/bundle/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (61.8ms)
|
3809
|
+
|
3810
|
+
|
3811
|
+
Started GET "/" for 127.0.0.1 at 2015-06-27 03:05:41 +0900
|
3812
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3813
|
+
Processing by PagesController#index as HTML
|
3814
|
+
Rendered pages/index.html.erb within layouts/application (0.9ms)
|
3815
|
+
Completed 200 OK in 316ms (Views: 316.3ms | ActiveRecord: 0.0ms)
|
3816
|
+
|
3817
|
+
|
3818
|
+
Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for 127.0.0.1 at 2015-06-27 03:05:42 +0900
|
3819
|
+
|
3820
|
+
|
3821
|
+
Started GET "/assets/jquery_ujs.self-ca5248a2fad13d6bd58ea121318d642f195f0b2dd818b30615f785ff365e8d1f.js?body=1" for 127.0.0.1 at 2015-06-27 03:05:42 +0900
|
3822
|
+
|
3823
|
+
|
3824
|
+
Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for 127.0.0.1 at 2015-06-27 03:05:42 +0900
|
3825
|
+
|
3826
|
+
|
3827
|
+
Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for 127.0.0.1 at 2015-06-27 03:05:42 +0900
|
3828
|
+
|
3829
|
+
|
3830
|
+
Started DELETE "/session" for 127.0.0.1 at 2015-06-27 03:05:43 +0900
|
3831
|
+
Processing by Nyauth::SessionsController#destroy as HTML
|
3832
|
+
Parameters: {"authenticity_token"=>"YFWEitzscZkTjxAqB9SUEHhUQa5dVcMLImbqGFeoV0rGnljKV1b7PsmoCdKLqyXOXWkf1f9BvhhM2ebfsO5SRA=="}
|
3833
|
+
Redirected to http://www.lvh.me:3000/session/new
|
3834
|
+
Completed 302 Found in 268ms (ActiveRecord: 0.0ms)
|
3835
|
+
|
3836
|
+
|
3837
|
+
Started GET "/session/new" for 127.0.0.1 at 2015-06-27 03:05:43 +0900
|
3838
|
+
Processing by Nyauth::SessionsController#new as HTML
|
3839
|
+
Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/app/views/nyauth/sessions/new.html.erb within layouts/application (14.4ms)
|
3840
|
+
Completed 200 OK in 36ms (Views: 35.5ms | ActiveRecord: 0.0ms)
|
3841
|
+
|
3842
|
+
|
3843
|
+
Started POST "/session" for 127.0.0.1 at 2015-06-27 03:05:45 +0900
|
3844
|
+
Processing by Nyauth::SessionsController#create as HTML
|
3845
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"MmEtSzr2JskUGCYG0NnGIF1DOzrcAGPkDPr+elK5/qMrDvFSPTUVPsDH+BUTyVR0tTIlxMyXgQ9mk38kdv9oSQ==", "session_service"=>{"email"=>"ppworks@example.com", "password"=>"[FILTERED]"}, "commit"=>"Sign in"}
|
3846
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" DESC LIMIT 1 [["email", "ppworks@example.com"]]
|
3847
|
+
Rendered /Users/koshikawa/repository/github.com/ppworks/nyauth/app/views/nyauth/sessions/new.html.erb within layouts/application (8.5ms)
|
3848
|
+
Completed 200 OK in 51ms (Views: 34.4ms | ActiveRecord: 0.4ms)
|
3849
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
|
3850
|
+
[1m[35mAdmin Load (0.1ms)[0m SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT 1
|