hoodoo 3.2.2 → 3.2.9

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: 5ac459902860cac87209b43da0dadf5f309317607fc5be1d7666f4588e6c26c8
4
- data.tar.gz: '089b8513ba98bf009aaa04e3b6683c6cc5341815eb223dd5e0731f7fe37f63ae'
3
+ metadata.gz: f4e9f5e9a7dad520999afc79eb8eefbef5d262be17aecf399c363e4d8dfaee31
4
+ data.tar.gz: ad89c8ea5df030720495ff536aae0649e26d5c818d004985248d602ef0272fcf
5
5
  SHA512:
6
- metadata.gz: b5a32796c8e5e2757a6ccd535159f6d8391336558c0018732e3fcb6f0743a2547e6e27931ef8ca349afd89032e95b9dd17e7da7b314aa5c448f11f32bce57bef
7
- data.tar.gz: 1a51754f31ab0179cd34a1d12d120e850b7f94db92c786cf64899c72a271ca50c2d8b9e602ce8f7c46e0eb5cb97ec716241104a96e200f3b4a1e78cbef64f26d
6
+ metadata.gz: 944b999aa8936bcc7c4c26185273c02c39d3221647a668570a5c7ff4b73c8549b4866b4047e6e102389fb0dd7e33a0c2d4342a3ae435485adc4385b49765a593
7
+ data.tar.gz: 9ed27bb94f2e8a38b866658490fa224efd0bf7a99c8386afb1c7025efb95d51a35ad1c7335f4300291b03d8f51b1b056bc289accb18882cd41983c03c1f69a28
@@ -64,17 +64,6 @@ module Hoodoo; module Services; class Discovery # Just used as a namespace here
64
64
 
65
65
  uri = self.uri( port )
66
66
 
67
- # $SAFE and taint tracking is being removed from ruby 2.7+
68
- # https://bugs.ruby-lang.org/issues/16131
69
- # Set to 0 to disable taint tracking in earlier versions
70
- $SAFE = 0
71
-
72
- # Have to allow a tained port string from "outside" just to be able
73
- # to start the service on a given port; so untaint that deliberately.
74
- #
75
- # http://ruby-doc.com/docs/ProgrammingRuby/html/taint.html
76
-
77
- uri.untaint()
78
67
  $stop_queue = ::Queue.new
79
68
 
