any_login 1.5.3 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/any_login/application.css +3 -0
- data/app/controllers/any_login/application_controller.rb +1 -9
- data/app/views/any_login/_any_login.html.erb +4 -4
- data/app/views/any_login/assets/_css.html.erb +101 -0
- data/app/views/any_login/assets/_js.html.erb +25 -0
- data/config/routes.rb +0 -2
- data/lib/any_login/helpers.rb +3 -1
- data/lib/any_login/providers/devise.rb +1 -1
- data/lib/any_login/version.rb +1 -1
- data/test/rails_apps/authlogic/db/development.sqlite3 +0 -0
- data/test/rails_apps/authlogic/db/schema.rb +3 -5
- data/test/rails_apps/authlogic/db/test.sqlite3 +0 -0
- data/test/rails_apps/authlogic/log/development.log +331 -0
- data/test/rails_apps/authlogic/log/test.log +409 -0
- data/test/rails_apps/authlogic/tmp/local_secret.txt +1 -0
- data/test/rails_apps/clearance/config/environment.rb +1 -0
- data/test/rails_apps/clearance/db/development.sqlite3 +0 -0
- data/test/rails_apps/clearance/db/schema.rb +10 -12
- data/test/rails_apps/clearance/db/test.sqlite3 +0 -0
- data/test/rails_apps/clearance/log/development.log +25 -0
- data/test/rails_apps/clearance/log/test.log +744 -0
- data/test/rails_apps/clearance/tmp/local_secret.txt +1 -0
- data/test/rails_apps/devise/db/development.sqlite3 +0 -0
- data/test/rails_apps/devise/db/schema.rb +3 -5
- data/test/rails_apps/devise/db/test.sqlite3 +0 -0
- data/test/rails_apps/devise/log/development.log +598 -0
- data/test/rails_apps/devise/log/test.log +760 -0
- data/test/rails_apps/devise/tmp/local_secret.txt +1 -0
- data/test/rails_apps/sorcery/db/development.sqlite3 +0 -0
- data/test/rails_apps/sorcery/db/schema.rb +3 -5
- data/test/rails_apps/sorcery/db/test.sqlite3 +0 -0
- data/test/rails_apps/sorcery/log/development.log +24 -0
- data/test/rails_apps/sorcery/log/test.log +113 -0
- data/test/rails_apps/sorcery/tmp/local_secret.txt +1 -0
- data/test/test_helper_common.rb +2 -1
- metadata +76 -10
- data/app/assets/javascripts/any_login/application.js +0 -23
@@ -0,0 +1 @@
|
|
1
|
+
018b45206baf4e07b1f1da80c587fdf6dcdf11f97797f527cd9b948acffece79130012ebefb54bb9486ff04bc7af1899f1cd8962b1b4160e27c68c756e5466dd
|
Binary file
|
@@ -10,13 +10,12 @@
|
|
10
10
|
#
|
11
11
|
# It's strongly recommended that you check this file into your version control system.
|
12
12
|
|
13
|
-
ActiveRecord::Schema.define(version: 2022_08_27_040518) do
|
14
|
-
|
13
|
+
ActiveRecord::Schema[8.0].define(version: 2022_08_27_040518) do
|
15
14
|
create_table "users", force: :cascade do |t|
|
16
15
|
t.string "name"
|
17
16
|
t.integer "age"
|
18
|
-
t.datetime "created_at",
|
19
|
-
t.datetime "updated_at",
|
17
|
+
t.datetime "created_at", null: false
|
18
|
+
t.datetime "updated_at", null: false
|
20
19
|
t.string "email", default: "", null: false
|
21
20
|
t.string "encrypted_password", default: "", null: false
|
22
21
|
t.string "reset_password_token"
|
@@ -33,5 +32,4 @@ ActiveRecord::Schema.define(version: 2022_08_27_040518) do
|
|
33
32
|
t.index ["email"], name: "index_users_on_email", unique: true
|
34
33
|
t.index ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
|
35
34
|
end
|
36
|
-
|
37
35
|
end
|
Binary file
|
@@ -0,0 +1,24 @@
|
|
1
|
+
[1m[35m (0.0ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
2
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar, "crypted_password" varchar, "salt" varchar)[0m
|
3
|
+
[1m[35m (0.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
4
|
+
[1m[35m (0.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
5
|
+
[1m[35m (0.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
6
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
7
|
+
[1m[35m (0.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220827040518)[0m
|
8
|
+
[1m[35m (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
9
|
+
(20151019154558),
|
10
|
+
(20150909210357),
|
11
|
+
(20150907190846),
|
12
|
+
(20150907190739);[0m
|
13
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
14
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.0ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "environment"]]
|
15
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.0ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ('environment', 'development', '2025-05-28 19:12:34.854533', '2025-05-28 19:12:34.854534') RETURNING "key"[0m
|
16
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.0ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "environment"]]
|
17
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.0ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "schema_sha1"]]
|
18
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.0ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ('schema_sha1', 'b8af5e601d2e1cb8e066f3b2644254b31481ca71', '2025-05-28 19:12:34.855252', '2025-05-28 19:12:34.855253') RETURNING "key"[0m
|
19
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.0ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "environment"]]
|
20
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
21
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
22
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.6ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "environment"]]
|
23
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
24
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
@@ -0,0 +1,113 @@
|
|
1
|
+
[1m[35m (0.0ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
2
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "age" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime(6), "remember_created_at" datetime(6), "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime(6), "last_sign_in_at" datetime(6), "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "role" varchar, "crypted_password" varchar, "salt" varchar)[0m
|
3
|
+
[1m[35m (0.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
4
|
+
[1m[35m (0.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
5
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
6
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
7
|
+
[1m[35m (0.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20220827040518)[0m
|
8
|
+
[1m[35m (0.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
9
|
+
(20151019154558),
|
10
|
+
(20150909210357),
|
11
|
+
(20150907190846),
|
12
|
+
(20150907190739);[0m
|
13
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
14
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.0ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "environment"]]
|
15
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.0ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ('environment', 'test', '2025-05-28 19:12:35.969323', '2025-05-28 19:12:35.969323') RETURNING "key"[0m
|
16
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.0ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "environment"]]
|
17
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.0ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "schema_sha1"]]
|
18
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.0ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ('schema_sha1', '2af59f53ed6b24f3ea91b686e5dee45a7acb3d46', '2025-05-28 19:12:35.969607', '2025-05-28 19:12:35.969607') RETURNING "key"[0m
|
19
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.0ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "environment"]]
|
20
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
21
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
22
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "schema_sha1"]]
|
23
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
24
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
|
25
|
+
---------------------------------------------------------------------
|
26
|
+
NavigationTest: test_user_cannot_navigate_to_about_page_without_login
|
27
|
+
---------------------------------------------------------------------
|
28
|
+
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
29
|
+
[1m[36mUser Create (2.4ms)[0m [1m[32mINSERT INTO "users" ("name", "age", "created_at", "updated_at", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "role", "crypted_password", "salt") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["name", "test"], ["age", nil], ["created_at", "2025-05-28 19:23:39.624668"], ["updated_at", "2025-05-28 19:23:39.624668"], ["email", "test@test.com"], ["encrypted_password", ""], ["reset_password_token", nil], ["reset_password_sent_at", nil], ["remember_created_at", nil], ["sign_in_count", 0], ["current_sign_in_at", nil], ["last_sign_in_at", nil], ["current_sign_in_ip", nil], ["last_sign_in_ip", nil], ["role", "user"], ["crypted_password", "$2a$10$fYZwXe7uC/L0nDLDaLMgGu8tda/RG29oFM.OotSHT41Oe111ARg7a"], ["salt", "piJpMxTvSvFm2N1U1Fhs"]]
|
30
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
31
|
+
Started GET "/about" for 127.0.0.1 at 2025-05-28 22:23:40 +0300
|
32
|
+
Processing by HomeController#about as HTML
|
33
|
+
Redirected to http://127.0.0.1:63082/
|
34
|
+
Filter chain halted as :require_login rendered or redirected
|
35
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
|
36
|
+
Started GET "/" for 127.0.0.1 at 2025-05-28 22:23:40 +0300
|
37
|
+
Processing by HomeController#index as HTML
|
38
|
+
Rendering layout layouts/application.html.erb
|
39
|
+
Rendering home/index.html.erb within layouts/application
|
40
|
+
Rendered home/index.html.erb within layouts/application (Duration: 1.0ms | GC: 0.0ms)
|
41
|
+
Rendered shared/_header.html.erb (Duration: 0.1ms | GC: 0.0ms)
|
42
|
+
Rendered /Users/igor/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 0.1ms | GC: 0.0ms)
|
43
|
+
Rendered /Users/igor/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 0.1ms | GC: 0.0ms)
|
44
|
+
Rendered /Users/igor/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.1ms | GC: 0.0ms)
|
45
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
46
|
+
Rendered /Users/igor/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 6.1ms | GC: 0.0ms)
|
47
|
+
Rendered shared/_footer.html.erb (Duration: 6.5ms | GC: 0.0ms)
|
48
|
+
Rendered layout layouts/application.html.erb (Duration: 8.3ms | GC: 0.0ms)
|
49
|
+
Completed 200 OK in 18ms (Views: 9.8ms | ActiveRecord: 0.3ms (1 query, 0 cached) | GC: 0.0ms)
|
50
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TRANSACTION[0m
|
51
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mBEGIN deferred TRANSACTION[0m
|
52
|
+
-----------------------------------------------------------------------------------
|
53
|
+
NavigationTest: test_it_properly_logs_users_in_and_allows_access_to_the_secret_page
|
54
|
+
-----------------------------------------------------------------------------------
|
55
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
56
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "age", "created_at", "updated_at", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "role", "crypted_password", "salt") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["name", "test"], ["age", nil], ["created_at", "2025-05-28 19:23:40.735486"], ["updated_at", "2025-05-28 19:23:40.735486"], ["email", "test@test.com"], ["encrypted_password", ""], ["reset_password_token", nil], ["reset_password_sent_at", nil], ["remember_created_at", nil], ["sign_in_count", 0], ["current_sign_in_at", nil], ["last_sign_in_at", nil], ["current_sign_in_ip", nil], ["last_sign_in_ip", nil], ["role", "user"], ["crypted_password", "$2a$10$5D7npTBenDVXqg8/PeuBbe0ryo.YrvjlVGN.PojrX7o7wGP/wBjOW"], ["salt", "pM99_94KAtJx1dqxowtj"]]
|
57
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
58
|
+
Started GET "/" for 127.0.0.1 at 2025-05-28 22:23:40 +0300
|
59
|
+
Processing by HomeController#index as HTML
|
60
|
+
Rendering layout layouts/application.html.erb
|
61
|
+
Rendering home/index.html.erb within layouts/application
|
62
|
+
Rendered home/index.html.erb within layouts/application (Duration: 0.1ms | GC: 0.0ms)
|
63
|
+
Rendered shared/_header.html.erb (Duration: 0.0ms | GC: 0.0ms)
|
64
|
+
Rendered /Users/igor/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 0.0ms | GC: 0.0ms)
|
65
|
+
Rendered /Users/igor/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 0.0ms | GC: 0.0ms)
|
66
|
+
Rendered /Users/igor/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.0ms | GC: 0.0ms)
|
67
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
68
|
+
Rendered /Users/igor/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 0.6ms | GC: 0.0ms)
|
69
|
+
Rendered shared/_footer.html.erb (Duration: 0.7ms | GC: 0.0ms)
|
70
|
+
Rendered layout layouts/application.html.erb (Duration: 1.3ms | GC: 0.0ms)
|
71
|
+
Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms (1 query, 0 cached) | GC: 0.0ms)
|
72
|
+
Started POST "/any_login/any_login/sign_in" for 127.0.0.1 at 2025-05-28 22:23:40 +0300
|
73
|
+
Processing by AnyLogin::ApplicationController#any_login as HTML
|
74
|
+
Parameters: {"selected_id" => "1", "id" => ""}
|
75
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
76
|
+
Redirected to http://127.0.0.1:63082/
|
77
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms (1 query, 0 cached) | GC: 0.0ms)
|
78
|
+
Started GET "/" for 127.0.0.1 at 2025-05-28 22:23:40 +0300
|
79
|
+
Processing by HomeController#index as HTML
|
80
|
+
Rendering layout layouts/application.html.erb
|
81
|
+
Rendering home/index.html.erb within layouts/application
|
82
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
83
|
+
Rendered home/index.html.erb within layouts/application (Duration: 0.4ms | GC: 0.0ms)
|
84
|
+
Rendered shared/_header.html.erb (Duration: 0.0ms | GC: 0.0ms)
|
85
|
+
Rendered /Users/igor/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 0.0ms | GC: 0.0ms)
|
86
|
+
Rendered /Users/igor/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 0.0ms | GC: 0.0ms)
|
87
|
+
Rendered /Users/igor/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.0ms | GC: 0.0ms)
|
88
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
89
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
90
|
+
Rendered /Users/igor/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 0.7ms | GC: 0.0ms)
|
91
|
+
Rendered shared/_footer.html.erb (Duration: 0.8ms | GC: 0.0ms)
|
92
|
+
Rendered layout layouts/application.html.erb (Duration: 1.3ms | GC: 0.0ms)
|
93
|
+
Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms (3 queries, 0 cached) | GC: 0.4ms)
|
94
|
+
Started GET "/about" for 127.0.0.1 at 2025-05-28 22:23:40 +0300
|
95
|
+
Processing by HomeController#about as HTML
|
96
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
97
|
+
Rendering layout layouts/application.html.erb
|
98
|
+
Rendering home/about.html.erb within layouts/application
|
99
|
+
Rendered home/about.html.erb within layouts/application (Duration: 0.1ms | GC: 0.0ms)
|
100
|
+
Rendered shared/_header.html.erb (Duration: 0.0ms | GC: 0.0ms)
|
101
|
+
Rendered /Users/igor/projects/any_login/app/views/any_login/assets/_js.html.erb (Duration: 0.0ms | GC: 0.0ms)
|
102
|
+
Rendered /Users/igor/projects/any_login/app/views/any_login/assets/_css.html.erb (Duration: 0.0ms | GC: 0.0ms)
|
103
|
+
Rendered /Users/igor/projects/any_login/app/views/any_login/svg/_user.html.erb (Duration: 0.0ms | GC: 0.0ms)
|
104
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" LIMIT ?[0m [["LIMIT", 10]]
|
105
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
106
|
+
Rendered /Users/igor/projects/any_login/app/views/any_login/_any_login.html.erb (Duration: 1.0ms | GC: 0.0ms)
|
107
|
+
Rendered shared/_footer.html.erb (Duration: 1.1ms | GC: 0.0ms)
|
108
|
+
Rendered layout layouts/application.html.erb (Duration: 1.4ms | GC: 0.0ms)
|
109
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms (3 queries, 0 cached) | GC: 0.0ms)
|
110
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TRANSACTION[0m
|
111
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.0ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "environment"]]
|
112
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
113
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
@@ -0,0 +1 @@
|
|
1
|
+
ea5f37ac8453dc17042c28d1f50dab95d062113b81c425b3d8105dfe771f4bd607cb68561802bd05ecd7f721a16d813900f23449ad2ad2c468f464dfe2cd9765
|
data/test/test_helper_common.rb
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
require "rails/test_help"
|
2
2
|
require 'capybara/rails'
|
3
3
|
require 'capybara/minitest'
|
4
|
-
require 'webdrivers/chromedriver'
|
5
4
|
|
6
5
|
Rails.backtrace_cleaner.remove_silencers!
|
7
6
|
|
@@ -10,6 +9,8 @@ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
|
10
9
|
|
11
10
|
Capybara.default_driver = :selenium_chrome_headless
|
12
11
|
Capybara.server = :webrick
|
12
|
+
Dir.mkdir('log') unless File.exist?('log')
|
13
|
+
Selenium::WebDriver.logger.output = 'log/selenium.log'
|
13
14
|
|
14
15
|
class ActionDispatch::IntegrationTest
|
15
16
|
# Make the Capybara DSL available in all integration tests
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: any_login
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Igor Kasyanchuk
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-05-28 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: rails
|
@@ -16,14 +15,14 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: '6.
|
18
|
+
version: '6.1'
|
20
19
|
type: :runtime
|
21
20
|
prerelease: false
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
23
22
|
requirements:
|
24
23
|
- - ">="
|
25
24
|
- !ruby/object:Gem::Version
|
26
|
-
version: '6.
|
25
|
+
version: '6.1'
|
27
26
|
- !ruby/object:Gem::Dependency
|
28
27
|
name: appraisal
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,6 +37,34 @@ dependencies:
|
|
38
37
|
- - ">="
|
39
38
|
- !ruby/object:Gem::Version
|
40
39
|
version: '0'
|
40
|
+
- !ruby/object:Gem::Dependency
|
41
|
+
name: multi_xml
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - '='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 0.6.0
|
47
|
+
type: :development
|
48
|
+
prerelease: false
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - '='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 0.6.0
|
54
|
+
- !ruby/object:Gem::Dependency
|
55
|
+
name: sqlite3
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 2.6.0
|
61
|
+
type: :development
|
62
|
+
prerelease: false
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: 2.6.0
|
41
68
|
description: Simply add this gem to your application and make your life easier with
|
42
69
|
switching users.
|
43
70
|
email:
|
@@ -48,10 +75,11 @@ extra_rdoc_files: []
|
|
48
75
|
files:
|
49
76
|
- MIT-LICENSE
|
50
77
|
- Rakefile
|
51
|
-
- app/assets/javascripts/any_login/application.js
|
52
78
|
- app/assets/stylesheets/any_login/application.css
|
53
79
|
- app/controllers/any_login/application_controller.rb
|
54
80
|
- app/views/any_login/_any_login.html.erb
|
81
|
+
- app/views/any_login/assets/_css.html.erb
|
82
|
+
- app/views/any_login/assets/_js.html.erb
|
55
83
|
- app/views/any_login/svg/_user.html.erb
|
56
84
|
- config/routes.rb
|
57
85
|
- lib/any_login.rb
|
@@ -107,15 +135,20 @@ files:
|
|
107
135
|
- test/rails_apps/authlogic/config/locales/en.yml
|
108
136
|
- test/rails_apps/authlogic/config/routes.rb
|
109
137
|
- test/rails_apps/authlogic/config/storage.yml
|
138
|
+
- test/rails_apps/authlogic/db/development.sqlite3
|
110
139
|
- test/rails_apps/authlogic/db/migrate/20150907190739_create_users.rb
|
111
140
|
- test/rails_apps/authlogic/db/migrate/20150907190846_add_devise_to_users.rb
|
112
141
|
- test/rails_apps/authlogic/db/migrate/20150928123254_change_users.rb
|
113
142
|
- test/rails_apps/authlogic/db/migrate/20220825195914_populate_test_users.rb
|
114
143
|
- test/rails_apps/authlogic/db/schema.rb
|
144
|
+
- test/rails_apps/authlogic/db/test.sqlite3
|
145
|
+
- test/rails_apps/authlogic/log/development.log
|
146
|
+
- test/rails_apps/authlogic/log/test.log
|
115
147
|
- test/rails_apps/authlogic/public/404.html
|
116
148
|
- test/rails_apps/authlogic/public/422.html
|
117
149
|
- test/rails_apps/authlogic/public/500.html
|
118
150
|
- test/rails_apps/authlogic/public/favicon.ico
|
151
|
+
- test/rails_apps/authlogic/tmp/local_secret.txt
|
119
152
|
- test/rails_apps/clearance/Rakefile
|
120
153
|
- test/rails_apps/clearance/app/assets/config/manifest.js
|
121
154
|
- test/rails_apps/clearance/app/controllers/application_controller.rb
|
@@ -146,16 +179,21 @@ files:
|
|
146
179
|
- test/rails_apps/clearance/config/locales/en.yml
|
147
180
|
- test/rails_apps/clearance/config/routes.rb
|
148
181
|
- test/rails_apps/clearance/config/storage.yml
|
182
|
+
- test/rails_apps/clearance/db/development.sqlite3
|
149
183
|
- test/rails_apps/clearance/db/migrate/20150907190739_create_users.rb
|
150
184
|
- test/rails_apps/clearance/db/migrate/20150907190846_add_devise_to_users.rb
|
151
185
|
- test/rails_apps/clearance/db/migrate/20150909210357_populate_test_users.rb
|
152
186
|
- test/rails_apps/clearance/db/migrate/20150928123254_change_users.rb
|
153
187
|
- test/rails_apps/clearance/db/migrate/20151007170422_add_clearance_to_users.rb
|
154
188
|
- test/rails_apps/clearance/db/schema.rb
|
189
|
+
- test/rails_apps/clearance/db/test.sqlite3
|
190
|
+
- test/rails_apps/clearance/log/development.log
|
191
|
+
- test/rails_apps/clearance/log/test.log
|
155
192
|
- test/rails_apps/clearance/public/404.html
|
156
193
|
- test/rails_apps/clearance/public/422.html
|
157
194
|
- test/rails_apps/clearance/public/500.html
|
158
195
|
- test/rails_apps/clearance/public/favicon.ico
|
196
|
+
- test/rails_apps/clearance/tmp/local_secret.txt
|
159
197
|
- test/rails_apps/devise/Rakefile
|
160
198
|
- test/rails_apps/devise/app/assets/config/manifest.js
|
161
199
|
- test/rails_apps/devise/app/controllers/application_controller.rb
|
@@ -185,14 +223,19 @@ files:
|
|
185
223
|
- test/rails_apps/devise/config/locales/en.yml
|
186
224
|
- test/rails_apps/devise/config/routes.rb
|
187
225
|
- test/rails_apps/devise/config/storage.yml
|
226
|
+
- test/rails_apps/devise/db/development.sqlite3
|
188
227
|
- test/rails_apps/devise/db/migrate/20150907190739_create_users.rb
|
189
228
|
- test/rails_apps/devise/db/migrate/20150907190846_add_devise_to_users.rb
|
190
229
|
- test/rails_apps/devise/db/migrate/20150909210357_populate_test_users.rb
|
191
230
|
- test/rails_apps/devise/db/schema.rb
|
231
|
+
- test/rails_apps/devise/db/test.sqlite3
|
232
|
+
- test/rails_apps/devise/log/development.log
|
233
|
+
- test/rails_apps/devise/log/test.log
|
192
234
|
- test/rails_apps/devise/public/404.html
|
193
235
|
- test/rails_apps/devise/public/422.html
|
194
236
|
- test/rails_apps/devise/public/500.html
|
195
237
|
- test/rails_apps/devise/public/favicon.ico
|
238
|
+
- test/rails_apps/devise/tmp/local_secret.txt
|
196
239
|
- test/rails_apps/sorcery/Rakefile
|
197
240
|
- test/rails_apps/sorcery/app/assets/config/manifest.js
|
198
241
|
- test/rails_apps/sorcery/app/controllers/application_controller.rb
|
@@ -222,16 +265,21 @@ files:
|
|
222
265
|
- test/rails_apps/sorcery/config/locales/en.yml
|
223
266
|
- test/rails_apps/sorcery/config/routes.rb
|
224
267
|
- test/rails_apps/sorcery/config/storage.yml
|
268
|
+
- test/rails_apps/sorcery/db/development.sqlite3
|
225
269
|
- test/rails_apps/sorcery/db/migrate/20150907190739_create_users.rb
|
226
270
|
- test/rails_apps/sorcery/db/migrate/20150907190846_add_devise_to_users.rb
|
227
271
|
- test/rails_apps/sorcery/db/migrate/20150909210357_add_role_to_users.rb
|
228
272
|
- test/rails_apps/sorcery/db/migrate/20151019154558_sorcery_core.rb
|
229
273
|
- test/rails_apps/sorcery/db/migrate/20220827040518_populate_test_users.rb
|
230
274
|
- test/rails_apps/sorcery/db/schema.rb
|
275
|
+
- test/rails_apps/sorcery/db/test.sqlite3
|
276
|
+
- test/rails_apps/sorcery/log/development.log
|
277
|
+
- test/rails_apps/sorcery/log/test.log
|
231
278
|
- test/rails_apps/sorcery/public/404.html
|
232
279
|
- test/rails_apps/sorcery/public/422.html
|
233
280
|
- test/rails_apps/sorcery/public/500.html
|
234
281
|
- test/rails_apps/sorcery/public/favicon.ico
|
282
|
+
- test/rails_apps/sorcery/tmp/local_secret.txt
|
235
283
|
- test/sorcery/integration/navigation_test.rb
|
236
284
|
- test/sorcery/test_helper_sorcery.rb
|
237
285
|
- test/test_helper_common.rb
|
@@ -239,7 +287,6 @@ homepage: https://github.com/igorkasyanchuk
|
|
239
287
|
licenses:
|
240
288
|
- MIT
|
241
289
|
metadata: {}
|
242
|
-
post_install_message:
|
243
290
|
rdoc_options: []
|
244
291
|
require_paths:
|
245
292
|
- lib
|
@@ -247,15 +294,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
247
294
|
requirements:
|
248
295
|
- - ">="
|
249
296
|
- !ruby/object:Gem::Version
|
250
|
-
version: '
|
297
|
+
version: '3.0'
|
251
298
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
252
299
|
requirements:
|
253
300
|
- - ">="
|
254
301
|
- !ruby/object:Gem::Version
|
255
302
|
version: '0'
|
256
303
|
requirements: []
|
257
|
-
rubygems_version: 3.3
|
258
|
-
signing_key:
|
304
|
+
rubygems_version: 3.6.3
|
259
305
|
specification_version: 4
|
260
306
|
summary: AnyLogin is created to speedup development process and allow developer's
|
261
307
|
quickly login as any user in DB.
|
@@ -300,15 +346,20 @@ test_files:
|
|
300
346
|
- test/rails_apps/authlogic/config/routes.rb
|
301
347
|
- test/rails_apps/authlogic/config/storage.yml
|
302
348
|
- test/rails_apps/authlogic/config.ru
|
349
|
+
- test/rails_apps/authlogic/db/development.sqlite3
|
303
350
|
- test/rails_apps/authlogic/db/migrate/20150907190739_create_users.rb
|
304
351
|
- test/rails_apps/authlogic/db/migrate/20150907190846_add_devise_to_users.rb
|
305
352
|
- test/rails_apps/authlogic/db/migrate/20150928123254_change_users.rb
|
306
353
|
- test/rails_apps/authlogic/db/migrate/20220825195914_populate_test_users.rb
|
307
354
|
- test/rails_apps/authlogic/db/schema.rb
|
355
|
+
- test/rails_apps/authlogic/db/test.sqlite3
|
356
|
+
- test/rails_apps/authlogic/log/development.log
|
357
|
+
- test/rails_apps/authlogic/log/test.log
|
308
358
|
- test/rails_apps/authlogic/public/404.html
|
309
359
|
- test/rails_apps/authlogic/public/422.html
|
310
360
|
- test/rails_apps/authlogic/public/500.html
|
311
361
|
- test/rails_apps/authlogic/public/favicon.ico
|
362
|
+
- test/rails_apps/authlogic/tmp/local_secret.txt
|
312
363
|
- test/rails_apps/clearance/Rakefile
|
313
364
|
- test/rails_apps/clearance/app/assets/config/manifest.js
|
314
365
|
- test/rails_apps/clearance/app/controllers/application_controller.rb
|
@@ -339,16 +390,21 @@ test_files:
|
|
339
390
|
- test/rails_apps/clearance/config/routes.rb
|
340
391
|
- test/rails_apps/clearance/config/storage.yml
|
341
392
|
- test/rails_apps/clearance/config.ru
|
393
|
+
- test/rails_apps/clearance/db/development.sqlite3
|
342
394
|
- test/rails_apps/clearance/db/migrate/20150907190739_create_users.rb
|
343
395
|
- test/rails_apps/clearance/db/migrate/20150907190846_add_devise_to_users.rb
|
344
396
|
- test/rails_apps/clearance/db/migrate/20150909210357_populate_test_users.rb
|
345
397
|
- test/rails_apps/clearance/db/migrate/20150928123254_change_users.rb
|
346
398
|
- test/rails_apps/clearance/db/migrate/20151007170422_add_clearance_to_users.rb
|
347
399
|
- test/rails_apps/clearance/db/schema.rb
|
400
|
+
- test/rails_apps/clearance/db/test.sqlite3
|
401
|
+
- test/rails_apps/clearance/log/development.log
|
402
|
+
- test/rails_apps/clearance/log/test.log
|
348
403
|
- test/rails_apps/clearance/public/404.html
|
349
404
|
- test/rails_apps/clearance/public/422.html
|
350
405
|
- test/rails_apps/clearance/public/500.html
|
351
406
|
- test/rails_apps/clearance/public/favicon.ico
|
407
|
+
- test/rails_apps/clearance/tmp/local_secret.txt
|
352
408
|
- test/rails_apps/devise/Rakefile
|
353
409
|
- test/rails_apps/devise/app/assets/config/manifest.js
|
354
410
|
- test/rails_apps/devise/app/controllers/application_controller.rb
|
@@ -378,14 +434,19 @@ test_files:
|
|
378
434
|
- test/rails_apps/devise/config/routes.rb
|
379
435
|
- test/rails_apps/devise/config/storage.yml
|
380
436
|
- test/rails_apps/devise/config.ru
|
437
|
+
- test/rails_apps/devise/db/development.sqlite3
|
381
438
|
- test/rails_apps/devise/db/migrate/20150907190739_create_users.rb
|
382
439
|
- test/rails_apps/devise/db/migrate/20150907190846_add_devise_to_users.rb
|
383
440
|
- test/rails_apps/devise/db/migrate/20150909210357_populate_test_users.rb
|
384
441
|
- test/rails_apps/devise/db/schema.rb
|
442
|
+
- test/rails_apps/devise/db/test.sqlite3
|
443
|
+
- test/rails_apps/devise/log/development.log
|
444
|
+
- test/rails_apps/devise/log/test.log
|
385
445
|
- test/rails_apps/devise/public/404.html
|
386
446
|
- test/rails_apps/devise/public/422.html
|
387
447
|
- test/rails_apps/devise/public/500.html
|
388
448
|
- test/rails_apps/devise/public/favicon.ico
|
449
|
+
- test/rails_apps/devise/tmp/local_secret.txt
|
389
450
|
- test/rails_apps/sorcery/Rakefile
|
390
451
|
- test/rails_apps/sorcery/app/assets/config/manifest.js
|
391
452
|
- test/rails_apps/sorcery/app/controllers/application_controller.rb
|
@@ -415,16 +476,21 @@ test_files:
|
|
415
476
|
- test/rails_apps/sorcery/config/routes.rb
|
416
477
|
- test/rails_apps/sorcery/config/storage.yml
|
417
478
|
- test/rails_apps/sorcery/config.ru
|
479
|
+
- test/rails_apps/sorcery/db/development.sqlite3
|
418
480
|
- test/rails_apps/sorcery/db/migrate/20150907190739_create_users.rb
|
419
481
|
- test/rails_apps/sorcery/db/migrate/20150907190846_add_devise_to_users.rb
|
420
482
|
- test/rails_apps/sorcery/db/migrate/20150909210357_add_role_to_users.rb
|
421
483
|
- test/rails_apps/sorcery/db/migrate/20151019154558_sorcery_core.rb
|
422
484
|
- test/rails_apps/sorcery/db/migrate/20220827040518_populate_test_users.rb
|
423
485
|
- test/rails_apps/sorcery/db/schema.rb
|
486
|
+
- test/rails_apps/sorcery/db/test.sqlite3
|
487
|
+
- test/rails_apps/sorcery/log/development.log
|
488
|
+
- test/rails_apps/sorcery/log/test.log
|
424
489
|
- test/rails_apps/sorcery/public/404.html
|
425
490
|
- test/rails_apps/sorcery/public/422.html
|
426
491
|
- test/rails_apps/sorcery/public/500.html
|
427
492
|
- test/rails_apps/sorcery/public/favicon.ico
|
493
|
+
- test/rails_apps/sorcery/tmp/local_secret.txt
|
428
494
|
- test/sorcery/integration/navigation_test.rb
|
429
495
|
- test/sorcery/test_helper_sorcery.rb
|
430
496
|
- test/test_helper_common.rb
|
@@ -1,23 +0,0 @@
|
|
1
|
-
function submitOnChange() {
|
2
|
-
document.getElementById('any_login_form').submit();
|
3
|
-
}
|
4
|
-
|
5
|
-
function elementExists(element) {
|
6
|
-
return typeof (element) != 'undefined' && element != null;
|
7
|
-
}
|
8
|
-
|
9
|
-
function addChangeListenerTo(elementId) {
|
10
|
-
let element = document.getElementById(elementId);
|
11
|
-
if (elementExists(element)) {
|
12
|
-
element.addEventListener("change", submitOnChange);
|
13
|
-
}
|
14
|
-
}
|
15
|
-
|
16
|
-
function setupAnyLoginHandlers() {
|
17
|
-
addChangeListenerTo("back_to_previous_id");
|
18
|
-
addChangeListenerTo("selected_id");
|
19
|
-
}
|
20
|
-
|
21
|
-
['DOMContentLoaded', 'turbolinks:load', 'turbo:load'].forEach(function(e) {
|
22
|
-
window.addEventListener(e, setupAnyLoginHandlers);
|
23
|
-
});
|