forest_liana 7.6.12 → 7.6.13

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: '095735ab97e1d107e2746eb6c118198798434aed96e915fdc2e476249bf24cc9'
4
- data.tar.gz: 4d37f6fa5b27393ebb2ddfc06bddb1fb5c3398c9157c527625a37d9b87fdb380
3
+ metadata.gz: 9b031b66a7afc9e69d6d16fdc8787ce99087abe166faa9e708bf19ad4583b464
4
+ data.tar.gz: a94b3ad5cc17306b53e43424e1b4317561bcd59484aa270422cb5a0a20216d7d
5
5
  SHA512:
6
- metadata.gz: efdfdb98774e37d1dbd7d641f518a7ea9c62ececca98b7cc2ca06eb3bd27ca6638d03c3a7f4077b11fd77002033d379fd784b2e5226f4030ff41614e56fa2520
7
- data.tar.gz: '029ba78907e4996a79d6b3a58849beb37f1f9bfe18b34cfa011e60dde7a2e7a3cb0312d26a45ceaa14f7d4585b5bf87e7f18d0b681fddaf4848bb554d5c03a28'
6
+ metadata.gz: 6f29bbbed569c99ec65dc51711c98744dd4e249bc62845c3bc0b0c0eda3c734ce9fc8dd15fc23a29e83ad884430e25b5315183f0d95c00102376f8c930fcee58
7
+ data.tar.gz: d27f1c9eec56ddb0889552e6edcf2312866b5df5a5f11a924611b84c00f02b48ed332dac5fd884b31e3fd3000be38015ecfdc393c1c4a083b6fcef4d4baaf402
@@ -48,7 +48,7 @@ module ForestLiana
48
48
  Thread.new { refresh_scopes_cache(rendering_id) }
49
49
  end
50
50
 
51
- @@scopes_cache[rendering_id][:scopes][collection_name]
51
+ @@scopes_cache[rendering_id][:scopes][collection_name].deep_dup
52
52
  end
53
53
 
54
54
  def self.has_cache_expired?(rendering_id)
@@ -91,7 +91,6 @@ module ForestLiana
91
91
  condition['value'] = dynamic_scopes_values.dig('users', user_id, value)
92
92
  end
93
93
  end
94
-
95
94
  filter
96
95
  end
97
96
 
@@ -1,3 +1,3 @@
1
1
  module ForestLiana
2
- VERSION = "7.6.12"
2
+ VERSION = "7.6.13"
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.6.12
4
+ version: 7.6.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sandro Munda
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-09 00:00:00.000000000 Z
11
+ date: 2022-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -527,188 +527,188 @@ signing_key:
527
527
  specification_version: 4
528
528
  summary: Official Rails Liana for Forest
529
529
  test_files:
530
- - test/fixtures/has_one_field.yml
531
- - test/fixtures/string_field.yml
530
+ - test/test_helper.rb
531
+ - test/fixtures/owner.yml
532
+ - test/fixtures/serialize_field.yml
532
533
  - test/fixtures/belongs_to_field.yml
534
+ - test/fixtures/has_one_field.yml
533
535
  - test/fixtures/reference.yml
536
+ - test/fixtures/string_field.yml
537
+ - test/fixtures/has_many_through_field.yml
534
538
  - test/fixtures/has_many_field.yml
535
- - test/fixtures/serialize_field.yml
536
- - test/fixtures/owner.yml
537
539
  - test/fixtures/tree.yml
538
- - test/fixtures/has_many_through_field.yml
539
- - test/test_helper.rb
540
- - test/dummy/config.ru
541
- - test/dummy/bin/rake
542
- - test/dummy/bin/setup
543
- - test/dummy/bin/bundle
544
- - test/dummy/bin/rails
540
+ - test/forest_liana_test.rb
541
+ - test/services/forest_liana/operator_date_interval_parser_test.rb
542
+ - test/services/forest_liana/schema_adapter_test.rb
545
543
  - test/dummy/public/422.html
