any_login 0.0.3 → 0.0.4
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.
- checksums.yaml +4 -4
- data/app/controllers/any_login/application_controller.rb +7 -0
- data/lib/any_login.rb +12 -0
- data/lib/any_login/version.rb +1 -1
- data/lib/generators/any_login/templates/any_login.rb +9 -0
- data/test/dummy/app/views/home/index.html.erb +2 -2
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +695 -0
- data/test/dummy/log/test.log +48 -0
- metadata +2 -3
- data/README.rdoc +0 -69
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7e0953f675f49ac03c6890dc9760a44c4cd36b7
|
4
|
+
data.tar.gz: d2fa9552453bab51fddb4d23722f95244cfc9f26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81a9ac72dd76359d63771d1d98adcb18eb2e5681eb49b9a792f3f0c242c488ba8113d599812fa84a9cca221fbe6cff06cc0a4628b5b2bccf4ebcc4c26c30faee
|
7
|
+
data.tar.gz: adcfb8d17c84693175bf7d4c0d5d7cd07cfc5accda5626c05418fce575f3356e3417e4bef9f2f304658a2b650596b5516e057648d9e1085c44e57b8349a98a80
|
@@ -2,6 +2,13 @@ module AnyLogin
|
|
2
2
|
class ApplicationController < ActionController::Base
|
3
3
|
|
4
4
|
if AnyLogin.enabled
|
5
|
+
|
6
|
+
if AnyLogin.http_basic_authentication_enabled
|
7
|
+
http_basic_authenticate_with :name => AnyLogin.http_basic_authentication_user_name,
|
8
|
+
:password => AnyLogin.http_basic_authentication_password
|
9
|
+
end
|
10
|
+
|
11
|
+
|
5
12
|
def any_login
|
6
13
|
AnyLogin.strategy::Controller.instance_method(:any_login_sign_in).bind(self).call
|
7
14
|
end
|
data/lib/any_login.rb
CHANGED
@@ -54,6 +54,18 @@ module AnyLogin
|
|
54
54
|
mattr_accessor :limit
|
55
55
|
@@limit = 10
|
56
56
|
|
57
|
+
# Enable http basic authentication
|
58
|
+
mattr_accessor :http_basic_authentication_enabled
|
59
|
+
@@http_basic_authentication_enabled = false
|
60
|
+
|
61
|
+
# Enable http basic authentication
|
62
|
+
mattr_accessor :http_basic_authentication_user_name
|
63
|
+
@@http_basic_authentication_user_name = 'any_login'
|
64
|
+
|
65
|
+
# Enable http basic authentication
|
66
|
+
mattr_accessor :http_basic_authentication_password
|
67
|
+
@@http_basic_authentication_password = 'password'
|
68
|
+
|
57
69
|
def self.setup
|
58
70
|
yield(self)
|
59
71
|
end
|
data/lib/any_login/version.rb
CHANGED
@@ -31,4 +31,13 @@ AnyLogin.setup do |config|
|
|
31
31
|
|
32
32
|
# # limit, integer or :none
|
33
33
|
# config.limit = 10
|
34
|
+
|
35
|
+
# # Enable http basic authentication
|
36
|
+
# config.http_basic_authentication_enabled = false
|
37
|
+
|
38
|
+
# # Enable http basic authentication
|
39
|
+
# config.http_basic_authentication_user_name = 'any_login'
|
40
|
+
|
41
|
+
# # Enable http basic authentication
|
42
|
+
# config.ttp_basic_authentication_password = 'password'
|
34
43
|
end
|
@@ -12,8 +12,8 @@
|
|
12
12
|
|
13
13
|
<!-- Main jumbotron for a primary marketing message or call to action -->
|
14
14
|
<div class="jumbotron">
|
15
|
-
<h1>
|
16
|
-
<p>
|
15
|
+
<h1>Any Login Gem Dummy App</h1>
|
16
|
+
<p>Sample of AnyLogin</p>
|
17
17
|
</div>
|
18
18
|
|
19
19
|
|
Binary file
|
@@ -7544,3 +7544,698 @@ Processing by HomeController#index as HTML
|
|
7544
7544
|
Rendered /Users/igorkasyanchuk/Projects/any_login/app/views/any_login/_any_login.html.erb (9.2ms)
|
7545
7545
|
Rendered shared/_footer.html.erb (13.3ms)
|
7546
7546
|
Completed 200 OK in 86ms (Views: 84.7ms | ActiveRecord: 0.2ms)
|
7547
|
+
|
7548
|
+
|
7549
|
+
Started GET "/" for ::1 at 2015-09-26 20:09:35 +0300
|
7550
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7551
|
+
Processing by HomeController#index as HTML
|
7552
|
+
[1m[35mUser Load (1.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 7]]
|
7553
|
+
Rendered home/index.html.erb within layouts/application (48.8ms)
|
7554
|
+
Rendered shared/_header.html.erb (0.7ms)
|
7555
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" LIMIT 10[0m
|
7556
|
+
Rendered /Users/igorkasyanchuk/Projects/any_login/app/views/any_login/_any_login.html.erb (9.8ms)
|
7557
|
+
Rendered shared/_footer.html.erb (14.5ms)
|
7558
|
+
Completed 200 OK in 368ms (Views: 364.8ms | ActiveRecord: 2.3ms)
|
7559
|
+
|
7560
|
+
|
7561
|
+
Started POST "/any_login/any_login/sign_in" for ::1 at 2015-09-26 20:09:40 +0300
|
7562
|
+
|
7563
|
+
AbstractController::ActionNotFound (The action 'any_login' could not be found for AnyLogin::ApplicationController):
|
7564
|
+
actionpack (4.2.4) lib/abstract_controller/base.rb:132:in `process'
|
7565
|
+
actionview (4.2.4) lib/action_view/rendering.rb:30:in `process'
|
7566
|
+
actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch'
|
7567
|
+
actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
7568
|
+
actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action'
|
7569
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call'
|
7570
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
|
7571
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve'
|
7572
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
7573
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
|
7574
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
|
7575
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
|
7576
|
+
railties (4.2.4) lib/rails/engine.rb:518:in `call'
|
7577
|
+
railties (4.2.4) lib/rails/railtie.rb:194:in `public_send'
|
7578
|
+
railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing'
|
7579
|
+
actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
7580
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
7581
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
|
7582
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
|
7583
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
|
7584
|
+
warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
|
7585
|
+
warden (1.2.3) lib/warden/manager.rb:34:in `catch'
|
7586
|
+
warden (1.2.3) lib/warden/manager.rb:34:in `call'
|
7587
|
+
rack (1.6.4) lib/rack/etag.rb:24:in `call'
|
7588
|
+
rack (1.6.4) lib/rack/conditionalget.rb:38:in `call'
|
7589
|
+
rack (1.6.4) lib/rack/head.rb:13:in `call'
|
7590
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
7591
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
7592
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
|
7593
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
|
7594
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
7595
|
+
activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call'
|
7596
|
+
activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
|
7597
|
+
activerecord (4.2.4) lib/active_record/migration.rb:377:in `call'
|
7598
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
7599
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
|
7600
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
|
7601
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
7602
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
7603
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
7604
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
7605
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
7606
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
7607
|
+
railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
|
7608
|
+
railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
|
7609
|
+
activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
7610
|
+
activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
7611
|
+
activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
|
7612
|
+
railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
|
7613
|
+
quiet_assets (1.1.0) lib/quiet_assets.rb:27:in `call_with_quiet_assets'
|
7614
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
7615
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
7616
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
7617
|
+
activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
7618
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
7619
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
|
7620
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
7621
|
+
railties (4.2.4) lib/rails/engine.rb:518:in `call'
|
7622
|
+
railties (4.2.4) lib/rails/application.rb:165:in `call'
|
7623
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
7624
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
7625
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
7626
|
+
/Users/igorkasyanchuk/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
|
7627
|
+
/Users/igorkasyanchuk/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
|
7628
|
+
/Users/igorkasyanchuk/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
|
7629
|
+
|
7630
|
+
|
7631
|
+
Rendered /Users/igorkasyanchuk/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb within rescues/layout (0.6ms)
|
7632
|
+
|
7633
|
+
|
7634
|
+
Started GET "/" for ::1 at 2015-09-26 20:09:57 +0300
|
7635
|
+
Processing by HomeController#index as HTML
|
7636
|
+
[1m[35mUser Load (0.8ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 7]]
|
7637
|
+
Rendered home/index.html.erb within layouts/application (15.5ms)
|
7638
|
+
Rendered shared/_header.html.erb (0.0ms)
|
7639
|
+
Rendered /Users/igorkasyanchuk/Projects/any_login/app/views/any_login/_any_login.html.erb (4.4ms)
|
7640
|
+
Rendered shared/_footer.html.erb (8.7ms)
|
7641
|
+
Completed 200 OK in 85ms (Views: 82.9ms | ActiveRecord: 1.5ms)
|
7642
|
+
|
7643
|
+
|
7644
|
+
Started POST "/any_login/any_login/sign_in" for ::1 at 2015-09-26 20:10:01 +0300
|
7645
|
+
|
7646
|
+
AbstractController::ActionNotFound (The action 'any_login' could not be found for AnyLogin::ApplicationController):
|
7647
|
+
actionpack (4.2.4) lib/abstract_controller/base.rb:132:in `process'
|
7648
|
+
actionview (4.2.4) lib/action_view/rendering.rb:30:in `process'
|
7649
|
+
actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch'
|
7650
|
+
actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
7651
|
+
actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action'
|
7652
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call'
|
7653
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
|
7654
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve'
|
7655
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
7656
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
|
7657
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
|
7658
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
|
7659
|
+
railties (4.2.4) lib/rails/engine.rb:518:in `call'
|
7660
|
+
railties (4.2.4) lib/rails/railtie.rb:194:in `public_send'
|
7661
|
+
railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing'
|
7662
|
+
actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
7663
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
7664
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
|
7665
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
|
7666
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
|
7667
|
+
warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
|
7668
|
+
warden (1.2.3) lib/warden/manager.rb:34:in `catch'
|
7669
|
+
warden (1.2.3) lib/warden/manager.rb:34:in `call'
|
7670
|
+
rack (1.6.4) lib/rack/etag.rb:24:in `call'
|
7671
|
+
rack (1.6.4) lib/rack/conditionalget.rb:38:in `call'
|
7672
|
+
rack (1.6.4) lib/rack/head.rb:13:in `call'
|
7673
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
7674
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
7675
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
|
7676
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
|
7677
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
7678
|
+
activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call'
|
7679
|
+
activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
|
7680
|
+
activerecord (4.2.4) lib/active_record/migration.rb:377:in `call'
|
7681
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
7682
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
|
7683
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
|
7684
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
7685
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
7686
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
7687
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
7688
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
7689
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
7690
|
+
railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
|
7691
|
+
railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
|
7692
|
+
activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
7693
|
+
activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
7694
|
+
activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
|
7695
|
+
railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
|
7696
|
+
quiet_assets (1.1.0) lib/quiet_assets.rb:27:in `call_with_quiet_assets'
|
7697
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
7698
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
7699
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
7700
|
+
activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
7701
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
7702
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
|
7703
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
7704
|
+
railties (4.2.4) lib/rails/engine.rb:518:in `call'
|
7705
|
+
railties (4.2.4) lib/rails/application.rb:165:in `call'
|
7706
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
7707
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
7708
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
7709
|
+
/Users/igorkasyanchuk/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
|
7710
|
+
/Users/igorkasyanchuk/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
|
7711
|
+
/Users/igorkasyanchuk/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
|
7712
|
+
|
7713
|
+
|
7714
|
+
Rendered /Users/igorkasyanchuk/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb within rescues/layout (0.9ms)
|
7715
|
+
|
7716
|
+
|
7717
|
+
Started POST "/any_login/any_login/sign_in" for ::1 at 2015-09-26 20:10:11 +0300
|
7718
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7719
|
+
|
7720
|
+
AbstractController::ActionNotFound (The action 'any_login' could not be found for AnyLogin::ApplicationController):
|
7721
|
+
actionpack (4.2.4) lib/abstract_controller/base.rb:132:in `process'
|
7722
|
+
actionview (4.2.4) lib/action_view/rendering.rb:30:in `process'
|
7723
|
+
actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch'
|
7724
|
+
actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
7725
|
+
actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action'
|
7726
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call'
|
7727
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
|
7728
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve'
|
7729
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
7730
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
|
7731
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
|
7732
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
|
7733
|
+
railties (4.2.4) lib/rails/engine.rb:518:in `call'
|
7734
|
+
railties (4.2.4) lib/rails/railtie.rb:194:in `public_send'
|
7735
|
+
railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing'
|
7736
|
+
actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
7737
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
7738
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
|
7739
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
|
7740
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
|
7741
|
+
warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
|
7742
|
+
warden (1.2.3) lib/warden/manager.rb:34:in `catch'
|
7743
|
+
warden (1.2.3) lib/warden/manager.rb:34:in `call'
|
7744
|
+
rack (1.6.4) lib/rack/etag.rb:24:in `call'
|
7745
|
+
rack (1.6.4) lib/rack/conditionalget.rb:38:in `call'
|
7746
|
+
rack (1.6.4) lib/rack/head.rb:13:in `call'
|
7747
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
7748
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
7749
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
|
7750
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
|
7751
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
7752
|
+
activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call'
|
7753
|
+
activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
|
7754
|
+
activerecord (4.2.4) lib/active_record/migration.rb:377:in `call'
|
7755
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
7756
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
|
7757
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
|
7758
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
7759
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
7760
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
7761
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
7762
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
7763
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
7764
|
+
railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
|
7765
|
+
railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
|
7766
|
+
activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
7767
|
+
activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
7768
|
+
activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
|
7769
|
+
railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
|
7770
|
+
quiet_assets (1.1.0) lib/quiet_assets.rb:27:in `call_with_quiet_assets'
|
7771
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
7772
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
7773
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
7774
|
+
activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
7775
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
7776
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
|
7777
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
7778
|
+
railties (4.2.4) lib/rails/engine.rb:518:in `call'
|
7779
|
+
railties (4.2.4) lib/rails/application.rb:165:in `call'
|
7780
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
7781
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
7782
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
7783
|
+
/Users/igorkasyanchuk/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
|
7784
|
+
/Users/igorkasyanchuk/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
|
7785
|
+
/Users/igorkasyanchuk/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
|
7786
|
+
|
7787
|
+
|
7788
|
+
Rendered /Users/igorkasyanchuk/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb within rescues/layout (3.1ms)
|
7789
|
+
|
7790
|
+
|
7791
|
+
Started GET "/" for ::1 at 2015-09-26 20:11:42 +0300
|
7792
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7793
|
+
Processing by HomeController#index as HTML
|
7794
|
+
[1m[35mUser Load (1.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 7]]
|
7795
|
+
Rendered home/index.html.erb within layouts/application (35.7ms)
|
7796
|
+
Rendered shared/_header.html.erb (0.4ms)
|
7797
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" LIMIT 10[0m
|
7798
|
+
Rendered /Users/igorkasyanchuk/Projects/any_login/app/views/any_login/_any_login.html.erb (8.6ms)
|
7799
|
+
Rendered shared/_footer.html.erb (13.5ms)
|
7800
|
+
Completed 200 OK in 315ms (Views: 312.3ms | ActiveRecord: 1.8ms)
|
7801
|
+
|
7802
|
+
|
7803
|
+
Started POST "/any_login/any_login/sign_in" for ::1 at 2015-09-26 20:11:45 +0300
|
7804
|
+
|
7805
|
+
AbstractController::ActionNotFound (The action 'any_login' could not be found for AnyLogin::ApplicationController):
|
7806
|
+
actionpack (4.2.4) lib/abstract_controller/base.rb:132:in `process'
|
7807
|
+
actionview (4.2.4) lib/action_view/rendering.rb:30:in `process'
|
7808
|
+
actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch'
|
7809
|
+
actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
7810
|
+
actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action'
|
7811
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call'
|
7812
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
|
7813
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve'
|
7814
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
7815
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
|
7816
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
|
7817
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
|
7818
|
+
railties (4.2.4) lib/rails/engine.rb:518:in `call'
|
7819
|
+
railties (4.2.4) lib/rails/railtie.rb:194:in `public_send'
|
7820
|
+
railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing'
|
7821
|
+
actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
7822
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
7823
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
|
7824
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
|
7825
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
|
7826
|
+
warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
|
7827
|
+
warden (1.2.3) lib/warden/manager.rb:34:in `catch'
|
7828
|
+
warden (1.2.3) lib/warden/manager.rb:34:in `call'
|
7829
|
+
rack (1.6.4) lib/rack/etag.rb:24:in `call'
|
7830
|
+
rack (1.6.4) lib/rack/conditionalget.rb:38:in `call'
|
7831
|
+
rack (1.6.4) lib/rack/head.rb:13:in `call'
|
7832
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
7833
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
7834
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
|
7835
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
|
7836
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
7837
|
+
activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call'
|
7838
|
+
activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
|
7839
|
+
activerecord (4.2.4) lib/active_record/migration.rb:377:in `call'
|
7840
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
7841
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
|
7842
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
|
7843
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
7844
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
7845
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
7846
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
7847
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
7848
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
7849
|
+
railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
|
7850
|
+
railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
|
7851
|
+
activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
7852
|
+
activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
7853
|
+
activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
|
7854
|
+
railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
|
7855
|
+
quiet_assets (1.1.0) lib/quiet_assets.rb:27:in `call_with_quiet_assets'
|
7856
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
7857
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
7858
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
7859
|
+
activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
7860
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
7861
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
|
7862
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
7863
|
+
railties (4.2.4) lib/rails/engine.rb:518:in `call'
|
7864
|
+
railties (4.2.4) lib/rails/application.rb:165:in `call'
|
7865
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
7866
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
7867
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
7868
|
+
/Users/igorkasyanchuk/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
|
7869
|
+
/Users/igorkasyanchuk/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
|
7870
|
+
/Users/igorkasyanchuk/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
|
7871
|
+
|
7872
|
+
|
7873
|
+
Rendered /Users/igorkasyanchuk/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb within rescues/layout (0.6ms)
|
7874
|
+
|
7875
|
+
|
7876
|
+
Started GET "/" for ::1 at 2015-09-26 20:12:14 +0300
|
7877
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7878
|
+
Processing by HomeController#index as HTML
|
7879
|
+
[1m[35mUser Load (0.9ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 7]]
|
7880
|
+
Rendered home/index.html.erb within layouts/application (42.2ms)
|
7881
|
+
Rendered shared/_header.html.erb (0.5ms)
|
7882
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" LIMIT 10[0m
|
7883
|
+
Rendered /Users/igorkasyanchuk/Projects/any_login/app/views/any_login/_any_login.html.erb (8.6ms)
|
7884
|
+
Rendered shared/_footer.html.erb (13.6ms)
|
7885
|
+
Completed 200 OK in 316ms (Views: 313.5ms | ActiveRecord: 2.0ms)
|
7886
|
+
|
7887
|
+
|
7888
|
+
Started POST "/any_login/any_login/sign_in" for ::1 at 2015-09-26 20:12:19 +0300
|
7889
|
+
Processing by AnyLogin::ApplicationController#any_login as HTML
|
7890
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"ji4e1w9f/dNtwqJFg1cDHYuFluK+wKlRPTsOcfPN1oI3diGGVZ2KL0wldHs7PLuZPnig6htrbLQ5doiNEKAClg==", "selected_id"=>"10", "id"=>""}
|
7891
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 10]]
|
7892
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["id", 7]]
|
7893
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7894
|
+
[1m[36mSQL (1.6ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["last_sign_in_at", "2015-09-26 17:12:19.045010"], ["current_sign_in_at", "2015-09-26 17:12:19.045010"], ["last_sign_in_ip", "::1"], ["current_sign_in_ip", "::1"], ["sign_in_count", 1], ["updated_at", "2015-09-26 17:12:19.046357"], ["id", 10]]
|
7895
|
+
[1m[35m (1.3ms)[0m commit transaction
|
7896
|
+
Redirected to http://localhost:3000/
|
7897
|
+
Completed 302 Found in 15ms (ActiveRecord: 3.3ms)
|
7898
|
+
|
7899
|
+
|
7900
|
+
Started GET "/" for ::1 at 2015-09-26 20:12:19 +0300
|
7901
|
+
Processing by HomeController#index as HTML
|
7902
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["id", 10]]
|
7903
|
+
Rendered home/index.html.erb within layouts/application (2.1ms)
|
7904
|
+
Rendered shared/_header.html.erb (0.1ms)
|
7905
|
+
Rendered /Users/igorkasyanchuk/Projects/any_login/app/views/any_login/_any_login.html.erb (4.2ms)
|
7906
|
+
Rendered shared/_footer.html.erb (9.7ms)
|
7907
|
+
Completed 200 OK in 80ms (Views: 79.2ms | ActiveRecord: 0.2ms)
|
7908
|
+
|
7909
|
+
|
7910
|
+
Started GET "/" for ::1 at 2015-09-26 20:13:26 +0300
|
7911
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7912
|
+
Processing by HomeController#index as HTML
|
7913
|
+
[1m[35mUser Load (0.7ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 10]]
|
7914
|
+
Rendered home/index.html.erb within layouts/application (37.2ms)
|
7915
|
+
Rendered shared/_header.html.erb (0.5ms)
|
7916
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" LIMIT 10[0m
|
7917
|
+
Rendered /Users/igorkasyanchuk/Projects/any_login/app/views/any_login/_any_login.html.erb (8.9ms)
|
7918
|
+
Rendered shared/_footer.html.erb (14.0ms)
|
7919
|
+
Completed 200 OK in 310ms (Views: 307.8ms | ActiveRecord: 1.5ms)
|
7920
|
+
|
7921
|
+
|
7922
|
+
Started POST "/any_login/any_login/sign_in" for ::1 at 2015-09-26 20:13:29 +0300
|
7923
|
+
|
7924
|
+
AbstractController::ActionNotFound (The action 'any_login' could not be found for AnyLogin::ApplicationController):
|
7925
|
+
actionpack (4.2.4) lib/abstract_controller/base.rb:132:in `process'
|
7926
|
+
actionview (4.2.4) lib/action_view/rendering.rb:30:in `process'
|
7927
|
+
actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch'
|
7928
|
+
actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
7929
|
+
actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action'
|
7930
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call'
|
7931
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
|
7932
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve'
|
7933
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
7934
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
|
7935
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
|
7936
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
|
7937
|
+
railties (4.2.4) lib/rails/engine.rb:518:in `call'
|
7938
|
+
railties (4.2.4) lib/rails/railtie.rb:194:in `public_send'
|
7939
|
+
railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing'
|
7940
|
+
actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
7941
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
7942
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
|
7943
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
|
7944
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
|
7945
|
+
warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
|
7946
|
+
warden (1.2.3) lib/warden/manager.rb:34:in `catch'
|
7947
|
+
warden (1.2.3) lib/warden/manager.rb:34:in `call'
|
7948
|
+
rack (1.6.4) lib/rack/etag.rb:24:in `call'
|
7949
|
+
rack (1.6.4) lib/rack/conditionalget.rb:38:in `call'
|
7950
|
+
rack (1.6.4) lib/rack/head.rb:13:in `call'
|
7951
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
7952
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
7953
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
|
7954
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
|
7955
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
7956
|
+
activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call'
|
7957
|
+
activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
|
7958
|
+
activerecord (4.2.4) lib/active_record/migration.rb:377:in `call'
|
7959
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
7960
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
|
7961
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
|
7962
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
7963
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
7964
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
7965
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
7966
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
7967
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
7968
|
+
railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
|
7969
|
+
railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
|
7970
|
+
activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
7971
|
+
activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
7972
|
+
activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
|
7973
|
+
railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
|
7974
|
+
quiet_assets (1.1.0) lib/quiet_assets.rb:27:in `call_with_quiet_assets'
|
7975
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
7976
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
7977
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
7978
|
+
activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
7979
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
7980
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
|
7981
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
7982
|
+
railties (4.2.4) lib/rails/engine.rb:518:in `call'
|
7983
|
+
railties (4.2.4) lib/rails/application.rb:165:in `call'
|
7984
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
7985
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
7986
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
7987
|
+
/Users/igorkasyanchuk/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
|
7988
|
+
/Users/igorkasyanchuk/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
|
7989
|
+
/Users/igorkasyanchuk/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
|
7990
|
+
|
7991
|
+
|
7992
|
+
Rendered /Users/igorkasyanchuk/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb within rescues/layout (0.4ms)
|
7993
|
+
|
7994
|
+
|
7995
|
+
Started GET "/" for ::1 at 2015-09-26 20:15:20 +0300
|
7996
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7997
|
+
Processing by HomeController#index as HTML
|
7998
|
+
[1m[35mUser Load (0.7ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 10]]
|
7999
|
+
Rendered home/index.html.erb within layouts/application (35.1ms)
|
8000
|
+
Rendered shared/_header.html.erb (0.7ms)
|
8001
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" LIMIT 10[0m
|
8002
|
+
Rendered /Users/igorkasyanchuk/Projects/any_login/app/views/any_login/_any_login.html.erb (8.8ms)
|
8003
|
+
Rendered shared/_footer.html.erb (15.6ms)
|
8004
|
+
Completed 200 OK in 322ms (Views: 320.3ms | ActiveRecord: 1.5ms)
|
8005
|
+
|
8006
|
+
|
8007
|
+
Started POST "/any_login/any_login/sign_in" for ::1 at 2015-09-26 20:15:24 +0300
|
8008
|
+
Processing by AnyLogin::ApplicationController#any_login as HTML
|
8009
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"bSKKANjpSWbvsTSRsxJqS4tVvK5kMtql8LNpNGXHEHzUerVRgis+ms5W4q8LedLPPqiKpsGZH0D0/u/IhqrEaA==", "selected_id"=>"4", "id"=>""}
|
8010
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]
|
8011
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["id", 10]]
|
8012
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8013
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["last_sign_in_at", "2015-09-26 17:15:24.309074"], ["current_sign_in_at", "2015-09-26 17:15:24.309074"], ["last_sign_in_ip", "::1"], ["current_sign_in_ip", "::1"], ["sign_in_count", 1], ["updated_at", "2015-09-26 17:15:24.310229"], ["id", 4]]
|
8014
|
+
[1m[35m (1.0ms)[0m commit transaction
|
8015
|
+
Redirected to http://localhost:3000/
|
8016
|
+
Completed 302 Found in 14ms (ActiveRecord: 2.2ms)
|
8017
|
+
|
8018
|
+
|
8019
|
+
Started GET "/" for ::1 at 2015-09-26 20:15:24 +0300
|
8020
|
+
Processing by HomeController#index as HTML
|
8021
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["id", 4]]
|
8022
|
+
Rendered home/index.html.erb within layouts/application (1.7ms)
|
8023
|
+
Rendered shared/_header.html.erb (0.1ms)
|
8024
|
+
Rendered /Users/igorkasyanchuk/Projects/any_login/app/views/any_login/_any_login.html.erb (4.1ms)
|
8025
|
+
Rendered shared/_footer.html.erb (8.9ms)
|
8026
|
+
Completed 200 OK in 79ms (Views: 77.9ms | ActiveRecord: 0.3ms)
|
8027
|
+
|
8028
|
+
|
8029
|
+
Started GET "/" for ::1 at 2015-09-26 20:15:40 +0300
|
8030
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
8031
|
+
Processing by HomeController#index as HTML
|
8032
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 4]]
|
8033
|
+
Rendered home/index.html.erb within layouts/application (35.9ms)
|
8034
|
+
Rendered shared/_header.html.erb (0.4ms)
|
8035
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" LIMIT 10[0m
|
8036
|
+
Rendered /Users/igorkasyanchuk/Projects/any_login/app/views/any_login/_any_login.html.erb (8.3ms)
|
8037
|
+
Rendered shared/_footer.html.erb (14.1ms)
|
8038
|
+
Completed 200 OK in 321ms (Views: 319.4ms | ActiveRecord: 1.1ms)
|
8039
|
+
|
8040
|
+
|
8041
|
+
Started POST "/any_login/any_login/sign_in" for ::1 at 2015-09-26 20:15:43 +0300
|
8042
|
+
Processing by AnyLogin::ApplicationController#any_login as HTML
|
8043
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ufy67xKTYFWrKDleFDg/sZ+yzrb8+Cn7016pOlUHqNbopIW+SFEXqYrP72CsU4c1Kk/4vllT7B7XEy/Gtmp8wg==", "selected_id"=>"9", "id"=>""}
|
8044
|
+
Filter chain halted as #<Proc:0x007ffd03d13370@/Users/igorkasyanchuk/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.4/lib/action_controller/metal/http_authentication.rb:69> rendered or redirected
|
8045
|
+
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
|
8046
|
+
|
8047
|
+
|
8048
|
+
Started POST "/any_login/any_login/sign_in" for ::1 at 2015-09-26 20:15:58 +0300
|
8049
|
+
Processing by AnyLogin::ApplicationController#any_login as HTML
|
8050
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ufy67xKTYFWrKDleFDg/sZ+yzrb8+Cn7016pOlUHqNbopIW+SFEXqYrP72CsU4c1Kk/4vllT7B7XEy/Gtmp8wg==", "selected_id"=>"9", "id"=>""}
|
8051
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 9]]
|
8052
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["id", 4]]
|
8053
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8054
|
+
[1m[36mSQL (0.6ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["last_sign_in_at", "2015-09-26 17:15:58.421350"], ["current_sign_in_at", "2015-09-26 17:15:58.421350"], ["last_sign_in_ip", "::1"], ["current_sign_in_ip", "::1"], ["sign_in_count", 1], ["updated_at", "2015-09-26 17:15:58.423645"], ["id", 9]]
|
8055
|
+
[1m[35m (0.9ms)[0m commit transaction
|
8056
|
+
Redirected to http://localhost:3000/
|
8057
|
+
Completed 302 Found in 19ms (ActiveRecord: 2.1ms)
|
8058
|
+
|
8059
|
+
|
8060
|
+
Started GET "/" for ::1 at 2015-09-26 20:15:58 +0300
|
8061
|
+
Processing by HomeController#index as HTML
|
8062
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["id", 9]]
|
8063
|
+
Rendered home/index.html.erb within layouts/application (1.8ms)
|
8064
|
+
Rendered shared/_header.html.erb (0.1ms)
|
8065
|
+
Rendered /Users/igorkasyanchuk/Projects/any_login/app/views/any_login/_any_login.html.erb (6.2ms)
|
8066
|
+
Rendered shared/_footer.html.erb (9.8ms)
|
8067
|
+
Completed 200 OK in 77ms (Views: 76.8ms | ActiveRecord: 0.1ms)
|
8068
|
+
|
8069
|
+
|
8070
|
+
Started GET "/" for ::1 at 2015-09-26 20:15:59 +0300
|
8071
|
+
Processing by HomeController#index as HTML
|
8072
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 9]]
|
8073
|
+
Rendered home/index.html.erb within layouts/application (1.8ms)
|
8074
|
+
Rendered shared/_header.html.erb (0.0ms)
|
8075
|
+
Rendered /Users/igorkasyanchuk/Projects/any_login/app/views/any_login/_any_login.html.erb (3.8ms)
|
8076
|
+
Rendered shared/_footer.html.erb (7.2ms)
|
8077
|
+
Completed 200 OK in 70ms (Views: 69.6ms | ActiveRecord: 0.1ms)
|
8078
|
+
|
8079
|
+
|
8080
|
+
Started GET "/" for ::1 at 2015-09-26 20:16:01 +0300
|
8081
|
+
Processing by HomeController#index as HTML
|
8082
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["id", 9]]
|
8083
|
+
Rendered home/index.html.erb within layouts/application (1.5ms)
|
8084
|
+
Rendered shared/_header.html.erb (0.0ms)
|
8085
|
+
Rendered /Users/igorkasyanchuk/Projects/any_login/app/views/any_login/_any_login.html.erb (5.0ms)
|
8086
|
+
Rendered shared/_footer.html.erb (9.4ms)
|
8087
|
+
Completed 200 OK in 66ms (Views: 65.5ms | ActiveRecord: 0.1ms)
|
8088
|
+
|
8089
|
+
|
8090
|
+
Started POST "/any_login/any_login/sign_in" for ::1 at 2015-09-26 20:16:03 +0300
|
8091
|
+
Processing by AnyLogin::ApplicationController#any_login as HTML
|
8092
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"qyLuHUHK6kzFlXZxGCIvOBiDOoTnOJSJ6nurz5kMGK4SetFMGwidsORyoE+gSZe8rX4MjEKTUWzuNi0zemHMug==", "selected_id"=>"10", "id"=>""}
|
8093
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 10]]
|
8094
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["id", 9]]
|
8095
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8096
|
+
[1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["current_sign_in_at", "2015-09-26 17:16:03.801541"], ["sign_in_count", 2], ["updated_at", "2015-09-26 17:16:03.802970"], ["id", 10]]
|
8097
|
+
[1m[35m (3.0ms)[0m commit transaction
|
8098
|
+
Redirected to http://localhost:3000/
|
8099
|
+
Completed 302 Found in 12ms (ActiveRecord: 4.2ms)
|
8100
|
+
|
8101
|
+
|
8102
|
+
Started GET "/" for ::1 at 2015-09-26 20:16:03 +0300
|
8103
|
+
Processing by HomeController#index as HTML
|
8104
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["id", 10]]
|
8105
|
+
Rendered home/index.html.erb within layouts/application (2.3ms)
|
8106
|
+
Rendered shared/_header.html.erb (0.1ms)
|
8107
|
+
Rendered /Users/igorkasyanchuk/Projects/any_login/app/views/any_login/_any_login.html.erb (6.7ms)
|
8108
|
+
Rendered shared/_footer.html.erb (10.9ms)
|
8109
|
+
Completed 200 OK in 85ms (Views: 84.5ms | ActiveRecord: 0.2ms)
|
8110
|
+
|
8111
|
+
|
8112
|
+
Started GET "/" for ::1 at 2015-09-26 20:16:09 +0300
|
8113
|
+
Processing by HomeController#index as HTML
|
8114
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 10]]
|
8115
|
+
Rendered home/index.html.erb within layouts/application (15.9ms)
|
8116
|
+
Rendered shared/_header.html.erb (0.0ms)
|
8117
|
+
Rendered /Users/igorkasyanchuk/Projects/any_login/app/views/any_login/_any_login.html.erb (4.4ms)
|
8118
|
+
Rendered shared/_footer.html.erb (8.3ms)
|
8119
|
+
Completed 200 OK in 80ms (Views: 78.7ms | ActiveRecord: 1.0ms)
|
8120
|
+
|
8121
|
+
|
8122
|
+
Started GET "/" for ::1 at 2015-09-26 20:16:15 +0300
|
8123
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
8124
|
+
Processing by HomeController#index as HTML
|
8125
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 10]]
|
8126
|
+
Rendered home/index.html.erb within layouts/application (35.0ms)
|
8127
|
+
Rendered shared/_header.html.erb (0.4ms)
|
8128
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" LIMIT 10[0m
|
8129
|
+
Rendered /Users/igorkasyanchuk/Projects/any_login/app/views/any_login/_any_login.html.erb (7.9ms)
|
8130
|
+
Rendered shared/_footer.html.erb (13.5ms)
|
8131
|
+
Completed 200 OK in 303ms (Views: 300.8ms | ActiveRecord: 1.0ms)
|
8132
|
+
|
8133
|
+
|
8134
|
+
Started POST "/any_login/any_login/sign_in" for ::1 at 2015-09-26 20:16:19 +0300
|
8135
|
+
Processing by AnyLogin::ApplicationController#any_login as HTML
|
8136
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"vTJ22SyqMN9MRX7DZ8oBnTOm+OiKuM/g7ynES0X3oiIEakmIdmhHI22iqP3fobkZhlvO4C8TCgXrZEK3ppp2Ng==", "selected_id"=>"8", "id"=>""}
|
8137
|
+
Filter chain halted as #<Proc:0x007fa48acda7b8@/Users/igorkasyanchuk/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.4/lib/action_controller/metal/http_authentication.rb:69> rendered or redirected
|
8138
|
+
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
|
8139
|
+
|
8140
|
+
|
8141
|
+
Started POST "/any_login/any_login/sign_in" for ::1 at 2015-09-26 20:17:18 +0300
|
8142
|
+
Processing by AnyLogin::ApplicationController#any_login as HTML
|
8143
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"vTJ22SyqMN9MRX7DZ8oBnTOm+OiKuM/g7ynES0X3oiIEakmIdmhHI22iqP3fobkZhlvO4C8TCgXrZEK3ppp2Ng==", "selected_id"=>"8", "id"=>""}
|
8144
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 8]]
|
8145
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["id", 10]]
|
8146
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8147
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ?[0m [["last_sign_in_at", "2015-09-26 17:17:18.789076"], ["current_sign_in_at", "2015-09-26 17:17:18.789076"], ["last_sign_in_ip", "::1"], ["current_sign_in_ip", "::1"], ["sign_in_count", 1], ["updated_at", "2015-09-26 17:17:18.790347"], ["id", 8]]
|
8148
|
+
[1m[35m (0.8ms)[0m commit transaction
|
8149
|
+
Redirected to http://localhost:3000/
|
8150
|
+
Completed 302 Found in 12ms (ActiveRecord: 1.7ms)
|
8151
|
+
|
8152
|
+
|
8153
|
+
Started GET "/" for ::1 at 2015-09-26 20:17:18 +0300
|
8154
|
+
Processing by HomeController#index as HTML
|
8155
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["id", 8]]
|
8156
|
+
Rendered home/index.html.erb within layouts/application (1.8ms)
|
8157
|
+
Rendered shared/_header.html.erb (0.1ms)
|
8158
|
+
Rendered /Users/igorkasyanchuk/Projects/any_login/app/views/any_login/_any_login.html.erb (5.0ms)
|
8159
|
+
Rendered shared/_footer.html.erb (9.0ms)
|
8160
|
+
Completed 200 OK in 66ms (Views: 65.3ms | ActiveRecord: 0.2ms)
|
8161
|
+
|
8162
|
+
|
8163
|
+
Started GET "/" for ::1 at 2015-09-26 20:18:02 +0300
|
8164
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
8165
|
+
Processing by HomeController#index as HTML
|
8166
|
+
[1m[35mUser Load (0.9ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 8]]
|
8167
|
+
Rendered home/index.html.erb within layouts/application (34.6ms)
|
8168
|
+
Rendered shared/_header.html.erb (0.5ms)
|
8169
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" LIMIT 10[0m
|
8170
|
+
Rendered /Users/igorkasyanchuk/Projects/any_login/app/views/any_login/_any_login.html.erb (8.3ms)
|
8171
|
+
Rendered shared/_footer.html.erb (14.1ms)
|
8172
|
+
Completed 200 OK in 323ms (Views: 320.9ms | ActiveRecord: 1.7ms)
|
8173
|
+
|
8174
|
+
|
8175
|
+
Started GET "/users/sign_in" for ::1 at 2015-09-26 20:18:17 +0300
|
8176
|
+
Processing by Devise::SessionsController#new as HTML
|
8177
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 8]]
|
8178
|
+
Redirected to http://localhost:3000/
|
8179
|
+
Filter chain halted as :require_no_authentication rendered or redirected
|
8180
|
+
Completed 302 Found in 20ms (ActiveRecord: 0.2ms)
|
8181
|
+
|
8182
|
+
|
8183
|
+
Started GET "/" for ::1 at 2015-09-26 20:18:17 +0300
|
8184
|
+
Processing by HomeController#index as HTML
|
8185
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["id", 8]]
|
8186
|
+
Rendered home/index.html.erb within layouts/application (1.6ms)
|
8187
|
+
Rendered shared/_header.html.erb (0.1ms)
|
8188
|
+
Rendered /Users/igorkasyanchuk/Projects/any_login/app/views/any_login/_any_login.html.erb (4.7ms)
|
8189
|
+
Rendered shared/_footer.html.erb (9.9ms)
|
8190
|
+
Completed 200 OK in 66ms (Views: 65.8ms | ActiveRecord: 0.1ms)
|
8191
|
+
|
8192
|
+
|
8193
|
+
Started GET "/" for ::1 at 2015-09-26 20:18:35 +0300
|
8194
|
+
Processing by HomeController#index as HTML
|
8195
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 8]]
|
8196
|
+
Rendered home/index.html.erb within layouts/application (2.0ms)
|
8197
|
+
Rendered shared/_header.html.erb (0.0ms)
|
8198
|
+
Rendered /Users/igorkasyanchuk/Projects/any_login/app/views/any_login/_any_login.html.erb (4.4ms)
|
8199
|
+
Rendered shared/_footer.html.erb (8.2ms)
|
8200
|
+
Completed 200 OK in 82ms (Views: 81.1ms | ActiveRecord: 0.1ms)
|
8201
|
+
|
8202
|
+
|
8203
|
+
Started DELETE "/users/sign_out" for ::1 at 2015-09-26 20:18:41 +0300
|
8204
|
+
Processing by Devise::SessionsController#destroy as HTML
|
8205
|
+
Parameters: {"authenticity_token"=>"F6VmUS2ycvi0ryFKCWdzuEIzdk2nvfikYdXu4C7/jNCu/VkAd3AFBJVI93SxDMs8985ARQIWPUFlmGgczZJYxA=="}
|
8206
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["id", 8]]
|
8207
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8208
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
8209
|
+
Redirected to http://localhost:3000/
|
8210
|
+
Completed 302 Found in 16ms (ActiveRecord: 0.3ms)
|
8211
|
+
|
8212
|
+
|
8213
|
+
Started GET "/" for ::1 at 2015-09-26 20:18:41 +0300
|
8214
|
+
Processing by HomeController#index as HTML
|
8215
|
+
Rendered home/index.html.erb within layouts/application (8.7ms)
|
8216
|
+
Rendered shared/_header.html.erb (0.1ms)
|
8217
|
+
Rendered /Users/igorkasyanchuk/Projects/any_login/app/views/any_login/_any_login.html.erb (8.2ms)
|
8218
|
+
Rendered shared/_footer.html.erb (15.8ms)
|
8219
|
+
Completed 200 OK in 138ms (Views: 138.2ms | ActiveRecord: 0.0ms)
|
8220
|
+
|
8221
|
+
|
8222
|
+
Started GET "/about" for ::1 at 2015-09-26 20:18:42 +0300
|
8223
|
+
Processing by HomeController#about as HTML
|
8224
|
+
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
|
8225
|
+
|
8226
|
+
|
8227
|
+
Started GET "/users/sign_in" for ::1 at 2015-09-26 20:18:43 +0300
|
8228
|
+
Processing by Devise::SessionsController#new as HTML
|
8229
|
+
Rendered /Users/igorkasyanchuk/.rvm/gems/ruby-2.2.1/gems/devise-3.5.2/app/views/devise/shared/_links.html.erb (1.4ms)
|
8230
|
+
Rendered /Users/igorkasyanchuk/.rvm/gems/ruby-2.2.1/gems/devise-3.5.2/app/views/devise/sessions/new.html.erb within layouts/application (44.3ms)
|
8231
|
+
Rendered shared/_header.html.erb (0.1ms)
|
8232
|
+
Rendered /Users/igorkasyanchuk/Projects/any_login/app/views/any_login/_any_login.html.erb (5.0ms)
|
8233
|
+
Rendered shared/_footer.html.erb (8.1ms)
|
8234
|
+
Completed 200 OK in 117ms (Views: 112.3ms | ActiveRecord: 0.0ms)
|
8235
|
+
|
8236
|
+
|
8237
|
+
Started POST "/any_login/any_login/sign_in" for ::1 at 2015-09-26 20:18:47 +0300
|
8238
|
+
Processing by AnyLogin::ApplicationController#any_login as HTML
|
8239
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"Dj430sXCPqtvnCsPZyoXe+sx1ucDc+96QkfjzmVtoGZ1rOS6AjDEwl0rIvpl98GbVKAMmmWUvCWduDgKE42xTA==", "selected_id"=>"3", "id"=>""}
|
8240
|
+
Filter chain halted as #<Proc:0x007fe9fb947e28@/Users/igorkasyanchuk/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.4/lib/action_controller/metal/http_authentication.rb:69> rendered or redirected
|
8241
|
+
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
|
data/test/dummy/log/test.log
CHANGED
@@ -201,3 +201,51 @@ Processing by HomeController#index as HTML
|
|
201
201
|
Rendered shared/_footer.html.erb (1.0ms)
|
202
202
|
Completed 200 OK in 447ms (Views: 447.3ms | ActiveRecord: 0.0ms)
|
203
203
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
204
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
205
|
+
[1m[35m (0.1ms)[0m begin transaction
|
206
|
+
------------------------
|
207
|
+
AnyLoginTest: test_truth
|
208
|
+
------------------------
|
209
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
210
|
+
[1m[35m (0.1ms)[0m begin transaction
|
211
|
+
-----------------------------------------
|
212
|
+
HomeControllerTest: test_should_get_about
|
213
|
+
-----------------------------------------
|
214
|
+
Processing by HomeController#about as HTML
|
215
|
+
Completed 401 Unauthorized in 9ms (ActiveRecord: 0.0ms)
|
216
|
+
Rendered text template (0.0ms)
|
217
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
218
|
+
[1m[35m (0.1ms)[0m begin transaction
|
219
|
+
-----------------------------------------
|
220
|
+
HomeControllerTest: test_should_get_index
|
221
|
+
-----------------------------------------
|
222
|
+
Processing by HomeController#index as HTML
|
223
|
+
Rendered home/index.html.erb within layouts/application (3.2ms)
|
224
|
+
Rendered shared/_header.html.erb (0.5ms)
|
225
|
+
Rendered shared/_footer.html.erb (1.1ms)
|
226
|
+
Completed 200 OK in 208ms (Views: 207.9ms | ActiveRecord: 0.0ms)
|
227
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
228
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
229
|
+
[1m[35m (0.1ms)[0m begin transaction
|
230
|
+
-----------------------------------------
|
231
|
+
HomeControllerTest: test_should_get_about
|
232
|
+
-----------------------------------------
|
233
|
+
Processing by HomeController#about as HTML
|
234
|
+
Completed 401 Unauthorized in 8ms (ActiveRecord: 0.0ms)
|
235
|
+
Rendered text template (0.0ms)
|
236
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
237
|
+
[1m[35m (0.1ms)[0m begin transaction
|
238
|
+
-----------------------------------------
|
239
|
+
HomeControllerTest: test_should_get_index
|
240
|
+
-----------------------------------------
|
241
|
+
Processing by HomeController#index as HTML
|
242
|
+
Rendered home/index.html.erb within layouts/application (2.8ms)
|
243
|
+
Rendered shared/_header.html.erb (0.4ms)
|
244
|
+
Rendered shared/_footer.html.erb (0.9ms)
|
245
|
+
Completed 200 OK in 178ms (Views: 177.3ms | ActiveRecord: 0.0ms)
|
246
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
247
|
+
[1m[35m (0.1ms)[0m begin transaction
|
248
|
+
------------------------
|
249
|
+
AnyLoginTest: test_truth
|
250
|
+
------------------------
|
251
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: any_login
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Igor Kasyanchuk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -117,7 +117,6 @@ extensions: []
|
|
117
117
|
extra_rdoc_files: []
|
118
118
|
files:
|
119
119
|
- MIT-LICENSE
|
120
|
-
- README.rdoc
|
121
120
|
- Rakefile
|
122
121
|
- app/assets/images/any_login/person.png
|
123
122
|
- app/controllers/any_login/application_controller.rb
|
data/README.rdoc
DELETED
@@ -1,69 +0,0 @@
|
|
1
|
-
= AnyLogin Gem
|
2
|
-
{<img src="https://travis-ci.org/igorkasyanchuk/any_login.svg?branch=master" alt="Build Status" />}[https://travis-ci.org/igorkasyanchuk/any_login]
|
3
|
-
{<img src="https://codeclimate.com/github/igorkasyanchuk/any_login/badges/gpa.svg" />}[https://codeclimate.com/github/igorkasyanchuk/any_login]
|
4
|
-
{<img src="https://badge.fury.io/rb/any_login.svg" alt="Gem Version" />}[http://badge.fury.io/rb/any_login]
|
5
|
-
|
6
|
-
== Description
|
7
|
-
{<img src="https://i.ytimg.com/vi/978DlHvufSY/hqdefault.jpg" />}[https://youtu.be/978DlHvufSY]
|
8
|
-
|
9
|
-
AnyLogin is created to speedup development process and allow developer's quickly login as any user in DB.
|
10
|
-
|
11
|
-
Demo available on: https://any-login.herokuapp.com (source code for demo https://github.com/igorkasyanchuk/any_login_test)
|
12
|
-
|
13
|
-
Video demo: https://youtu.be/978DlHvufSY
|
14
|
-
|
15
|
-
== Requirements
|
16
|
-
Ruby: 1.9.3, 2.X, Rails: >= 4.0. Right now works only in pair with Devise gem.
|
17
|
-
|
18
|
-
== Installation
|
19
|
-
*1* - Add to your Gemfile:
|
20
|
-
gem 'any_login'
|
21
|
-
*2* - Execute in console:
|
22
|
-
bundle install
|
23
|
-
*3* - In application layout (for example app/views/layouts/application.html.erb) add in the bottom of the page:
|
24
|
-
<%= any_login_here %>
|
25
|
-
*4* - Open your app and on the bottom left corner you will see semi-transparent user icon. Click on it and now you can select any user to login without password.
|
26
|
-
|
27
|
-
== Customization
|
28
|
-
If you want to customize gem run in console:
|
29
|
-
rails g any_login initializer
|
30
|
-
If will create file config/initializers/any_login.rb.
|
31
|
-
|
32
|
-
=== Options
|
33
|
-
* enabled - enable of disable gem.
|
34
|
-
* klass_name - class name for "User" object. Default to `User`.
|
35
|
-
* collection_method - method which returns collection of users. Sample: `.all`, `.active`, `.admins`, `.groupped_users`. Value is a simple. Default to `:all`.
|
36
|
-
* name_method - default value is `proc { |e| [e.email, e.id] }`. You can change label for select in dropdown. For example you can add roles, permissions and any other important information.
|
37
|
-
* limit - limit number of records in dropdown. Default 10. You can put `:none` if you don't want to limit number of users for select.
|
38
|
-
* redirect_path_after_login - redirect user to path. Default is `:root_path`.
|
39
|
-
* login_on - you can enable login with select field, ID input or both. Default: `:both`.
|
40
|
-
* position - position of any_login box on page. Possible values: top_left, top_right, bottom_left, bottom_right. Default: bottom_left.
|
41
|
-
* login_button_label - login button label.
|
42
|
-
* select_prompt - select prompt message.
|
43
|
-
* auto_show - automatically show any_login box.
|
44
|
-
|
45
|
-
=== Advanced Options
|
46
|
-
|
47
|
-
If you want to add collection groupped for example by role you can do it with:
|
48
|
-
|
49
|
-
def self.groped_collection_by_role
|
50
|
-
{
|
51
|
-
'admin' => User.limit(10),
|
52
|
-
'moderator' => User.limit(10),
|
53
|
-
'user' => User.limit(10)
|
54
|
-
}
|
55
|
-
end
|
56
|
-
|
57
|
-
And in config/initializers/any_login.rb add `config.collection_method = :groped_collection_by_role`.
|
58
|
-
|
59
|
-
|
60
|
-
== Production
|
61
|
-
If you want to disable gem in production add following code in your config/environments/production.rb file.
|
62
|
-
AnyLogin.setup do |config|
|
63
|
-
config.enabled = false
|
64
|
-
end
|
65
|
-
|
66
|
-
|
67
|
-
== Future Plans
|
68
|
-
1. Add more tests.
|
69
|
-
2. Add support for more authentication gems like Devise.
|