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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b725d5b0d1a9ca0d7ca53243c6da14bc5846c08f
4
- data.tar.gz: 5fa84dde1eb2a6e794755e6dcdde9e1adab882da
3
+ metadata.gz: a5fb58df84041f8120945f6218fd107e8a922819
4
+ data.tar.gz: 0a7d89341138021997492a7e05056b10c9cd48d5
5
5
  SHA512:
6
- metadata.gz: 3d5220af265b50c160987f707b7fb5194cee05ed12b2aba721d8404faf49c6c3e3514cd324180f2efd9323d04e92b38f2da8e0ca7fbf2a2e89da122626a0bc09
7
- data.tar.gz: 6da4cbeba81f8455b4879019589f73b7c8d334520453a1ab7dd7a01f5e591e66bacd0f2ccb1f46fe247e724ed8bbf5c4430696e8d524041fc3b7b621bf55f324
6
+ metadata.gz: 5b148623bb1c9dc1a35429131e42e92782dbc2e4632c287ef457b414fbaef586e69d77ac417683f90178f700d59c8baac134cdf760edd90a2d4a4d84f6d39d3e
7
+ data.tar.gz: e8f5e80ea9e3cdac57b55af8da469e98e82f73159b13660cbb3fc493d7c29803640e4cc8e24116a4b37b124ebfb41fb89bb99538f97bfce10eae3257a64f7685
@@ -1,3 +1,3 @@
1
1
  module Cachers
2
- VERSION = '0.0.1'
2
+ VERSION = '0.1.1'
3
3
  end
data/test/dummy/Rakefile CHANGED
@@ -2,5 +2,4 @@
2
2
  # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3
3
 
4
4
  require File.expand_path('../config/application', __FILE__)
5
-
6
5
  Rails.application.load_tasks
@@ -1,14 +1,12 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
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
-
11
- <%= yield %>
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
- if Rails::VERSION::MAJOR == 4 && Rails::VERSION::MINOR >= 2
24
- # Do not swallow errors in after_commit/after_rollback callbacks.
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
@@ -1196,3 +1196,105 @@ TasksTest: test_tasks
1196
1196
  User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1197
1197
  User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1198
1198
   (0.1ms) ROLLBACK
1199
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1200
+  (0.2ms) BEGIN
1201
+ ------------------------------------
1202
+ GeneratorsTest: test_file_generation
1203
+ ------------------------------------
1204
+  (0.2ms) ROLLBACK
1205
+  (0.2ms) BEGIN
1206
+ --------------------------
1207
+ RecordTest: test_callbacks
1208
+ --------------------------
1209
+  (0.3ms) SAVEPOINT active_record_1
1210
+ SQL (6.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1212
+  (0.1ms) SAVEPOINT active_record_1
1213
+ SQL (0.4ms) UPDATE "users" SET "name" = $1, "updated_at" = $2 WHERE "users"."id" = $3 [["name", "john"], ["updated_at", "2016-09-19 23:56:52.507525"], ["id", 115]]
1214
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1215
+  (0.3ms) SAVEPOINT active_record_1
1216
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = $1 [["id", 115]]
1217
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1218
+  (0.2ms) ROLLBACK
1219
+  (0.2ms) BEGIN
1220
+ ---------------------
1221
+ TasksTest: test_tasks
1222
+ ---------------------
1223
+  (0.2ms) SAVEPOINT active_record_1
1224
+ SQL (14.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-09-19 23:56:52.524641"], ["updated_at", "2016-09-19 23:56:52.524641"]]
1225
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1226
+  (0.2ms) SAVEPOINT active_record_1
1227
+ SQL (0.2ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1229
+ User Load (0.4ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1230
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1231
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1232
+  (0.3ms) ROLLBACK
1233
+ ActiveRecord::SchemaMigration Load (2.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1234
+  (0.2ms) BEGIN
1235
+ --------------------------
1236
+ RecordTest: test_callbacks
1237
+ --------------------------
1238
+  (0.1ms) SAVEPOINT active_record_1
1239
+ SQL (3.2ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1241
+  (0.2ms) SAVEPOINT active_record_1
1242
+ SQL (0.3ms) UPDATE "users" SET "name" = $1, "updated_at" = $2 WHERE "users"."id" = $3 [["name", "john"], ["updated_at", "2016-10-17 02:59:05.142239"], ["id", 118]]
1243
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1244
+  (0.1ms) SAVEPOINT active_record_1
1245
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = $1 [["id", 118]]
1246
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1247
+  (0.2ms) ROLLBACK
1248
+  (0.2ms) BEGIN
1249
+ ---------------------
1250
+ TasksTest: test_tasks
1251
+ ---------------------
1252
+  (0.1ms) SAVEPOINT active_record_1
1253
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-10-17 02:59:05.476000"], ["updated_at", "2016-10-17 02:59:05.476000"]]
1254
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1255
+  (0.2ms) SAVEPOINT active_record_1
1256
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1258
+ User Load (0.7ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1259
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1260
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1261
+  (0.2ms) ROLLBACK
1262
+  (0.1ms) BEGIN
1263
+ ------------------------------------
1264
+ GeneratorsTest: test_file_generation
1265
+ ------------------------------------
1266
+  (0.3ms) ROLLBACK
1267
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1268
+  (0.2ms) BEGIN
1269
+ ------------------------------------
1270
+ GeneratorsTest: test_file_generation
1271
+ ------------------------------------
1272
+  (0.2ms) ROLLBACK
1273
+  (0.1ms) BEGIN
1274
+ ---------------------
1275
+ TasksTest: test_tasks
1276
+ ---------------------
1277
+  (0.2ms) SAVEPOINT active_record_1
1278
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1280
+  (0.1ms) SAVEPOINT active_record_1
1281
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "john"], ["created_at", "2016-10-17 04:43:01.931933"], ["updated_at", "2016-10-17 04:43:01.931933"]]
1282
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1283
+ User Load (0.5ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1284
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1285
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000
1286
+  (0.2ms) ROLLBACK
1287
+  (0.1ms) BEGIN
1288
+ --------------------------
1289
+ RecordTest: test_callbacks
1290
+ --------------------------
1291
+  (0.1ms) SAVEPOINT active_record_1
1292
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mike"], ["created_at", "2016-10-17 04:43:01.940820"], ["updated_at", "2016-10-17 04:43:01.940820"]]
1293
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1294
+  (0.1ms) SAVEPOINT active_record_1
1295
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1297
+  (0.1ms) SAVEPOINT active_record_1
1298
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = $1 [["id", 123]]
1299
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1300
+  (0.4ms) ROLLBACK
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.0.1
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-09-19 00:00:00.000000000 Z
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.0.0
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.0.0
29
+ version: 4.2.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 4.3.0