makers 4.0.0.1 → 4.0.0.2

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: 6636e08fd15765ebe870551dd2818dbc413e3c41
4
- data.tar.gz: 803dc93ec36201f4b3d244c5993a331208a42811
3
+ metadata.gz: c5e1da1e20157ec9b830eeeef7e4ffcd49ee2746
4
+ data.tar.gz: 737649645fa7d6d32c4a84b90fcb1d231f2368a2
5
5
  SHA512:
6
- metadata.gz: 4d3f52a3fe0b13a1a445d485601c2991e043e322047387df65ad5362838e948a64d971a38469d5897cd2b5a9352a4a919df83c1ac678dcac63c23e6cb66f28e6
7
- data.tar.gz: 2b944cf935595656330ab7f88ae05fdebb74c74c7f16d7855dcdf2b36c487cb71a39249a088467a57385d3644932c1c58178af0b5da40aad892d1bc03c330649
6
+ metadata.gz: 0083815ef6282d38ca93264cc3f1a731d4e093154892a48dc08256a0c6532af8b53bd2b5501bcde161204c9fb61b7b994d110c6bb14e3bb66cca270ab9c507e7
7
+ data.tar.gz: 1a60286c38a04de2757b71843238c8d2ce1089a3c85250b076d347a2cf9ac95238f3cde7f4cee82b9d820b1c69af9bc722c5fc2bc8d2b52fab4c226475bc8d1e
@@ -9,14 +9,6 @@ require 'makers/version'
9
9
  module Makers
10
10
  class << self
11
11
 
12
- def configuration
13
- @configuration ||= Configuration.new
14
- end
15
-
16
- def configure
17
- yield configuration
18
- end
19
-
20
12
  def definitions
21
13
  @definitions ||= Definitions.new
22
14
  end
@@ -1,5 +1,5 @@
1
1
  module Makers
2
2
 
3
- VERSION = '4.0.0.1'
3
+ VERSION = '4.0.0.2'
4
4
 
5
5
  end
@@ -920,3 +920,82 @@ MakerTest: test_inheritance
920
920
  GeneratorTest: test_install
921
921
  ---------------------------
922
922
   (0.2ms) ROLLBACK
