forest_liana 7.2.2 → 7.3.0

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
  SHA256:
3
- metadata.gz: 9e27c82de4862ee0ef5a2d1c3a83911f3257c5622979bb5a0fa2b60f367b6095
4
- data.tar.gz: 2e63d770bd045090db7458feb0a417e002419998202f2a9b20dc4087cf38e635
3
+ metadata.gz: 49f243178b884ac1cb390de7cfd5f6f623774d9d1f2241b32689073246901ca3
4
+ data.tar.gz: 8c5321b9d1cf53813d658ec2e4d68120b960bc876db8182fd6d4c0320e1c210d
5
5
  SHA512:
6
- metadata.gz: e0a8e5a2a516e9224c90acf8c0ae367d2a99e5ec1d40132851c6e1a258d5a338c68e48eccd9facbccbe4650258426fb1d74286f9c58438ebd4e3a83a8a947d3e
7
- data.tar.gz: c64b4806f3073c29e20d4d5c24e6d3e28d785db24de4cb3e62e9dfedc971e6da4be789333913eacd0933d3ef3e7333029f5b3045d1394a768ba5cd0d808f780d
6
+ metadata.gz: 3544aa210b494fa79f79f668d4799cc7e31abcf6d07a1a7f018b8c4c8b2e50f27d94126da130acd2a8d307697cca589d5d267a6c643d2126ea7f6e76518a6450
7
+ data.tar.gz: 60bf4a968d0e805f0af82d5e5018d9d05e809cdeb80d6243881cb9ef0c8088cd30d96c0f05538b401255b0739751706a28de521b836fc8153a029ded5be6a722
@@ -350,10 +350,12 @@ module ForestLiana
350
350
  type = 'Number'
351
351
  when :json, :jsonb, :hstore
352
352
  type = 'Json'
353
- when :string, :text, :citext, :uuid
353
+ when :string, :text, :citext
354
354
  type = 'String'
355
355
  when :time
356
356
  type = 'Time'
357
+ when :uuid
358
+ type = 'Uuid'
357
359
  end
358
360
 
359
361
  is_array = (column.respond_to?(:array) && column.array == true)
@@ -1,3 +1,3 @@
1
1
  module ForestLiana
2
- VERSION = "7.2.2"
2
+ VERSION = "7.3.0"
3
3
  end
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: 7.2.2
4
+ version: 7.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sandro Munda
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-30 00:00:00.000000000 Z
11
+ date: 2021-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -510,171 +510,171 @@ signing_key:
510
510
  specification_version: 4
511
511
  summary: Official Rails Liana for Forest
512
512
  test_files:
513
+ - test/services/forest_liana/schema_adapter_test.rb
514
+ - test/services/forest_liana/operator_date_interval_parser_test.rb
513
515
  - test/routing/route_test.rb
514
516
  - test/forest_liana_test.rb
515
- - test/fixtures/belongs_to_field.yml
516
- - test/fixtures/owner.yml
517
+ - test/test_helper.rb
517
518
  - test/fixtures/has_one_field.yml
519
+ - test/fixtures/belongs_to_field.yml
520
+ - test/fixtures/reference.yml
518
521
  - test/fixtures/serialize_field.yml
522
+ - test/fixtures/tree.yml
519
523
  - test/fixtures/string_field.yml
520
524
  - test/fixtures/has_many_through_field.yml
521
- - test/fixtures/reference.yml
522
525
  - test/fixtures/has_many_field.yml
523
- - test/fixtures/tree.yml
524
- - test/dummy/README.rdoc
526
+ - test/fixtures/owner.yml
527
+ - test/dummy/public/favicon.ico
528
+ - test/dummy/public/500.html
525
529
  - test/dummy/public/404.html
526
530
  - test/dummy/public/422.html
527
- - test/dummy/public/500.html
528
- - test/dummy/public/favicon.ico
529
531
  - test/dummy/Rakefile
530
532
  - test/dummy/config/application.rb
531
- - test/dummy/config/routes.rb
532
- - test/dummy/config/environments/production.rb
533
- - test/dummy/config/environments/test.rb
534
- - test/dummy/config/environments/development.rb
533
+ - test/dummy/config/environment.rb
535
534
  - test/dummy/config/database.yml
