human_attributes 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +7 -7
- data/human_attributes.gemspec +3 -3
- data/lib/human_attributes/version.rb +1 -1
- data/spec/dummy/log/test.log +466 -0
- data/spec/dummy/spec/lib/active_record_extension_spec.rb +4 -4
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 282f2534047a15a9d75f50f7a92c8fa5ba414d8a
|
4
|
+
data.tar.gz: 3d8b7f1973cf61c0840987faa76d0f9f6a71c14d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f057cfda8bba4f6ad6553f85ebf82fed78af75b5c88f26312c5a7932d61627ea6f0a8dee39191ff4dc5443b9243980ae82c3e852df2b31fcc4d3dac8f2ad83ed
|
7
|
+
data.tar.gz: cd593d5a11fae7e0aff811dfe6def1660e12ffdba94e8954220b1fe38c8e04804c92146271b09ae5b7e34e0f18750bd9aaa1cee6d1958aab18d254fbaa1b66e0
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
human_attributes (0.1.
|
5
|
-
enumerize (~> 1
|
6
|
-
factory_girl_rails (~> 4.6
|
4
|
+
human_attributes (0.1.1)
|
5
|
+
enumerize (~> 1, >= 1.1.1)
|
6
|
+
factory_girl_rails (~> 4.6)
|
7
7
|
rails (~> 4.2, >= 4.2.0)
|
8
8
|
|
9
9
|
GEM
|
@@ -52,10 +52,10 @@ GEM
|
|
52
52
|
enumerize (1.1.1)
|
53
53
|
activesupport (>= 3.2)
|
54
54
|
erubis (2.7.0)
|
55
|
-
factory_girl (4.
|
55
|
+
factory_girl (4.7.0)
|
56
56
|
activesupport (>= 3.0.0)
|
57
|
-
factory_girl_rails (4.
|
58
|
-
factory_girl (~> 4.
|
57
|
+
factory_girl_rails (4.7.0)
|
58
|
+
factory_girl (~> 4.7.0)
|
59
59
|
railties (>= 3.0.0)
|
60
60
|
ffi (1.9.14)
|
61
61
|
formatador (0.2.5)
|
@@ -180,7 +180,7 @@ DEPENDENCIES
|
|
180
180
|
human_attributes!
|
181
181
|
pry
|
182
182
|
pry-rails
|
183
|
-
rspec-rails (~> 3.4
|
183
|
+
rspec-rails (~> 3.4)
|
184
184
|
sqlite3
|
185
185
|
|
186
186
|
BUNDLED WITH
|
data/human_attributes.gemspec
CHANGED
@@ -20,11 +20,11 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.test_files = Dir["spec/**/*"]
|
21
21
|
|
22
22
|
s.add_dependency "rails", "~> 4.2", ">= 4.2.0"
|
23
|
-
s.add_dependency "enumerize", "~> 1
|
24
|
-
s.add_dependency "factory_girl_rails", "~> 4.6
|
23
|
+
s.add_dependency "enumerize", "~> 1", ">= 1.1.1"
|
24
|
+
s.add_dependency "factory_girl_rails", "~> 4.6"
|
25
25
|
s.add_development_dependency "pry"
|
26
26
|
s.add_development_dependency "pry-rails"
|
27
27
|
s.add_development_dependency "sqlite3"
|
28
|
-
s.add_development_dependency "rspec-rails", "~> 3.4
|
28
|
+
s.add_development_dependency "rspec-rails", "~> 3.4"
|
29
29
|
s.add_development_dependency "guard-rspec", "~> 4.7"
|
30
30
|
end
|
data/spec/dummy/log/test.log
CHANGED
@@ -25911,3 +25911,469 @@ Migrating to CreatePurchases (20161113032308)
|
|
25911
25911
|
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 17:10:04.506479"], ["updated_at", "2016-12-10 17:10:04.506479"]]
|
25912
25912
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
25913
25913
|
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
25914
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
25915
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "purchases" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "paid" boolean, "commission" decimal, "quantity" integer, "state" varchar, "expired_at" datetime, "amount" decimal, "description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
25916
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
25917
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
25918
|
+
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
25919
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
25920
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20161113032308')
|
25921
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
25922
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25923
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
25924
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25925
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
25926
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25927
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
25928
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
25929
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
25930
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
25931
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
25932
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25933
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
25934
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25935
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
25936
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25937
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
25938
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
25939
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
25940
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
25941
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
25942
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
25943
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
25944
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
25945
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
25946
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
25947
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
25948
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25949
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
25950
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
25951
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
25952
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
25953
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
25954
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25955
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
25956
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
25957
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
25958
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25959
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
25960
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25961
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
25962
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
25963
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
25964
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25965
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
25966
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25967
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
25968
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
25969
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
25970
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25971
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
25972
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
25973
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
25974
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
25975
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
25976
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25977
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
25978
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
25979
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
25980
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25981
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
25982
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25983
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
25984
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.228981"], ["updated_at", "2016-12-10 20:24:29.228981"]]
|
25985
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
25986
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
25987
|
+
[1m[35m (0.4ms)[0m begin transaction
|
25988
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
25989
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.241001"], ["updated_at", "2016-12-10 20:24:29.241001"]]
|
25990
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
25991
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
25992
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25993
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
25994
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.249660"], ["updated_at", "2016-12-10 20:24:29.249660"]]
|
25995
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
25996
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
25997
|
+
[1m[35m (0.0ms)[0m begin transaction
|
25998
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
25999
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.257041"], ["updated_at", "2016-12-10 20:24:29.257041"]]
|
26000
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26001
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
26002
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26003
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26004
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.301807"], ["updated_at", "2016-12-10 20:24:29.301807"]]
|
26005
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26006
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
26007
|
+
[1m[35m (0.3ms)[0m begin transaction
|
26008
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26009
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.309263"], ["updated_at", "2016-12-10 20:24:29.309263"]]
|
26010
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26011
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
26012
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26013
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
26014
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.318525"], ["updated_at", "2016-12-10 20:24:29.318525"]]
|
26015
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26016
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
26017
|
+
[1m[35m (0.2ms)[0m begin transaction
|
26018
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26019
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.325725"], ["updated_at", "2016-12-10 20:24:29.325725"]]
|
26020
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26021
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
26022
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26023
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
26024
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.332204"], ["updated_at", "2016-12-10 20:24:29.332204"]]
|
26025
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
26026
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
26027
|
+
[1m[35m (0.0ms)[0m begin transaction
|
26028
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
26029
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.336067"], ["updated_at", "2016-12-10 20:24:29.336067"]]
|
26030
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26031
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
26032
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
26033
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
26034
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.342451"], ["updated_at", "2016-12-10 20:24:29.342451"]]
|
26035
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26036
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
26037
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26038
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26039
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.349702"], ["updated_at", "2016-12-10 20:24:29.349702"]]
|
26040
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26041
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
26042
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26043
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26044
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.353205"], ["updated_at", "2016-12-10 20:24:29.353205"]]
|
26045
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
26046
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
26047
|
+
[1m[35m (0.2ms)[0m begin transaction
|
26048
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26049
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.359171"], ["updated_at", "2016-12-10 20:24:29.359171"]]
|
26050
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26051
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
26052
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26053
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
26054
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.368134"], ["updated_at", "2016-12-10 20:24:29.368134"]]
|
26055
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26056
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
26057
|
+
[1m[35m (0.0ms)[0m begin transaction
|
26058
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
26059
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.372609"], ["updated_at", "2016-12-10 20:24:29.372609"]]
|
26060
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26061
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
26062
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26063
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
26064
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.378588"], ["updated_at", "2016-12-10 20:24:29.378588"]]
|
26065
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
26066
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
26067
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26068
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26069
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.383231"], ["updated_at", "2016-12-10 20:24:29.383231"]]
|
26070
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26071
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
26072
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26073
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
26074
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.387346"], ["updated_at", "2016-12-10 20:24:29.387346"]]
|
26075
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
26076
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
26077
|
+
[1m[35m (0.0ms)[0m begin transaction
|
26078
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
26079
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.392434"], ["updated_at", "2016-12-10 20:24:29.392434"]]
|
26080
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26081
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
26082
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26083
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
26084
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.399626"], ["updated_at", "2016-12-10 20:24:29.399626"]]
|
26085
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26086
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
26087
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26088
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
26089
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.403065"], ["updated_at", "2016-12-10 20:24:29.403065"]]
|
26090
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26091
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
26092
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
26093
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
26094
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.409676"], ["updated_at", "2016-12-10 20:24:29.409676"]]
|
26095
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
26096
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
26097
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26098
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26099
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.418895"], ["updated_at", "2016-12-10 20:24:29.418895"]]
|
26100
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26101
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
26102
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
26103
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
26104
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.426622"], ["updated_at", "2016-12-10 20:24:29.426622"]]
|
26105
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
26106
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
26107
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26108
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26109
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.432522"], ["updated_at", "2016-12-10 20:24:29.432522"]]
|
26110
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26111
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
26112
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26113
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
26114
|
+
[1m[36mSQL (1.2ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.437388"], ["updated_at", "2016-12-10 20:24:29.437388"]]
|
26115
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
26116
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
26117
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26118
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26119
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.447665"], ["updated_at", "2016-12-10 20:24:29.447665"]]
|
26120
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26121
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
26122
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26123
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
26124
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.452593"], ["updated_at", "2016-12-10 20:24:29.452593"]]
|
26125
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
26126
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
26127
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26128
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26129
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.459477"], ["updated_at", "2016-12-10 20:24:29.459477"]]
|
26130
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26131
|
+
[1m[35m (1.2ms)[0m rollback transaction
|
26132
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
26133
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
26134
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.469836"], ["updated_at", "2016-12-10 20:24:29.469836"]]
|
26135
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
26136
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
26137
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26138
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26139
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.474797"], ["updated_at", "2016-12-10 20:24:29.474797"]]
|
26140
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26141
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
26142
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26143
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26144
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:24:29.478670"], ["updated_at", "2016-12-10 20:24:29.478670"]]
|
26145
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26146
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
26147
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
26148
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "purchases" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "paid" boolean, "commission" decimal, "quantity" integer, "state" varchar, "expired_at" datetime, "amount" decimal, "description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
26149
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
26150
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
26151
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
26152
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
26153
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20161113032308')
|
26154
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
26155
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26156
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26157
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26158
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26159
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26160
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26161
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26162
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26163
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26164
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26165
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26166
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26167
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26168
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26169
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26170
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26171
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26172
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26173
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26174
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26175
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26176
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
26177
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26178
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26179
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26180
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26181
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26182
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26183
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26184
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26185
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26186
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26187
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26188
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26189
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26190
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26191
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26192
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26193
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26194
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26195
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26196
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26197
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26198
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26199
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
26200
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26201
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26202
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26203
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26204
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26205
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26206
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
26207
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
26208
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26209
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26210
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26211
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26212
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26213
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26214
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26215
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26216
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26217
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.706323"], ["updated_at", "2016-12-10 20:26:34.706323"]]
|
26218
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
26219
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
26220
|
+
[1m[35m (0.3ms)[0m begin transaction
|
26221
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
26222
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.715545"], ["updated_at", "2016-12-10 20:26:34.715545"]]
|
26223
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26224
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
26225
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
26226
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
26227
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.721392"], ["updated_at", "2016-12-10 20:26:34.721392"]]
|
26228
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26229
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
26230
|
+
[1m[35m (2.3ms)[0m begin transaction
|
26231
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26232
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.730881"], ["updated_at", "2016-12-10 20:26:34.730881"]]
|
26233
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26234
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
26235
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26236
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
26237
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.736750"], ["updated_at", "2016-12-10 20:26:34.736750"]]
|
26238
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26239
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
26240
|
+
[1m[35m (0.0ms)[0m begin transaction
|
26241
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
26242
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.741314"], ["updated_at", "2016-12-10 20:26:34.741314"]]
|
26243
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26244
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
26245
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
26246
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26247
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.745620"], ["updated_at", "2016-12-10 20:26:34.745620"]]
|
26248
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
26249
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
26250
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26251
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
26252
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.766596"], ["updated_at", "2016-12-10 20:26:34.766596"]]
|
26253
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26254
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
26255
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26256
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
26257
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.772571"], ["updated_at", "2016-12-10 20:26:34.772571"]]
|
26258
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
26259
|
+
[1m[36m (2.6ms)[0m [1mrollback transaction[0m
|
26260
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26261
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26262
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.781415"], ["updated_at", "2016-12-10 20:26:34.781415"]]
|
26263
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26264
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
26265
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
26266
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
26267
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.790870"], ["updated_at", "2016-12-10 20:26:34.790870"]]
|
26268
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
26269
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
26270
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26271
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
26272
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.794638"], ["updated_at", "2016-12-10 20:26:34.794638"]]
|
26273
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26274
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
26275
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26276
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26277
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.798132"], ["updated_at", "2016-12-10 20:26:34.798132"]]
|
26278
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26279
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
26280
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26281
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26282
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.801507"], ["updated_at", "2016-12-10 20:26:34.801507"]]
|
26283
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26284
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
26285
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26286
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26287
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.804966"], ["updated_at", "2016-12-10 20:26:34.804966"]]
|
26288
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26289
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
26290
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26291
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26292
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.809285"], ["updated_at", "2016-12-10 20:26:34.809285"]]
|
26293
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26294
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
26295
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26296
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26297
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.813075"], ["updated_at", "2016-12-10 20:26:34.813075"]]
|
26298
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
26299
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
26300
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26301
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26302
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.817188"], ["updated_at", "2016-12-10 20:26:34.817188"]]
|
26303
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26304
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
26305
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26306
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
26307
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.821661"], ["updated_at", "2016-12-10 20:26:34.821661"]]
|
26308
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
26309
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
26310
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26311
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26312
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.829667"], ["updated_at", "2016-12-10 20:26:34.829667"]]
|
26313
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26314
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
26315
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
26316
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
26317
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.837923"], ["updated_at", "2016-12-10 20:26:34.837923"]]
|
26318
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
26319
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
26320
|
+
[1m[35m (0.2ms)[0m begin transaction
|
26321
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26322
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.844565"], ["updated_at", "2016-12-10 20:26:34.844565"]]
|
26323
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26324
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
26325
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26326
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26327
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.848585"], ["updated_at", "2016-12-10 20:26:34.848585"]]
|
26328
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26329
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
26330
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26331
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
26332
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.852057"], ["updated_at", "2016-12-10 20:26:34.852057"]]
|
26333
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26334
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
26335
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26336
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
26337
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.855948"], ["updated_at", "2016-12-10 20:26:34.855948"]]
|
26338
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
26339
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
26340
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26341
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26342
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.860937"], ["updated_at", "2016-12-10 20:26:34.860937"]]
|
26343
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26344
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
26345
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26346
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26347
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.864804"], ["updated_at", "2016-12-10 20:26:34.864804"]]
|
26348
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
26349
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
26350
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26351
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
26352
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.868834"], ["updated_at", "2016-12-10 20:26:34.868834"]]
|
26353
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26354
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
26355
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26356
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
26357
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.874954"], ["updated_at", "2016-12-10 20:26:34.874954"]]
|
26358
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
26359
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
26360
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26361
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26362
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.882209"], ["updated_at", "2016-12-10 20:26:34.882209"]]
|
26363
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26364
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
26365
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26366
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26367
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.886253"], ["updated_at", "2016-12-10 20:26:34.886253"]]
|
26368
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26369
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
26370
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26371
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26372
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.889978"], ["updated_at", "2016-12-10 20:26:34.889978"]]
|
26373
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26374
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
26375
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26376
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26377
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "purchases" ("paid", "commission", "quantity", "expired_at", "amount", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["paid", "t"], ["commission", 1000.99], ["quantity", 1], ["expired_at", "1984-04-06 09:00:00.000000"], ["amount", 2000000.95], ["description", "Just a text"], ["created_at", "2016-12-10 20:26:34.894040"], ["updated_at", "2016-12-10 20:26:34.894040"]]
|
26378
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26379
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
@@ -349,8 +349,8 @@ RSpec.describe "ActiveRecordExtension" do
|
|
349
349
|
it { expect(purchase.human_id).to eq("Purchase: ##{purchase.id}") }
|
350
350
|
it { expect(purchase.human_paid).to eq("Yes") }
|
351
351
|
it { expect(purchase.human_quantity).to eq("1") }
|
352
|
-
it { expect(purchase.human_commission).to eq("1
|
353
|
-
it { expect(purchase.human_amount).to eq("2
|
352
|
+
it { expect(purchase.human_commission).to eq("1,000.99") }
|
353
|
+
it { expect(purchase.human_amount).to eq("2,000,000.95") }
|
354
354
|
it { expect(purchase.human_expired_at).to eq("Fri, 06 Apr 1984 09:00:00 +0000") }
|
355
355
|
it { expect(purchase.expired_at_to_short_date).to eq("06 Apr 09:00") }
|
356
356
|
it { expect(purchase).to respond_to(:human_created_at) }
|
@@ -370,7 +370,7 @@ RSpec.describe "ActiveRecordExtension" do
|
|
370
370
|
it { expect(purchase.human_paid).to eq("Yes") }
|
371
371
|
it { expect(purchase).not_to respond_to(:human_quantity) }
|
372
372
|
it { expect(purchase).not_to respond_to(:human_commission) }
|
373
|
-
it { expect(purchase.human_amount).to eq("2
|
373
|
+
it { expect(purchase.human_amount).to eq("2,000,000.95") }
|
374
374
|
it { expect(purchase).not_to respond_to(:human_expired_at) }
|
375
375
|
it { expect(purchase).not_to respond_to(:expired_at_to_short_date) }
|
376
376
|
it { expect(purchase).not_to respond_to(:human_created_at) }
|
@@ -389,7 +389,7 @@ RSpec.describe "ActiveRecordExtension" do
|
|
389
389
|
it { expect(purchase).not_to respond_to(:human_id) }
|
390
390
|
it { expect(purchase).not_to respond_to(:human_paid) }
|
391
391
|
it { expect(purchase.human_quantity).to eq("1") }
|
392
|
-
it { expect(purchase.human_commission).to eq("1
|
392
|
+
it { expect(purchase.human_commission).to eq("1,000.99") }
|
393
393
|
it { expect(purchase).not_to respond_to(:human_amount) }
|
394
394
|
it { expect(purchase.human_expired_at).to eq("Fri, 06 Apr 1984 09:00:00 +0000") }
|
395
395
|
it { expect(purchase.expired_at_to_short_date).to eq("06 Apr 09:00") }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: human_attributes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Platanus
|
@@ -37,7 +37,7 @@ dependencies:
|
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '1
|
40
|
+
version: '1'
|
41
41
|
- - ">="
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: 1.1.1
|
@@ -47,7 +47,7 @@ dependencies:
|
|
47
47
|
requirements:
|
48
48
|
- - "~>"
|
49
49
|
- !ruby/object:Gem::Version
|
50
|
-
version: '1
|
50
|
+
version: '1'
|
51
51
|
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: 1.1.1
|
@@ -57,14 +57,14 @@ dependencies:
|
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 4.6
|
60
|
+
version: '4.6'
|
61
61
|
type: :runtime
|
62
62
|
prerelease: false
|
63
63
|
version_requirements: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: 4.6
|
67
|
+
version: '4.6'
|
68
68
|
- !ruby/object:Gem::Dependency
|
69
69
|
name: pry
|
70
70
|
requirement: !ruby/object:Gem::Requirement
|
@@ -113,14 +113,14 @@ dependencies:
|
|
113
113
|
requirements:
|
114
114
|
- - "~>"
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: 3.4
|
116
|
+
version: '3.4'
|
117
117
|
type: :development
|
118
118
|
prerelease: false
|
119
119
|
version_requirements: !ruby/object:Gem::Requirement
|
120
120
|
requirements:
|
121
121
|
- - "~>"
|
122
122
|
- !ruby/object:Gem::Version
|
123
|
-
version: 3.4
|
123
|
+
version: '3.4'
|
124
124
|
- !ruby/object:Gem::Dependency
|
125
125
|
name: guard-rspec
|
126
126
|
requirement: !ruby/object:Gem::Requirement
|