makers 4.0.0.3 → 4.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: d63b716cbeb94ba95cf3ecac9134b7d4e81cfc05
4
- data.tar.gz: cffd0a4730637d27a5b0e0a92e2a9d19be70726d
3
+ metadata.gz: 96d4fc26dc866c80ff6822133981e685cfb2fd64
4
+ data.tar.gz: 60c0238d7d1e9193ad7e49809c8d2e989217f4cd
5
5
  SHA512:
6
- metadata.gz: 4e67d185e4160cc66d68212e4b12d88546e7636fffcb107569482054e9e13e27a99f5f0361f1295deb190123c644fd2126e388712fc57274ef733d914850908c
7
- data.tar.gz: 427f127b051d1fe49b07c5d2fad10a0a0d9bcab02c13ae214c89905d9c0e49cc73503594f458f13939e12c7b79d6fe4690708d209c01acb8298b87ebc0a3317e
6
+ metadata.gz: 55a05d0e9c88ca8594bfc92455bc4fc9dcefcc1b1fc376bc1b384e21956ebb1ccc61130ca9f549a5759998415c270fdc84fc7bff5dbbe4c4d46a389fd4227a40
7
+ data.tar.gz: 6f6927eaa52c8032a5827f8112d36ca10cc668f130b721b6fd8fe37774606853c968bd857fd44ab92b1a3b9f496db8cd859a9114b794b8fc2fd9b0710c995fe4
@@ -6,7 +6,13 @@ module Makers
6
6
  fixture: false
7
7
  )
8
8
 
9
- config.before_initialize do
9
+ initializer 'makers.active_support' do
10
+ ActiveSupport::TestCase.include(
11
+ Makers::Extensions::ActiveSupport::TestCase
12
+ )
13
+ end
14
+
15
+ config.after_initialize do
10
16
  if Dir.exist?(Rails.root.join('spec'))
11
17
  directory = 'spec'
12
18
  else
@@ -18,11 +24,5 @@ module Makers
18
24
  end
19
25
  end
20
26
 
21
- initializer 'makers.active_support' do
22
- ActiveSupport::TestCase.include(
23
- Makers::Extensions::ActiveSupport::TestCase
24
- )
25
- end
26
-
27
27
  end
28
28
  end
@@ -1,5 +1,5 @@
1
1
  module Makers
2
2
 
3
- VERSION = '4.0.0.3'
3
+ VERSION = '4.0.0.4'
4
4
 
5
5
  end
@@ -2617,3 +2617,82 @@ WHERE c.contype = 'f'
2617
2617
  AND t3.nspname = ANY (current_schemas(false))
2618
2618
  ORDER BY c.conname
2619
2619
 
