cachers 4.1.0.0 → 4.1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cachers/extensions/active_record/base.rb +1 -1
- data/lib/cachers/version.rb +1 -1
- data/test/dummy/log/test.log +39 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ede1fb49c3b91661a85e74dc3e191c2bb03e0107
|
4
|
+
data.tar.gz: 202cc1aad914dac430fd8f534c4a92413b46317f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eeabd62b420e872082ef712a9a44bbabcff220e875519a7fecf32eb4ecabf245668bfe8908a9f1a7eb3b5eec416f0e65262de0741f0bbec9fad5e2bef59b6122
|
7
|
+
data.tar.gz: 62f1eedea67938281c3d5105e330bcac7f66e1fe3f0d2f92ed3eeb9bc277b71f05fbb96235818f45a25adc1124fd804f7054e7406e9ae838539b3ee66db49a66
|
@@ -8,7 +8,7 @@ module Cachers
|
|
8
8
|
|
9
9
|
def inherited(subclass)
|
10
10
|
super
|
11
|
-
if File.exist?("#{Rails.root}/app/cachers/#{subclass.name.underscore}_cacher.rb")
|
11
|
+
if subclass.name && File.exist?("#{Rails.root}/app/cachers/#{subclass.name.underscore}_cacher.rb")
|
12
12
|
subclass.include Cachers::Concern
|
13
13
|
end
|
14
14
|
end
|
data/lib/cachers/version.rb
CHANGED
data/test/dummy/log/test.log
CHANGED
@@ -1695,3 +1695,42 @@ WHERE c.contype = 'f'
|
|
1695
1695
|
AND t3.nspname = ANY (current_schemas(false))
|
1696
1696
|
ORDER BY c.conname
|
1697
1697
|
[0m
|
1698
|
+
[1m[36mActiveRecord::SchemaMigration Load (6.9ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1699
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1700
|
+
------------------
|
1701
|
+
TaskTest: test_all
|
1702
|
+
------------------
|
1703
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1704
|
+
[1m[35mSQL (6.9ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-12-14 05:28:29.909537"], ["updated_at", "2016-12-14 05:28:29.909537"]]
|
1705
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1706
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1707
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "john"], ["created_at", "2016-12-14 05:28:29.920107"], ["updated_at", "2016-12-14 05:28:29.920107"]]
|
1708
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1709
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000[0m
|
1710
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
|
1711
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000[0m
|
1712
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1713
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1714
|
+
----------------------------
|
1715
|
+
GeneratorsTest: test_install
|
1716
|
+
----------------------------
|
1717
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1718
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1719
|
+
---------------------------
|
1720
|
+
GeneratorsTest: test_cacher
|
1721
|
+
---------------------------
|
1722
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1723
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1724
|
+
--------------------------
|
1725
|
+
RecordTest: test_callbacks
|
1726
|
+
--------------------------
|
1727
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1728
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "mike"], ["created_at", "2016-12-14 05:28:29.972542"], ["updated_at", "2016-12-14 05:28:29.972542"]]
|
1729
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1730
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1731
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "name" = $1, "updated_at" = $2 WHERE "users"."id" = $3 [["name", "john"], ["updated_at", "2016-12-14 05:28:29.974143"], ["id", 3]]
|
1732
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1733
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1734
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = $1[0m [["id", 3]]
|
1735
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1736
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|