80
69
  ::DRb.start_service( uri,
@@ -12,11 +12,11 @@ module Hoodoo
12
12
  # The Hoodoo gem version. If this changes, be sure to re-run
13
13
  # <tt>bundle install</tt> or <tt>bundle update</tt>.
14
14
  #
15
- VERSION = '3.2.2'
15
+ VERSION = '3.2.9'
16
16
 
17
17
  # The Hoodoo gem date. If this changes, be sure to re-run
18
18
  # <tt>bundle install</tt> or <tt>bundle update</tt>.
19
19
  #
20
- DATE = '2023-01-19'
20
+ DATE = '2023-07-31'
21
21
 
22
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hoodoo
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.2
4
+ version: 3.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Loyalty New Zealand
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-19 00:00:00.000000000 Z
11
+ date: 2023-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dalli
@@ -575,7 +575,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
575
575
  requirements:
576
576
  - - ">="
577
577
  - !ruby/object:Gem::Version
578
- version: 3.1.0
578
+ version: '3.2'
579
579
  required_rubygems_version: !ruby/object:Gem::Requirement
580
580
  requirements:
581
581
  - - ">="
@@ -587,126 +587,126 @@ signing_key:
587
587
  specification_version: 4
588
588
  summary: Opinionated APIs
589
589
  test_files:
590
- - spec/files/regenerate.rb
591
- - spec/errors/errors_spec.rb
592
- - spec/errors/error_descriptions_spec.rb
590
+ - spec/utilities/uuid_spec.rb
591
+ - spec/utilities/utilities_spec.rb
592
+ - spec/new_relic/agent/method_tracer.rb
593
+ - spec/new_relic/agent/logger.rb
594
+ - spec/new_relic/agent/transaction.rb
595
+ - spec/active/active_record/secure_spec.rb
596
+ - spec/active/active_record/manually_dated_spec.rb
597
+ - spec/active/active_record/uuid_spec.rb
598
+ - spec/active/active_record/security_helper_spec.rb
599
+ - spec/active/active_record/finder_spec.rb
600
+ - spec/active/active_record/dated_spec.rb
601
+ - spec/active/active_record/writer_spec.rb
602
+ - spec/active/active_record/support_spec.rb
603
+ - spec/active/active_record/creator_spec.rb
604
+ - spec/active/active_record/search_helper_spec.rb
605
+ - spec/active/active_record/base_spec.rb
606
+ - spec/active/active_record/error_mapping_shared_context.rb
607
+ - spec/active/active_record/error_mapping_spec.rb
608
+ - spec/active/active_record/translated_spec.rb
609
+ - spec/transient_store/transient_store/redis_spec.rb
610
+ - spec/transient_store/transient_store/memcached_spec.rb
611
+ - spec/transient_store/transient_store/mocks/redis_spec.rb
612
+ - spec/transient_store/transient_store/mocks/dalli_client_spec.rb
613
+ - spec/transient_store/transient_store/base_spec.rb
614
+ - spec/transient_store/transient_store/memcached_redis_mirror_spec.rb
615
+ - spec/transient_store/transient_store_spec.rb
593
616
  - spec/integration/service_actions_spec.rb
594
- - spec/ddtrace.rb
595
- - spec/data/types/permissions_resources_spec.rb
596
- - spec/data/types/permissions_full_spec.rb
597
- - spec/data/types/permissions_spec.rb
617
+ - spec/spec_helper.rb
618
+ - spec/presenters/types/uuid_spec.rb
619
+ - spec/presenters/types/date_time_spec.rb
620
+ - spec/presenters/types/tags_spec.rb
621
+ - spec/presenters/types/integer_spec.rb
622
+ - spec/presenters/types/array_spec.rb
623
+ - spec/presenters/types/decimal_spec.rb
624
+ - spec/presenters/types/float_spec.rb
625
+ - spec/presenters/types/date_spec.rb
626
+ - spec/presenters/types/enum_spec.rb
627
+ - spec/presenters/types/object_spec.rb
628
+ - spec/presenters/types/string_spec.rb
629
+ - spec/presenters/types/text_spec.rb
630
+ - spec/presenters/types/hash_spec.rb
631
+ - spec/presenters/types/boolean_spec.rb
632
+ - spec/presenters/types/field_spec.rb
633
+ - spec/presenters/common_resource_fields_spec.rb
634
+ - spec/presenters/base_dsl_spec.rb
635
+ - spec/presenters/base_spec.rb
636
+ - spec/presenters/embedding_spec.rb
637
+ - spec/presenters/walk_spec.rb
638
+ - spec/logger/slow_writer_spec.rb
639
+ - spec/logger/fast_writer_spec.rb
640
+ - spec/logger/writers/file_writer_spec.rb
641
+ - spec/logger/writers/log_entries_dot_com_writer_spec.rb
642
+ - spec/logger/writers/stream_writer_spec.rb
643
+ - spec/logger/logger_spec.rb
644
+ - spec/files/regenerate.rb
598
645
  - spec/data/types/error_primitive_spec.rb
646
+ - spec/data/types/permissions_spec.rb
647
+ - spec/data/types/permissions_resources_spec.rb
599
648
  - spec/data/types/permissions_defaults_spec.rb
649
+ - spec/data/types/permissions_full_spec.rb
600
650
  - spec/data/resources/errors_spec.rb
601
- - spec/data/resources/caller_spec.rb
602
651
  - spec/data/resources/log_spec.rb
603
652
  - spec/data/resources/session_spec.rb
604
- - spec/services/services/context_spec.rb
605
- - spec/services/services/interface_spec.rb
606
- - spec/services/services/request_spec.rb
607
- - spec/services/services/response_spec.rb
608
- - spec/services/services/implementation_spec.rb
609
- - spec/services/services/application_spec.rb
610
- - spec/services/services/session_spec.rb
611
- - spec/services/services/permissions_spec.rb
612
- - spec/services/middleware/middleware_create_update_spec.rb
653
+ - spec/data/resources/caller_spec.rb
654
+ - spec/newrelic_rpm.rb
655
+ - spec/communicators/slow_spec.rb
656
+ - spec/communicators/pool_spec.rb
657
+ - spec/communicators/fast_spec.rb
658
+ - spec/client/augmented_hash_spec.rb
659
+ - spec/client/client_spec.rb
660
+ - spec/client/augmented_base_spec.rb
661
+ - spec/client/endpoint/endpoint_spec.rb
662
+ - spec/client/endpoint/endpoints/auto_session_spec.rb
663
+ - spec/client/endpoint/endpoints/http_spec.rb
664
+ - spec/client/endpoint/endpoints/amqp_spec.rb
665
+ - spec/client/endpoint/endpoints/not_found_spec.rb
666
+ - spec/client/endpoint/endpoints/http_based_spec.rb
667
+ - spec/client/augmented_array_spec.rb
668
+ - spec/client/headers_spec.rb
669
+ - spec/client/paginated_enumeration_spec.rb
670
+ - spec/monkey/patch/newrelic_traced_amqp_spec.rb
671
+ - spec/monkey/patch/datadog_traced_amqp_spec.rb
672
+ - spec/monkey/patch/newrelic_middleware_analytics_spec.rb
673
+ - spec/monkey/monkey_spec.rb
674
+ - spec/ddtrace.rb
613
675
  - spec/services/middleware/middleware_exotic_communication_spec.rb
676
+ - spec/services/middleware/endpoints/inter_resource_remote_spec.rb
677
+ - spec/services/middleware/endpoints/inter_resource_local_spec.rb
678
+ - spec/services/middleware/exception_reporting/base_reporter_spec.rb
679
+ - spec/services/middleware/exception_reporting/exception_reporting_spec.rb
680
+ - spec/services/middleware/exception_reporting/reporters/airbrake_reporter_spec.rb
681
+ - spec/services/middleware/middleware_create_update_spec.rb
614
682
  - spec/services/middleware/middleware_public_spec.rb
615
- - spec/services/middleware/middleware_spec.rb
616
- - spec/services/middleware/amqp_log_writer_spec.rb
617
- - spec/services/middleware/middleware_multi_local_spec.rb
683
+ - spec/services/middleware/middleware_assumed_identity_spec.rb
618
684
  - spec/services/middleware/middleware_cors_spec.rb
619
685
  - spec/services/middleware/middleware_logging_spec.rb
620
686
  - spec/services/middleware/string_inquirer_spec.rb
621
- - spec/services/middleware/middleware_permissions_spec.rb
622
- - spec/services/middleware/exception_reporting/reporters/airbrake_reporter_spec.rb
623
- - spec/services/middleware/exception_reporting/base_reporter_spec.rb
624
- - spec/services/middleware/exception_reporting/exception_reporting_spec.rb
625
- - spec/services/middleware/middleware_assumed_identity_spec.rb
626
- - spec/services/middleware/middleware_multi_remote_spec.rb
627
- - spec/services/middleware/endpoints/inter_resource_local_spec.rb
628
- - spec/services/middleware/endpoints/inter_resource_remote_spec.rb
629
687
  - spec/services/middleware/middleware_dated_at_spec.rb
630
- - spec/services/discovery/discoverers/by_convention_spec.rb
631
- - spec/services/discovery/discoverers/by_drb/by_drb_spec.rb
632
- - spec/services/discovery/discoverers/by_drb/drb_server_spec.rb
633
- - spec/services/discovery/discoverers/by_flux_spec.rb
634
- - spec/services/discovery/discovery_spec.rb
635
- - spec/services/discovery/results/for_local_spec.rb
688
+ - spec/services/middleware/middleware_multi_remote_spec.rb
689
+ - spec/services/middleware/middleware_multi_local_spec.rb
690
+ - spec/services/middleware/middleware_permissions_spec.rb
691
+ - spec/services/middleware/middleware_spec.rb
692
+ - spec/services/middleware/amqp_log_writer_spec.rb
636
693
  - spec/services/discovery/results/for_http_spec.rb
637
694
  - spec/services/discovery/results/for_amqp_spec.rb
695
+ - spec/services/discovery/results/for_local_spec.rb
638
696
  - spec/services/discovery/results/for_remote_spec.rb
639
- - spec/new_relic/agent/logger.rb
640
- - spec/new_relic/agent/transaction.rb
641
- - spec/new_relic/agent/method_tracer.rb
642
- - spec/monkey/monkey_spec.rb
643
- - spec/monkey/patch/datadog_traced_amqp_spec.rb
644
- - spec/monkey/patch/newrelic_traced_amqp_spec.rb
645
- - spec/monkey/patch/newrelic_middleware_analytics_spec.rb
646
- - spec/client/paginated_enumeration_spec.rb
647
- - spec/client/augmented_array_spec.rb
648
- - spec/client/augmented_hash_spec.rb
649
- - spec/client/augmented_base_spec.rb
650
- - spec/client/headers_spec.rb
651
- - spec/client/client_spec.rb
652
- - spec/client/endpoint/endpoint_spec.rb
653
- - spec/client/endpoint/endpoints/not_found_spec.rb
654
- - spec/client/endpoint/endpoints/http_based_spec.rb
655
- - spec/client/endpoint/endpoints/amqp_spec.rb
656
- - spec/client/endpoint/endpoints/auto_session_spec.rb
657
- - spec/client/endpoint/endpoints/http_spec.rb
697
+ - spec/services/discovery/discoverers/by_flux_spec.rb
698
+ - spec/services/discovery/discoverers/by_drb/by_drb_spec.rb
699
+ - spec/services/discovery/discoverers/by_drb/drb_server_spec.rb
700
+ - spec/services/discovery/discoverers/by_convention_spec.rb
701
+ - spec/services/discovery/discovery_spec.rb
702
+ - spec/services/services/implementation_spec.rb
703
+ - spec/services/services/interface_spec.rb
704
+ - spec/services/services/request_spec.rb
705
+ - spec/services/services/application_spec.rb
706
+ - spec/services/services/response_spec.rb
707
+ - spec/services/services/permissions_spec.rb
708
+ - spec/services/services/context_spec.rb
709
+ - spec/services/services/session_spec.rb
658
710
  - spec/shared_examples/middleware_amqp.rb
659
- - spec/utilities/utilities_spec.rb
660
- - spec/utilities/uuid_spec.rb
661
- - spec/presenters/base_dsl_spec.rb
662
- - spec/presenters/types/field_spec.rb
663
- - spec/presenters/types/object_spec.rb
664
- - spec/presenters/types/string_spec.rb
665
- - spec/presenters/types/hash_spec.rb
666
- - spec/presenters/types/date_time_spec.rb
667
- - spec/presenters/types/enum_spec.rb
668
- - spec/presenters/types/tags_spec.rb
669
- - spec/presenters/types/boolean_spec.rb
670
- - spec/presenters/types/text_spec.rb
671
- - spec/presenters/types/uuid_spec.rb
672
- - spec/presenters/types/decimal_spec.rb
673
- - spec/presenters/types/array_spec.rb
674
- - spec/presenters/types/float_spec.rb
675
- - spec/presenters/types/date_spec.rb
676
- - spec/presenters/types/integer_spec.rb
677
- - spec/presenters/walk_spec.rb
678
- - spec/presenters/base_spec.rb
679
- - spec/presenters/common_resource_fields_spec.rb
680
- - spec/presenters/embedding_spec.rb
681
- - spec/newrelic_rpm.rb
682
- - spec/logger/writers/stream_writer_spec.rb
683
- - spec/logger/writers/log_entries_dot_com_writer_spec.rb
684
- - spec/logger/writers/file_writer_spec.rb
685
- - spec/logger/slow_writer_spec.rb
686
- - spec/logger/logger_spec.rb
687
- - spec/logger/fast_writer_spec.rb
688
- - spec/spec_helper.rb
689
- - spec/transient_store/transient_store_spec.rb
690
- - spec/transient_store/transient_store/redis_spec.rb
691
- - spec/transient_store/transient_store/base_spec.rb
692
- - spec/transient_store/transient_store/mocks/redis_spec.rb
693
- - spec/transient_store/transient_store/mocks/dalli_client_spec.rb
694
- - spec/transient_store/transient_store/memcached_redis_mirror_spec.rb
695
- - spec/transient_store/transient_store/memcached_spec.rb
696
- - spec/active/active_record/dated_spec.rb
697
- - spec/active/active_record/manually_dated_spec.rb
698
- - spec/active/active_record/writer_spec.rb
699
- - spec/active/active_record/error_mapping_spec.rb
700
- - spec/active/active_record/finder_spec.rb
701
- - spec/active/active_record/secure_spec.rb
702
- - spec/active/active_record/creator_spec.rb
703
- - spec/active/active_record/support_spec.rb
704
- - spec/active/active_record/error_mapping_shared_context.rb
705
- - spec/active/active_record/translated_spec.rb
706
- - spec/active/active_record/security_helper_spec.rb
707
- - spec/active/active_record/base_spec.rb
708
- - spec/active/active_record/search_helper_spec.rb
709
- - spec/active/active_record/uuid_spec.rb
710
- - spec/communicators/pool_spec.rb
711
- - spec/communicators/slow_spec.rb
712
- - spec/communicators/fast_spec.rb
711
+ - spec/errors/error_descriptions_spec.rb
712
+ - spec/errors/errors_spec.rb