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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c976855d597f75927fa829c1a2199670105a2138
4
- data.tar.gz: a2b543e73651f4163120846393b829507e0f34f8
3
+ metadata.gz: 282f2534047a15a9d75f50f7a92c8fa5ba414d8a
4
+ data.tar.gz: 3d8b7f1973cf61c0840987faa76d0f9f6a71c14d
5
5
  SHA512:
6
- metadata.gz: 958e5976a6ba8759dd3886d6e66b0fae721fe1a53ebb8f6440098311981ae9036d2451fb28d05e8813e79ffe420e3e215b52b1d8944047aa50a8f076323521c5
7
- data.tar.gz: 0a7a9209d5d7da99aa7b5a49a1261973169924836f6a1adb0b56f93ca7ae249a4d1a8e8abd13c479ddf8b5487020c7847ad201e9cbe957dfaeb8c94ae83399cd
6
+ metadata.gz: f057cfda8bba4f6ad6553f85ebf82fed78af75b5c88f26312c5a7932d61627ea6f0a8dee39191ff4dc5443b9243980ae82c3e852df2b31fcc4d3dac8f2ad83ed
7
+ data.tar.gz: cd593d5a11fae7e0aff811dfe6def1660e12ffdba94e8954220b1fe38c8e04804c92146271b09ae5b7e34e0f18750bd9aaa1cee6d1958aab18d254fbaa1b66e0
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
+ ### v0.1.1
6
+
7
+ * Broken specs. Shame on me :(
8
+
5
9
  ### v0.1.0
6
10
 
7
11
  * Initial release.
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- human_attributes (0.1.0)
5
- enumerize (~> 1.1, >= 1.1.1)
6
- factory_girl_rails (~> 4.6.0)
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.5.0)
55
+ factory_girl (4.7.0)
56
56
  activesupport (>= 3.0.0)
57
- factory_girl_rails (4.6.0)
58
- factory_girl (~> 4.5.0)
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.0)
183
+ rspec-rails (~> 3.4)
184
184
  sqlite3
185
185
 
186
186
  BUNDLED WITH
@@ -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.1", ">= 1.1.1"
24
- s.add_dependency "factory_girl_rails", "~> 4.6.0"
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.0"
28
+ s.add_development_dependency "rspec-rails", "~> 3.4"
29
29
  s.add_development_dependency "guard-rspec", "~> 4.7"
30
30
  end
@@ -1,3 +1,3 @@
1
1
  module HumanAttributes
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -25911,3 +25911,469 @@ Migrating to CreatePurchases (20161113032308)
25911
25911
  SQL (0.2ms) 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 17:10:04.506479"], ["updated_at", "2016-12-10 17:10:04.506479"]]
25912
25912
   (0.0ms) RELEASE SAVEPOINT active_record_1
25913
25913
   (0.3ms) rollback transaction