546
- - test/dummy/public/500.html
547
544
  - test/dummy/public/favicon.ico
548
545
  - test/dummy/public/404.html
549
- - test/dummy/README.rdoc
546
+ - test/dummy/public/500.html
547
+ - test/dummy/bin/bundle
548
+ - test/dummy/bin/setup
549
+ - test/dummy/bin/rails
550
+ - test/dummy/bin/rake
551
+ - test/dummy/db/schema.rb
552
+ - test/dummy/db/migrate/20150608150016_create_has_many_field.rb
553
+ - test/dummy/db/migrate/20150608131603_create_decimal_field.rb
554
+ - test/dummy/db/migrate/20150612112520_create_has_and_belongs_to_many_field.rb
555
+ - test/dummy/db/migrate/20181111162121_create_references_table.rb
556
+ - test/dummy/db/migrate/20150608133038_create_belongs_to_field.rb
557
+ - test/dummy/db/migrate/20150608133044_create_has_one_field.rb
558
+ - test/dummy/db/migrate/20150608131430_create_integer_field.rb
559
+ - test/dummy/db/migrate/20150616150629_create_polymorphic_field.rb
560
+ - test/dummy/db/migrate/20160628173505_add_timestamps.rb
561
+ - test/dummy/db/migrate/20150814081918_create_has_many_through_field.rb
562
+ - test/dummy/db/migrate/20150609114636_create_belongs_to_class_name_field.rb
563
+ - test/dummy/db/migrate/20150608130516_create_date_field.rb
564
+ - test/dummy/db/migrate/20160627172810_create_owner.rb
565
+ - test/dummy/db/migrate/20150623115554_create_has_many_class_name_field.rb
566
+ - test/dummy/db/migrate/20150608132621_create_string_field.rb
567
+ - test/dummy/db/migrate/20150608131610_create_float_field.rb
568
+ - test/dummy/db/migrate/20170614141921_create_serialize_field.rb
569
+ - test/dummy/db/migrate/20150608132159_create_boolean_field.rb
570
+ - test/dummy/db/migrate/20160627172951_create_tree.rb
550
571
  - test/dummy/config/secrets.yml
551
- - test/dummy/config/locales/en.yml
552
- - test/dummy/config/environments/test.rb
553
- - test/dummy/config/environments/production.rb
554
- - test/dummy/config/environments/development.rb
555
572
  - test/dummy/config/database.yml
556
- - test/dummy/config/application.rb
557
- - test/dummy/config/boot.rb
558
- - test/dummy/config/environment.rb
559
- - test/dummy/config/initializers/inflections.rb
560
- - test/dummy/config/initializers/session_store.rb
561
573
  - test/dummy/config/initializers/backtrace_silencers.rb
574
+ - test/dummy/config/initializers/assets.rb
562
575
  - test/dummy/config/initializers/wrap_parameters.rb
563
576
  - test/dummy/config/initializers/mime_types.rb
564
577
  - test/dummy/config/initializers/cookies_serializer.rb
565
- - test/dummy/config/initializers/assets.rb
566
578
  - test/dummy/config/initializers/filter_parameter_logging.rb
579
+ - test/dummy/config/initializers/inflections.rb
580
+ - test/dummy/config/initializers/session_store.rb
581
+ - test/dummy/config/boot.rb
582
+ - test/dummy/config/locales/en.yml
583
+ - test/dummy/config/environment.rb
584
+ - test/dummy/config/application.rb
567
585
  - test/dummy/config/routes.rb