2620
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
2621
+  (0.2ms) BEGIN
2622
+ ---------------------------
2623
+ GeneratorTest: test_install
2624
+ ---------------------------
2625
+  (0.1ms) ROLLBACK
2626
+  (0.1ms) BEGIN
2627
+ -------------------------
2628
+ MakerTest: test_dependent
2629
+ -------------------------
2630
+  (0.2ms) SAVEPOINT active_record_1
2631
+ SQL (5.5ms) 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-14 05:32:45.934981"], ["updated_at", "2016-12-14 05:32:45.934981"]]
2632
+ SQL (1.0ms) INSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 1], ["created_at", "2016-12-14 05:32:45.943024"], ["updated_at", "2016-12-14 05:32:45.943024"]]
2633
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2634
+  (0.2ms) ROLLBACK
2635
+  (0.1ms) BEGIN
2636
+ ---------------------------
2637
+ MakerTest: test_definitions
2638
+ ---------------------------
2639
+  (0.1ms) ROLLBACK
2640
+  (0.1ms) BEGIN
2641
+ -----------------------
2642
+ MakerTest: test_aliases
2643
+ -----------------------
2644
+  (0.1ms) ROLLBACK
2645
+  (0.1ms) BEGIN
2646
+ -------------------------
2647
+ MakerTest: test_overrides
2648
+ -------------------------
2649
+  (0.1ms) SAVEPOINT active_record_1
2650
+ 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", "mail7@example.com"], ["phone", 7], ["created_at", "2016-12-14 05:32:45.950255"], ["updated_at", "2016-12-14 05:32:45.950255"]]
2651
+ SQL (0.2ms) INSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 2], ["created_at", "2016-12-14 05:32:45.951222"], ["updated_at", "2016-12-14 05:32:45.951222"]]
2652
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2653
+  (0.2ms) SAVEPOINT active_record_1
2654
+ SQL (0.3ms) 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", "mail8@example.com"], ["phone", 8], ["created_at", "2016-12-14 05:32:45.954740"], ["updated_at", "2016-12-14 05:32:45.954740"]]
2655
+ SQL (0.2ms) INSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 3], ["created_at", "2016-12-14 05:32:45.955822"], ["updated_at", "2016-12-14 05:32:45.955822"]]
2656
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2657
+  (0.1ms) SAVEPOINT active_record_1
2658
+ 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", "mail9@example.com"], ["phone", 9], ["created_at", "2016-12-14 05:32:45.957603"], ["updated_at", "2016-12-14 05:32:45.957603"]]
2659
+ SQL (0.2ms) INSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 4], ["created_at", "2016-12-14 05:32:45.958494"], ["updated_at", "2016-12-14 05:32:45.958494"]]
2660
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2661
+  (0.1ms) SAVEPOINT active_record_1
2662
+ 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", "mail10@example.com"], ["phone", 10], ["created_at", "2016-12-14 05:32:45.960073"], ["updated_at", "2016-12-14 05:32:45.960073"]]
2663
+ SQL (0.2ms) INSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 5], ["created_at", "2016-12-14 05:32:45.960757"], ["updated_at", "2016-12-14 05:32:45.960757"]]
2664
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2665
+  (0.1ms) ROLLBACK
2666
+  (0.1ms) BEGIN
2667
+ ---------------------------
2668
+ MakerTest: test_inheritance
2669
+ ---------------------------
2670
+  (0.1ms) SAVEPOINT active_record_1
2671
+ SQL (0.1ms) 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", "mail12@example.com"], ["phone", 12], ["created_at", "2016-12-14 05:32:45.963209"], ["updated_at", "2016-12-14 05:32:45.963209"]]
2672
+ SQL (0.1ms) INSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 6], ["created_at", "2016-12-14 05:32:45.964129"], ["updated_at", "2016-12-14 05:32:45.964129"]]
2673
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2674
+  (0.1ms) ROLLBACK
2675
+  (0.1ms) BEGIN
2676
+ ----------------------------
2677
+ MakerTest: test_associations
2678
+ ----------------------------
2679
+  (0.1ms) SAVEPOINT active_record_1
2680
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-14 05:32:45.966437"], ["updated_at", "2016-12-14 05:32:45.966437"]]
2681
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2682
+  (0.1ms) SAVEPOINT active_record_1
2683
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-14 05:32:45.967580"], ["updated_at", "2016-12-14 05:32:45.967580"]]
2684
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2685
+  (0.1ms) ROLLBACK
2686
+  (0.2ms) BEGIN
2687
+ -------------------------
2688
+ MakerTest: test_sequences
2689
+ -------------------------
2690
+  (0.1ms) SAVEPOINT active_record_1
2691
+ 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", "mail16@example.com"], ["phone", 16], ["created_at", "2016-12-14 05:32:45.970351"], ["updated_at", "2016-12-14 05:32:45.970351"]]
2692
+ SQL (0.2ms) INSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 7], ["created_at", "2016-12-14 05:32:45.971147"], ["updated_at", "2016-12-14 05:32:45.971147"]]
2693
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2694
+  (0.2ms) SAVEPOINT active_record_1
2695
+ SQL (0.1ms) 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", "mail18@example.com"], ["phone", 18], ["created_at", "2016-12-14 05:32:45.972914"], ["updated_at", "2016-12-14 05:32:45.972914"]]
2696
+ SQL (0.1ms) INSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 8], ["created_at", "2016-12-14 05:32:45.973665"], ["updated_at", "2016-12-14 05:32:45.973665"]]
2697
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2698
+  (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.3
4
+ version: 4.0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - mmontossi