forest_liana 1.1.5 → 1.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/deserializers/forest_liana/resource_deserializer.rb +1 -1
- data/app/serializers/forest_liana/serializer_factory.rb +1 -1
- data/app/services/forest_liana/schema_adapter.rb +1 -1
- data/lib/forest_liana/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +246 -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: 36e6dc2b5427ba0a616fe062bf644396a4978639
|
4
|
+
data.tar.gz: 50957f3ac5666134b339040a0fb75a70a73cfbd0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee95d1f2e34ca6afdd8a2832b18dbb6befbe4d49d741d0af98fca8ecc156732c18b5dfb07f92c4a1a9e47547e8b7d92703b6c4feeb06fd6b5a75f509c4db7481
|
7
|
+
data.tar.gz: 80d5041943336421126f0be40f1103568ff25c99060b89df5084e05c7e66a7a5381b0c0525f8c644520de90b5fbec7e05aaa4602b7f26b84fbea33c39badbeaa
|
@@ -76,7 +76,7 @@ module ForestLiana
|
|
76
76
|
end
|
77
77
|
|
78
78
|
# Paperclip url attribute
|
79
|
-
if active_record_class.
|
79
|
+
if active_record_class.respond_to?(:attachment_definitions)
|
80
80
|
active_record_class.attachment_definitions.each do |key, value|
|
81
81
|
serializer.attribute(key) { |x| object.send(key) }
|
82
82
|
end
|
@@ -24,7 +24,7 @@ module ForestLiana
|
|
24
24
|
end
|
25
25
|
|
26
26
|
# Paperclip url attribute
|
27
|
-
if @model.
|
27
|
+
if @model.respond_to?(:attachment_definitions)
|
28
28
|
@model.attachment_definitions.each do |key, value|
|
29
29
|
@collection.fields << { field: key, type: 'File' }
|
30
30
|
end
|
data/lib/forest_liana/version.rb
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -40528,5 +40528,251 @@ ForestLiana::ResourcesGetterTest: test_Sort_by_a_belongs_to_association
|
|
40528
40528
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40529
40529
|
---------------------------
|
40530
40530
|
ForestLianaTest: test_truth
|
40531
|
+
---------------------------
|
40532
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40533
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
40534
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40535
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "belongs_to_fields"[0m
|
40536
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (1, 1, 1)
|
40537
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (2, 2, 1)[0m
|
40538
|
+
[1m[35mFixture Insert (0.3ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (3, 3, 1)
|
40539
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (4, 4, 2)[0m
|
40540
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (5, 5, 2)
|
40541
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (6, 6, 2)[0m
|
40542
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (7, 7, 3)
|
40543
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (8, 8, 3)[0m
|
40544
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (9, 9, 3)
|
40545
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (10, 10, 4)[0m
|
40546
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (11, 11, 4)
|
40547
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (12, 12, 4)[0m
|
40548
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (13, 13, 5)
|
40549
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (14, 14, 5)[0m
|
40550
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (15, 15, 5)
|
40551
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (16, 16, 6)[0m
|
40552
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (17, 17, 6)
|
40553
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (18, 18, 6)[0m
|
40554
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (19, 19, 7)
|
40555
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (20, 20, 7)[0m
|
40556
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (21, 21, 7)
|
40557
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (22, 22, 7)[0m
|
40558
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (23, 23, 8)
|
40559
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (24, 24, 8)[0m
|
40560
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (25, 25, 9)
|
40561
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (26, 26, 9)[0m
|
40562
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (27, 27, 9)
|
40563
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (28, 28, 10)[0m
|
40564
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (29, 29, 10)
|
40565
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (30, 30, 10)[0m
|
40566
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "has_many_fields"
|
40567
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (1)[0m
|
40568
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (2)
|
40569
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (3)[0m
|
40570
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (4)
|
40571
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (5, 3)[0m
|
40572
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (6, 2)
|
40573
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (7)[0m
|
40574
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (8, 2)
|
40575
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (9)[0m
|
40576
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (10)
|
40577
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "has_many_through_fields"[0m
|
40578
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (1)
|
40579
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (2)[0m
|
40580
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (3)
|
40581
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (4)[0m
|
40582
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (5)
|
40583
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (6)[0m
|
40584
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (7)
|
40585
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (8)[0m
|
40586
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (9)
|
40587
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (10)[0m
|
40588
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "has_one_fields"
|
40589
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (1)[0m
|
40590
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (2)
|
40591
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (3)[0m
|
40592
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (4)
|
40593
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (5)[0m
|
40594
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (6)
|
40595
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (7)[0m
|
40596
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (8)
|
40597
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (9)[0m
|
40598
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (10)
|
40599
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (11)[0m
|
40600
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (12)
|
40601
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (13)[0m
|
40602
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (14)
|
40603
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (15)[0m
|
40604
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (16)
|
40605
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (17)[0m
|
40606
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (18)
|
40607
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (19)[0m
|
40608
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (20)
|
40609
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (21)[0m
|
40610
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (22)
|
40611
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (23)[0m
|
40612
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (24)
|
40613
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (25)[0m
|
40614
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (26)
|
40615
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (27)[0m
|
40616
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (28)
|
40617
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (29)[0m
|
40618
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (30)
|
40619
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "string_fields"[0m
|
40620
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (1, 'Test 1')
|
40621
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (2, 'Test 2')[0m
|
40622
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (3, 'Test 3')
|
40623
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (4, 'Test 4')[0m
|
40624
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (5, 'Test 5')
|
40625
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (6, 'Test 6')[0m
|
40626
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (7, 'Test 7')
|
40627
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (8, 'Test 8')[0m
|
40628
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (9, 'Test 9')
|
40629
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (10, 'Test 10')[0m
|
40630
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (11, 'Test 11')
|
40631
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (12, 'Test 12')[0m
|
40632
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (13, 'Test 13')
|
40633
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (14, 'Test 14')[0m
|
40634
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (15, 'Test 15')
|
40635
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (16, 'Test 16')[0m
|
40636
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (17, 'Test 17')
|
40637
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (18, 'Test 18')[0m
|
40638
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (19, 'Test 19')
|
40639
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (20, 'Test 20')[0m
|
40640
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (21, 'Test 21')
|
40641
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (22, 'Test 22')[0m
|
40642
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (23, 'Test 23')
|
40643
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (24, 'Test 24')[0m
|
40644
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (25, 'Test 25')
|
40645
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (26, 'Test 26')[0m
|
40646
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (27, 'Test 27')
|
40647
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (28, 'Test 28')[0m
|
40648
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (29, 'Test 29')
|
40649
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (30, 'Test 30')[0m
|
40650
|
+
[1m[35m (0.8ms)[0m commit transaction
|
40651
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40652
|
+
---------------------------------------------------------------------------
|
40653
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
40654
|
+
---------------------------------------------------------------------------
|
40655
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40656
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40657
|
+
-------------------------------------------------------------------------
|
40658
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
40659
|
+
-------------------------------------------------------------------------
|
40660
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40661
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40662
|
+
--------------------------------------------------------
|
40663
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
40664
|
+
--------------------------------------------------------
|
40665
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40666
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40667
|
+
--------------------------------------------------------------------------
|
40668
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
40669
|
+
--------------------------------------------------------------------------
|
40670
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40671
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40672
|
+
-------------------------------------------------------------------------
|
40673
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
40674
|
+
-------------------------------------------------------------------------
|
40675
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40676
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40677
|
+
--------------------------------------------------------------------------
|
40678
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
40679
|
+
--------------------------------------------------------------------------
|
40680
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40681
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40682
|
+
------------------------------------------------------------------------------------
|
40683
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
40684
|
+
------------------------------------------------------------------------------------
|
40685
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40686
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40687
|
+
---------------------------------------------------------------------
|
40688
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
40689
|
+
---------------------------------------------------------------------
|
40690
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40691
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40692
|
+
------------------------------------------------------------------------
|
40693
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
40694
|
+
------------------------------------------------------------------------
|
40695
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40696
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40697
|
+
-----------------------------------------------------------
|
40698
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
40699
|
+
-----------------------------------------------------------
|
40700
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40701
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40702
|
+
----------------------------------------------------------------------------------
|
40703
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
40704
|
+
----------------------------------------------------------------------------------
|
40705
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40706
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
40707
|
+
---------------------------------------------------------
|
40708
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
40709
|
+
---------------------------------------------------------
|
40710
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40711
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40712
|
+
-----------------------------------------------------------------------
|
40713
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_belongs_to_association
|
40714
|
+
-----------------------------------------------------------------------
|
40715
|
+
[1m[35mSQL (0.4ms)[0m SELECT "belongs_to_fields"."id" AS t0_r0, "belongs_to_fields"."has_one_field_id" AS t0_r1, "belongs_to_fields"."has_many_class_name_field_id" AS t0_r2, "belongs_to_fields"."has_many_field_id" AS t0_r3, "has_one_fields"."id" AS t1_r0 FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" ORDER BY has_one_fields.id ASC LIMIT 10 OFFSET 0
|
40716
|
+
[1m[36mSQL (0.3ms)[0m [1mSELECT "belongs_to_fields"."id" AS t0_r0, "belongs_to_fields"."has_one_field_id" AS t0_r1, "belongs_to_fields"."has_many_class_name_field_id" AS t0_r2, "belongs_to_fields"."has_many_field_id" AS t0_r3, "has_one_fields"."id" AS t1_r0 FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" ORDER BY has_one_fields.id ASC[0m
|
40717
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40718
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40719
|
+
----------------------------------------------------------------
|
40720
|
+
ForestLiana::ResourcesGetterTest: test_StringField_sort_by_field
|
40721
|
+
----------------------------------------------------------------
|
40722
|
+
[1m[35mStringField Load (0.3ms)[0m SELECT "string_fields".* FROM "string_fields" ORDER BY field DESC LIMIT 10 OFFSET 0
|
40723
|
+
[1m[36mStringField Load (0.2ms)[0m [1mSELECT "string_fields".* FROM "string_fields" ORDER BY field DESC[0m
|
40724
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40725
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40726
|
+
--------------------------------------------------------------------
|
40727
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_has_one_association
|
40728
|
+
--------------------------------------------------------------------
|
40729
|
+
[1m[35mSQL (0.3ms)[0m SELECT "has_one_fields"."id" AS t0_r0, "belongs_to_fields"."id" AS t1_r0, "belongs_to_fields"."has_one_field_id" AS t1_r1, "belongs_to_fields"."has_many_class_name_field_id" AS t1_r2, "belongs_to_fields"."has_many_field_id" AS t1_r3 FROM "has_one_fields" LEFT OUTER JOIN "belongs_to_fields" ON "belongs_to_fields"."has_one_field_id" = "has_one_fields"."id" ORDER BY belongs_to_fields.id DESC LIMIT 10 OFFSET 0
|
40730
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "has_one_fields"."id" AS t0_r0, "belongs_to_fields"."id" AS t1_r0, "belongs_to_fields"."has_one_field_id" AS t1_r1, "belongs_to_fields"."has_many_class_name_field_id" AS t1_r2, "belongs_to_fields"."has_many_field_id" AS t1_r3 FROM "has_one_fields" LEFT OUTER JOIN "belongs_to_fields" ON "belongs_to_fields"."has_one_field_id" = "has_one_fields"."id" ORDER BY belongs_to_fields.id DESC[0m
|
40731
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40732
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40733
|
+
-----------------------------------------------------------------
|
40734
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_1_size_15
|
40735
|
+
-----------------------------------------------------------------
|
40736
|
+
[1m[35mStringField Load (0.2ms)[0m SELECT "string_fields".* FROM "string_fields" ORDER BY string_fields.id DESC LIMIT 15 OFFSET 0
|
40737
|
+
[1m[36mStringField Load (0.1ms)[0m [1mSELECT "string_fields".* FROM "string_fields" ORDER BY string_fields.id DESC[0m
|
40738
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40739
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40740
|
+
-----------------------------------------------------------------------------
|
40741
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_has_many_through_association
|
40742
|
+
-----------------------------------------------------------------------------
|
40743
|
+
[1m[35mHasManyThroughField Load (0.3ms)[0m SELECT has_many_through_fields.*,
|
40744
|
+
COUNT(belongs_to_fields.id)
|
40745
|
+
belongs_to_fields_has_many_count FROM "has_many_through_fields" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."has_many_through_field_id" = "has_many_through_fields"."id" LEFT OUTER JOIN "belongs_to_fields" ON "belongs_to_fields"."has_many_field_id" = "has_many_fields"."id" GROUP BY has_many_through_fields.id ORDER BY belongs_to_fields_has_many_count DESC LIMIT 10 OFFSET 0
|
40746
|
+
[1m[36mHasManyField Load (0.5ms)[0m [1mSELECT "has_many_fields".* FROM "has_many_fields" WHERE "has_many_fields"."has_many_through_field_id" IN (2, 3, 1, 4, 5, 6, 7, 8, 9, 10)[0m
|
40747
|
+
[1m[35mBelongsToField Load (0.2ms)[0m SELECT "belongs_to_fields".* FROM "belongs_to_fields" WHERE "belongs_to_fields"."has_many_field_id" IN (6, 8, 5)
|
40748
|
+
[1m[36mHasManyThroughField Load (0.1ms)[0m [1mSELECT has_many_through_fields.*,
|
40749
|
+
COUNT(belongs_to_fields.id)
|
40750
|
+
belongs_to_fields_has_many_count FROM "has_many_through_fields" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."has_many_through_field_id" = "has_many_through_fields"."id" LEFT OUTER JOIN "belongs_to_fields" ON "belongs_to_fields"."has_many_field_id" = "has_many_fields"."id" GROUP BY has_many_through_fields.id ORDER BY belongs_to_fields_has_many_count DESC[0m
|
40751
|
+
[1m[35mHasManyField Load (0.1ms)[0m SELECT "has_many_fields".* FROM "has_many_fields" WHERE "has_many_fields"."has_many_through_field_id" IN (2, 3, 1, 4, 5, 6, 7, 8, 9, 10)
|
40752
|
+
[1m[36mBelongsToField Load (0.1ms)[0m [1mSELECT "belongs_to_fields".* FROM "belongs_to_fields" WHERE "belongs_to_fields"."has_many_field_id" IN (6, 8, 5)[0m
|
40753
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40754
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40755
|
+
-----------------------------------------------------------------
|
40756
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_2_size_10
|
40757
|
+
-----------------------------------------------------------------
|
40758
|
+
[1m[35mStringField Load (0.5ms)[0m SELECT "string_fields".* FROM "string_fields" ORDER BY string_fields.id DESC LIMIT 10 OFFSET 10
|
40759
|
+
[1m[36mStringField Load (0.1ms)[0m [1mSELECT "string_fields".* FROM "string_fields" ORDER BY string_fields.id DESC[0m
|
40760
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40761
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40762
|
+
---------------------------------------------------------------------
|
40763
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_has_many_association
|
40764
|
+
---------------------------------------------------------------------
|
40765
|
+
[1m[35mHasManyField Load (0.4ms)[0m SELECT has_many_fields.*,
|
40766
|
+
COUNT(belongs_to_fields.id)
|
40767
|
+
belongs_to_fields_has_many_count FROM "has_many_fields" LEFT OUTER JOIN "belongs_to_fields" ON "belongs_to_fields"."has_many_field_id" = "has_many_fields"."id" GROUP BY has_many_fields.id ORDER BY belongs_to_fields_has_many_count DESC LIMIT 10 OFFSET 0
|
40768
|
+
[1m[36mBelongsToField Load (0.2ms)[0m [1mSELECT "belongs_to_fields".* FROM "belongs_to_fields" WHERE "belongs_to_fields"."has_many_field_id" IN (7, 1, 2, 3, 4, 5, 6, 9, 10, 8)[0m
|
40769
|
+
[1m[35mHasManyField Load (0.1ms)[0m SELECT has_many_fields.*,
|
40770
|
+
COUNT(belongs_to_fields.id)
|
40771
|
+
belongs_to_fields_has_many_count FROM "has_many_fields" LEFT OUTER JOIN "belongs_to_fields" ON "belongs_to_fields"."has_many_field_id" = "has_many_fields"."id" GROUP BY has_many_fields.id ORDER BY belongs_to_fields_has_many_count DESC
|
40772
|
+
[1m[36mBelongsToField Load (0.1ms)[0m [1mSELECT "belongs_to_fields".* FROM "belongs_to_fields" WHERE "belongs_to_fields"."has_many_field_id" IN (7, 1, 2, 3, 4, 5, 6, 9, 10, 8)[0m
|
40773
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40774
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40775
|
+
---------------------------
|
40776
|
+
ForestLianaTest: test_truth
|
40531
40777
|
---------------------------
|
40532
40778
|
[1m[35m (0.0ms)[0m rollback transaction
|