568
- - test/dummy/app/helpers/application_helper.rb
569
- - test/dummy/app/views/layouts/application.html.erb
570
- - test/dummy/app/models/has_many_field.rb
571
- - test/dummy/app/models/belongs_to_field.rb
572
- - test/dummy/app/models/has_and_belongs_to_many_field.rb
586
+ - test/dummy/config/environments/development.rb
587
+ - test/dummy/config/environments/test.rb
588
+ - test/dummy/config/environments/production.rb
589
+ - test/dummy/app/assets/stylesheets/application.css
590
+ - test/dummy/app/assets/config/manifest.js
591
+ - test/dummy/app/assets/javascripts/application.js
592
+ - test/dummy/app/models/serialize_field.rb
593
+ - test/dummy/app/models/decimal_field.rb
573
594
  - test/dummy/app/models/has_many_class_name_field.rb
595
+ - test/dummy/app/models/boolean_field.rb
574
596
  - test/dummy/app/models/date_field.rb
575
- - test/dummy/app/models/has_one_field.rb
576
- - test/dummy/app/models/decimal_field.rb
597
+ - test/dummy/app/models/has_and_belongs_to_many_field.rb
598
+ - test/dummy/app/models/owner.rb
577
599
  - test/dummy/app/models/integer_field.rb
578
- - test/dummy/app/models/tree.rb
579
- - test/dummy/app/models/belongs_to_class_name_field.rb
580
- - test/dummy/app/models/boolean_field.rb
581
- - test/dummy/app/models/has_many_through_field.rb
600
+ - test/dummy/app/models/reference.rb
601
+ - test/dummy/app/models/belongs_to_field.rb
582
602
  - test/dummy/app/models/float_field.rb
603
+ - test/dummy/app/models/tree.rb
583
604
  - test/dummy/app/models/string_field.rb
584
- - test/dummy/app/models/owner.rb
585
- - test/dummy/app/models/serialize_field.rb
605
+ - test/dummy/app/models/has_many_through_field.rb
606
+ - test/dummy/app/models/belongs_to_class_name_field.rb
586
607
  - test/dummy/app/models/polymorphic_field.rb
587
- - test/dummy/app/models/reference.rb
608
+ - test/dummy/app/models/has_many_field.rb
609
+ - test/dummy/app/models/has_one_field.rb
610
+ - test/dummy/app/views/layouts/application.html.erb
611
+ - test/dummy/app/helpers/application_helper.rb
588
612
  - test/dummy/app/controllers/application_controller.rb
589
- - test/dummy/app/assets/stylesheets/application.css
590
- - test/dummy/app/assets/config/manifest.js
591
- - test/dummy/app/assets/javascripts/application.js
592
- - test/dummy/db/migrate/20150623115554_create_has_many_class_name_field.rb
593
- - test/dummy/db/migrate/20150612112520_create_has_and_belongs_to_many_field.rb
594
- - test/dummy/db/migrate/20160627172810_create_owner.rb
595
- - test/dummy/db/migrate/20160627172951_create_tree.rb
596
- - test/dummy/db/migrate/20150814081918_create_has_many_through_field.rb
597
- - test/dummy/db/migrate/20150608130516_create_date_field.rb
598
- - test/dummy/db/migrate/20150608132621_create_string_field.rb
599
- - test/dummy/db/migrate/20160628173505_add_timestamps.rb
600
- - test/dummy/db/migrate/20150609114636_create_belongs_to_class_name_field.rb
601
- - test/dummy/db/migrate/20150608131610_create_float_field.rb
602
- - test/dummy/db/migrate/20170614141921_create_serialize_field.rb
603
- - test/dummy/db/migrate/20150608131430_create_integer_field.rb
604
- - test/dummy/db/migrate/20150608133044_create_has_one_field.rb
605
- - test/dummy/db/migrate/20150608131603_create_decimal_field.rb
606
- - test/dummy/db/migrate/20150608133038_create_belongs_to_field.rb
607
- - test/dummy/db/migrate/20150616150629_create_polymorphic_field.rb
608
- - test/dummy/db/migrate/20181111162121_create_references_table.rb
609
- - test/dummy/db/migrate/20150608150016_create_has_many_field.rb
610
- - test/dummy/db/migrate/20150608132159_create_boolean_field.rb
611
- - test/dummy/db/schema.rb
613
+ - test/dummy/README.rdoc
614
+ - test/dummy/config.ru
612
615
  - test/dummy/Rakefile
