attr_object 0.0.3 → 0.0.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ace86405712071ea93d4aebe07ba60e276cf053
|
4
|
+
data.tar.gz: 307a11dee65fe5cfe8d7f3febc6993bc1c106c2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4103cb682b654f8d6c00b3990ac9d85acdde53e702974120a7c77358d7586eb696142425bfaf91ecb3ddfe2fd126bf34d21c4ba395235029522e1fc74b3c8f23
|
7
|
+
data.tar.gz: da4af9fc030c10d82e048d7834963b8c4f2bdf41ad9aac09d5e3d985df1a2339ca5b7d6fb2efcebe1c88b68f694586e407bad27ba4bc276a043c4af3364e4b37
|
data/lib/attr_object/version.rb
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -15046,3 +15046,59 @@ AttrObjectGeneratorTest: test_generator_runs_without_errors
|
|
15046
15046
|
AttrObjectGeneratorTest: test_generator_with_class
|
15047
15047
|
--------------------------------------------------
|
15048
15048
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
15049
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
15050
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15051
|
+
-----------------------------------------------------------
|
15052
|
+
AttrObjectGeneratorTest: test_generator_runs_without_errors
|
15053
|
+
-----------------------------------------------------------
|
15054
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
15055
|
+
[1m[35m (0.0ms)[0m begin transaction
|
15056
|
+
--------------------------------------------------
|
15057
|
+
AttrObjectGeneratorTest: test_generator_with_class
|
15058
|
+
--------------------------------------------------
|
15059
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
15060
|
+
[1m[35m (0.0ms)[0m begin transaction
|
15061
|
+
----------------------------------------------------------
|
15062
|
+
AttrObjectGeneratorTest: test_generator_with_invalid_class
|
15063
|
+
----------------------------------------------------------
|
15064
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
15065
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15066
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("position", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["position", 0], ["created_at", "2016-01-12 11:52:47.496506"], ["updated_at", "2016-01-12 11:52:47.496506"]]
|
15067
|
+
[1m[35m (20.8ms)[0m commit transaction
|
15068
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 515]]
|
15069
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15070
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("position", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["position", 1], ["created_at", "2016-01-12 11:52:47.530426"], ["updated_at", "2016-01-12 11:52:47.530426"]]
|
15071
|
+
[1m[35m (11.9ms)[0m commit transaction
|
15072
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 516]]
|
15073
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15074
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("position", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["position", 99], ["created_at", "2016-01-12 11:52:47.553114"], ["updated_at", "2016-01-12 11:52:47.553114"]]
|
15075
|
+
[1m[35m (17.8ms)[0m commit transaction
|
15076
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 517]]
|
15077
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
15078
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15079
|
+
--------------------------------------------------
|
15080
|
+
AttrObjectGeneratorTest: test_generator_with_class
|
15081
|
+
--------------------------------------------------
|
15082
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
15083
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15084
|
+
-----------------------------------------------------------
|
15085
|
+
AttrObjectGeneratorTest: test_generator_runs_without_errors
|
15086
|
+
-----------------------------------------------------------
|
15087
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
15088
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15089
|
+
----------------------------------------------------------
|
15090
|
+
AttrObjectGeneratorTest: test_generator_with_invalid_class
|
15091
|
+
----------------------------------------------------------
|
15092
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
15093
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15094
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("position", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["position", 1], ["created_at", "2016-01-12 11:52:55.976203"], ["updated_at", "2016-01-12 11:52:55.976203"]]
|
15095
|
+
[1m[35m (15.3ms)[0m commit transaction
|
15096
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 518]]
|
15097
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15098
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("position", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["position", 0], ["created_at", "2016-01-12 11:52:56.004866"], ["updated_at", "2016-01-12 11:52:56.004866"]]
|
15099
|
+
[1m[35m (11.5ms)[0m commit transaction
|
15100
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 519]]
|
15101
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15102
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("position", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["position", 99], ["created_at", "2016-01-12 11:52:56.027393"], ["updated_at", "2016-01-12 11:52:56.027393"]]
|
15103
|
+
[1m[35m (11.7ms)[0m commit transaction
|
15104
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 520]]
|
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.
|
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/
|
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/
|
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
|