cachers 0.0.1 → 0.1.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/version.rb +1 -1
- data/test/dummy/Rakefile +0 -1
- data/test/dummy/app/views/layouts/application.html.erb +9 -11
- data/test/dummy/config/application.rb +2 -4
- data/test/dummy/log/test.log +102 -0
- data/test/test_helper.rb +0 -7
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5fb58df84041f8120945f6218fd107e8a922819
|
4
|
+
data.tar.gz: 0a7d89341138021997492a7e05056b10c9cd48d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b148623bb1c9dc1a35429131e42e92782dbc2e4632c287ef457b414fbaef586e69d77ac417683f90178f700d59c8baac134cdf760edd90a2d4a4d84f6d39d3e
|
7
|
+
data.tar.gz: e8f5e80ea9e3cdac57b55af8da469e98e82f73159b13660cbb3fc493d7c29803640e4cc8e24116a4b37b124ebfb41fb89bb99538f97bfce10eae3257a64f7685
|
data/lib/cachers/version.rb
CHANGED
data/test/dummy/Rakefile
CHANGED
@@ -1,14 +1,12 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html>
|
3
|
-
<head>
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
</head>
|
9
|
-
<body>
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
</body>
|
3
|
+
<head>
|
4
|
+
<title>Dummy</title>
|
5
|
+
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
|
6
|
+
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
|
7
|
+
<%= csrf_meta_tags %>
|
8
|
+
</head>
|
9
|
+
<body>
|
10
|
+
<%= yield %>
|
11
|
+
</body>
|
14
12
|
</html>
|
@@ -20,9 +20,7 @@ module Dummy
|
|
20
20
|
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
21
21
|
# config.i18n.default_locale = :de
|
22
22
|
|
23
|
-
|
24
|
-
|
25
|
-
config.active_record.raise_in_transactional_callbacks = true
|
26
|
-
end
|
23
|
+
# Do not swallow errors in after_commit/after_rollback callbacks.
|
24
|
+
config.active_record.raise_in_transactional_callbacks = true
|
27
25
|
end
|
28
26
|
end
|
data/test/dummy/log/test.log
CHANGED
@@ -1196,3 +1196,105 @@ TasksTest: test_tasks
|
|
1196
1196
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
|
1197
1197
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000[0m
|
1198
1198
|
[1m[35m (0.1ms)[0m ROLLBACK
|
1199
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1200
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1201
|
+
------------------------------------
|
1202
|
+
GeneratorsTest: test_file_generation
|
1203
|
+
------------------------------------
|
1204
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1205
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1206
|
+
--------------------------
|
1207
|
+
RecordTest: test_callbacks
|
1208
|
+
--------------------------
|
1209
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
1210
|
+
[1m[35mSQL (6.3ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-09-19 23:56:52.497038"], ["updated_at", "2016-09-19 23:56:52.497038"]]
|
1211
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1212
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1213
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "name" = $1, "updated_at" = $2 WHERE "users"."id" = $3[0m [["name", "john"], ["updated_at", "2016-09-19 23:56:52.507525"], ["id", 115]]
|
1214
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1215
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
1216
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "users" WHERE "users"."id" = $1 [["id", 115]]
|
1217
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1218
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1219
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1220
|
+
---------------------
|
1221
|
+
TasksTest: test_tasks
|
1222
|
+
---------------------
|
1223
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1224
|
+
[1m[36mSQL (14.3ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "mike"], ["created_at", "2016-09-19 23:56:52.524641"], ["updated_at", "2016-09-19 23:56:52.524641"]]
|
1225
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
1226
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1227
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "john"], ["created_at", "2016-09-19 23:56:52.540538"], ["updated_at", "2016-09-19 23:56:52.540538"]]
|
1228
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1229
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
|
1230
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000[0m
|
1231
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
|
1232
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1233
|
+
[1m[36mActiveRecord::SchemaMigration Load (2.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1234
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1235
|
+
--------------------------
|
1236
|
+
RecordTest: test_callbacks
|
1237
|
+
--------------------------
|
1238
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1239
|
+
[1m[35mSQL (3.2ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-10-17 02:59:05.132720"], ["updated_at", "2016-10-17 02:59:05.132720"]]
|
1240
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1241
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1242
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "name" = $1, "updated_at" = $2 WHERE "users"."id" = $3[0m [["name", "john"], ["updated_at", "2016-10-17 02:59:05.142239"], ["id", 118]]
|
1243
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1244
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1245
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "users" WHERE "users"."id" = $1 [["id", 118]]
|
1246
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1247
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1248
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1249
|
+
---------------------
|
1250
|
+
TasksTest: test_tasks
|
1251
|
+
---------------------
|
1252
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1253
|
+
[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-10-17 02:59:05.476000"], ["updated_at", "2016-10-17 02:59:05.476000"]]
|
1254
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1255
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1256
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "john"], ["created_at", "2016-10-17 02:59:05.477220"], ["updated_at", "2016-10-17 02:59:05.477220"]]
|
1257
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1258
|
+
[1m[35mUser Load (0.7ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
|
1259
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000[0m
|
1260
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
|
1261
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1262
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1263
|
+
------------------------------------
|
1264
|
+
GeneratorsTest: test_file_generation
|
1265
|
+
------------------------------------
|
1266
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1267
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1268
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1269
|
+
------------------------------------
|
1270
|
+
GeneratorsTest: test_file_generation
|
1271
|
+
------------------------------------
|
1272
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1273
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1274
|
+
---------------------
|
1275
|
+
TasksTest: test_tasks
|
1276
|
+
---------------------
|
1277
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1278
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-10-17 04:43:01.928770"], ["updated_at", "2016-10-17 04:43:01.928770"]]
|
1279
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1280
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1281
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "john"], ["created_at", "2016-10-17 04:43:01.931933"], ["updated_at", "2016-10-17 04:43:01.931933"]]
|
1282
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1283
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000[0m
|
1284
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
|
1285
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000[0m
|
1286
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1287
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1288
|
+
--------------------------
|
1289
|
+
RecordTest: test_callbacks
|
1290
|
+
--------------------------
|
1291
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1292
|
+
[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-10-17 04:43:01.940820"], ["updated_at", "2016-10-17 04:43:01.940820"]]
|
1293
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1294
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1295
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "name" = $1, "updated_at" = $2 WHERE "users"."id" = $3 [["name", "john"], ["updated_at", "2016-10-17 04:43:01.942156"], ["id", 123]]
|
1296
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1297
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1298
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = $1[0m [["id", 123]]
|
1299
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1300
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
data/test/test_helper.rb
CHANGED
@@ -12,13 +12,6 @@ Minitest.backtrace_filter = Minitest::BacktraceFilter.new
|
|
12
12
|
# Load support files
|
13
13
|
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
14
14
|
|
15
|
-
# Load fixtures from the engine
|
16
|
-
if ActiveSupport::TestCase.respond_to?(:fixture_path=)
|
17
|
-
ActiveSupport::TestCase.fixture_path = File.expand_path('../fixtures', __FILE__)
|
18
|
-
ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path
|
19
|
-
ActiveSupport::TestCase.fixtures :all
|
20
|
-
end
|
21
|
-
|
22
15
|
# Clear redis database
|
23
16
|
class ActiveSupport::TestCase
|
24
17
|
def teardown
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cachers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mmontossi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 4.
|
19
|
+
version: 4.2.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 4.3.0
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 4.
|
29
|
+
version: 4.2.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 4.3.0
|