613
616
  - test/routing/route_test.rb
614
- - test/forest_liana_test.rb
615
- - test/services/forest_liana/schema_adapter_test.rb
616
- - test/services/forest_liana/operator_date_interval_parser_test.rb
617
- - spec/helpers/forest_liana/query_helper_spec.rb
618
- - spec/helpers/forest_liana/schema_helper_spec.rb
619
- - spec/requests/actions_controller_spec.rb
620
617
  - spec/requests/authentications_spec.rb
621
- - spec/requests/test.ru
618
+ - spec/requests/actions_controller_spec.rb
619
+ - spec/requests/resources_spec.rb
622
620
  - spec/requests/cors_spec.rb
623
- - spec/requests/stats_spec.rb
621
+ - spec/requests/test.ru
624
622
  - spec/requests/count_spec.rb
625
- - spec/requests/resources_spec.rb
626
- - spec/spec_helper.rb
627
- - spec/dummy/config.ru
628
- - spec/dummy/bin/rake
629
- - spec/dummy/bin/setup
623
+ - spec/requests/stats_spec.rb
624
+ - spec/lib/forest_liana/bootstrapper_spec.rb
625
+ - spec/lib/forest_liana/schema_file_updater_spec.rb
626
+ - spec/helpers/forest_liana/query_helper_spec.rb
627
+ - spec/helpers/forest_liana/schema_helper_spec.rb
628
+ - spec/config/initializers/logger_spec.rb
629
+ - spec/services/forest_liana/filters_parser_spec.rb
630
+ - spec/services/forest_liana/line_stat_getter_spec.rb
631
+ - spec/services/forest_liana/scope_manager_spec.rb
632
+ - spec/services/forest_liana/permissions_checker_acl_disabled_spec.rb
633
+ - spec/services/forest_liana/permissions_getter_spec.rb
634
+ - spec/services/forest_liana/permissions_checker_acl_enabled_spec.rb
635
+ - spec/services/forest_liana/permissions_checker_live_queries_spec.rb
636
+ - spec/services/forest_liana/permissions_formatter_spec.rb
637
+ - spec/services/forest_liana/resources_getter_spec.rb
638
+ - spec/services/forest_liana/schema_adapter_spec.rb
639
+ - spec/services/forest_liana/smart_action_field_validator_spec.rb
640
+ - spec/services/forest_liana/apimap_sorter_spec.rb
641
+ - spec/services/forest_liana/value_stat_getter_spec.rb
642
+ - spec/services/forest_liana/resource_updater_spec.rb
643
+ - spec/services/forest_liana/pie_stat_getter_spec.rb
644
+ - spec/services/forest_liana/ip_whitelist_checker_spec.rb
645
+ - spec/services/forest_liana/has_many_getter_spec.rb
646
+ - spec/dummy/lib/forest_liana/collections/island.rb
647
+ - spec/dummy/lib/forest_liana/collections/user.rb
648
+ - spec/dummy/lib/forest_liana/collections/location.rb
649
+ - spec/dummy/lib/forest_liana/controllers/owner_trees_controller.rb
650
+ - spec/dummy/lib/forest_liana/controllers/owners_controller.rb
630
651
  - spec/dummy/bin/bundle
652
+ - spec/dummy/bin/setup
631
653
  - spec/dummy/bin/rails