535
+ - test/dummy/config/routes.rb
536
+ - test/dummy/config/boot.rb
537
+ - test/dummy/config/initializers/mime_types.rb
538
+ - test/dummy/config/initializers/cookies_serializer.rb
539
+ - test/dummy/config/initializers/session_store.rb
540
+ - test/dummy/config/initializers/filter_parameter_logging.rb
541
+ - test/dummy/config/initializers/inflections.rb
536
542
  - test/dummy/config/initializers/backtrace_silencers.rb
537
543
  - test/dummy/config/initializers/assets.rb
538
544
  - test/dummy/config/initializers/wrap_parameters.rb
539
- - test/dummy/config/initializers/filter_parameter_logging.rb
540
- - test/dummy/config/initializers/session_store.rb
541
- - test/dummy/config/initializers/inflections.rb
542
- - test/dummy/config/initializers/mime_types.rb
543
- - test/dummy/config/initializers/cookies_serializer.rb
544
- - test/dummy/config/locales/en.yml
545
- - test/dummy/config/environment.rb
545
+ - test/dummy/config/environments/development.rb
546
+ - test/dummy/config/environments/test.rb
547
+ - test/dummy/config/environments/production.rb
546
548
  - test/dummy/config/secrets.yml
547
- - test/dummy/config/boot.rb
548
- - test/dummy/app/models/has_many_through_field.rb
549
- - test/dummy/app/models/tree.rb
549
+ - test/dummy/config/locales/en.yml
550
+ - test/dummy/bin/rails
551
+ - test/dummy/bin/rake
552
+ - test/dummy/bin/setup
553
+ - test/dummy/bin/bundle
554
+ - test/dummy/app/helpers/application_helper.rb
555
+ - test/dummy/app/assets/config/manifest.js
556
+ - test/dummy/app/assets/javascripts/application.js
557
+ - test/dummy/app/assets/stylesheets/application.css
558
+ - test/dummy/app/controllers/application_controller.rb
559
+ - test/dummy/app/views/layouts/application.html.erb
560
+ - test/dummy/app/models/decimal_field.rb
561
+ - test/dummy/app/models/integer_field.rb
550
562
  - test/dummy/app/models/belongs_to_field.rb
551
- - test/dummy/app/models/belongs_to_class_name_field.rb
563
+ - test/dummy/app/models/has_many_through_field.rb
552
564
  - test/dummy/app/models/polymorphic_field.rb
553
565
  - test/dummy/app/models/reference.rb
554
- - test/dummy/app/models/date_field.rb
555
- - test/dummy/app/models/decimal_field.rb
556
566
  - test/dummy/app/models/owner.rb
557
- - test/dummy/app/models/has_many_field.rb
558
- - test/dummy/app/models/boolean_field.rb
559
- - test/dummy/app/models/has_and_belongs_to_many_field.rb
567
+ - test/dummy/app/models/tree.rb
560
568
  - test/dummy/app/models/serialize_field.rb
561
- - test/dummy/app/models/integer_field.rb
569
+ - test/dummy/app/models/belongs_to_class_name_field.rb
570
+ - test/dummy/app/models/has_many_field.rb
562
571
  - test/dummy/app/models/float_field.rb
572
+ - test/dummy/app/models/has_one_field.rb
573
+ - test/dummy/app/models/has_and_belongs_to_many_field.rb
563
574
  - test/dummy/app/models/has_many_class_name_field.rb
564
575
  - test/dummy/app/models/string_field.rb
565
- - test/dummy/app/models/has_one_field.rb
566
- - test/dummy/app/views/layouts/application.html.erb
567
- - test/dummy/app/assets/javascripts/application.js
568
- - test/dummy/app/assets/stylesheets/application.css
569
- - test/dummy/app/assets/config/manifest.js
570
- - test/dummy/app/controllers/application_controller.rb
571
- - test/dummy/app/helpers/application_helper.rb
572
- - test/dummy/config.ru
573
- - test/dummy/db/migrate/20150608131603_create_decimal_field.rb
576
+ - test/dummy/app/models/boolean_field.rb
577
+ - test/dummy/app/models/date_field.rb
578
+ - test/dummy/db/schema.rb
579
+ - test/dummy/db/migrate/20150608133038_create_belongs_to_field.rb
574
580
  - test/dummy/db/migrate/20150616150629_create_polymorphic_field.rb
