act_as_backdrop 0.0.1 → 0.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 84c7e2be7f550dd3ba1850051f52acaa3d27b974
4
- data.tar.gz: f6d685eca8fbe179a3256bb3f027b02a2d6df01f
3
+ metadata.gz: c774b5ea6c07707efa40a8b5de27e31a3eb65153
4
+ data.tar.gz: 8dbd1344b4a9e86aef71f1589c04d488a5715595
5
5
  SHA512:
6
- metadata.gz: 0e8dacbdb9ffacc549785674ebf4f293fecad28d04156e15f07d2ae620d4a8ee2bdbe6cd11d55a64594676b0cffc0c359f4be511f286943f360ada2a73ad7e10
7
- data.tar.gz: fc9d356a5f176cc704ee9c1291d263563123a6fdf3cd03f90318a5bb7ab28e8fd3a48b777e31f9c3966688018a6b298515849affb5336f80e572ace405d2090d
6
+ metadata.gz: 2e43a793ff9fc9f120cbd530474ff33d33140bf37c90dc6637c5311b942c1bfb57bcf82c9bf8cb6a13e10a3bf05b43a3a452675d8e61b2f2c6c04e85868df12c
7
+ data.tar.gz: c913e0422eb2b906627ff2f70c46f06fb132f35337fe30ea0f56b5ccf6c660ce82c1af267387ce7a4226f301421fdb08fc323f5e78acb7066006e493fb6af07f
@@ -3,6 +3,9 @@ acts_as_backdrop
3
3
 
4
4
  This gem allows you to write async processing code to your models right into your models code.
5
5
 