632
- - spec/dummy/README.rdoc
654
+ - spec/dummy/bin/rake
655
+ - spec/dummy/db/schema.rb
656
+ - spec/dummy/db/migrate/20210511141752_create_owners.rb
657
+ - spec/dummy/db/migrate/20190716130830_add_age_to_tree.rb
658
+ - spec/dummy/db/migrate/20190226173051_create_isle.rb
659
+ - spec/dummy/db/migrate/20190226172951_create_user.rb
660
+ - spec/dummy/db/migrate/20220719094127_create_cars.rb
661
+ - spec/dummy/db/migrate/20210326110524_create_references.rb
662
+ - spec/dummy/db/migrate/20210526084712_create_products.rb
663
+ - spec/dummy/db/migrate/20220719094450_create_drivers.rb
664
+ - spec/dummy/db/migrate/20190226174951_create_tree.rb
665
+ - spec/dummy/db/migrate/20220727114930_add_columns_to_products.rb
666
+ - spec/dummy/db/migrate/20190716135241_add_type_to_user.rb
667
+ - spec/dummy/db/migrate/20210326140855_create_locations.rb
668
+ - spec/dummy/db/migrate/20220727114450_create_manufacturers.rb
633
669
  - spec/dummy/config/secrets.yml
634
- - spec/dummy/config/environments/test.rb
635
- - spec/dummy/config/environments/production.rb
636
- - spec/dummy/config/environments/development.rb
637
670
  - spec/dummy/config/database.yml
638
- - spec/dummy/config/application.rb
639
- - spec/dummy/config/boot.rb
640
- - spec/dummy/config/environment.rb
641
- - spec/dummy/config/initializers/inflections.rb
642
- - spec/dummy/config/initializers/session_store.rb
643
671
  - spec/dummy/config/initializers/backtrace_silencers.rb
672
+ - spec/dummy/config/initializers/assets.rb
644
673
  - spec/dummy/config/initializers/wrap_parameters.rb
645
674
  - spec/dummy/config/initializers/mime_types.rb
646
675
  - spec/dummy/config/initializers/cookies_serializer.rb
647
- - spec/dummy/config/initializers/assets.rb
648
676
  - spec/dummy/config/initializers/filter_parameter_logging.rb
677
+ - spec/dummy/config/initializers/inflections.rb
649
678
  - spec/dummy/config/initializers/forest_liana.rb
679
+ - spec/dummy/config/initializers/session_store.rb
680
+ - spec/dummy/config/boot.rb
681
+ - spec/dummy/config/environment.rb
682
+ - spec/dummy/config/application.rb
650
683
  - spec/dummy/config/routes.rb
651
- - spec/dummy/app/helpers/application_helper.rb
652
- - spec/dummy/app/views/layouts/application.html.erb
684
+ - spec/dummy/config/environments/development.rb
685
+ - spec/dummy/config/environments/test.rb
686
+ - spec/dummy/config/environments/production.rb
687
+ - spec/dummy/app/assets/stylesheets/application.css
688
+ - spec/dummy/app/assets/config/manifest.js
689
+ - spec/dummy/app/assets/javascripts/application.js
653
690
  - spec/dummy/app/models/driver.rb
654
- - spec/dummy/app/models/car.rb
655
- - spec/dummy/app/models/garage_record.rb
656
- - spec/dummy/app/models/user_record.rb
657
- - spec/dummy/app/models/product.rb
658
- - spec/dummy/app/models/sub_application_record.rb
659
- - spec/dummy/app/models/tree.rb
660
691
  - spec/dummy/app/models/island.rb
661
- - spec/dummy/app/models/owner.rb
662
692
  - spec/dummy/app/models/application_record.rb
693
+ - spec/dummy/app/models/owner.rb
694
+ - spec/dummy/app/models/car.rb
695
+ - spec/dummy/app/models/garage_record.rb
663
696
  - spec/dummy/app/models/manufacturer.rb
664
- - spec/dummy/app/models/town.rb
697
+ - spec/dummy/app/models/sub_application_record.rb
665
698
  - spec/dummy/app/models/user.rb
666
699
  - spec/dummy/app/models/reference.rb
700
+ - spec/dummy/app/models/product.rb
701
+ - spec/dummy/app/models/tree.rb
702
+ - spec/dummy/app/models/user_record.rb
703
+ - spec/dummy/app/models/town.rb
667
704
  - spec/dummy/app/models/location.rb