581
+ - test/dummy/db/migrate/20150608133044_create_has_one_field.rb
575
582
  - test/dummy/db/migrate/20160628173505_add_timestamps.rb
576
- - test/dummy/db/migrate/20181111162121_create_references_table.rb
583
+ - test/dummy/db/migrate/20150608131603_create_decimal_field.rb
584
+ - test/dummy/db/migrate/20170614141921_create_serialize_field.rb
585
+ - test/dummy/db/migrate/20160627172810_create_owner.rb
577
586
  - test/dummy/db/migrate/20150623115554_create_has_many_class_name_field.rb
578
- - test/dummy/db/migrate/20150608131610_create_float_field.rb
579
- - test/dummy/db/migrate/20160627172951_create_tree.rb
587
+ - test/dummy/db/migrate/20150608130516_create_date_field.rb
588
+ - test/dummy/db/migrate/20150608132621_create_string_field.rb
580
589
  - test/dummy/db/migrate/20150612112520_create_has_and_belongs_to_many_field.rb
590
+ - test/dummy/db/migrate/20150608150016_create_has_many_field.rb
591
+ - test/dummy/db/migrate/20150609114636_create_belongs_to_class_name_field.rb
581
592
  - test/dummy/db/migrate/20150608132159_create_boolean_field.rb
582
593
  - test/dummy/db/migrate/20150608131430_create_integer_field.rb
583
- - test/dummy/db/migrate/20150608133044_create_has_one_field.rb
584
- - test/dummy/db/migrate/20150609114636_create_belongs_to_class_name_field.rb
594
+ - test/dummy/db/migrate/20181111162121_create_references_table.rb
585
595
  - test/dummy/db/migrate/20150814081918_create_has_many_through_field.rb
586
- - test/dummy/db/migrate/20150608130516_create_date_field.rb
587
- - test/dummy/db/migrate/20170614141921_create_serialize_field.rb
588
- - test/dummy/db/migrate/20150608133038_create_belongs_to_field.rb
589
- - test/dummy/db/migrate/20150608150016_create_has_many_field.rb
590
- - test/dummy/db/migrate/20160627172810_create_owner.rb
591
- - test/dummy/db/migrate/20150608132621_create_string_field.rb
592
- - test/dummy/db/schema.rb
593
- - test/dummy/bin/rails
594
- - test/dummy/bin/rake
595
- - test/dummy/bin/bundle
596
- - test/dummy/bin/setup
597
- - test/services/forest_liana/operator_date_interval_parser_test.rb
598
- - test/services/forest_liana/schema_adapter_test.rb
599
- - test/test_helper.rb
596
+ - test/dummy/db/migrate/20160627172951_create_tree.rb
597
+ - test/dummy/db/migrate/20150608131610_create_float_field.rb
598
+ - test/dummy/config.ru
599
+ - test/dummy/README.rdoc
600
600
  - spec/spec_helper.rb
601
- - spec/config/initializers/logger_spec.rb
602
- - spec/lib/forest_liana/schema_file_updater_spec.rb
601
+ - spec/services/forest_liana/resource_updater_spec.rb
602
+ - spec/services/forest_liana/pie_stat_getter_spec.rb
603
+ - spec/services/forest_liana/resources_getter_spec.rb
604
+ - spec/services/forest_liana/permissions_getter_spec.rb
605
+ - spec/services/forest_liana/filters_parser_spec.rb
606
+ - spec/services/forest_liana/schema_adapter_spec.rb
607
+ - spec/services/forest_liana/smart_action_field_validator_spec.rb
608
+ - spec/services/forest_liana/scope_manager_spec.rb
609
+ - spec/services/forest_liana/has_many_getter_spec.rb
610
+ - spec/services/forest_liana/apimap_sorter_spec.rb
611
+ - spec/services/forest_liana/permissions_formatter_spec.rb
612
+ - spec/services/forest_liana/permissions_checker_acl_disabled_spec.rb
613
+ - spec/services/forest_liana/line_stat_getter_spec.rb
614
+ - spec/services/forest_liana/value_stat_getter_spec.rb
615
+ - spec/services/forest_liana/ip_whitelist_checker_spec.rb
616
+ - spec/services/forest_liana/permissions_checker_live_queries_spec.rb
617
+ - spec/services/forest_liana/permissions_checker_acl_enabled_spec.rb
603
618
  - spec/lib/forest_liana/bootstrapper_spec.rb