6
+ [![Build Status](https://travis-ci.org/dobryakov/acts_as_backdrop.svg)](https://travis-ci.org/dobryakov/acts_as_backdrop)
7
+ [![Gem Version](https://badge.fury.io/rb/act_as_backdrop.svg)](https://badge.fury.io/rb/act_as_backdrop)
8
+
6
9
  Example
7
10
  -------
8
11
 
@@ -3,13 +3,10 @@ module Backdrop
3
3
 
4
4
  extend ActiveSupport::Concern
5
5
 
6
- included do
7
- after_save :acts_as_backdrop
8
- end
9
-
10
6
  module ClassMethods
11
7
  def acts_as_backdrop(options = {})
12
8
  include Backdrop::ActAsBackdrop::LocalInstanceMethods
9
+ after_save :acts_as_backdrop
13
10
  end
14
11
  end
15
12
 
@@ -1,3 +1,3 @@
1
1
  module Backdrop
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+ gem 'rails'
3
+ gem 'act_as_backdrop'
4
+ gem 'sqlite3'
@@ -0,0 +1,105 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ act_as_backdrop (0.0.1)
5
+ rails (~> 4.2.1)
6
+ actionmailer (4.2.5)
7
+ actionpack (= 4.2.5)
8
+ actionview (= 4.2.5)
9
+ activejob (= 4.2.5)
10
+ mail (~> 2.5, >= 2.5.4)
11
+ rails-dom-testing (~> 1.0, >= 1.0.5)
12
+ actionpack (4.2.5)
13
+ actionview (= 4.2.5)
14
+ activesupport (= 4.2.5)
15
+ rack (~> 1.6)
16
+ rack-test (~> 0.6.2)
17
+ rails-dom-testing (~> 1.0, >= 1.0.5)
18
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
19
+ actionview (4.2.5)
20
+ activesupport (= 4.2.5)
21
+ builder (~> 3.1)
22
+ erubis (~> 2.7.0)
23
+ rails-dom-testing (~> 1.0, >= 1.0.5)
24
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
25
+ activejob (4.2.5)
26
+ activesupport (= 4.2.5)
27
+ globalid (>= 0.3.0)
28
+ activemodel (4.2.5)
29
+ activesupport (= 4.2.5)
30
+ builder (~> 3.1)
31
+ activerecord (4.2.5)
32
+ activemodel (= 4.2.5)
33
+ activesupport (= 4.2.5)
34
+ arel (~> 6.0)
35
+ activesupport (4.2.5)
36
+ i18n (~> 0.7)
37
+ json (~> 1.7, >= 1.7.7)
38
+ minitest (~> 5.1)
39
+ thread_safe (~> 0.3, >= 0.3.4)
40
+ tzinfo (~> 1.1)
41
+ arel (6.0.3)
42
+ builder (3.2.2)
43
+ concurrent-ruby (1.0.0)
44
+ erubis (2.7.0)
45
+ globalid (0.3.6)
46
+ activesupport (>= 4.1.0)
47
+ i18n (0.7.0)
48
+ json (1.8.3)
49
+ loofah (2.0.3)
50
+ nokogiri (>= 1.5.9)
51
+ mail (2.6.3)
52
+ mime-types (>= 1.16, < 3)
53
+ mime-types (2.99)
54
+ mini_portile2 (2.0.0)
55
+ minitest (5.8.3)
56
+ nokogiri (1.6.7.1)
57
+ mini_portile2 (~> 2.0.0.rc2)
58
+ rack (1.6.4)
59
+ rack-test (0.6.3)
60
+ rack (>= 1.0)
61
+ rails (4.2.5)
62
+ actionmailer (= 4.2.5)
63
+ actionpack (= 4.2.5)
64
+ actionview (= 4.2.5)
65
+ activejob (= 4.2.5)
66
+ activemodel (= 4.2.5)
67
+ activerecord (= 4.2.5)
68
+ activesupport (= 4.2.5)
69
+ bundler (>= 1.3.0, < 2.0)
70
+ railties (= 4.2.5)
71
+ sprockets-rails
72
+ rails-deprecated_sanitizer (1.0.3)
73
+ activesupport (>= 4.2.0.alpha)
74
+ rails-dom-testing (1.0.7)
75
+ activesupport (>= 4.2.0.beta, < 5.0)
76
+ nokogiri (~> 1.6.0)
77
+ rails-deprecated_sanitizer (>= 1.0.1)
78
+ rails-html-sanitizer (1.0.2)
79
+ loofah (~> 2.0)
80
+ railties (4.2.5)
81
+ actionpack (= 4.2.5)
82
+ activesupport (= 4.2.5)
83
+ rake (>= 0.8.7)
84
+ thor (>= 0.18.1, < 2.0)
85
+ rake (10.4.2)
86
+ sprockets (3.5.2)
87
+ concurrent-ruby (~> 1.0)
88
+ rack (> 1, < 3)
89
+ sprockets-rails (3.0.0)
90
+ actionpack (>= 4.0)
91
+ activesupport (>= 4.0)
92
+ sprockets (>= 3.0.0)
93
+ sqlite3 (1.3.11)
94
+ thor (0.19.1)
95
+ thread_safe (0.3.5)
96
+ tzinfo (1.2.2)
97
+ thread_safe (~> 0.1)
98
+
99
+ PLATFORMS
100
+ ruby
101
+
102
+ DEPENDENCIES
103
+ act_as_backdrop
104
+ rails
105
+ sqlite3
Binary file
@@ -39,3 +39,79 @@ Migrating to AddCheckToSomething (20151217203211)
39
39
  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151217203211"]]
40
40
   (3.2ms) commit transaction
41
41
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
42
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
43
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
44
+ ActiveRecord::SchemaMigration Load (14.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
45
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
46
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
47
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
48
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
49
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
50
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
51
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
52
+ Migrating to AddCheckToSomething (20151217203211)
53
+  (0.1ms) begin transaction
54
+  (22.0ms) CREATE TEMPORARY TABLE "asomethings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "check" varchar)
55
+  (0.1ms) SELECT * FROM "somethings"
56
+  (0.7ms) DROP TABLE "somethings"
57
+  (0.2ms) CREATE TABLE "somethings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
58
+  (0.1ms) SELECT * FROM "asomethings"
59
+  (0.3ms) DROP TABLE "asomethings"
60
+ SQL (0.4ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ? [["version", "20151217203211"]]
61
+  (3.1ms) commit transaction
62
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
63
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
64
+ Migrating to AddCheckToSomething (20151217203211)
65
+  (8.6ms) begin transaction
66
+  (0.3ms) ALTER TABLE "somethings" ADD "check" varchar
67
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151217203211"]]
68
+  (0.2ms) rollback transaction
69
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
70
+ Migrating to AddCheckToSomething (20151217203211)
71
+  (0.1ms) begin transaction
72
+  (0.6ms) ALTER TABLE "somethings" ADD "check" varchar
73
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151217203211"]]
74
+  (0.2ms) rollback transaction
75
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
76
+ Migrating to AddCheckToSomething (20151217203211)
77
+  (0.1ms) begin transaction
78
+  (0.2ms) ALTER TABLE "somethings" ADD "check" varchar
79
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151217203211"]]
80
+  (0.1ms) rollback transaction
81
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
82
+ Migrating to AddCheckToSomething (20151217203211)
83
+  (0.1ms) begin transaction
84
+  (0.4ms) ALTER TABLE "somethings" ADD "check" varchar
85
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151217203211"]]
86
+  (0.1ms) rollback transaction
87
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
88
+ Migrating to AddCheckToSomething (20151217203211)
89
+  (0.1ms) begin transaction
90
+  (0.2ms) ALTER TABLE "somethings" ADD "check" varchar
91
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151217203211"]]
92
+  (0.1ms) rollback transaction
93
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
94
+ Migrating to AddCheckToSomething (20151217203211)
95
+  (0.1ms) begin transaction
96
+  (0.4ms) ALTER TABLE "somethings" ADD "check" varchar
97
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151217203211"]]
98
+  (0.1ms) rollback transaction
99
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
100
+ Migrating to AddCheckToSomething (20151217203211)
101
+  (0.1ms) begin transaction
102
+  (0.3ms) ALTER TABLE "somethings" ADD "check" varchar
103
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151217203211"]]
104
+  (0.1ms) rollback transaction
105
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
106
+ Migrating to AddCheckToSomething (20151217203211)
107
+  (0.1ms) begin transaction
108
+  (0.2ms) ALTER TABLE "somethings" ADD "check" varchar
109
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151217203211"]]
110
+  (0.1ms) rollback transaction
111
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
112
+ Migrating to AddCheckToSomething (20151217203211)
113
+  (0.1ms) begin transaction
114
+  (1.1ms) ALTER TABLE "somethings" ADD "check" varchar
115
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151217203211"]]
116
+  (1.7ms) commit transaction
117
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
@@ -2277,3 +2277,295 @@ ActAsBackdropTest: test_model_act_as_backdrop
2277
2277
   (0.1ms) RELEASE SAVEPOINT active_record_1
2278
2278
  Something Load (0.0ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 1]]
2279
2279
   (0.1ms) rollback transaction
2280
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
2281
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2282
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2283
+  (0.1ms) begin transaction
2284
+ ------------------------
2285
+ BackdropTest: test_truth
2286
+ ------------------------
2287
+  (0.0ms) rollback transaction
2288
+  (0.0ms) begin transaction
2289
+ ---------------------------------------------
2290
+ ActAsBackdropTest: test_model_act_as_backdrop
2291
+ ---------------------------------------------
2292
+  (0.1ms) SAVEPOINT active_record_1
2293
+ SQL (1.1ms) INSERT INTO "somethings" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-12-18 16:54:47.334959"], ["updated_at", "2015-12-18 16:54:47.334959"]]
2294
+ [ActiveJob] [BackdropJob] [f024a664-0a7f-4737-85fe-bcfa6fd891ea] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{}}"
2295
+ [ActiveJob] [BackdropJob] [f024a664-0a7f-4737-85fe-bcfa6fd891ea] Something Load (0.3ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 1]]
2296
+ [ActiveJob] [BackdropJob] [f024a664-0a7f-4737-85fe-bcfa6fd891ea] Performed BackdropJob from Inline(default) in 27.31ms
2297
+ [ActiveJob] Enqueued BackdropJob (Job ID: f024a664-0a7f-4737-85fe-bcfa6fd891ea) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{}}"
2298
+  (0.4ms) RELEASE SAVEPOINT active_record_1
2299
+  (0.1ms) SAVEPOINT active_record_1
2300
+ SQL (0.5ms) UPDATE "somethings" SET "title" = ?, "updated_at" = ? WHERE "somethings"."id" = ? [["title", "abc"], ["updated_at", "2015-12-18 16:54:47.372451"], ["id", 1]]
2301
+ [ActiveJob] [BackdropJob] [095cf3d4-e110-457d-a071-55ca691370a5] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{\"created_at\":[null,\"2015-12-18T16:54:47.334Z\"],\"updated_at\":[null,\"2015-12-18T16:54:47.334Z\"],\"id\":[null,1]}}"
2302
+ [ActiveJob] [BackdropJob] [095cf3d4-e110-457d-a071-55ca691370a5] Something Load (0.1ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 1]]
2303
+ [ActiveJob] [BackdropJob] [095cf3d4-e110-457d-a071-55ca691370a5] Performed BackdropJob from Inline(default) in 1.16ms
2304
+ [ActiveJob] Enqueued BackdropJob (Job ID: 095cf3d4-e110-457d-a071-55ca691370a5) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{\"created_at\":[null,\"2015-12-18T16:54:47.334Z\"],\"updated_at\":[null,\"2015-12-18T16:54:47.334Z\"],\"id\":[null,1]}}"
2305
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2306
+  (0.1ms) SAVEPOINT active_record_1
2307
+ SQL (0.1ms) UPDATE "somethings" SET "title" = ?, "updated_at" = ? WHERE "somethings"."id" = ? [["title", "def"], ["updated_at", "2015-12-18 16:54:47.377278"], ["id", 1]]
2308
+ [ActiveJob] [BackdropJob] [9278c3b8-b957-43b0-af30-7d10abf76131] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{\"title\":[null,\"abc\"],\"updated_at\":[\"2015-12-18T16:54:47.334Z\",\"2015-12-18T16:54:47.372Z\"]}}"
2309
+ [ActiveJob] [BackdropJob] [9278c3b8-b957-43b0-af30-7d10abf76131] Something Load (0.1ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 1]]
2310
+ [ActiveJob] [BackdropJob] [9278c3b8-b957-43b0-af30-7d10abf76131] SQL (0.2ms) UPDATE "somethings" SET "check" = ?, "updated_at" = ? WHERE "somethings"."id" = ? [["check", "abc"], ["updated_at", "2015-12-18 16:54:47.380669"], ["id", 1]]
2311
+ [ActiveJob] [BackdropJob] [9278c3b8-b957-43b0-af30-7d10abf76131] [BackdropJob] [1f69c09a-e233-4a2e-b11d-cc67309d9757] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{}}"
2312
+ [ActiveJob] [BackdropJob] [9278c3b8-b957-43b0-af30-7d10abf76131] [BackdropJob] [1f69c09a-e233-4a2e-b11d-cc67309d9757] Something Load (0.1ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 1]]
2313
+ [ActiveJob] [BackdropJob] [9278c3b8-b957-43b0-af30-7d10abf76131] [BackdropJob] [1f69c09a-e233-4a2e-b11d-cc67309d9757] Performed BackdropJob from Inline(default) in 1.09ms
2314
+ [ActiveJob] [BackdropJob] [9278c3b8-b957-43b0-af30-7d10abf76131] Enqueued BackdropJob (Job ID: 1f69c09a-e233-4a2e-b11d-cc67309d9757) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{}}"
2315
+ [ActiveJob] [BackdropJob] [9278c3b8-b957-43b0-af30-7d10abf76131] Performed BackdropJob from Inline(default) in 5.5ms
2316
+ [ActiveJob] Enqueued BackdropJob (Job ID: 9278c3b8-b957-43b0-af30-7d10abf76131) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{\"title\":[null,\"abc\"],\"updated_at\":[\"2015-12-18T16:54:47.334Z\",\"2015-12-18T16:54:47.372Z\"]}}"
2317
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2318
+  (0.0ms) SAVEPOINT active_record_1
2319
+ SQL (0.1ms) UPDATE "somethings" SET "title" = ?, "updated_at" = ? WHERE "somethings"."id" = ? [["title", "something better"], ["updated_at", "2015-12-18 16:54:47.385175"], ["id", 1]]
2320
+ [ActiveJob] [BackdropJob] [6e0716ff-152b-4834-9bb9-b2acec29f1b0] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{\"title\":[\"abc\",\"def\"],\"updated_at\":[\"2015-12-18T16:54:47.372Z\",\"2015-12-18T16:54:47.377Z\"]}}"
2321
+ [ActiveJob] [BackdropJob] [6e0716ff-152b-4834-9bb9-b2acec29f1b0] Something Load (0.0ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 1]]
2322
+ [ActiveJob] [BackdropJob] [6e0716ff-152b-4834-9bb9-b2acec29f1b0] SQL (0.1ms) UPDATE "somethings" SET "check" = ?, "updated_at" = ? WHERE "somethings"."id" = ? [["check", "def"], ["updated_at", "2015-12-18 16:54:47.386894"], ["id", 1]]
2323
+ [ActiveJob] [BackdropJob] [6e0716ff-152b-4834-9bb9-b2acec29f1b0] [BackdropJob] [c90c3ba9-aac0-41d4-b88b-c7b0a0a2e23f] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{}}"
2324
+ [ActiveJob] [BackdropJob] [6e0716ff-152b-4834-9bb9-b2acec29f1b0] [BackdropJob] [c90c3ba9-aac0-41d4-b88b-c7b0a0a2e23f] Something Load (0.0ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 1]]
2325
+ [ActiveJob] [BackdropJob] [6e0716ff-152b-4834-9bb9-b2acec29f1b0] [BackdropJob] [c90c3ba9-aac0-41d4-b88b-c7b0a0a2e23f] Performed BackdropJob from Inline(default) in 0.47ms
2326
+ [ActiveJob] [BackdropJob] [6e0716ff-152b-4834-9bb9-b2acec29f1b0] Enqueued BackdropJob (Job ID: c90c3ba9-aac0-41d4-b88b-c7b0a0a2e23f) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{}}"
2327
+ [ActiveJob] [BackdropJob] [6e0716ff-152b-4834-9bb9-b2acec29f1b0] Performed BackdropJob from Inline(default) in 2.3ms
2328
+ [ActiveJob] Enqueued BackdropJob (Job ID: 6e0716ff-152b-4834-9bb9-b2acec29f1b0) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{\"title\":[\"abc\",\"def\"],\"updated_at\":[\"2015-12-18T16:54:47.372Z\",\"2015-12-18T16:54:47.377Z\"]}}"
2329
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2330
+ Something Load (0.0ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 1]]
2331
+  (0.1ms) rollback transaction
2332
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
2333
+  (0.1ms) begin transaction
2334
+ ------------------------
2335
+ BackdropTest: test_truth
2336
+ ------------------------
2337
+  (0.0ms) rollback transaction
2338
+  (0.1ms) begin transaction
2339
+ ---------------------------------
2340
+ SomethingTest: test_backdrop_test
2341
+ ---------------------------------
2342
+  (0.1ms) SAVEPOINT active_record_1
2343
+ SQL (1.1ms) INSERT INTO "somethings" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-12-18 16:55:52.397224"], ["updated_at", "2015-12-18 16:55:52.397224"]]
2344
+ [ActiveJob] [BackdropJob] [ce80102e-edad-4c00-984d-f2a0dab9aead] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{}}"
2345
+ [ActiveJob] [BackdropJob] [ce80102e-edad-4c00-984d-f2a0dab9aead] Something Load (0.3ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 1]]
2346
+ [ActiveJob] [BackdropJob] [ce80102e-edad-4c00-984d-f2a0dab9aead] Performed BackdropJob from Inline(default) in 15.91ms
2347
+ [ActiveJob] Enqueued BackdropJob (Job ID: ce80102e-edad-4c00-984d-f2a0dab9aead) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{}}"
2348
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2349
+  (0.0ms) SAVEPOINT active_record_1
2350
+ SQL (0.6ms) UPDATE "somethings" SET "title" = ?, "updated_at" = ? WHERE "somethings"."id" = ? [["title", "abc"], ["updated_at", "2015-12-18 16:55:52.424696"], ["id", 1]]
2351
+ [ActiveJob] [BackdropJob] [bb323619-fa4c-41ad-ab89-184d2c765134] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{\"created_at\":[null,\"2015-12-18T16:55:52.397Z\"],\"updated_at\":[null,\"2015-12-18T16:55:52.397Z\"],\"id\":[null,1]}}"
2352
+ [ActiveJob] [BackdropJob] [bb323619-fa4c-41ad-ab89-184d2c765134] Something Load (0.0ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 1]]
2353
+ [ActiveJob] [BackdropJob] [bb323619-fa4c-41ad-ab89-184d2c765134] Performed BackdropJob from Inline(default) in 0.56ms
2354
+ [ActiveJob] Enqueued BackdropJob (Job ID: bb323619-fa4c-41ad-ab89-184d2c765134) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{\"created_at\":[null,\"2015-12-18T16:55:52.397Z\"],\"updated_at\":[null,\"2015-12-18T16:55:52.397Z\"],\"id\":[null,1]}}"
2355
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2356
+  (0.0ms) SAVEPOINT active_record_1
2357
+ SQL (0.1ms) UPDATE "somethings" SET "title" = ?, "updated_at" = ? WHERE "somethings"."id" = ? [["title", "def"], ["updated_at", "2015-12-18 16:55:52.427579"], ["id", 1]]
2358
+ [ActiveJob] [BackdropJob] [08853abf-7ea0-4515-857c-769696ab8580] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{\"title\":[null,\"abc\"],\"updated_at\":[\"2015-12-18T16:55:52.397Z\",\"2015-12-18T16:55:52.424Z\"]}}"
2359
+ [ActiveJob] [BackdropJob] [08853abf-7ea0-4515-857c-769696ab8580] Something Load (0.0ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 1]]
2360
+ [ActiveJob] [BackdropJob] [08853abf-7ea0-4515-857c-769696ab8580] SQL (0.1ms) UPDATE "somethings" SET "check" = ?, "updated_at" = ? WHERE "somethings"."id" = ? [["check", "abc"], ["updated_at", "2015-12-18 16:55:52.429064"], ["id", 1]]
2361
+ [ActiveJob] [BackdropJob] [08853abf-7ea0-4515-857c-769696ab8580] [BackdropJob] [1b73c8eb-3158-4c37-a477-b6c7ecd96deb] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{}}"
2362
+ [ActiveJob] [BackdropJob] [08853abf-7ea0-4515-857c-769696ab8580] [BackdropJob] [1b73c8eb-3158-4c37-a477-b6c7ecd96deb] Something Load (0.1ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 1]]
2363
+ [ActiveJob] [BackdropJob] [08853abf-7ea0-4515-857c-769696ab8580] [BackdropJob] [1b73c8eb-3158-4c37-a477-b6c7ecd96deb] Performed BackdropJob from Inline(default) in 0.5ms
2364
+ [ActiveJob] [BackdropJob] [08853abf-7ea0-4515-857c-769696ab8580] Enqueued BackdropJob (Job ID: 1b73c8eb-3158-4c37-a477-b6c7ecd96deb) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{}}"
2365
+ [ActiveJob] [BackdropJob] [08853abf-7ea0-4515-857c-769696ab8580] Performed BackdropJob from Inline(default) in 2.39ms
2366
+ [ActiveJob] Enqueued BackdropJob (Job ID: 08853abf-7ea0-4515-857c-769696ab8580) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{\"title\":[null,\"abc\"],\"updated_at\":[\"2015-12-18T16:55:52.397Z\",\"2015-12-18T16:55:52.424Z\"]}}"
2367
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2368
+  (0.0ms) SAVEPOINT active_record_1
2369
+ SQL (0.1ms) UPDATE "somethings" SET "title" = ?, "updated_at" = ? WHERE "somethings"."id" = ? [["title", "something better"], ["updated_at", "2015-12-18 16:55:52.431308"], ["id", 1]]
2370
+ [ActiveJob] [BackdropJob] [0dad637a-0015-440b-83a3-c6cea424ced9] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{\"title\":[\"abc\",\"def\"],\"updated_at\":[\"2015-12-18T16:55:52.424Z\",\"2015-12-18T16:55:52.427Z\"]}}"
2371
+ [ActiveJob] [BackdropJob] [0dad637a-0015-440b-83a3-c6cea424ced9] Something Load (0.0ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 1]]
2372
+ [ActiveJob] [BackdropJob] [0dad637a-0015-440b-83a3-c6cea424ced9] SQL (0.1ms) UPDATE "somethings" SET "check" = ?, "updated_at" = ? WHERE "somethings"."id" = ? [["check", "def"], ["updated_at", "2015-12-18 16:55:52.432756"], ["id", 1]]
2373
+ [ActiveJob] [BackdropJob] [0dad637a-0015-440b-83a3-c6cea424ced9] [BackdropJob] [e23bb36d-8e11-4ff6-9765-313315763d96] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{}}"
2374
+ [ActiveJob] [BackdropJob] [0dad637a-0015-440b-83a3-c6cea424ced9] [BackdropJob] [e23bb36d-8e11-4ff6-9765-313315763d96] Something Load (0.0ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 1]]
2375
+ [ActiveJob] [BackdropJob] [0dad637a-0015-440b-83a3-c6cea424ced9] [BackdropJob] [e23bb36d-8e11-4ff6-9765-313315763d96] Performed BackdropJob from Inline(default) in 0.46ms
2376
+ [ActiveJob] [BackdropJob] [0dad637a-0015-440b-83a3-c6cea424ced9] Enqueued BackdropJob (Job ID: e23bb36d-8e11-4ff6-9765-313315763d96) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{}}"
2377
+ [ActiveJob] [BackdropJob] [0dad637a-0015-440b-83a3-c6cea424ced9] Performed BackdropJob from Inline(default) in 2.27ms
2378
+ [ActiveJob] Enqueued BackdropJob (Job ID: 0dad637a-0015-440b-83a3-c6cea424ced9) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{\"title\":[\"abc\",\"def\"],\"updated_at\":[\"2015-12-18T16:55:52.424Z\",\"2015-12-18T16:55:52.427Z\"]}}"
2379
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2380
+ Something Load (0.0ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 1]]
2381
+  (0.1ms) rollback transaction
2382
+  (0.0ms) begin transaction
2383
+ ---------------------------------------------
2384
+ ActAsBackdropTest: test_model_act_as_backdrop
2385
+ ---------------------------------------------
2386
+  (0.0ms) SAVEPOINT active_record_1
2387
+ SQL (0.1ms) INSERT INTO "somethings" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-12-18 16:55:52.436185"], ["updated_at", "2015-12-18 16:55:52.436185"]]
2388
+ [ActiveJob] [BackdropJob] [31dbbc04-5d69-45ae-9207-99d8c3970b0f] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{}}"
2389
+ [ActiveJob] [BackdropJob] [31dbbc04-5d69-45ae-9207-99d8c3970b0f] Something Load (0.0ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 1]]
2390
+ [ActiveJob] [BackdropJob] [31dbbc04-5d69-45ae-9207-99d8c3970b0f] Performed BackdropJob from Inline(default) in 0.49ms
2391
+ [ActiveJob] Enqueued BackdropJob (Job ID: 31dbbc04-5d69-45ae-9207-99d8c3970b0f) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{}}"
2392
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2393
+  (0.1ms) SAVEPOINT active_record_1
2394
+ SQL (0.1ms) UPDATE "somethings" SET "title" = ?, "updated_at" = ? WHERE "somethings"."id" = ? [["title", "abc"], ["updated_at", "2015-12-18 16:55:52.438303"], ["id", 1]]
2395
+ [ActiveJob] [BackdropJob] [c2f6daf3-03fa-4b42-ad64-0b5853a9550e] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{\"created_at\":[null,\"2015-12-18T16:55:52.436Z\"],\"updated_at\":[null,\"2015-12-18T16:55:52.436Z\"],\"id\":[null,1]}}"
2396
+ [ActiveJob] [BackdropJob] [c2f6daf3-03fa-4b42-ad64-0b5853a9550e] Something Load (0.1ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 1]]
2397
+ [ActiveJob] [BackdropJob] [c2f6daf3-03fa-4b42-ad64-0b5853a9550e] Performed BackdropJob from Inline(default) in 0.51ms
2398
+ [ActiveJob] Enqueued BackdropJob (Job ID: c2f6daf3-03fa-4b42-ad64-0b5853a9550e) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{\"created_at\":[null,\"2015-12-18T16:55:52.436Z\"],\"updated_at\":[null,\"2015-12-18T16:55:52.436Z\"],\"id\":[null,1]}}"
2399
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2400
+  (0.0ms) SAVEPOINT active_record_1
2401
+ SQL (0.1ms) UPDATE "somethings" SET "title" = ?, "updated_at" = ? WHERE "somethings"."id" = ? [["title", "def"], ["updated_at", "2015-12-18 16:55:52.440114"], ["id", 1]]
2402
+ [ActiveJob] [BackdropJob] [248e8b72-b768-4413-a5cb-2ff3e8c9b03d] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{\"title\":[null,\"abc\"],\"updated_at\":[\"2015-12-18T16:55:52.436Z\",\"2015-12-18T16:55:52.438Z\"]}}"
2403
+ [ActiveJob] [BackdropJob] [248e8b72-b768-4413-a5cb-2ff3e8c9b03d] Something Load (0.0ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 1]]
2404
+ [ActiveJob] [BackdropJob] [248e8b72-b768-4413-a5cb-2ff3e8c9b03d] SQL (0.1ms) UPDATE "somethings" SET "check" = ?, "updated_at" = ? WHERE "somethings"."id" = ? [["check", "abc"], ["updated_at", "2015-12-18 16:55:52.441756"], ["id", 1]]
2405
+ [ActiveJob] [BackdropJob] [248e8b72-b768-4413-a5cb-2ff3e8c9b03d] [BackdropJob] [4df0dbab-f132-49aa-b8f3-bdd45e7ba6f4] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{}}"
2406
+ [ActiveJob] [BackdropJob] [248e8b72-b768-4413-a5cb-2ff3e8c9b03d] [BackdropJob] [4df0dbab-f132-49aa-b8f3-bdd45e7ba6f4] Something Load (0.0ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 1]]
2407
+ [ActiveJob] [BackdropJob] [248e8b72-b768-4413-a5cb-2ff3e8c9b03d] [BackdropJob] [4df0dbab-f132-49aa-b8f3-bdd45e7ba6f4] Performed BackdropJob from Inline(default) in 0.52ms
2408
+ [ActiveJob] [BackdropJob] [248e8b72-b768-4413-a5cb-2ff3e8c9b03d] Enqueued BackdropJob (Job ID: 4df0dbab-f132-49aa-b8f3-bdd45e7ba6f4) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{}}"
2409
+ [ActiveJob] [BackdropJob] [248e8b72-b768-4413-a5cb-2ff3e8c9b03d] Performed BackdropJob from Inline(default) in 2.34ms
2410
+ [ActiveJob] Enqueued BackdropJob (Job ID: 248e8b72-b768-4413-a5cb-2ff3e8c9b03d) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{\"title\":[null,\"abc\"],\"updated_at\":[\"2015-12-18T16:55:52.436Z\",\"2015-12-18T16:55:52.438Z\"]}}"
2411
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2412
+  (0.0ms) SAVEPOINT active_record_1
2413
+ SQL (0.1ms) UPDATE "somethings" SET "title" = ?, "updated_at" = ? WHERE "somethings"."id" = ? [["title", "something better"], ["updated_at", "2015-12-18 16:55:52.443948"], ["id", 1]]
2414
+ [ActiveJob] [BackdropJob] [4ed9150d-bafb-4c78-9fce-12a4f5d25c83] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{\"title\":[\"abc\",\"def\"],\"updated_at\":[\"2015-12-18T16:55:52.438Z\",\"2015-12-18T16:55:52.440Z\"]}}"
2415
+ [ActiveJob] [BackdropJob] [4ed9150d-bafb-4c78-9fce-12a4f5d25c83] Something Load (0.0ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 1]]
2416
+ [ActiveJob] [BackdropJob] [4ed9150d-bafb-4c78-9fce-12a4f5d25c83] SQL (0.1ms) UPDATE "somethings" SET "check" = ?, "updated_at" = ? WHERE "somethings"."id" = ? [["check", "def"], ["updated_at", "2015-12-18 16:55:52.445332"], ["id", 1]]
2417
+ [ActiveJob] [BackdropJob] [4ed9150d-bafb-4c78-9fce-12a4f5d25c83] [BackdropJob] [f20cbfad-0993-4a8f-ac22-27fff405230e] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{}}"
2418
+ [ActiveJob] [BackdropJob] [4ed9150d-bafb-4c78-9fce-12a4f5d25c83] [BackdropJob] [f20cbfad-0993-4a8f-ac22-27fff405230e] Something Load (0.0ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 1]]
2419
+ [ActiveJob] [BackdropJob] [4ed9150d-bafb-4c78-9fce-12a4f5d25c83] [BackdropJob] [f20cbfad-0993-4a8f-ac22-27fff405230e] Performed BackdropJob from Inline(default) in 0.49ms
2420
+ [ActiveJob] [BackdropJob] [4ed9150d-bafb-4c78-9fce-12a4f5d25c83] Enqueued BackdropJob (Job ID: f20cbfad-0993-4a8f-ac22-27fff405230e) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{}}"
2421
+ [ActiveJob] [BackdropJob] [4ed9150d-bafb-4c78-9fce-12a4f5d25c83] Performed BackdropJob from Inline(default) in 2.28ms
2422
+ [ActiveJob] Enqueued BackdropJob (Job ID: 4ed9150d-bafb-4c78-9fce-12a4f5d25c83) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/1\",\"changes\":{\"title\":[\"abc\",\"def\"],\"updated_at\":[\"2015-12-18T16:55:52.438Z\",\"2015-12-18T16:55:52.440Z\"]}}"
2423
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2424
+ Something Load (0.0ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 1]]
2425
+  (0.1ms) rollback transaction
2426
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2427
+  (0.1ms) begin transaction
2428
+ Fixture Delete (0.3ms) DELETE FROM "somethings"
2429
+ Fixture Insert (0.2ms) INSERT INTO "somethings" ("title", "created_at", "updated_at", "id") VALUES ('MyString', '2015-12-18 16:56:46', '2015-12-18 16:56:46', 980190962)
2430
+ Fixture Insert (0.1ms) INSERT INTO "somethings" ("title", "created_at", "updated_at", "id") VALUES ('MyString', '2015-12-18 16:56:46', '2015-12-18 16:56:46', 298486374)
2431
+  (2.5ms) commit transaction
2432
+  (0.1ms) begin transaction
2433
+ Something Load (0.3ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 980190962]]
2434
+ Something Load (0.1ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 298486374]]
2435
+ ---------------------------------
2436
+ SomethingTest: test_backdrop_test
2437
+ ---------------------------------
2438
+  (0.1ms) SAVEPOINT active_record_1
2439
+ SQL (0.2ms) INSERT INTO "somethings" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-12-18 16:56:46.881761"], ["updated_at", "2015-12-18 16:56:46.881761"]]
2440
+ [ActiveJob] [BackdropJob] [0c1349ab-e443-41b1-a2e4-d35361d5c019] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{}}"
2441
+ [ActiveJob] [BackdropJob] [0c1349ab-e443-41b1-a2e4-d35361d5c019] Something Load (0.1ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 980190963]]
2442
+ [ActiveJob] [BackdropJob] [0c1349ab-e443-41b1-a2e4-d35361d5c019] Performed BackdropJob from Inline(default) in 3.75ms
2443
+ [ActiveJob] Enqueued BackdropJob (Job ID: 0c1349ab-e443-41b1-a2e4-d35361d5c019) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{}}"
2444
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2445
+  (0.0ms) SAVEPOINT active_record_1
2446
+ SQL (0.1ms) UPDATE "somethings" SET "title" = ?, "updated_at" = ? WHERE "somethings"."id" = ? [["title", "abc"], ["updated_at", "2015-12-18 16:56:46.890465"], ["id", 980190963]]
2447
+ [ActiveJob] [BackdropJob] [d952303b-5994-4a23-a693-1bc0ba90f341] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{\"created_at\":[null,\"2015-12-18T16:56:46.881Z\"],\"updated_at\":[null,\"2015-12-18T16:56:46.881Z\"],\"id\":[null,980190963]}}"
2448
+ [ActiveJob] [BackdropJob] [d952303b-5994-4a23-a693-1bc0ba90f341] Something Load (0.0ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 980190963]]
2449
+ [ActiveJob] [BackdropJob] [d952303b-5994-4a23-a693-1bc0ba90f341] Performed BackdropJob from Inline(default) in 0.49ms
2450
+ [ActiveJob] Enqueued BackdropJob (Job ID: d952303b-5994-4a23-a693-1bc0ba90f341) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{\"created_at\":[null,\"2015-12-18T16:56:46.881Z\"],\"updated_at\":[null,\"2015-12-18T16:56:46.881Z\"],\"id\":[null,980190963]}}"
2451
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2452
+  (0.0ms) SAVEPOINT active_record_1
2453
+ SQL (0.1ms) UPDATE "somethings" SET "title" = ?, "updated_at" = ? WHERE "somethings"."id" = ? [["title", "def"], ["updated_at", "2015-12-18 16:56:46.892972"], ["id", 980190963]]
2454
+ [ActiveJob] [BackdropJob] [8a207884-828f-4a1f-9868-46a6c7dae630] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{\"title\":[null,\"abc\"],\"updated_at\":[\"2015-12-18T16:56:46.881Z\",\"2015-12-18T16:56:46.890Z\"]}}"
2455
+ [ActiveJob] [BackdropJob] [8a207884-828f-4a1f-9868-46a6c7dae630] Something Load (0.0ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 980190963]]
2456
+ [ActiveJob] [BackdropJob] [8a207884-828f-4a1f-9868-46a6c7dae630] SQL (0.1ms) UPDATE "somethings" SET "check" = ?, "updated_at" = ? WHERE "somethings"."id" = ? [["check", "abc"], ["updated_at", "2015-12-18 16:56:46.894363"], ["id", 980190963]]
2457
+ [ActiveJob] [BackdropJob] [8a207884-828f-4a1f-9868-46a6c7dae630] [BackdropJob] [e8dfb378-9892-41ac-b0c7-45b97a9760b5] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{}}"
2458
+ [ActiveJob] [BackdropJob] [8a207884-828f-4a1f-9868-46a6c7dae630] [BackdropJob] [e8dfb378-9892-41ac-b0c7-45b97a9760b5] Something Load (0.0ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 980190963]]
2459
+ [ActiveJob] [BackdropJob] [8a207884-828f-4a1f-9868-46a6c7dae630] [BackdropJob] [e8dfb378-9892-41ac-b0c7-45b97a9760b5] Performed BackdropJob from Inline(default) in 0.56ms
2460
+ [ActiveJob] [BackdropJob] [8a207884-828f-4a1f-9868-46a6c7dae630] Enqueued BackdropJob (Job ID: e8dfb378-9892-41ac-b0c7-45b97a9760b5) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{}}"
2461
+ [ActiveJob] [BackdropJob] [8a207884-828f-4a1f-9868-46a6c7dae630] Performed BackdropJob from Inline(default) in 2.39ms
2462
+ [ActiveJob] Enqueued BackdropJob (Job ID: 8a207884-828f-4a1f-9868-46a6c7dae630) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{\"title\":[null,\"abc\"],\"updated_at\":[\"2015-12-18T16:56:46.881Z\",\"2015-12-18T16:56:46.890Z\"]}}"
2463
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2464
+  (0.1ms) SAVEPOINT active_record_1
2465
+ SQL (0.1ms) UPDATE "somethings" SET "title" = ?, "updated_at" = ? WHERE "somethings"."id" = ? [["title", "something better"], ["updated_at", "2015-12-18 16:56:46.896689"], ["id", 980190963]]
2466
+ [ActiveJob] [BackdropJob] [13d63f7a-d5e2-4e0a-9c11-951e8d570e20] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{\"title\":[\"abc\",\"def\"],\"updated_at\":[\"2015-12-18T16:56:46.890Z\",\"2015-12-18T16:56:46.892Z\"]}}"
2467
+ [ActiveJob] [BackdropJob] [13d63f7a-d5e2-4e0a-9c11-951e8d570e20] Something Load (0.0ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 980190963]]
2468
+ [ActiveJob] [BackdropJob] [13d63f7a-d5e2-4e0a-9c11-951e8d570e20] SQL (0.0ms) UPDATE "somethings" SET "check" = ?, "updated_at" = ? WHERE "somethings"."id" = ? [["check", "def"], ["updated_at", "2015-12-18 16:56:46.898016"], ["id", 980190963]]
2469
+ [ActiveJob] [BackdropJob] [13d63f7a-d5e2-4e0a-9c11-951e8d570e20] [BackdropJob] [d4a3138b-889f-48bc-b95e-01346fb71624] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{}}"
2470
+ [ActiveJob] [BackdropJob] [13d63f7a-d5e2-4e0a-9c11-951e8d570e20] [BackdropJob] [d4a3138b-889f-48bc-b95e-01346fb71624] Something Load (0.0ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 980190963]]
2471
+ [ActiveJob] [BackdropJob] [13d63f7a-d5e2-4e0a-9c11-951e8d570e20] [BackdropJob] [d4a3138b-889f-48bc-b95e-01346fb71624] Performed BackdropJob from Inline(default) in 0.45ms
2472
+ [ActiveJob] [BackdropJob] [13d63f7a-d5e2-4e0a-9c11-951e8d570e20] Enqueued BackdropJob (Job ID: d4a3138b-889f-48bc-b95e-01346fb71624) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{}}"
2473
+ [ActiveJob] [BackdropJob] [13d63f7a-d5e2-4e0a-9c11-951e8d570e20] Performed BackdropJob from Inline(default) in 2.08ms
2474
+ [ActiveJob] Enqueued BackdropJob (Job ID: 13d63f7a-d5e2-4e0a-9c11-951e8d570e20) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{\"title\":[\"abc\",\"def\"],\"updated_at\":[\"2015-12-18T16:56:46.890Z\",\"2015-12-18T16:56:46.892Z\"]}}"
2475
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2476
+ Something Load (0.0ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 980190963]]
2477
+  (0.1ms) rollback transaction
2478
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
2479
+  (0.1ms) begin transaction
2480
+ ---------------------------------------------
2481
+ ActAsBackdropTest: test_model_act_as_backdrop
2482
+ ---------------------------------------------
2483
+  (0.1ms) SAVEPOINT active_record_1
2484
+ SQL (0.5ms) INSERT INTO "somethings" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-12-18 16:56:54.903312"], ["updated_at", "2015-12-18 16:56:54.903312"]]
2485
+ [ActiveJob] [BackdropJob] [7e6dc9e3-c3b1-458d-98d3-6812d18c865f] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{}}"
2486
+ [ActiveJob] [BackdropJob] [7e6dc9e3-c3b1-458d-98d3-6812d18c865f] Something Load (0.3ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 980190963]]
2487
+ [ActiveJob] [BackdropJob] [7e6dc9e3-c3b1-458d-98d3-6812d18c865f] Performed BackdropJob from Inline(default) in 13.95ms
2488
+ [ActiveJob] Enqueued BackdropJob (Job ID: 7e6dc9e3-c3b1-458d-98d3-6812d18c865f) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{}}"
2489
+  (0.5ms) RELEASE SAVEPOINT active_record_1
2490
+  (0.1ms) SAVEPOINT active_record_1
2491
+ SQL (0.6ms) UPDATE "somethings" SET "title" = ?, "updated_at" = ? WHERE "somethings"."id" = ? [["title", "abc"], ["updated_at", "2015-12-18 16:56:54.927250"], ["id", 980190963]]
2492
+ [ActiveJob] [BackdropJob] [e98317ca-1d91-4b9d-82d9-adf7e4ee336f] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{\"created_at\":[null,\"2015-12-18T16:56:54.903Z\"],\"updated_at\":[null,\"2015-12-18T16:56:54.903Z\"],\"id\":[null,980190963]}}"
2493
+ [ActiveJob] [BackdropJob] [e98317ca-1d91-4b9d-82d9-adf7e4ee336f] Something Load (0.1ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 980190963]]
2494
+ [ActiveJob] [BackdropJob] [e98317ca-1d91-4b9d-82d9-adf7e4ee336f] Performed BackdropJob from Inline(default) in 1.25ms
2495
+ [ActiveJob] Enqueued BackdropJob (Job ID: e98317ca-1d91-4b9d-82d9-adf7e4ee336f) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{\"created_at\":[null,\"2015-12-18T16:56:54.903Z\"],\"updated_at\":[null,\"2015-12-18T16:56:54.903Z\"],\"id\":[null,980190963]}}"
2496
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2497
+  (0.1ms) SAVEPOINT active_record_1
2498
+ SQL (0.2ms) UPDATE "somethings" SET "title" = ?, "updated_at" = ? WHERE "somethings"."id" = ? [["title", "def"], ["updated_at", "2015-12-18 16:56:54.933735"], ["id", 980190963]]
2499
+ [ActiveJob] [BackdropJob] [8bddd615-fdc4-437e-97e2-0eecd6e664b2] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{\"title\":[null,\"abc\"],\"updated_at\":[\"2015-12-18T16:56:54.903Z\",\"2015-12-18T16:56:54.927Z\"]}}"
2500
+ [ActiveJob] [BackdropJob] [8bddd615-fdc4-437e-97e2-0eecd6e664b2] Something Load (0.1ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 980190963]]
2501
+ [ActiveJob] [BackdropJob] [8bddd615-fdc4-437e-97e2-0eecd6e664b2] SQL (0.2ms) UPDATE "somethings" SET "check" = ?, "updated_at" = ? WHERE "somethings"."id" = ? [["check", "abc"], ["updated_at", "2015-12-18 16:56:54.937258"], ["id", 980190963]]
2502
+ [ActiveJob] [BackdropJob] [8bddd615-fdc4-437e-97e2-0eecd6e664b2] [BackdropJob] [0219c529-e00e-455a-a010-edcc8ee8f17b] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{}}"
2503
+ [ActiveJob] [BackdropJob] [8bddd615-fdc4-437e-97e2-0eecd6e664b2] [BackdropJob] [0219c529-e00e-455a-a010-edcc8ee8f17b] Something Load (0.1ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 980190963]]
2504
+ [ActiveJob] [BackdropJob] [8bddd615-fdc4-437e-97e2-0eecd6e664b2] [BackdropJob] [0219c529-e00e-455a-a010-edcc8ee8f17b] Performed BackdropJob from Inline(default) in 1.15ms
2505
+ [ActiveJob] [BackdropJob] [8bddd615-fdc4-437e-97e2-0eecd6e664b2] Enqueued BackdropJob (Job ID: 0219c529-e00e-455a-a010-edcc8ee8f17b) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{}}"
2506
+ [ActiveJob] [BackdropJob] [8bddd615-fdc4-437e-97e2-0eecd6e664b2] Performed BackdropJob from Inline(default) in 5.67ms
2507
+ [ActiveJob] Enqueued BackdropJob (Job ID: 8bddd615-fdc4-437e-97e2-0eecd6e664b2) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{\"title\":[null,\"abc\"],\"updated_at\":[\"2015-12-18T16:56:54.903Z\",\"2015-12-18T16:56:54.927Z\"]}}"
2508
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2509
+  (0.1ms) SAVEPOINT active_record_1
2510
+ SQL (0.1ms) UPDATE "somethings" SET "title" = ?, "updated_at" = ? WHERE "somethings"."id" = ? [["title", "something better"], ["updated_at", "2015-12-18 16:56:54.942498"], ["id", 980190963]]
2511
+ [ActiveJob] [BackdropJob] [d4a80f33-96ad-4ee9-bfcf-5bf980835490] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{\"title\":[\"abc\",\"def\"],\"updated_at\":[\"2015-12-18T16:56:54.927Z\",\"2015-12-18T16:56:54.933Z\"]}}"
2512
+ [ActiveJob] [BackdropJob] [d4a80f33-96ad-4ee9-bfcf-5bf980835490] Something Load (0.0ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 980190963]]
2513
+ [ActiveJob] [BackdropJob] [d4a80f33-96ad-4ee9-bfcf-5bf980835490] SQL (0.1ms) UPDATE "somethings" SET "check" = ?, "updated_at" = ? WHERE "somethings"."id" = ? [["check", "def"], ["updated_at", "2015-12-18 16:56:54.945027"], ["id", 980190963]]
2514
+ [ActiveJob] [BackdropJob] [d4a80f33-96ad-4ee9-bfcf-5bf980835490] [BackdropJob] [6549445a-c0f4-45ad-b49a-309d06e3ae9a] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{}}"
2515
+ [ActiveJob] [BackdropJob] [d4a80f33-96ad-4ee9-bfcf-5bf980835490] [BackdropJob] [6549445a-c0f4-45ad-b49a-309d06e3ae9a] Something Load (0.0ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 980190963]]
2516
+ [ActiveJob] [BackdropJob] [d4a80f33-96ad-4ee9-bfcf-5bf980835490] [BackdropJob] [6549445a-c0f4-45ad-b49a-309d06e3ae9a] Performed BackdropJob from Inline(default) in 0.49ms
2517
+ [ActiveJob] [BackdropJob] [d4a80f33-96ad-4ee9-bfcf-5bf980835490] Enqueued BackdropJob (Job ID: 6549445a-c0f4-45ad-b49a-309d06e3ae9a) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{}}"
2518
+ [ActiveJob] [BackdropJob] [d4a80f33-96ad-4ee9-bfcf-5bf980835490] Performed BackdropJob from Inline(default) in 2.19ms
2519
+ [ActiveJob] Enqueued BackdropJob (Job ID: d4a80f33-96ad-4ee9-bfcf-5bf980835490) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{\"title\":[\"abc\",\"def\"],\"updated_at\":[\"2015-12-18T16:56:54.927Z\",\"2015-12-18T16:56:54.933Z\"]}}"
2520
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2521
+ Something Load (0.1ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 980190963]]
2522
+  (0.1ms) rollback transaction
2523
+  (0.1ms) begin transaction
2524
+ ---------------------------------
2525
+ SomethingTest: test_backdrop_test
2526
+ ---------------------------------
2527
+  (0.0ms) SAVEPOINT active_record_1
2528
+ SQL (0.1ms) INSERT INTO "somethings" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-12-18 16:56:54.949047"], ["updated_at", "2015-12-18 16:56:54.949047"]]
2529
+ [ActiveJob] [BackdropJob] [c021fd3f-8755-49bd-b7d4-dcc4bb191a7c] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{}}"
2530
+ [ActiveJob] [BackdropJob] [c021fd3f-8755-49bd-b7d4-dcc4bb191a7c] Something Load (0.1ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 980190963]]
2531
+ [ActiveJob] [BackdropJob] [c021fd3f-8755-49bd-b7d4-dcc4bb191a7c] Performed BackdropJob from Inline(default) in 0.49ms
2532
+ [ActiveJob] Enqueued BackdropJob (Job ID: c021fd3f-8755-49bd-b7d4-dcc4bb191a7c) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{}}"
2533
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2534
+  (0.0ms) SAVEPOINT active_record_1
2535
+ SQL (0.1ms) UPDATE "somethings" SET "title" = ?, "updated_at" = ? WHERE "somethings"."id" = ? [["title", "abc"], ["updated_at", "2015-12-18 16:56:54.951085"], ["id", 980190963]]
2536
+ [ActiveJob] [BackdropJob] [f18fe889-a183-464d-ba8c-2efc0e3cf596] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{\"created_at\":[null,\"2015-12-18T16:56:54.949Z\"],\"updated_at\":[null,\"2015-12-18T16:56:54.949Z\"],\"id\":[null,980190963]}}"
2537
+ [ActiveJob] [BackdropJob] [f18fe889-a183-464d-ba8c-2efc0e3cf596] Something Load (0.0ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 980190963]]
2538
+ [ActiveJob] [BackdropJob] [f18fe889-a183-464d-ba8c-2efc0e3cf596] Performed BackdropJob from Inline(default) in 0.48ms
2539
+ [ActiveJob] Enqueued BackdropJob (Job ID: f18fe889-a183-464d-ba8c-2efc0e3cf596) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{\"created_at\":[null,\"2015-12-18T16:56:54.949Z\"],\"updated_at\":[null,\"2015-12-18T16:56:54.949Z\"],\"id\":[null,980190963]}}"
2540
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2541
+  (0.0ms) SAVEPOINT active_record_1
2542
+ SQL (0.1ms) UPDATE "somethings" SET "title" = ?, "updated_at" = ? WHERE "somethings"."id" = ? [["title", "def"], ["updated_at", "2015-12-18 16:56:54.952879"], ["id", 980190963]]
2543
+ [ActiveJob] [BackdropJob] [405772ac-c85c-42cc-aec1-3c1fd53faf50] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{\"title\":[null,\"abc\"],\"updated_at\":[\"2015-12-18T16:56:54.949Z\",\"2015-12-18T16:56:54.951Z\"]}}"
2544
+ [ActiveJob] [BackdropJob] [405772ac-c85c-42cc-aec1-3c1fd53faf50] Something Load (0.1ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 980190963]]
2545
+ [ActiveJob] [BackdropJob] [405772ac-c85c-42cc-aec1-3c1fd53faf50] SQL (0.1ms) UPDATE "somethings" SET "check" = ?, "updated_at" = ? WHERE "somethings"."id" = ? [["check", "abc"], ["updated_at", "2015-12-18 16:56:54.954317"], ["id", 980190963]]
2546
+ [ActiveJob] [BackdropJob] [405772ac-c85c-42cc-aec1-3c1fd53faf50] [BackdropJob] [336c90b1-865e-4ef8-ba01-e04f30b89b64] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{}}"
2547
+ [ActiveJob] [BackdropJob] [405772ac-c85c-42cc-aec1-3c1fd53faf50] [BackdropJob] [336c90b1-865e-4ef8-ba01-e04f30b89b64] Something Load (0.0ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 980190963]]
2548
+ [ActiveJob] [BackdropJob] [405772ac-c85c-42cc-aec1-3c1fd53faf50] [BackdropJob] [336c90b1-865e-4ef8-ba01-e04f30b89b64] Performed BackdropJob from Inline(default) in 0.47ms
2549
+ [ActiveJob] [BackdropJob] [405772ac-c85c-42cc-aec1-3c1fd53faf50] Enqueued BackdropJob (Job ID: 336c90b1-865e-4ef8-ba01-e04f30b89b64) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{}}"
2550
+ [ActiveJob] [BackdropJob] [405772ac-c85c-42cc-aec1-3c1fd53faf50] Performed BackdropJob from Inline(default) in 2.24ms
2551
+ [ActiveJob] Enqueued BackdropJob (Job ID: 405772ac-c85c-42cc-aec1-3c1fd53faf50) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{\"title\":[null,\"abc\"],\"updated_at\":[\"2015-12-18T16:56:54.949Z\",\"2015-12-18T16:56:54.951Z\"]}}"
2552
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2553
+  (0.1ms) SAVEPOINT active_record_1
2554
+ SQL (0.1ms) UPDATE "somethings" SET "title" = ?, "updated_at" = ? WHERE "somethings"."id" = ? [["title", "something better"], ["updated_at", "2015-12-18 16:56:54.956447"], ["id", 980190963]]
2555
+ [ActiveJob] [BackdropJob] [80d3831e-78d6-4ccc-8db2-382299c8dc0b] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{\"title\":[\"abc\",\"def\"],\"updated_at\":[\"2015-12-18T16:56:54.951Z\",\"2015-12-18T16:56:54.952Z\"]}}"
2556
+ [ActiveJob] [BackdropJob] [80d3831e-78d6-4ccc-8db2-382299c8dc0b] Something Load (0.0ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 980190963]]
2557
+ [ActiveJob] [BackdropJob] [80d3831e-78d6-4ccc-8db2-382299c8dc0b] SQL (0.1ms) UPDATE "somethings" SET "check" = ?, "updated_at" = ? WHERE "somethings"."id" = ? [["check", "def"], ["updated_at", "2015-12-18 16:56:54.957956"], ["id", 980190963]]
2558
+ [ActiveJob] [BackdropJob] [80d3831e-78d6-4ccc-8db2-382299c8dc0b] [BackdropJob] [148c32da-15d5-45ec-b468-13c2742e1bf4] Performing BackdropJob from Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{}}"
2559
+ [ActiveJob] [BackdropJob] [80d3831e-78d6-4ccc-8db2-382299c8dc0b] [BackdropJob] [148c32da-15d5-45ec-b468-13c2742e1bf4] Something Load (0.0ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 980190963]]
2560
+ [ActiveJob] [BackdropJob] [80d3831e-78d6-4ccc-8db2-382299c8dc0b] [BackdropJob] [148c32da-15d5-45ec-b468-13c2742e1bf4] Performed BackdropJob from Inline(default) in 0.5ms
2561
+ [ActiveJob] [BackdropJob] [80d3831e-78d6-4ccc-8db2-382299c8dc0b] Enqueued BackdropJob (Job ID: 148c32da-15d5-45ec-b468-13c2742e1bf4) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{}}"
2562
+ [ActiveJob] [BackdropJob] [80d3831e-78d6-4ccc-8db2-382299c8dc0b] Performed BackdropJob from Inline(default) in 2.17ms
2563
+ [ActiveJob] Enqueued BackdropJob (Job ID: 80d3831e-78d6-4ccc-8db2-382299c8dc0b) to Inline(default) with arguments: "{\"class\":\"Something\",\"gid\":\"gid://dummy/Something/980190963\",\"changes\":{\"title\":[\"abc\",\"def\"],\"updated_at\":[\"2015-12-18T16:56:54.951Z\",\"2015-12-18T16:56:54.952Z\"]}}"
2564
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2565
+ Something Load (0.0ms) SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 980190963]]
2566
+  (0.1ms) rollback transaction
2567
+  (0.1ms) begin transaction
2568
+ ------------------------
2569
+ BackdropTest: test_truth
2570
+ ------------------------
2571
+  (0.0ms) rollback transaction
@@ -1,7 +1,24 @@
1
1
  require 'test_helper'