25914
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
25915
+  (0.9ms) CREATE 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) 
25916
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
25917
+  (0.1ms) select sqlite_version(*)
25918
+  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
25919
+  (0.1ms) SELECT version FROM "schema_migrations"
25920
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161113032308')
25921
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
25922
+  (0.1ms) begin transaction
25923
+  (0.1ms) rollback transaction
25924
+  (0.1ms) begin transaction
25925
+  (0.1ms) rollback transaction
25926
+  (0.1ms) begin transaction
25927
+  (0.0ms) rollback transaction
25928
+  (0.0ms) begin transaction
25929
+  (0.0ms) rollback transaction
25930
+  (0.0ms) begin transaction
25931
+  (0.1ms) rollback transaction
25932
+  (0.1ms) begin transaction
25933
+  (0.1ms) rollback transaction
25934
+  (0.1ms) begin transaction
25935
+  (0.1ms) rollback transaction
25936
+  (0.1ms) begin transaction
25937
+  (0.0ms) rollback transaction
25938
+  (0.4ms) begin transaction
25939
+  (0.0ms) rollback transaction
25940
+  (0.0ms) begin transaction
25941
+  (0.0ms) rollback transaction
25942
+  (0.0ms) begin transaction
25943
+  (0.1ms) rollback transaction
25944
+  (0.0ms) begin transaction
25945
+  (0.3ms) rollback transaction
25946
+  (0.0ms) begin transaction
25947
+  (0.1ms) rollback transaction
25948
+  (0.1ms) begin transaction
25949
+  (0.1ms) rollback transaction
25950
+  (0.0ms) begin transaction
25951
+  (0.1ms) rollback transaction
25952
+  (0.0ms) begin transaction
25953
+  (0.1ms) rollback transaction
25954
+  (0.1ms) begin transaction
25955
+  (0.1ms) rollback transaction
25956
+  (0.0ms) begin transaction
25957
+  (0.6ms) rollback transaction
25958
+  (0.1ms) begin transaction
25959
+  (0.2ms) rollback transaction
25960
+  (0.1ms) begin transaction
25961
+  (0.1ms) rollback transaction
25962
+  (0.0ms) begin transaction
25963
+  (0.0ms) rollback transaction
25964
+  (0.1ms) begin transaction
25965
+  (0.3ms) rollback transaction
25966
+  (0.1ms) begin transaction
25967
+  (0.0ms) rollback transaction
25968
+  (0.0ms) begin transaction
25969
+  (0.1ms) rollback transaction
25970
+  (0.1ms) begin transaction
25971
+  (0.1ms) rollback transaction
25972
+  (0.0ms) begin transaction
25973
+  (0.1ms) rollback transaction
25974
+  (0.0ms) begin transaction
25975
+  (0.0ms) rollback transaction
25976
+  (0.1ms) begin transaction
25977
+  (0.2ms) rollback transaction
25978
+  (0.2ms) begin transaction
25979
+  (0.1ms) rollback transaction
25980
+  (0.1ms) begin transaction
25981
+  (0.0ms) rollback transaction
25982
+  (0.1ms) begin transaction
25983
+  (0.1ms) SAVEPOINT active_record_1
25984
+ SQL (0.4ms) 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.228981"], ["updated_at", "2016-12-10 20:24:29.228981"]]
25985
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25986
+  (0.3ms) rollback transaction
25987
+  (0.4ms) begin transaction
25988
+  (0.1ms) SAVEPOINT active_record_1
25989
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25991
+  (0.4ms) rollback transaction
25992
+  (0.1ms) begin transaction
25993
+  (0.1ms) SAVEPOINT active_record_1
25994
+ SQL (0.3ms) 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.249660"], ["updated_at", "2016-12-10 20:24:29.249660"]]
25995
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25996
+  (0.3ms) rollback transaction
25997
+  (0.0ms) begin transaction
25998
+  (0.1ms) SAVEPOINT active_record_1
25999
+ SQL (0.8ms) 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
+  (0.3ms) RELEASE SAVEPOINT active_record_1
26001
+  (0.4ms) rollback transaction
26002
+  (0.0ms) begin transaction
26003
+  (0.0ms) SAVEPOINT active_record_1
26004
+ SQL (0.2ms) 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.301807"], ["updated_at", "2016-12-10 20:24:29.301807"]]
26005
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26006
+  (0.3ms) rollback transaction
26007
+  (0.3ms) begin transaction
26008
+  (0.1ms) SAVEPOINT active_record_1
26009
+ SQL (0.8ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26011
+  (0.9ms) rollback transaction
26012
+  (0.1ms) begin transaction
26013
+  (0.1ms) SAVEPOINT active_record_1
26014
+ SQL (0.2ms) 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.318525"], ["updated_at", "2016-12-10 20:24:29.318525"]]
26015
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26016
+  (0.3ms) rollback transaction
26017
+  (0.2ms) begin transaction
26018
+  (0.1ms) SAVEPOINT active_record_1
26019
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26021
+  (0.6ms) rollback transaction
26022
+  (0.1ms) begin transaction
26023
+  (0.1ms) SAVEPOINT active_record_1
26024
+ SQL (0.3ms) 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.332204"], ["updated_at", "2016-12-10 20:24:29.332204"]]
26025
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26026
+  (0.3ms) rollback transaction
26027
+  (0.0ms) begin transaction
26028
+  (0.0ms) SAVEPOINT active_record_1
26029
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26031
+  (0.3ms) rollback transaction
26032
+  (0.4ms) begin transaction
26033
+  (0.1ms) SAVEPOINT active_record_1
26034
+ SQL (0.3ms) 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.342451"], ["updated_at", "2016-12-10 20:24:29.342451"]]
26035
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26036
+  (0.3ms) rollback transaction
26037
+  (0.1ms) begin transaction
26038
+  (0.1ms) SAVEPOINT active_record_1
26039
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26041
+  (0.2ms) rollback transaction
26042
+  (0.0ms) begin transaction
26043
+  (0.0ms) SAVEPOINT active_record_1
26044
+ SQL (0.2ms) 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.353205"], ["updated_at", "2016-12-10 20:24:29.353205"]]
26045
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26046
+  (0.8ms) rollback transaction
26047
+  (0.2ms) begin transaction
26048
+  (0.1ms) SAVEPOINT active_record_1
26049
+ SQL (0.8ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
26051
+  (0.8ms) rollback transaction
26052
+  (0.1ms) begin transaction
26053
+  (0.1ms) SAVEPOINT active_record_1
26054
+ SQL (0.3ms) 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.368134"], ["updated_at", "2016-12-10 20:24:29.368134"]]
26055
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26056
+  (0.3ms) rollback transaction
26057
+  (0.0ms) begin transaction
26058
+  (0.2ms) SAVEPOINT active_record_1
26059
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26061
+  (0.4ms) rollback transaction
26062
+  (0.1ms) begin transaction
26063
+  (0.1ms) SAVEPOINT active_record_1
26064
+ SQL (0.3ms) 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.378588"], ["updated_at", "2016-12-10 20:24:29.378588"]]
26065
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26066
+  (0.4ms) rollback transaction
26067
+  (0.1ms) begin transaction
26068
+  (0.1ms) SAVEPOINT active_record_1
26069
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26071
+  (0.3ms) rollback transaction
26072
+  (0.1ms) begin transaction
26073
+  (0.1ms) SAVEPOINT active_record_1
26074
+ SQL (0.7ms) 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.387346"], ["updated_at", "2016-12-10 20:24:29.387346"]]
26075
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26076
+  (0.5ms) rollback transaction
26077
+  (0.0ms) begin transaction
26078
+  (0.0ms) SAVEPOINT active_record_1
26079
+ SQL (0.3ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
26081
+  (0.3ms) rollback transaction
26082
+  (0.1ms) begin transaction
26083
+  (0.1ms) SAVEPOINT active_record_1
26084
+ SQL (0.2ms) 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.399626"], ["updated_at", "2016-12-10 20:24:29.399626"]]
26085
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26086
+  (0.3ms) rollback transaction
26087
+  (0.1ms) begin transaction
26088
+  (0.0ms) SAVEPOINT active_record_1
26089
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26091
+  (0.3ms) rollback transaction
26092
+  (0.2ms) begin transaction
26093
+  (0.1ms) SAVEPOINT active_record_1
26094
+ SQL (0.6ms) 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.409676"], ["updated_at", "2016-12-10 20:24:29.409676"]]
26095
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26096
+  (0.7ms) rollback transaction
26097
+  (0.1ms) begin transaction
26098
+  (0.1ms) SAVEPOINT active_record_1
26099
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26101
+  (0.4ms) rollback transaction
26102
+  (0.6ms) begin transaction
26103
+  (0.1ms) SAVEPOINT active_record_1
26104
+ SQL (0.3ms) 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.426622"], ["updated_at", "2016-12-10 20:24:29.426622"]]
26105
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26106
+  (0.3ms) rollback transaction
26107
+  (0.1ms) begin transaction
26108
+  (0.1ms) SAVEPOINT active_record_1
26109
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26111
+  (0.3ms) rollback transaction
26112
+  (0.1ms) begin transaction
26113
+  (0.1ms) SAVEPOINT active_record_1
26114
+ SQL (1.2ms) 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.437388"], ["updated_at", "2016-12-10 20:24:29.437388"]]
26115
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26116
+  (0.4ms) rollback transaction
26117
+  (0.1ms) begin transaction
26118
+  (0.1ms) SAVEPOINT active_record_1
26119
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26121
+  (0.3ms) rollback transaction
26122
+  (0.0ms) begin transaction
26123
+  (0.1ms) SAVEPOINT active_record_1
26124
+ SQL (0.3ms) 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.452593"], ["updated_at", "2016-12-10 20:24:29.452593"]]
26125
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26126
+  (0.3ms) rollback transaction
26127
+  (0.1ms) begin transaction
26128
+  (0.1ms) SAVEPOINT active_record_1
26129
+ SQL (0.7ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26131
+  (1.2ms) rollback transaction
26132
+  (0.3ms) begin transaction
26133
+  (0.1ms) SAVEPOINT active_record_1
26134
+ SQL (0.4ms) 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.469836"], ["updated_at", "2016-12-10 20:24:29.469836"]]
26135
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26136
+  (0.4ms) rollback transaction
26137
+  (0.1ms) begin transaction
26138
+  (0.1ms) SAVEPOINT active_record_1
26139
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26141
+  (0.4ms) rollback transaction
26142
+  (0.0ms) begin transaction
26143
+  (0.0ms) SAVEPOINT active_record_1
26144
+ SQL (0.2ms) 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.478670"], ["updated_at", "2016-12-10 20:24:29.478670"]]
26145
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26146
+  (0.3ms) rollback transaction
26147
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
26148
+  (0.9ms) CREATE 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) 
26149
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
26150
+  (0.1ms) select sqlite_version(*)
26151
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
26152
+  (0.1ms) SELECT version FROM "schema_migrations"
26153
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20161113032308')
26154
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
26155
+  (0.1ms) begin transaction
26156
+  (0.1ms) rollback transaction
26157
+  (0.1ms) begin transaction
26158
+  (0.0ms) rollback transaction
26159
+  (0.0ms) begin transaction
26160
+  (0.0ms) rollback transaction
26161
+  (0.0ms) begin transaction
26162
+  (0.0ms) rollback transaction
26163
+  (0.0ms) begin transaction
26164
+  (0.1ms) rollback transaction
26165
+  (0.0ms) begin transaction
26166
+  (0.0ms) rollback transaction
26167
+  (0.0ms) begin transaction
26168
+  (0.1ms) rollback transaction
26169
+  (0.1ms) begin transaction
26170
+  (0.1ms) rollback transaction
26171
+  (0.1ms) begin transaction
26172
+  (0.0ms) rollback transaction
26173
+  (0.1ms) begin transaction
26174
+  (0.1ms) rollback transaction
26175
+  (0.1ms) begin transaction
26176
+  (0.2ms) rollback transaction
26177
+  (0.1ms) begin transaction
26178
+  (0.1ms) rollback transaction
26179
+  (0.0ms) begin transaction
26180
+  (0.0ms) rollback transaction
26181
+  (0.0ms) begin transaction
26182
+  (0.0ms) rollback transaction
26183
+  (0.0ms) begin transaction
26184
+  (0.1ms) rollback transaction
26185
+  (0.1ms) begin transaction
26186
+  (0.1ms) rollback transaction
26187
+  (0.0ms) begin transaction
26188
+  (0.0ms) rollback transaction
26189
+  (0.0ms) begin transaction
26190
+  (0.1ms) rollback transaction
26191
+  (0.1ms) begin transaction
26192
+  (0.0ms) rollback transaction
26193
+  (0.0ms) begin transaction
26194
+  (0.1ms) rollback transaction
26195
+  (0.0ms) begin transaction
26196
+  (0.0ms) rollback transaction
26197
+  (0.0ms) begin transaction
26198
+  (0.0ms) rollback transaction
26199
+  (0.2ms) begin transaction
26200
+  (0.1ms) rollback transaction
26201
+  (0.1ms) begin transaction
26202
+  (0.1ms) rollback transaction
26203
+  (0.1ms) begin transaction
26204
+  (0.1ms) rollback transaction
26205
+  (0.0ms) begin transaction
26206
+  (0.9ms) rollback transaction
26207
+  (0.2ms) begin transaction
26208
+  (0.1ms) rollback transaction
26209
+  (0.1ms) begin transaction
26210
+  (0.0ms) rollback transaction
26211
+  (0.1ms) begin transaction
26212
+  (0.0ms) rollback transaction
26213
+  (0.0ms) begin transaction
26214
+  (0.1ms) rollback transaction
26215
+  (0.0ms) begin transaction
26216
+  (0.0ms) SAVEPOINT active_record_1
26217
+ SQL (0.4ms) 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.706323"], ["updated_at", "2016-12-10 20:26:34.706323"]]
26218
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26219
+  (0.3ms) rollback transaction
26220
+  (0.3ms) begin transaction
26221
+  (0.0ms) SAVEPOINT active_record_1
26222
+ SQL (0.5ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26224
+  (0.5ms) rollback transaction
26225
+  (0.4ms) begin transaction
26226
+  (0.1ms) SAVEPOINT active_record_1
26227
+ SQL (0.3ms) 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.721392"], ["updated_at", "2016-12-10 20:26:34.721392"]]
26228
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26229
+  (0.3ms) rollback transaction
26230
+  (2.3ms) begin transaction
26231
+  (0.1ms) SAVEPOINT active_record_1
26232
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26234
+  (0.3ms) rollback transaction
26235
+  (0.1ms) begin transaction
26236
+  (0.1ms) SAVEPOINT active_record_1
26237
+ SQL (0.2ms) 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.736750"], ["updated_at", "2016-12-10 20:26:34.736750"]]
26238
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26239
+  (0.2ms) rollback transaction
26240
+  (0.0ms) begin transaction
26241
+  (0.0ms) SAVEPOINT active_record_1
26242
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26244
+  (0.2ms) rollback transaction
26245
+  (0.2ms) begin transaction
26246
+  (0.0ms) SAVEPOINT active_record_1
26247
+ SQL (0.3ms) 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.745620"], ["updated_at", "2016-12-10 20:26:34.745620"]]
26248
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26249
+  (0.5ms) rollback transaction
26250
+  (0.1ms) begin transaction
26251
+  (0.0ms) SAVEPOINT active_record_1
26252
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26254
+  (0.3ms) rollback transaction
26255
+  (0.1ms) begin transaction
26256
+  (0.1ms) SAVEPOINT active_record_1
26257
+ SQL (0.5ms) 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.772571"], ["updated_at", "2016-12-10 20:26:34.772571"]]
26258
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26259
+  (2.6ms) rollback transaction
26260
+  (0.1ms) begin transaction
26261
+  (0.1ms) SAVEPOINT active_record_1
26262
+ SQL (0.5ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26264
+  (0.6ms) rollback transaction
26265
+  (0.2ms) begin transaction
26266
+  (0.1ms) SAVEPOINT active_record_1
26267
+ SQL (0.3ms) 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.790870"], ["updated_at", "2016-12-10 20:26:34.790870"]]
26268
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26269
+  (0.3ms) rollback transaction
26270
+  (0.1ms) begin transaction
26271
+  (0.0ms) SAVEPOINT active_record_1
26272
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26274
+  (0.3ms) rollback transaction
26275
+  (0.0ms) begin transaction
26276
+  (0.0ms) SAVEPOINT active_record_1
26277
+ SQL (0.2ms) 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.798132"], ["updated_at", "2016-12-10 20:26:34.798132"]]
26278
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26279
+  (0.4ms) rollback transaction
26280
+  (0.1ms) begin transaction
26281
+  (0.1ms) SAVEPOINT active_record_1
26282
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26284
+  (0.3ms) rollback transaction
26285
+  (0.1ms) begin transaction
26286
+  (0.0ms) SAVEPOINT active_record_1
26287
+ SQL (0.2ms) 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.804966"], ["updated_at", "2016-12-10 20:26:34.804966"]]
26288
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26289
+  (0.3ms) rollback transaction
26290
+  (0.1ms) begin transaction
26291
+  (0.1ms) SAVEPOINT active_record_1
26292
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26294
+  (0.3ms) rollback transaction
26295
+  (0.0ms) begin transaction
26296
+  (0.0ms) SAVEPOINT active_record_1
26297
+ SQL (0.2ms) 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.813075"], ["updated_at", "2016-12-10 20:26:34.813075"]]
26298
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26299
+  (0.4ms) rollback transaction
26300
+  (0.1ms) begin transaction
26301
+  (0.1ms) SAVEPOINT active_record_1
26302
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26304
+  (0.4ms) rollback transaction
26305
+  (0.1ms) begin transaction
26306
+  (0.1ms) SAVEPOINT active_record_1
26307
+ SQL (0.3ms) 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.821661"], ["updated_at", "2016-12-10 20:26:34.821661"]]
26308
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26309
+  (0.4ms) rollback transaction
26310
+  (0.1ms) begin transaction
26311
+  (0.1ms) SAVEPOINT active_record_1
26312
+ SQL (0.5ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26314
+  (0.5ms) rollback transaction
26315
+  (0.2ms) begin transaction
26316
+  (0.1ms) SAVEPOINT active_record_1
26317
+ SQL (1.0ms) 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.837923"], ["updated_at", "2016-12-10 20:26:34.837923"]]
26318
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26319
+  (0.4ms) rollback transaction
26320
+  (0.2ms) begin transaction
26321
+  (0.1ms) SAVEPOINT active_record_1
26322
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26324
+  (0.3ms) rollback transaction
26325
+  (0.0ms) begin transaction
26326
+  (0.0ms) SAVEPOINT active_record_1
26327
+ SQL (0.2ms) 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.848585"], ["updated_at", "2016-12-10 20:26:34.848585"]]
26328
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26329
+  (0.2ms) rollback transaction
26330
+  (0.1ms) begin transaction
26331
+  (0.0ms) SAVEPOINT active_record_1
26332
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26334
+  (0.3ms) rollback transaction
26335
+  (0.0ms) begin transaction
26336
+  (0.1ms) SAVEPOINT active_record_1
26337
+ SQL (0.2ms) 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.855948"], ["updated_at", "2016-12-10 20:26:34.855948"]]
26338
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26339
+  (0.3ms) rollback transaction
26340
+  (0.1ms) begin transaction
26341
+  (0.1ms) SAVEPOINT active_record_1
26342
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26344
+  (0.3ms) rollback transaction
26345
+  (0.1ms) begin transaction
26346
+  (0.0ms) SAVEPOINT active_record_1
26347
+ SQL (0.2ms) 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.864804"], ["updated_at", "2016-12-10 20:26:34.864804"]]
26348
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26349
+  (0.3ms) rollback transaction
26350
+  (0.1ms) begin transaction
26351
+  (0.0ms) SAVEPOINT active_record_1
26352
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26354
+  (0.3ms) rollback transaction
26355
+  (0.1ms) begin transaction
26356
+  (0.1ms) SAVEPOINT active_record_1
26357
+ SQL (0.2ms) 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.874954"], ["updated_at", "2016-12-10 20:26:34.874954"]]
26358
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26359
+  (0.4ms) rollback transaction
26360
+  (0.1ms) begin transaction
26361
+  (0.1ms) SAVEPOINT active_record_1
26362
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26364
+  (0.3ms) rollback transaction
26365
+  (0.1ms) begin transaction
26366
+  (0.0ms) SAVEPOINT active_record_1
26367
+ SQL (0.2ms) 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.886253"], ["updated_at", "2016-12-10 20:26:34.886253"]]
26368
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26369
+  (0.3ms) rollback transaction
26370
+  (0.1ms) begin transaction
26371
+  (0.1ms) SAVEPOINT active_record_1
26372
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26374
+  (0.3ms) rollback transaction
26375
+  (0.0ms) begin transaction
26376
+  (0.0ms) SAVEPOINT active_record_1
26377
+ SQL (0.2ms) 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.894040"], ["updated_at", "2016-12-10 20:26:34.894040"]]
26378
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26379
+  (0.6ms) rollback transaction
@@ -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 Thousand") }
353
- it { expect(purchase.human_amount).to eq("2 Million") }
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 Million") }
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 Thousand") }
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.0
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.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.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.0
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.0
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.0
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.0
123
+ version: '3.4'
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: guard-rspec
126
126
  requirement: !ruby/object:Gem::Requirement