forest_liana 2.8.0 → 2.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/services/forest_liana/has_many_getter.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 +445 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d2287a32a5ee8e81bbc97697900a3800cee4de3
|
4
|
+
data.tar.gz: 0e01a294ec3a1b0b938c1112535cf8c37d775946
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad468f869e5f7e3bb1530f6e50ef37dfb5a6d96e4bc1501c9d2ff220257985bca35ff0376ed32d7a7901d5fa81df35e44a98477ec7101988bfe1fcee838c485f
|
7
|
+
data.tar.gz: 9f4d66b3a55c9e6e544df1359179a5a84bedb55a0533a687d402ff4c2496150dc4c46db075ce6d70ea1babd9d261b771a21c8812330e4a0b877c690a1376cf2c
|
data/lib/forest_liana/version.rb
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -22641,3 +22641,448 @@ ForestLiana::ResourcesGetterTest: test_Sort_by_a_has_one_association
|
|
22641
22641
|
[1m[35mSQL (0.9ms)[0m SELECT "has_one_fields"."id" AS t0_r0, "has_one_fields"."checked" AS t0_r1, "has_one_fields"."status" AS t0_r2, "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, "belongs_to_class_name_fields"."id" AS t2_r0, "belongs_to_class_name_fields"."foo_id" AS t2_r1 FROM "has_one_fields" LEFT OUTER JOIN "belongs_to_fields" ON "belongs_to_fields"."has_one_field_id" = "has_one_fields"."id" LEFT OUTER JOIN "belongs_to_class_name_fields" ON "belongs_to_class_name_fields"."foo_id" = "has_one_fields"."id" ORDER BY "belongs_to_fields"."id" DESC LIMIT 10 OFFSET 0
|
22642
22642
|
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "has_one_fields"[0m
|
22643
22643
|
[1m[35m (0.1ms)[0m rollback transaction
|
22644
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
22645
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
22646
|
+
[1m[36m (0.5ms)[0m [1m SELECT sql
|
22647
|
+
FROM sqlite_master
|
22648
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
22649
|
+
UNION ALL
|
22650
|
+
SELECT sql
|
22651
|
+
FROM sqlite_temp_master
|
22652
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
22653
|
+
[0m
|
22654
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
22655
|
+
FROM sqlite_master
|
22656
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
22657
|
+
UNION ALL
|
22658
|
+
SELECT sql
|
22659
|
+
FROM sqlite_temp_master
|
22660
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
22661
|
+
|
22662
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
22663
|
+
FROM sqlite_master
|
22664
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
22665
|
+
UNION ALL
|
22666
|
+
SELECT sql
|
22667
|
+
FROM sqlite_temp_master
|
22668
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
22669
|
+
[0m
|
22670
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
22671
|
+
FROM sqlite_master
|
22672
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
22673
|
+
UNION ALL
|
22674
|
+
SELECT sql
|
22675
|
+
FROM sqlite_temp_master
|
22676
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
22677
|
+
|
22678
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
22679
|
+
FROM sqlite_master
|
22680
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
22681
|
+
UNION ALL
|
22682
|
+
SELECT sql
|
22683
|
+
FROM sqlite_temp_master
|
22684
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
22685
|
+
[0m
|
22686
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
22687
|
+
FROM sqlite_master
|
22688
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
22689
|
+
UNION ALL
|
22690
|
+
SELECT sql
|
22691
|
+
FROM sqlite_temp_master
|
22692
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
22693
|
+
|
22694
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
22695
|
+
FROM sqlite_master
|
22696
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
22697
|
+
UNION ALL
|
22698
|
+
SELECT sql
|
22699
|
+
FROM sqlite_temp_master
|
22700
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
22701
|
+
[0m
|
22702
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
22703
|
+
[1m[35m (0.1ms)[0m begin transaction
|
22704
|
+
[1m[36mFixture Delete (1.0ms)[0m [1mDELETE FROM "has_many_through_fields"[0m
|
22705
|
+
[1m[35mFixture Insert (0.4ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (1)
|
22706
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (2)[0m
|
22707
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (3)
|
22708
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (4)[0m
|
22709
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (5)
|
22710
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (6)[0m
|
22711
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (7)
|
22712
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (8)[0m
|
22713
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (9)
|
22714
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (10)[0m
|
22715
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "string_fields"
|
22716
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (1, 'Test 1')[0m
|
22717
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (2, 'Test 2')
|
22718
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (3, 'Test 3')[0m
|
22719
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (4, 'Test 4')
|
22720
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (5, 'Test 5')[0m
|
22721
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (6, 'Test 6')
|
22722
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (7, 'Test 7')[0m
|
22723
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (8, 'Test 8')
|
22724
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (9, 'Test 9')[0m
|
22725
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (10, 'Test 10')
|
22726
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (11, 'Test 11')[0m
|
22727
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (12, 'Test 12')
|
22728
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (13, 'Test 13')[0m
|
22729
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (14, 'Test 14')
|
22730
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (15, 'Test 15')[0m
|
22731
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (16, 'Test 16')
|
22732
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (17, 'Test 17')[0m
|
22733
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (18, 'Test 18')
|
22734
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (19, 'Test 19')[0m
|
22735
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (20, 'Test 20')
|
22736
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (21, 'Test 21')[0m
|
22737
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (22, 'Test 22')
|
22738
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (23, 'Test 23')[0m
|
22739
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (24, 'Test 24')
|
22740
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (25, 'Test 25')[0m
|
22741
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (26, 'Test 26')
|
22742
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (27, 'Test 27')[0m
|
22743
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (28, 'Test 28')
|
22744
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (29, 'Test 29')[0m
|
22745
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (30, 'Test 30')
|
22746
|
+
[1m[36mFixture Delete (1.1ms)[0m [1mDELETE FROM "belongs_to_fields"[0m
|
22747
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (1, 1, 1)
|
22748
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (2, 2, 1)[0m
|
22749
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (3, 3, 1)
|
22750
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (4, 4, 2)[0m
|
22751
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (5, 5, 2)
|
22752
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (6, 6, 2)[0m
|
22753
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (7, 7, 3)
|
22754
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (8, 8, 3)[0m
|
22755
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (9, 9, 3)
|
22756
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (10, 10, 4)[0m
|
22757
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (11, 11, 4)
|
22758
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (12, 12, 4)[0m
|
22759
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (13, 13, 5)
|
22760
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (14, 14, 5)[0m
|
22761
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (15, 15, 5)
|
22762
|
+
[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
|
22763
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (17, 17, 6)
|
22764
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (18, 18, 6)[0m
|
22765
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (19, 19, 7)
|
22766
|
+
[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
|
22767
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (21, 21, 7)
|
22768
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (22, 22, 7)[0m
|
22769
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (23, 23, 8)
|
22770
|
+
[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
|
22771
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (25, 25, 9)
|
22772
|
+
[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
|
22773
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (27, 27, 9)
|
22774
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (28, 28, 10)[0m
|
22775
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (29, 29, 10)
|
22776
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (30, 30, 10)[0m
|
22777
|
+
[1m[35mFixture Delete (0.9ms)[0m DELETE FROM "trees"
|
22778
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (1, 'Oak', 1, '2011-02-11 11:00:00.000000', '2011-02-11 11:00:00.000000')[0m
|
22779
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (2, 'Mapple', 2, '2011-02-15 21:00:00.000000', '2011-02-15 21:00:00.000000')
|
22780
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (3, 'Mapple', 2, '2013-04-11 12:00:00.000000', '2013-04-11 12:00:00.000000')[0m
|
22781
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (4, 'Oak', 2, '2016-06-18 09:00:00.000000', '2016-06-18 09:00:00.000000')
|
22782
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (5, 'Oak', 3, '2015-06-18 09:00:00.000000', '2015-06-18 09:00:00.000000')[0m
|
22783
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (6, 'Oak', 3, '2018-06-15 11:36:51.000000', '2018-06-15 11:36:51.000000')
|
22784
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (7, 'Sequoia', 1, '2018-06-15 11:36:51.000000', '2018-06-15 11:36:51.000000')[0m
|
22785
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (8, 'Fir', 1, '2018-06-15 11:36:51.000000', '2018-06-15 11:36:51.000000')
|
22786
|
+
[1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "has_one_fields"[0m
|
22787
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (1, 't', 0)
|
22788
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (2, 't', 0)[0m
|
22789
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (3, 't', 0)
|
22790
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (4, 't', 0)[0m
|
22791
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (5, 't', 0)
|
22792
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (6, 't', 0)[0m
|
22793
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (7, 't', 0)
|
22794
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (8, 't', 0)[0m
|
22795
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (9, 't', 0)
|
22796
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (10, 't', 0)[0m
|
22797
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (11, 't', 0)
|
22798
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (12, 't', 0)[0m
|
22799
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (13, 't', 0)
|
22800
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (14, 't', 0)[0m
|
22801
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (15, 't', 0)
|
22802
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (16, 't', 0)[0m
|
22803
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (17, 't', 0)
|
22804
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (18, 't', 0)[0m
|
22805
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (19, 't', 0)
|
22806
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (20, 't', 0)[0m
|
22807
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (21, 't', 0)
|
22808
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (22, 't', 0)[0m
|
22809
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (23, 't', 0)
|
22810
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (24, 't', 0)[0m
|
22811
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (25, 't', 0)
|
22812
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (26, 't', 0)[0m
|
22813
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (27, 't', 0)
|
22814
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (28, 't', 0)[0m
|
22815
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (29, 't', 0)
|
22816
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (30, 't', 1)[0m
|
22817
|
+
[1m[35mFixture Delete (0.5ms)[0m DELETE FROM "owners"
|
22818
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (1, 'Sandro Munda', '2017-05-30 09:00:00.000000', '2018-06-27 20:00:00.000000')[0m
|
22819
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (2, 'Arnaud Besnier', '2018-05-02 09:00:00.000000', '2018-06-28 08:00:00.000000')
|
22820
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (3, 'John Doe', '2016-05-02 09:00:00.000000', '2017-06-28 08:00:00.000000')[0m
|
22821
|
+
[1m[35mFixture Delete (0.8ms)[0m DELETE FROM "has_many_fields"
|
22822
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (1)[0m
|
22823
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (2)
|
22824
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (3)[0m
|
22825
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (4)
|
22826
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (5, 3)[0m
|
22827
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (6, 2)
|
22828
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (7)[0m
|
22829
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (8, 2)
|
22830
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (9)[0m
|
22831
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (10)
|
22832
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "serialize_fields"[0m
|
22833
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (1, 'value 1')
|
22834
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (2, 'value 2')[0m
|
22835
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (3, 'value 3')
|
22836
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (4, 'value 4')[0m
|
22837
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (5, 'value 5')
|
22838
|
+
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
22839
|
+
[1m[35m (0.0ms)[0m begin transaction
|
22840
|
+
----------------------------------------------------------------------------------------------------
|
22841
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_boolean_field
|
22842
|
+
----------------------------------------------------------------------------------------------------
|
22843
|
+
[1m[36m (0.2ms)[0m [1mSELECT DISTINCT COUNT(DISTINCT "belongs_to_fields"."id") FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" WHERE ("has_one_fields"."checked" = 0)[0m
|
22844
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
22845
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22846
|
+
-------------------------------------------------------------------------------------------------
|
22847
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_enum_field
|
22848
|
+
-------------------------------------------------------------------------------------------------
|
22849
|
+
[1m[35m (0.2ms)[0m SELECT DISTINCT COUNT(DISTINCT "belongs_to_fields"."id") FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" WHERE ("has_one_fields"."status" = '1')
|
22850
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
22851
|
+
[1m[35m (0.0ms)[0m begin transaction
|
22852
|
+
----------------------------------------------------------------------------------------------------
|
22853
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_integer_field
|
22854
|
+
----------------------------------------------------------------------------------------------------
|
22855
|
+
[1m[36m (0.2ms)[0m [1mSELECT DISTINCT COUNT(DISTINCT "belongs_to_fields"."id") FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" WHERE ("has_one_fields"."id" = '3')[0m
|
22856
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
22857
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22858
|
+
-----------------------------------------------------------------------------
|
22859
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_simple_filter
|
22860
|
+
-----------------------------------------------------------------------------
|
22861
|
+
[1m[35m (1.0ms)[0m SELECT DISTINCT COUNT(DISTINCT "boolean_fields"."id") FROM "boolean_fields" WHERE ("boolean_fields"."field" = 1)
|
22862
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
22863
|
+
[1m[35m (0.1ms)[0m begin transaction
|
22864
|
+
-------------------------------------------------------------------------
|
22865
|
+
ForestLiana::HasManyGetterTest: test_HasMany_Getter_with_search_parameter
|
22866
|
+
-------------------------------------------------------------------------
|
22867
|
+
[1m[36mOwner Load (0.2ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 1]]
|
22868
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? AND (LOWER("trees"."name") LIKE '%fir%') [["owner_id", 1]]
|
22869
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(DISTINCT count_column) FROM (SELECT "trees"."id" AS count_column FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? AND (LOWER("trees"."name") LIKE '%fir%') LIMIT 15 OFFSET 0) subquery_for_count[0m [["owner_id", 1]]
|
22870
|
+
[1m[35mSQL (0.1ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? AND (LOWER("trees"."name") LIKE '%fir%') ORDER BY "trees"."id" ASC LIMIT 1 OFFSET 0 [["owner_id", 1]]
|
22871
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
22872
|
+
[1m[35m (0.0ms)[0m begin transaction
|
22873
|
+
-----------------------------------------------------------------------
|
22874
|
+
ForestLiana::HasManyGetterTest: test_HasMany_Getter_with_sort_parameter
|
22875
|
+
-----------------------------------------------------------------------
|
22876
|
+
[1m[36mOwner Load (0.1ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 1]]
|
22877
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? [["owner_id", 1]]
|
22878
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(DISTINCT count_column) FROM (SELECT "trees"."id" AS count_column FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? LIMIT 15 OFFSET 0) subquery_for_count[0m [["owner_id", 1]]
|
22879
|
+
[1m[35mSQL (0.1ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? ORDER BY trees.id DESC LIMIT 1 OFFSET 0 [["owner_id", 1]]
|
22880
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
22881
|
+
[1m[35m (0.0ms)[0m begin transaction
|
22882
|
+
------------------------------------------------------------------
|
22883
|
+
ForestLiana::HasManyGetterTest: test_HasMany_Getter_page_1_size_15
|
22884
|
+
------------------------------------------------------------------
|
22885
|
+
[1m[36mOwner Load (0.1ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 1]]
|
22886
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? [["owner_id", 1]]
|
22887
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(DISTINCT count_column) FROM (SELECT "trees"."id" AS count_column FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? LIMIT 15 OFFSET 0) subquery_for_count[0m [["owner_id", 1]]
|
22888
|
+
[1m[35mSQL (0.2ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? ORDER BY "trees"."id" ASC LIMIT 1 OFFSET 0 [["owner_id", 1]]
|
22889
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
22890
|
+
[1m[35m (0.0ms)[0m begin transaction
|
22891
|
+
------------------------------------------------------------------------------------------------------------
|
22892
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_well_formated_value
|
22893
|
+
------------------------------------------------------------------------------------------------------------
|
22894
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
22895
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22896
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ?[0m [["field", "---\n- test\n- test\n"], ["id", 1]]
|
22897
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22898
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
22899
|
+
[1m[35m (0.1ms)[0m begin transaction
|
22900
|
+
---------------------------------------------------------------------------------------------------
|
22901
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_null_value
|
22902
|
+
---------------------------------------------------------------------------------------------------
|
22903
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
22904
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
22905
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ?[0m [["field", nil], ["id", 1]]
|
22906
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
22907
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
22908
|
+
[1m[35m (0.1ms)[0m begin transaction
|
22909
|
+
------------------------------------------------------------------------------------------------------
|
22910
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_missing_value
|
22911
|
+
------------------------------------------------------------------------------------------------------
|
22912
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
22913
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
22914
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22915
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
22916
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22917
|
+
---------------------------------------------------------------------------------------------------------
|
22918
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_bad_format_value
|
22919
|
+
---------------------------------------------------------------------------------------------------------
|
22920
|
+
[1m[35mSerializeField Load (0.1ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
22921
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
22922
|
+
[1m[35m (0.1ms)[0m begin transaction
|
22923
|
+
----------------------------------------------------------------------------------
|
22924
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
22925
|
+
----------------------------------------------------------------------------------
|
22926
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
22927
|
+
[1m[35m (0.1ms)[0m begin transaction
|
22928
|
+
------------------------------------------------------------------------
|
22929
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
22930
|
+
------------------------------------------------------------------------
|
22931
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
22932
|
+
[1m[35m (0.1ms)[0m begin transaction
|
22933
|
+
-----------------------------------------------------------
|
22934
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
22935
|
+
-----------------------------------------------------------
|
22936
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
22937
|
+
[1m[35m (0.1ms)[0m begin transaction
|
22938
|
+
---------------------------------------------------------------------
|
22939
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
22940
|
+
---------------------------------------------------------------------
|
22941
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
22942
|
+
[1m[35m (0.2ms)[0m begin transaction
|
22943
|
+
---------------------------------------------------------
|
22944
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
22945
|
+
---------------------------------------------------------
|
22946
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
22947
|
+
[1m[35m (0.0ms)[0m begin transaction
|
22948
|
+
--------------------------------------------------------------------------
|
22949
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
22950
|
+
--------------------------------------------------------------------------
|
22951
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
22952
|
+
[1m[35m (0.0ms)[0m begin transaction
|
22953
|
+
---------------------------------------------------------------------------
|
22954
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
22955
|
+
---------------------------------------------------------------------------
|
22956
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
22957
|
+
[1m[35m (0.0ms)[0m begin transaction
|
22958
|
+
------------------------------------------------------------------------------------
|
22959
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
22960
|
+
------------------------------------------------------------------------------------
|
22961
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
22962
|
+
[1m[35m (0.1ms)[0m begin transaction
|
22963
|
+
--------------------------------------------------------
|
22964
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
22965
|
+
--------------------------------------------------------
|
22966
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
22967
|
+
[1m[35m (0.1ms)[0m begin transaction
|
22968
|
+
-------------------------------------------------------------------------
|
22969
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
22970
|
+
-------------------------------------------------------------------------
|
22971
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
22972
|
+
[1m[35m (0.0ms)[0m begin transaction
|
22973
|
+
-------------------------------------------------------------------------
|
22974
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
22975
|
+
-------------------------------------------------------------------------
|
22976
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
22977
|
+
[1m[35m (0.0ms)[0m begin transaction
|
22978
|
+
--------------------------------------------------------------------------
|
22979
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
22980
|
+
--------------------------------------------------------------------------
|
22981
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
22982
|
+
[1m[35m (0.1ms)[0m begin transaction
|
22983
|
+
-----------------------------------------------------------------------------------------
|
22984
|
+
ForestLiana::PieStatGetterTest: test_Pie_stat_getter_with_an_aggregate_on_a_boolean_field
|
22985
|
+
-----------------------------------------------------------------------------------------
|
22986
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) AS count_all, boolean_fields.field AS boolean_fields_field FROM "boolean_fields" GROUP BY boolean_fields.field ORDER BY count_all DESC[0m
|
22987
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
22988
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22989
|
+
---------------------------------------------------------------------------------------
|
22990
|
+
ForestLiana::PieStatGetterTest: test_Pie_stat_getter_with_an_aggregate_on_a_foreign_key
|
22991
|
+
---------------------------------------------------------------------------------------
|
22992
|
+
[1m[35m (0.9ms)[0m SELECT COUNT(DISTINCT "belongs_to_fields"."id") AS count_id, belongs_to_fields.has_one_field_id AS belongs_to_fields_has_one_field_id FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" GROUP BY belongs_to_fields.has_one_field_id ORDER BY count_id DESC
|
22993
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
22994
|
+
[1m[35m (0.0ms)[0m begin transaction
|
22995
|
+
-----------------------------------
|
22996
|
+
ForestLiana::RouteTest: test_Routes
|
22997
|
+
-----------------------------------
|
22998
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
22999
|
+
[1m[35m (0.0ms)[0m begin transaction
|
23000
|
+
------------------------------------------------------------
|
23001
|
+
ForestLiana::ResourcesGetterTest: test_Filter_before_x_hours
|
23002
|
+
------------------------------------------------------------
|
23003
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4 FROM "trees" WHERE ("trees"."created_at" < '2018-06-15 11:35:51 UTC') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0[0m
|
23004
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "trees" WHERE ("trees"."created_at" < '2018-06-15 11:35:51 UTC')
|
23005
|
+
[1m[36mOwner Load (0.0ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 2]]
|
23006
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23007
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23008
|
+
--------------------------------------------------------------------
|
23009
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_has_one_association
|
23010
|
+
--------------------------------------------------------------------
|
23011
|
+
[1m[35mSQL (0.6ms)[0m SELECT "has_one_fields"."id" AS t0_r0, "has_one_fields"."checked" AS t0_r1, "has_one_fields"."status" AS t0_r2, "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, "belongs_to_class_name_fields"."id" AS t2_r0, "belongs_to_class_name_fields"."foo_id" AS t2_r1 FROM "has_one_fields" LEFT OUTER JOIN "belongs_to_fields" ON "belongs_to_fields"."has_one_field_id" = "has_one_fields"."id" LEFT OUTER JOIN "belongs_to_class_name_fields" ON "belongs_to_class_name_fields"."foo_id" = "has_one_fields"."id" ORDER BY "belongs_to_fields"."id" DESC LIMIT 10 OFFSET 0
|
23012
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "has_one_fields"[0m
|
23013
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23014
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23015
|
+
-----------------------------------------------------------------------
|
23016
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_belongs_to_association
|
23017
|
+
-----------------------------------------------------------------------
|
23018
|
+
[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, "has_one_fields"."checked" AS t1_r1, "has_one_fields"."status" AS t1_r2, "has_many_fields"."id" AS t2_r0, "has_many_fields"."has_many_through_field_id" AS t2_r1, "has_many_class_name_fields"."id" AS t3_r0 FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" ORDER BY "has_one_fields"."id" ASC LIMIT 10 OFFSET 0
|
23019
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "belongs_to_fields"[0m
|
23020
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
23021
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23022
|
+
-----------------------------------------------------------------
|
23023
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_2_size_10
|
23024
|
+
-----------------------------------------------------------------
|
23025
|
+
[1m[35mSQL (0.1ms)[0m SELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY string_fields.id DESC LIMIT 10 OFFSET 10
|
23026
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
23027
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
23028
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23029
|
+
----------------------------------------------------------------
|
23030
|
+
ForestLiana::ResourcesGetterTest: test_StringField_sort_by_field
|
23031
|
+
----------------------------------------------------------------
|
23032
|
+
[1m[35mSQL (0.2ms)[0m SELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY string_fields.field DESC LIMIT 10 OFFSET 0
|
23033
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
23034
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23035
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23036
|
+
------------------------------------------------------------------------------------
|
23037
|
+
ForestLiana::ResourcesGetterTest: test_Sort_on_an_ambiguous_field_name_with_a_filter
|
23038
|
+
------------------------------------------------------------------------------------
|
23039
|
+
[1m[35mSQL (0.3ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.name = 'Arnaud Besnier') ORDER BY trees.name DESC LIMIT 10 OFFSET 0
|
23040
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.name = 'Arnaud Besnier')[0m
|
23041
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
23042
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23043
|
+
------------------------------------------------------------------------------------------------
|
23044
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_an_associated_collection
|
23045
|
+
------------------------------------------------------------------------------------------------
|
23046
|
+
[1m[35mSQL (0.6ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at BETWEEN '2017-01-01 08:00:00 UTC' AND '2018-01-01 07:59:59 UTC') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0
|
23047
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at BETWEEN '2017-01-01 08:00:00 UTC' AND '2018-01-01 07:59:59 UTC')[0m
|
23048
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23049
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23050
|
+
-------------------------------------------------------------------------------------------
|
23051
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_the_main_collection
|
23052
|
+
-------------------------------------------------------------------------------------------
|
23053
|
+
[1m[35mSQL (0.1ms)[0m SELECT "owners"."id" AS t0_r0, "owners"."name" AS t0_r1, "owners"."created_at" AS t0_r2, "owners"."updated_at" AS t0_r3 FROM "owners" WHERE ("owners"."updated_at" BETWEEN '2017-01-01 08:00:00 UTC' AND '2018-01-01 07:59:59 UTC') ORDER BY owners.created_at DESC LIMIT 10 OFFSET 0
|
23054
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "owners" WHERE ("owners"."updated_at" BETWEEN '2017-01-01 08:00:00 UTC' AND '2018-01-01 07:59:59 UTC')[0m
|
23055
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23056
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23057
|
+
----------------------------------------------------------------
|
23058
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_ambiguous_field
|
23059
|
+
----------------------------------------------------------------
|
23060
|
+
[1m[35mSQL (0.2ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE ("trees"."created_at" > '2015-06-18 08:00:00') AND (owners.name = 'Arnaud Besnier') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0
|
23061
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE ("trees"."created_at" > '2015-06-18 08:00:00') AND (owners.name = 'Arnaud Besnier')[0m
|
23062
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23063
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23064
|
+
-----------------------------------------------------------------
|
23065
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_1_size_15
|
23066
|
+
-----------------------------------------------------------------
|
23067
|
+
[1m[35mSQL (0.1ms)[0m SELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY string_fields.id DESC LIMIT 15 OFFSET 0
|
23068
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
23069
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23070
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23071
|
+
----------------------------------------------------------
|
23072
|
+
ForestLiana::ResourcesGetterTest: test_Filter_after_x_days
|
23073
|
+
----------------------------------------------------------
|
23074
|
+
[1m[35mSQL (0.2ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4 FROM "trees" WHERE ("trees"."created_at" > '2018-06-15 11:35:51 UTC') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0
|
23075
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "trees" WHERE ("trees"."created_at" > '2018-06-15 11:35:51 UTC')[0m
|
23076
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23077
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23078
|
+
------------------------------------------------------------------------------------------------------
|
23079
|
+
ForestLiana::ResourcesGetterTest: test_Filter_equal_on_an_updated_at_field_of_an_associated_collection
|
23080
|
+
------------------------------------------------------------------------------------------------------
|
23081
|
+
[1m[35mSQL (0.1ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at = 'Sat Jul 02 2016 11:52:00 GMT-0400 (EDT)') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0
|
23082
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at = 'Sat Jul 02 2016 11:52:00 GMT-0400 (EDT)')[0m
|
23083
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23084
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23085
|
+
---------------------------
|
23086
|
+
ForestLianaTest: test_truth
|
23087
|
+
---------------------------
|
23088
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forest_liana
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.8.
|
4
|
+
version: 2.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sandro Munda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-06-
|
11
|
+
date: 2018-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|