2
2
 
3
3
  class SomethingTest < ActiveSupport::TestCase
4
- # test "the truth" do
5
- # assert true
6
- # end
4
+
5
+ test 'backdrop_test' do
6
+
7
+ model = Something.new
8
+ model.save
9
+
10
+ model.title = 'abc'
11
+ model.save
12
+
13
+ model.title = 'def'
14
+ model.save
15
+
16
+ model.title = 'something better'
17
+ model.save
18
+
19
+ model.reload
20
+ assert_equal 'def', model.check
21
+
22
+ end
23
+
7
24
  end
@@ -0,0 +1,14 @@
1
+ ENV['RAILS_ENV'] ||= 'test'
2
+ require File.expand_path('../../config/environment', __FILE__)
3
+ require 'rails/test_help'
4
+
5
+ class ActiveSupport::TestCase
6
+ # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
7
+ fixtures :all
8
+
9
+ self.use_transactional_fixtures = true
10
+ self.use_instantiated_fixtures = true
11
+
12
+ # Add more helper methods to be used by all tests here...
13
+ end
14
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: act_as_backdrop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grigoriy Dobryakov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-17 00:00:00.000000000 Z
11
+ date: 2015-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -56,6 +56,8 @@ files:
56
56
  - lib/tasks/backdrop_tasks.rake
