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 +4 -4
- data/lib/makers/railtie.rb +7 -7
- data/lib/makers/version.rb +1 -1
- data/test/dummy/log/test.log +79 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96d4fc26dc866c80ff6822133981e685cfb2fd64
|
4
|
+
data.tar.gz: 60c0238d7d1e9193ad7e49809c8d2e989217f4cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55a05d0e9c88ca8594bfc92455bc4fc9dcefcc1b1fc376bc1b384e21956ebb1ccc61130ca9f549a5759998415c270fdc84fc7bff5dbbe4c4d46a389fd4227a40
|
7
|
+
data.tar.gz: 6f6927eaa52c8032a5827f8112d36ca10cc668f130b721b6fd8fe37774606853c968bd857fd44ab92b1a3b9f496db8cd859a9114b794b8fc2fd9b0710c995fe4
|
data/lib/makers/railtie.rb
CHANGED
@@ -6,7 +6,13 @@ module Makers
|
|
6
6
|
fixture: false
|
7
7
|
)
|
8
8
|
|
9
|
-
|
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
|
data/lib/makers/version.rb
CHANGED
data/test/dummy/log/test.log
CHANGED
@@ -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
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2621
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2622
|
+
---------------------------
|
2623
|
+
GeneratorTest: test_install
|
2624
|
+
---------------------------
|
2625
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2626
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2627
|
+
-------------------------
|
2628
|
+
MakerTest: test_dependent
|
2629
|
+
-------------------------
|
2630
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2631
|
+
[1m[35mSQL (5.5ms)[0m 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
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["user_id", 1], ["created_at", "2016-12-14 05:32:45.943024"], ["updated_at", "2016-12-14 05:32:45.943024"]]
|
2633
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2634
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2635
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2636
|
+
---------------------------
|
2637
|
+
MakerTest: test_definitions
|
2638
|
+
---------------------------
|
2639
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2640
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2641
|
+
-----------------------
|
2642
|
+
MakerTest: test_aliases
|
2643
|
+
-----------------------
|
2644
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2645
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2646
|
+
-------------------------
|
2647
|
+
MakerTest: test_overrides
|
2648
|
+
-------------------------
|
2649
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2650
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["user_id", 2], ["created_at", "2016-12-14 05:32:45.951222"], ["updated_at", "2016-12-14 05:32:45.951222"]]
|
2652
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2653
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2654
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["user_id", 3], ["created_at", "2016-12-14 05:32:45.955822"], ["updated_at", "2016-12-14 05:32:45.955822"]]
|
2656
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2657
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2658
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["user_id", 4], ["created_at", "2016-12-14 05:32:45.958494"], ["updated_at", "2016-12-14 05:32:45.958494"]]
|
2660
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2661
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2662
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["user_id", 5], ["created_at", "2016-12-14 05:32:45.960757"], ["updated_at", "2016-12-14 05:32:45.960757"]]
|
2664
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2665
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2666
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2667
|
+
---------------------------
|
2668
|
+
MakerTest: test_inheritance
|
2669
|
+
---------------------------
|
2670
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2671
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["user_id", 6], ["created_at", "2016-12-14 05:32:45.964129"], ["updated_at", "2016-12-14 05:32:45.964129"]]
|
2673
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2674
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2675
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2676
|
+
----------------------------
|
2677
|
+
MakerTest: test_associations
|
2678
|
+
----------------------------
|
2679
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2680
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2682
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2683
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-12-14 05:32:45.967580"], ["updated_at", "2016-12-14 05:32:45.967580"]]
|
2684
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2685
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2686
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2687
|
+
-------------------------
|
2688
|
+
MakerTest: test_sequences
|
2689
|
+
-------------------------
|
2690
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2691
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["user_id", 7], ["created_at", "2016-12-14 05:32:45.971147"], ["updated_at", "2016-12-14 05:32:45.971147"]]
|
2693
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2694
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2695
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["user_id", 8], ["created_at", "2016-12-14 05:32:45.973665"], ["updated_at", "2016-12-14 05:32:45.973665"]]
|
2697
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2698
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|