923
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
924
+  (0.2ms) BEGIN
925
+ ---------------------------
926
+ GeneratorTest: test_install
927
+ ---------------------------
928
+  (0.2ms) ROLLBACK
929
+  (0.1ms) BEGIN
930
+ -------------------------
931
+ MakerTest: test_dependent
932
+ -------------------------
933
+  (0.2ms) SAVEPOINT active_record_1
934
+ SQL (0.7ms) INSERT INTO "users" ("name", "username", "email", "phone", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail2@example.com"], ["phone", 2], ["created_at", "2016-12-07 20:21:57.497565"], ["updated_at", "2016-12-07 20:21:57.497565"]]
935
+ SQL (0.4ms) INSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 25], ["created_at", "2016-12-07 20:21:57.502208"], ["updated_at", "2016-12-07 20:21:57.502208"]]
936
+  (0.1ms) RELEASE SAVEPOINT active_record_1
937
+  (0.2ms) ROLLBACK
938
+  (0.1ms) BEGIN
939
+ -------------------------
940
+ MakerTest: test_sequences
941
+ -------------------------
942
+  (0.2ms) SAVEPOINT active_record_1
943
+ SQL (0.3ms) INSERT INTO "users" ("name", "username", "email", "phone", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail4@example.com"], ["phone", 4], ["created_at", "2016-12-07 20:21:57.506623"], ["updated_at", "2016-12-07 20:21:57.506623"]]
944
+ SQL (0.3ms) INSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 26], ["created_at", "2016-12-07 20:21:57.509087"], ["updated_at", "2016-12-07 20:21:57.509087"]]
945
+  (0.2ms) RELEASE SAVEPOINT active_record_1
946
+  (0.1ms) SAVEPOINT active_record_1
947
+ SQL (0.2ms) INSERT INTO "users" ("name", "username", "email", "phone", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail6@example.com"], ["phone", 6], ["created_at", "2016-12-07 20:21:57.511526"], ["updated_at", "2016-12-07 20:21:57.511526"]]
948
+ SQL (0.2ms) INSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 27], ["created_at", "2016-12-07 20:21:57.512264"], ["updated_at", "2016-12-07 20:21:57.512264"]]
949
+  (0.1ms) RELEASE SAVEPOINT active_record_1
950
+  (0.1ms) ROLLBACK
951
+  (0.1ms) BEGIN
952
+ -----------------------
953
+ MakerTest: test_aliases
954
+ -----------------------
955
+  (0.1ms) ROLLBACK
956
+  (0.1ms) BEGIN
957
+ ---------------------------
958
+ MakerTest: test_inheritance
959
+ ---------------------------
960
+  (0.1ms) SAVEPOINT active_record_1
961
+ SQL (0.2ms) INSERT INTO "users" ("age", "name", "username", "email", "phone", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["age", 9], ["name", "name"], ["username", "name"], ["email", "mail8@example.com"], ["phone", 8], ["created_at", "2016-12-07 20:21:57.515496"], ["updated_at", "2016-12-07 20:21:57.515496"]]
962
+ SQL (0.2ms) INSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 28], ["created_at", "2016-12-07 20:21:57.516590"], ["updated_at", "2016-12-07 20:21:57.516590"]]
963
+  (0.1ms) RELEASE SAVEPOINT active_record_1
964
+  (0.1ms) ROLLBACK
965
+  (0.1ms) BEGIN
966
+ ---------------------------
967
+ MakerTest: test_definitions
968
+ ---------------------------
969
+  (0.1ms) ROLLBACK
970
+  (0.1ms) BEGIN
971
+ ----------------------------
972
+ MakerTest: test_associations
973
+ ----------------------------
974
+  (0.1ms) SAVEPOINT active_record_1
975
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-07 20:21:57.519827"], ["updated_at", "2016-12-07 20:21:57.519827"]]
976
+  (0.1ms) RELEASE SAVEPOINT active_record_1
977
+  (0.1ms) SAVEPOINT active_record_1
978
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-07 20:21:57.521505"], ["updated_at", "2016-12-07 20:21:57.521505"]]
979
+  (0.1ms) RELEASE SAVEPOINT active_record_1
980
+  (0.1ms) ROLLBACK
981
+  (0.1ms) BEGIN
982
+ -------------------------
983
+ MakerTest: test_overrides
984
+ -------------------------
985
+  (0.1ms) SAVEPOINT active_record_1
986
+ SQL (0.2ms) INSERT INTO "users" ("name", "username", "email", "phone", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail15@example.com"], ["phone", 15], ["created_at", "2016-12-07 20:21:57.525532"], ["updated_at", "2016-12-07 20:21:57.525532"]]
987
+ SQL (0.1ms) INSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 29], ["created_at", "2016-12-07 20:21:57.526492"], ["updated_at", "2016-12-07 20:21:57.526492"]]
988
+  (0.1ms) RELEASE SAVEPOINT active_record_1
989
+  (0.1ms) SAVEPOINT active_record_1
990
+ SQL (0.2ms) INSERT INTO "users" ("name", "username", "email", "phone", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail16@example.com"], ["phone", 16], ["created_at", "2016-12-07 20:21:57.527967"], ["updated_at", "2016-12-07 20:21:57.527967"]]
991
+ SQL (0.2ms) INSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 30], ["created_at", "2016-12-07 20:21:57.528733"], ["updated_at", "2016-12-07 20:21:57.528733"]]
992
+  (0.1ms) RELEASE SAVEPOINT active_record_1
993
+  (0.1ms) SAVEPOINT active_record_1
994
+ SQL (0.2ms) INSERT INTO "users" ("name", "username", "email", "phone", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail17@example.com"], ["phone", 17], ["created_at", "2016-12-07 20:21:57.530360"], ["updated_at", "2016-12-07 20:21:57.530360"]]
995
+ SQL (0.1ms) INSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 31], ["created_at", "2016-12-07 20:21:57.531138"], ["updated_at", "2016-12-07 20:21:57.531138"]]
996
+  (0.1ms) RELEASE SAVEPOINT active_record_1
997
+  (0.1ms) SAVEPOINT active_record_1
998
+ SQL (0.1ms) INSERT INTO "users" ("name", "username", "email", "phone", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail18@example.com"], ["phone", 18], ["created_at", "2016-12-07 20:21:57.532638"], ["updated_at", "2016-12-07 20:21:57.532638"]]
999
+ SQL (0.2ms) INSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 32], ["created_at", "2016-12-07 20:21:57.533299"], ["updated_at", "2016-12-07 20:21:57.533299"]]
1000
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1001
+  (0.1ms) ROLLBACK
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: makers
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.1
4
+ version: 4.0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - mmontossi