604
- - spec/rails_helper.rb
605
- - spec/dummy/README.rdoc
619
+ - spec/lib/forest_liana/schema_file_updater_spec.rb
620
+ - spec/config/initializers/logger_spec.rb
621
+ - spec/helpers/forest_liana/schema_helper_spec.rb
622
+ - spec/helpers/forest_liana/query_helper_spec.rb
623
+ - spec/dummy/lib/forest_liana/collections/user.rb
624
+ - spec/dummy/lib/forest_liana/collections/island.rb
625
+ - spec/dummy/lib/forest_liana/collections/location.rb
606
626
  - spec/dummy/Rakefile
607
627
  - spec/dummy/config/application.rb
608
- - spec/dummy/config/routes.rb
609
- - spec/dummy/config/environments/production.rb
610
- - spec/dummy/config/environments/test.rb
611
- - spec/dummy/config/environments/development.rb
628
+ - spec/dummy/config/environment.rb
612
629
  - spec/dummy/config/database.yml
613
- - spec/dummy/config/initializers/backtrace_silencers.rb
614
- - spec/dummy/config/initializers/assets.rb
615
- - spec/dummy/config/initializers/wrap_parameters.rb
616
- - spec/dummy/config/initializers/filter_parameter_logging.rb
630
+ - spec/dummy/config/routes.rb
631
+ - spec/dummy/config/boot.rb
632
+ - spec/dummy/config/initializers/mime_types.rb
633
+ - spec/dummy/config/initializers/cookies_serializer.rb
617
634
  - spec/dummy/config/initializers/session_store.rb
618
635
  - spec/dummy/config/initializers/forest_liana.rb
636
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
619
637
  - spec/dummy/config/initializers/inflections.rb
620
- - spec/dummy/config/initializers/mime_types.rb
621
- - spec/dummy/config/initializers/cookies_serializer.rb
622
- - spec/dummy/config/environment.rb
638
+ - spec/dummy/config/initializers/backtrace_silencers.rb
639
+ - spec/dummy/config/initializers/assets.rb
640
+ - spec/dummy/config/initializers/wrap_parameters.rb
641
+ - spec/dummy/config/environments/development.rb
642
+ - spec/dummy/config/environments/test.rb
643
+ - spec/dummy/config/environments/production.rb
623
644
  - spec/dummy/config/secrets.yml
624
- - spec/dummy/config/boot.rb
625
- - spec/dummy/lib/forest_liana/collections/island.rb
626
- - spec/dummy/lib/forest_liana/collections/user.rb
627
- - spec/dummy/lib/forest_liana/collections/location.rb
628
- - spec/dummy/app/models/tree.rb
629
- - spec/dummy/app/models/island.rb
630
- - spec/dummy/app/models/reference.rb
631
- - spec/dummy/app/models/owner.rb
632
- - spec/dummy/app/models/product.rb
633
- - spec/dummy/app/models/user.rb
634
- - spec/dummy/app/models/location.rb
635
- - spec/dummy/app/views/layouts/application.html.erb
645
+ - spec/dummy/bin/rails
646
+ - spec/dummy/bin/rake
647
+ - spec/dummy/bin/setup
648
+ - spec/dummy/bin/bundle
636
649
  - spec/dummy/app/config/routes.rb
650
+ - spec/dummy/app/helpers/application_helper.rb
651
+ - spec/dummy/app/assets/config/manifest.js
637
652
  - spec/dummy/app/assets/javascripts/application.js