57
57
  - test/act_as_backdrop_test.rb
58
58
  - test/backdrop_test.rb
59
+ - test/dummy/Gemfile
60
+ - test/dummy/Gemfile.lock
59
61
  - test/dummy/README.rdoc
60
62
  - test/dummy/Rakefile
61
63
  - test/dummy/app/assets/javascripts/application.js
@@ -100,6 +102,7 @@ files:
100
102
  - test/dummy/public/favicon.ico
101
103
  - test/dummy/test/fixtures/somethings.yml
102
104
  - test/dummy/test/models/something_test.rb
105
+ - test/dummy/test/test_helper.rb
103
106
  - test/test_helper.rb
104
107
  homepage: https://github.com/dobryakov/acts_as_backdrop
105
108
  licenses:
@@ -131,6 +134,7 @@ test_files:
131
134
  - test/dummy/log/test.log
132
135
  - test/dummy/README.rdoc
133
136
  - test/dummy/config.ru
137
+ - test/dummy/Gemfile.lock
134
138
  - test/dummy/app/controllers/application_controller.rb
135
139
  - test/dummy/app/views/layouts/application.html.erb
136
140
  - test/dummy/app/helpers/application_helper.rb
@@ -159,6 +163,7 @@ test_files:
159
163
  - test/dummy/public/404.html
160
164
  - test/dummy/public/favicon.ico
161
165
  - test/dummy/public/422.html
166
+ - test/dummy/test/test_helper.rb
162
167
  - test/dummy/test/fixtures/somethings.yml
163
168
  - test/dummy/test/models/something_test.rb
164
169
  - test/dummy/bin/bundle
@@ -171,5 +176,6 @@ test_files:
171
176
  - test/dummy/db/schema.rb
172
177
  - test/dummy/db/development.sqlite3
173
178
  - test/dummy/Rakefile
179
+ - test/dummy/Gemfile
174
180
  - test/backdrop_test.rb
175
181
  - test/act_as_backdrop_test.rb