act_as_backdrop 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.markdown +3 -0
- data/lib/backdrop/act_as_backdrop.rb +1 -4
- data/lib/backdrop/version.rb +1 -1
- data/test/dummy/Gemfile +4 -0
- data/test/dummy/Gemfile.lock +105 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +76 -0
- data/test/dummy/log/test.log +292 -0
- data/test/dummy/test/models/something_test.rb +20 -3
- data/test/dummy/test/test_helper.rb +14 -0
- metadata +8 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c774b5ea6c07707efa40a8b5de27e31a3eb65153
|
4
|
+
data.tar.gz: 8dbd1344b4a9e86aef71f1589c04d488a5715595
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e43a793ff9fc9f120cbd530474ff33d33140bf37c90dc6637c5311b942c1bfb57bcf82c9bf8cb6a13e10a3bf05b43a3a452675d8e61b2f2c6c04e85868df12c
|
7
|
+
data.tar.gz: c913e0422eb2b906627ff2f70c46f06fb132f35337fe30ea0f56b5ccf6c660ce82c1af267387ce7a4226f301421fdb08fc323f5e78acb7066006e493fb6af07f
|
data/README.markdown
CHANGED
@@ -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
|
|
data/lib/backdrop/version.rb
CHANGED
data/test/dummy/Gemfile
ADDED
@@ -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
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -39,3 +39,79 @@ Migrating to AddCheckToSomething (20151217203211)
|
|
39
39
|
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151217203211"]]
|
40
40
|
[1m[36m (3.2ms)[0m [1mcommit transaction[0m
|
41
41
|
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
42
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
43
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
44
|
+
[1m[36mActiveRecord::SchemaMigration Load (14.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
45
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
46
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
47
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
48
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
49
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
50
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
51
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
52
|
+
Migrating to AddCheckToSomething (20151217203211)
|
53
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54
|
+
[1m[35m (22.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "somethings"[0m
|
56
|
+
[1m[35m (0.7ms)[0m DROP TABLE "somethings"
|
57
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "somethings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
58
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "asomethings"
|
59
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "asomethings"[0m
|
60
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ? [["version", "20151217203211"]]
|
61
|
+
[1m[36m (3.1ms)[0m [1mcommit transaction[0m
|
62
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
63
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
64
|
+
Migrating to AddCheckToSomething (20151217203211)
|
65
|
+
[1m[35m (8.6ms)[0m begin transaction
|
66
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "somethings" ADD "check" varchar[0m
|
67
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151217203211"]]
|
68
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
69
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
70
|
+
Migrating to AddCheckToSomething (20151217203211)
|
71
|
+
[1m[35m (0.1ms)[0m begin transaction
|
72
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "somethings" ADD "check" varchar[0m
|
73
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151217203211"]]
|
74
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
75
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
76
|
+
Migrating to AddCheckToSomething (20151217203211)
|
77
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "somethings" ADD "check" varchar[0m
|
79
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151217203211"]]
|
80
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
81
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
82
|
+
Migrating to AddCheckToSomething (20151217203211)
|
83
|
+
[1m[35m (0.1ms)[0m begin transaction
|
84
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "somethings" ADD "check" varchar[0m
|
85
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151217203211"]]
|
86
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
88
|
+
Migrating to AddCheckToSomething (20151217203211)
|
89
|
+
[1m[35m (0.1ms)[0m begin transaction
|
90
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "somethings" ADD "check" varchar[0m
|
91
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151217203211"]]
|
92
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
93
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
94
|
+
Migrating to AddCheckToSomething (20151217203211)
|
95
|
+
[1m[35m (0.1ms)[0m begin transaction
|
96
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "somethings" ADD "check" varchar[0m
|
97
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151217203211"]]
|
98
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
99
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
100
|
+
Migrating to AddCheckToSomething (20151217203211)
|
101
|
+
[1m[35m (0.1ms)[0m begin transaction
|
102
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "somethings" ADD "check" varchar[0m
|
103
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151217203211"]]
|
104
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
105
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
106
|
+
Migrating to AddCheckToSomething (20151217203211)
|
107
|
+
[1m[35m (0.1ms)[0m begin transaction
|
108
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "somethings" ADD "check" varchar[0m
|
109
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151217203211"]]
|
110
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
111
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
112
|
+
Migrating to AddCheckToSomething (20151217203211)
|
113
|
+
[1m[35m (0.1ms)[0m begin transaction
|
114
|
+
[1m[36m (1.1ms)[0m [1mALTER TABLE "somethings" ADD "check" varchar[0m
|
115
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151217203211"]]
|
116
|
+
[1m[36m (1.7ms)[0m [1mcommit transaction[0m
|
117
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
data/test/dummy/log/test.log
CHANGED
@@ -2277,3 +2277,295 @@ ActAsBackdropTest: test_model_act_as_backdrop
|
|
2277
2277
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2278
2278
|
[1m[36mSomething Load (0.0ms)[0m [1mSELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1[0m [["id", 1]]
|
2279
2279
|
[1m[35m (0.1ms)[0m rollback transaction
|
2280
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2281
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
2282
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2283
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2284
|
+
------------------------
|
2285
|
+
BackdropTest: test_truth
|
2286
|
+
------------------------
|
2287
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2288
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2289
|
+
---------------------------------------------
|
2290
|
+
ActAsBackdropTest: test_model_act_as_backdrop
|
2291
|
+
---------------------------------------------
|
2292
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2293
|
+
[1m[35mSQL (1.1ms)[0m 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] [1m[36mSomething Load (0.3ms)[0m [1mSELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
|
2299
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2300
|
+
[1m[35mSQL (0.5ms)[0m 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] [1m[36mSomething Load (0.1ms)[0m [1mSELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2306
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2307
|
+
[1m[35mSQL (0.1ms)[0m 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] [1m[36mSomething Load (0.1ms)[0m [1mSELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1[0m [["id", 1]]
|
2310
|
+
[ActiveJob] [BackdropJob] [9278c3b8-b957-43b0-af30-7d10abf76131] [1m[35mSQL (0.2ms)[0m 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] [1m[36mSomething Load (0.1ms)[0m [1mSELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2318
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2319
|
+
[1m[35mSQL (0.1ms)[0m 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] [1m[36mSomething Load (0.0ms)[0m [1mSELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1[0m [["id", 1]]
|
2322
|
+
[ActiveJob] [BackdropJob] [6e0716ff-152b-4834-9bb9-b2acec29f1b0] [1m[35mSQL (0.1ms)[0m 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] [1m[36mSomething Load (0.0ms)[0m [1mSELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2330
|
+
[1m[36mSomething Load (0.0ms)[0m [1mSELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1[0m [["id", 1]]
|
2331
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2332
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2333
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2334
|
+
------------------------
|
2335
|
+
BackdropTest: test_truth
|
2336
|
+
------------------------
|
2337
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2338
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2339
|
+
---------------------------------
|
2340
|
+
SomethingTest: test_backdrop_test
|
2341
|
+
---------------------------------
|
2342
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2343
|
+
[1m[35mSQL (1.1ms)[0m 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] [1m[36mSomething Load (0.3ms)[0m [1mSELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2349
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2350
|
+
[1m[35mSQL (0.6ms)[0m 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] [1m[36mSomething Load (0.0ms)[0m [1mSELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2356
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2357
|
+
[1m[35mSQL (0.1ms)[0m 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] [1m[36mSomething Load (0.0ms)[0m [1mSELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1[0m [["id", 1]]
|
2360
|
+
[ActiveJob] [BackdropJob] [08853abf-7ea0-4515-857c-769696ab8580] [1m[35mSQL (0.1ms)[0m 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] [1m[36mSomething Load (0.1ms)[0m [1mSELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2368
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2369
|
+
[1m[35mSQL (0.1ms)[0m 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] [1m[36mSomething Load (0.0ms)[0m [1mSELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1[0m [["id", 1]]
|
2372
|
+
[ActiveJob] [BackdropJob] [0dad637a-0015-440b-83a3-c6cea424ced9] [1m[35mSQL (0.1ms)[0m 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] [1m[36mSomething Load (0.0ms)[0m [1mSELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2380
|
+
[1m[36mSomething Load (0.0ms)[0m [1mSELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1[0m [["id", 1]]
|
2381
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2382
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2383
|
+
---------------------------------------------
|
2384
|
+
ActAsBackdropTest: test_model_act_as_backdrop
|
2385
|
+
---------------------------------------------
|
2386
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2387
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "somethings" ("created_at", "updated_at") VALUES (?, ?)[0m [["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] [1m[35mSomething Load (0.0ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2393
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2394
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "somethings" SET "title" = ?, "updated_at" = ? WHERE "somethings"."id" = ?[0m [["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] [1m[35mSomething Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2400
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2401
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "somethings" SET "title" = ?, "updated_at" = ? WHERE "somethings"."id" = ?[0m [["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] [1m[35mSomething Load (0.0ms)[0m SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 1]]
|
2404
|
+
[ActiveJob] [BackdropJob] [248e8b72-b768-4413-a5cb-2ff3e8c9b03d] [1m[36mSQL (0.1ms)[0m [1mUPDATE "somethings" SET "check" = ?, "updated_at" = ? WHERE "somethings"."id" = ?[0m [["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] [1m[35mSomething Load (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2412
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2413
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "somethings" SET "title" = ?, "updated_at" = ? WHERE "somethings"."id" = ?[0m [["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] [1m[35mSomething Load (0.0ms)[0m SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 1]]
|
2416
|
+
[ActiveJob] [BackdropJob] [4ed9150d-bafb-4c78-9fce-12a4f5d25c83] [1m[36mSQL (0.1ms)[0m [1mUPDATE "somethings" SET "check" = ?, "updated_at" = ? WHERE "somethings"."id" = ?[0m [["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] [1m[35mSomething Load (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2424
|
+
[1m[35mSomething Load (0.0ms)[0m SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 1]]
|
2425
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2426
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2427
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2428
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "somethings"[0m
|
2429
|
+
[1m[35mFixture Insert (0.2ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "somethings" ("title", "created_at", "updated_at", "id") VALUES ('MyString', '2015-12-18 16:56:46', '2015-12-18 16:56:46', 298486374)[0m
|
2431
|
+
[1m[35m (2.5ms)[0m commit transaction
|
2432
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2433
|
+
[1m[35mSomething Load (0.3ms)[0m SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 980190962]]
|
2434
|
+
[1m[36mSomething Load (0.1ms)[0m [1mSELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1[0m [["id", 298486374]]
|
2435
|
+
---------------------------------
|
2436
|
+
SomethingTest: test_backdrop_test
|
2437
|
+
---------------------------------
|
2438
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2439
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "somethings" ("created_at", "updated_at") VALUES (?, ?)[0m [["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] [1m[35mSomething Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2445
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2446
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "somethings" SET "title" = ?, "updated_at" = ? WHERE "somethings"."id" = ?[0m [["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] [1m[35mSomething Load (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2452
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2453
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "somethings" SET "title" = ?, "updated_at" = ? WHERE "somethings"."id" = ?[0m [["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] [1m[35mSomething Load (0.0ms)[0m SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 980190963]]
|
2456
|
+
[ActiveJob] [BackdropJob] [8a207884-828f-4a1f-9868-46a6c7dae630] [1m[36mSQL (0.1ms)[0m [1mUPDATE "somethings" SET "check" = ?, "updated_at" = ? WHERE "somethings"."id" = ?[0m [["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] [1m[35mSomething Load (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2464
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2465
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "somethings" SET "title" = ?, "updated_at" = ? WHERE "somethings"."id" = ?[0m [["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] [1m[35mSomething Load (0.0ms)[0m SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 980190963]]
|
2468
|
+
[ActiveJob] [BackdropJob] [13d63f7a-d5e2-4e0a-9c11-951e8d570e20] [1m[36mSQL (0.0ms)[0m [1mUPDATE "somethings" SET "check" = ?, "updated_at" = ? WHERE "somethings"."id" = ?[0m [["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] [1m[35mSomething Load (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2476
|
+
[1m[35mSomething Load (0.0ms)[0m SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 980190963]]
|
2477
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2478
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2479
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2480
|
+
---------------------------------------------
|
2481
|
+
ActAsBackdropTest: test_model_act_as_backdrop
|
2482
|
+
---------------------------------------------
|
2483
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2484
|
+
[1m[35mSQL (0.5ms)[0m 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] [1m[36mSomething Load (0.3ms)[0m [1mSELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.5ms)[0m RELEASE SAVEPOINT active_record_1
|
2490
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2491
|
+
[1m[35mSQL (0.6ms)[0m 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] [1m[36mSomething Load (0.1ms)[0m [1mSELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2497
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2498
|
+
[1m[35mSQL (0.2ms)[0m 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] [1m[36mSomething Load (0.1ms)[0m [1mSELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1[0m [["id", 980190963]]
|
2501
|
+
[ActiveJob] [BackdropJob] [8bddd615-fdc4-437e-97e2-0eecd6e664b2] [1m[35mSQL (0.2ms)[0m 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] [1m[36mSomething Load (0.1ms)[0m [1mSELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2509
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2510
|
+
[1m[35mSQL (0.1ms)[0m 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] [1m[36mSomething Load (0.0ms)[0m [1mSELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1[0m [["id", 980190963]]
|
2513
|
+
[ActiveJob] [BackdropJob] [d4a80f33-96ad-4ee9-bfcf-5bf980835490] [1m[35mSQL (0.1ms)[0m 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] [1m[36mSomething Load (0.0ms)[0m [1mSELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2521
|
+
[1m[36mSomething Load (0.1ms)[0m [1mSELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1[0m [["id", 980190963]]
|
2522
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2523
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2524
|
+
---------------------------------
|
2525
|
+
SomethingTest: test_backdrop_test
|
2526
|
+
---------------------------------
|
2527
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2528
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "somethings" ("created_at", "updated_at") VALUES (?, ?)[0m [["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] [1m[35mSomething Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2534
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2535
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "somethings" SET "title" = ?, "updated_at" = ? WHERE "somethings"."id" = ?[0m [["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] [1m[35mSomething Load (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2541
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2542
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "somethings" SET "title" = ?, "updated_at" = ? WHERE "somethings"."id" = ?[0m [["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] [1m[35mSomething Load (0.1ms)[0m SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 980190963]]
|
2545
|
+
[ActiveJob] [BackdropJob] [405772ac-c85c-42cc-aec1-3c1fd53faf50] [1m[36mSQL (0.1ms)[0m [1mUPDATE "somethings" SET "check" = ?, "updated_at" = ? WHERE "somethings"."id" = ?[0m [["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] [1m[35mSomething Load (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2553
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2554
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "somethings" SET "title" = ?, "updated_at" = ? WHERE "somethings"."id" = ?[0m [["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] [1m[35mSomething Load (0.0ms)[0m SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 980190963]]
|
2557
|
+
[ActiveJob] [BackdropJob] [80d3831e-78d6-4ccc-8db2-382299c8dc0b] [1m[36mSQL (0.1ms)[0m [1mUPDATE "somethings" SET "check" = ?, "updated_at" = ? WHERE "somethings"."id" = ?[0m [["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] [1m[35mSomething Load (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2565
|
+
[1m[35mSomething Load (0.0ms)[0m SELECT "somethings".* FROM "somethings" WHERE "somethings"."id" = ? LIMIT 1 [["id", 980190963]]
|
2566
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2567
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2568
|
+
------------------------
|
2569
|
+
BackdropTest: test_truth
|
2570
|
+
------------------------
|
2571
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
@@ -1,7 +1,24 @@
|
|
1
1
|
require 'test_helper'
|
2
2
|
|
3
3
|
class SomethingTest < ActiveSupport::TestCase
|
4
|
-
|
5
|
-
|
6
|
-
|
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.
|
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-
|
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
|