attr_object 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6553f9b64e829966f46fe040a9f23e6723f8573d
4
- data.tar.gz: d4e32fbf0fc83f86cbbc9d6912c68d46e78e7791
3
+ metadata.gz: 1ace86405712071ea93d4aebe07ba60e276cf053
4
+ data.tar.gz: 307a11dee65fe5cfe8d7f3febc6993bc1c106c2d
5
5
  SHA512:
6
- metadata.gz: f6ab2ee78fbedd7ab76b602223b70bdc7057251526c08bec6643455ba82df517e06cd2ff33d7b6537dfc66a93bc004bcc19d7950e7aaa8038fba348e50eb1b00
7
- data.tar.gz: c145f8f9c19872c1cc427472ea6dc2ef2660de7c522b0f5b61691427ef3eeee7bb79858128a9a5cf2af5cdea5aad38ba9be4cea0b3aad03ede88693be7a1579c
6
+ metadata.gz: 4103cb682b654f8d6c00b3990ac9d85acdde53e702974120a7c77358d7586eb696142425bfaf91ecb3ddfe2fd126bf34d21c4ba395235029522e1fc74b3c8f23
7
+ data.tar.gz: da4af9fc030c10d82e048d7834963b8c4f2bdf41ad9aac09d5e3d985df1a2339ca5b7d6fb2efcebe1c88b68f694586e407bad27ba4bc276a043c4af3364e4b37
@@ -1,3 +1,3 @@
1
1
  module AttrObject
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
Binary file
@@ -15046,3 +15046,59 @@ AttrObjectGeneratorTest: test_generator_runs_without_errors
15046
15046
  AttrObjectGeneratorTest: test_generator_with_class
15047
15047
  --------------------------------------------------
15048
15048
   (0.0ms) rollback transaction
15049
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15050
+  (0.1ms) begin transaction
15051
+ -----------------------------------------------------------
15052
+ AttrObjectGeneratorTest: test_generator_runs_without_errors
15053
+ -----------------------------------------------------------
15054
+  (0.1ms) rollback transaction
15055
+  (0.0ms) begin transaction
15056
+ --------------------------------------------------
15057
+ AttrObjectGeneratorTest: test_generator_with_class
15058
+ --------------------------------------------------
15059
+  (0.1ms) rollback transaction
15060
+  (0.0ms) begin transaction
15061
+ ----------------------------------------------------------
15062
+ AttrObjectGeneratorTest: test_generator_with_invalid_class
15063
+ ----------------------------------------------------------
15064
+  (0.1ms) rollback transaction
15065
+  (0.1ms) begin transaction
15066
+ SQL (0.3ms) INSERT INTO "users" ("position", "created_at", "updated_at") VALUES (?, ?, ?) [["position", 0], ["created_at", "2016-01-12 11:52:47.496506"], ["updated_at", "2016-01-12 11:52:47.496506"]]
15067
+  (20.8ms) commit transaction
15068
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 515]]
15069
+  (0.1ms) begin transaction
15070
+ SQL (0.2ms) INSERT INTO "users" ("position", "created_at", "updated_at") VALUES (?, ?, ?) [["position", 1], ["created_at", "2016-01-12 11:52:47.530426"], ["updated_at", "2016-01-12 11:52:47.530426"]]
15071
+  (11.9ms) commit transaction
15072
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 516]]
15073
+  (0.1ms) begin transaction
15074
+ SQL (0.2ms) INSERT INTO "users" ("position", "created_at", "updated_at") VALUES (?, ?, ?) [["position", 99], ["created_at", "2016-01-12 11:52:47.553114"], ["updated_at", "2016-01-12 11:52:47.553114"]]
15075
+  (17.8ms) commit transaction
15076
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 517]]
15077
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15078
+  (0.1ms) begin transaction
15079
+ --------------------------------------------------
15080
+ AttrObjectGeneratorTest: test_generator_with_class
15081
+ --------------------------------------------------
15082
+  (0.1ms) rollback transaction
15083
+  (0.1ms) begin transaction
15084
+ -----------------------------------------------------------
15085
+ AttrObjectGeneratorTest: test_generator_runs_without_errors
15086
+ -----------------------------------------------------------
15087
+  (0.1ms) rollback transaction
15088
+  (0.1ms) begin transaction
15089
+ ----------------------------------------------------------
15090
+ AttrObjectGeneratorTest: test_generator_with_invalid_class
15091
+ ----------------------------------------------------------
15092
+  (0.1ms) rollback transaction
15093
+  (0.1ms) begin transaction
15094
+ SQL (0.4ms) INSERT INTO "users" ("position", "created_at", "updated_at") VALUES (?, ?, ?) [["position", 1], ["created_at", "2016-01-12 11:52:55.976203"], ["updated_at", "2016-01-12 11:52:55.976203"]]
15095
+  (15.3ms) commit transaction
15096
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 518]]
15097
+  (0.1ms) begin transaction
15098
+ SQL (0.2ms) INSERT INTO "users" ("position", "created_at", "updated_at") VALUES (?, ?, ?) [["position", 0], ["created_at", "2016-01-12 11:52:56.004866"], ["updated_at", "2016-01-12 11:52:56.004866"]]
15099
+  (11.5ms) commit transaction
15100
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 519]]
15101
+  (0.1ms) begin transaction
15102
+ SQL (0.1ms) INSERT INTO "users" ("position", "created_at", "updated_at") VALUES (?, ?, ?) [["position", 99], ["created_at", "2016-01-12 11:52:56.027393"], ["updated_at", "2016-01-12 11:52:56.027393"]]
15103
+  (11.7ms) commit transaction
15104
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 520]]
@@ -0,0 +1,2 @@
1
+ class PhoneAttr < DelegateClass(InvalidRubyClass)
2
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: attr_object
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - dsimard
@@ -102,7 +102,7 @@ files:
102
102
  - test/dummy/public/favicon.ico
103
103
  - test/dummy/test/fixtures/users.yml
104
104
  - test/dummy/test/models/user_test.rb
105
- - test/dummy/tmp/generators/app/attr_objects/position_attr.rb
105
+ - test/dummy/tmp/generators/app/attr_objects/phone_attr.rb
106
106
  - test/lib/generators/attr_object_generator_test.rb
107
107
  - test/test_helper.rb
108
108
  homepage: https://github.com/dsimard/attr_object
@@ -139,7 +139,7 @@ test_files:
139
139
  - test/dummy/app/attr_objects/position_attr.rb
140
140
  - test/dummy/app/assets/stylesheets/application.css
141
141
  - test/dummy/app/assets/javascripts/application.js
142
- - test/dummy/tmp/generators/app/attr_objects/position_attr.rb
142
+ - test/dummy/tmp/generators/app/attr_objects/phone_attr.rb
143
143
  - test/dummy/README.rdoc
144
144
  - test/dummy/public/500.html
145
145
  - test/dummy/public/422.html
@@ -1,2 +0,0 @@
1
- class PositionAttr < DelegateClass(Fixnum)
2
- end