638
653
  - spec/dummy/app/assets/stylesheets/application.css
639
- - spec/dummy/app/assets/config/manifest.js
640
- - spec/dummy/app/controllers/application_controller.rb
641
654
  - spec/dummy/app/controllers/forest/islands_controller.rb
642
- - spec/dummy/app/helpers/application_helper.rb
643
- - spec/dummy/config.ru
655
+ - spec/dummy/app/controllers/application_controller.rb
656
+ - spec/dummy/app/views/layouts/application.html.erb
657
+ - spec/dummy/app/models/reference.rb
658
+ - spec/dummy/app/models/owner.rb
659
+ - spec/dummy/app/models/tree.rb
660
+ - spec/dummy/app/models/user.rb
661
+ - spec/dummy/app/models/island.rb
662
+ - spec/dummy/app/models/location.rb
663
+ - spec/dummy/app/models/product.rb
664
+ - spec/dummy/db/schema.rb
644
665
  - spec/dummy/db/migrate/20190226173051_create_isle.rb
645
- - spec/dummy/db/migrate/20190226172951_create_user.rb
646
- - spec/dummy/db/migrate/20190716130830_add_age_to_tree.rb
647
- - spec/dummy/db/migrate/20210326110524_create_references.rb
648
- - spec/dummy/db/migrate/20190226174951_create_tree.rb
649
666
  - spec/dummy/db/migrate/20210526084712_create_products.rb
667
+ - spec/dummy/db/migrate/20190226172951_create_user.rb
650
668
  - spec/dummy/db/migrate/20210326140855_create_locations.rb
651
669
  - spec/dummy/db/migrate/20190716135241_add_type_to_user.rb
670
+ - spec/dummy/db/migrate/20190226174951_create_tree.rb
671
+ - spec/dummy/db/migrate/20210326110524_create_references.rb
672
+ - spec/dummy/db/migrate/20190716130830_add_age_to_tree.rb
652
673
  - spec/dummy/db/migrate/20210511141752_create_owners.rb
653
- - spec/dummy/db/schema.rb
654
- - spec/dummy/bin/rails
655
- - spec/dummy/bin/rake
656
- - spec/dummy/bin/bundle
657
- - spec/dummy/bin/setup
658
- - spec/services/forest_liana/apimap_sorter_spec.rb
659
- - spec/services/forest_liana/smart_action_field_validator_spec.rb
660
- - spec/services/forest_liana/resource_updater_spec.rb
661
- - spec/services/forest_liana/has_many_getter_spec.rb
662
- - spec/services/forest_liana/scope_manager_spec.rb
663
- - spec/services/forest_liana/permissions_checker_acl_disabled_spec.rb
664
- - spec/services/forest_liana/ip_whitelist_checker_spec.rb
665
- - spec/services/forest_liana/permissions_formatter_spec.rb
666
- - spec/services/forest_liana/value_stat_getter_spec.rb
667
- - spec/services/forest_liana/line_stat_getter_spec.rb
668
- - spec/services/forest_liana/filters_parser_spec.rb
669
- - spec/services/forest_liana/permissions_checker_live_queries_spec.rb
670
- - spec/services/forest_liana/permissions_getter_spec.rb
671
- - spec/services/forest_liana/pie_stat_getter_spec.rb
672
- - spec/services/forest_liana/permissions_checker_acl_enabled_spec.rb
673
- - spec/services/forest_liana/schema_adapter_spec.rb
674
- - spec/services/forest_liana/resources_getter_spec.rb
674
+ - spec/dummy/config.ru
675
+ - spec/dummy/README.rdoc
675
676
  - spec/requests/authentications_spec.rb
676
- - spec/requests/actions_controller_spec.rb
677
677
  - spec/requests/stats_spec.rb
678
678
  - spec/requests/resources_spec.rb
679
- - spec/helpers/forest_liana/query_helper_spec.rb
680
- - spec/helpers/forest_liana/schema_helper_spec.rb
679
+ - spec/requests/actions_controller_spec.rb
680
+ - spec/rails_helper.rb