705
+ - spec/dummy/app/views/layouts/application.html.erb
706
+ - spec/dummy/app/helpers/application_helper.rb
668
707
  - spec/dummy/app/config/routes.rb
669
- - spec/dummy/app/controllers/forest/islands_controller.rb
670
708
  - spec/dummy/app/controllers/application_controller.rb
671
- - spec/dummy/app/assets/stylesheets/application.css
672
- - spec/dummy/app/assets/config/manifest.js
673
- - spec/dummy/app/assets/javascripts/application.js
674
- - spec/dummy/lib/forest_liana/collections/island.rb
675
- - spec/dummy/lib/forest_liana/collections/user.rb
676
- - spec/dummy/lib/forest_liana/collections/location.rb
677
- - spec/dummy/lib/forest_liana/controllers/owners_controller.rb
678
- - spec/dummy/lib/forest_liana/controllers/owner_trees_controller.rb
679
- - spec/dummy/db/migrate/20190226173051_create_isle.rb
680
- - spec/dummy/db/migrate/20210326140855_create_locations.rb
681
- - spec/dummy/db/migrate/20190716135241_add_type_to_user.rb
682
- - spec/dummy/db/migrate/20220719094127_create_cars.rb
683
- - spec/dummy/db/migrate/20210511141752_create_owners.rb
684
- - spec/dummy/db/migrate/20220719094450_create_drivers.rb
685
- - spec/dummy/db/migrate/20220727114930_add_columns_to_products.rb
686
- - spec/dummy/db/migrate/20210526084712_create_products.rb
687
- - spec/dummy/db/migrate/20220727114450_create_manufacturers.rb
688
- - spec/dummy/db/migrate/20190226174951_create_tree.rb
689
- - spec/dummy/db/migrate/20190716130830_add_age_to_tree.rb
690
- - spec/dummy/db/migrate/20190226172951_create_user.rb
691
- - spec/dummy/db/migrate/20210326110524_create_references.rb
692
- - spec/dummy/db/schema.rb
709
+ - spec/dummy/app/controllers/forest/islands_controller.rb
710
+ - spec/dummy/README.rdoc
711
+ - spec/dummy/config.ru
693
712
  - spec/dummy/Rakefile
694
- - spec/config/initializers/logger_spec.rb
695
- - spec/lib/forest_liana/bootstrapper_spec.rb
696
- - spec/lib/forest_liana/schema_file_updater_spec.rb
697
- - spec/services/forest_liana/smart_action_field_validator_spec.rb
698
- - spec/services/forest_liana/apimap_sorter_spec.rb
699
- - spec/services/forest_liana/value_stat_getter_spec.rb
700
- - spec/services/forest_liana/filters_parser_spec.rb
701
- - spec/services/forest_liana/line_stat_getter_spec.rb
702
- - spec/services/forest_liana/permissions_formatter_spec.rb
703
- - spec/services/forest_liana/ip_whitelist_checker_spec.rb
704
- - spec/services/forest_liana/permissions_getter_spec.rb
705
- - spec/services/forest_liana/pie_stat_getter_spec.rb
706
- - spec/services/forest_liana/permissions_checker_acl_enabled_spec.rb
707
- - spec/services/forest_liana/scope_manager_spec.rb
708
- - spec/services/forest_liana/has_many_getter_spec.rb
709
- - spec/services/forest_liana/permissions_checker_acl_disabled_spec.rb
710
- - spec/services/forest_liana/resource_updater_spec.rb
711
- - spec/services/forest_liana/permissions_checker_live_queries_spec.rb
712
- - spec/services/forest_liana/resources_getter_spec.rb
713
- - spec/services/forest_liana/schema_adapter_spec.rb
714
713
  - spec/rails_helper.rb
714
+ - spec/spec_helper.rb