action_subscriber 5.3.1 → 5.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e62303b6ad42e3f52114354bf21dbf69803e987200224c2dc19dfa74afc10825
4
- data.tar.gz: 2379f2baafb8f997d94c0306dc22d7d81c3c10bda6607f9bcf1a7a42e22923a5
3
+ metadata.gz: 1104ecc3908906826c8b76f58d636344b13386a467daf0a15cb7235be37e1698
4
+ data.tar.gz: ee2e6f6992dbebf74bf7a5e474cd0c330789fa6c8157a4877d4c347ce9feea1c
5
5
  SHA512:
6
- metadata.gz: 48237bba818e42e505b90d5fb8fcb7d287d88824789c3ba0fc6b2e9b3da763c93223a0a3ef90bdbdfb66ae63cb6ad295bdaccf8d452ea72c6c016ac146d81b1d
7
- data.tar.gz: 076ae5973b5b7f524456df92f655018bc189f663a4f7c9ce8014e784a7669bf538bfdf35807153a2a0680a154e441c8b697e8e7dc491a128e305cb3041b056b5
6
+ metadata.gz: 19e908e2aa6e240b426cd453bdd1f76330a853988525ef517752ea923162762633ae193a7f0c0bfc5fd093271fe2b020792a5132bdbf9f3b08537ebe574f4322
7
+ data.tar.gz: 0a8b9f2851aff981f1b6e8f62902de33e6c13fd90ad0e747d44bdf4b5d65be8cafdedf174a0d7c0f39fe76783050c62c6c6b6b618f0b92edca07a4bd3f822ded
data/.circleci/config.yml CHANGED
@@ -54,8 +54,9 @@ workflows:
54
54
  matrix:
55
55
  parameters:
56
56
  ruby-image:
57
- - circleci/ruby:2.5
58
57
  - circleci/ruby:2.6
59
58
  - circleci/ruby:2.7
59
+ - cimg/ruby:3.0
60
+ - cimg/ruby:3.1
60
61
  - circleci/jruby:9.2
61
62
  - circleci/jruby:9.3
@@ -28,7 +28,6 @@ Gem::Specification.new do |spec|
28
28
  end
29
29
  spec.add_dependency "concurrent-ruby"
30
30
  spec.add_dependency "middleware"
31
- spec.add_dependency "psych", ">= 3.3.2"
32
31
  spec.add_dependency "thor"
33
32
 
34
33
  spec.add_development_dependency "active_publisher", "~> 0.1.5"
@@ -68,10 +68,10 @@ module ActionSubscriber
68
68
  yaml_config = {}
69
69
  absolute_config_path = ::File.expand_path(::File.join("config", "action_subscriber.yml"))
70
70
  if ::File.exists?(absolute_config_path)
71
- erb = ::ERB.new(::File.read(absolute_config_path)).result
71
+ erb_yaml = ::ERB.new(::File.read(absolute_config_path)).result
72
72
  # Defined in Psych 3.2+ and the new canonical way to load trusted documents:
73
73
  # https://github.com/ruby/psych/issues/533#issuecomment-1019363688
74
- yaml_config = ::YAML.unsafe_load(erb)[env]
74
+ yaml_config = ::YAML.respond_to?(:unsafe_load) ? ::YAML.unsafe_load(erb_yaml)[env] : ::YAML.load(erb_yaml)[env]
75
75
  end
76
76
 
77
77
  ::ActionSubscriber::Configuration::DEFAULTS.each_pair do |key, value|
@@ -1,3 +1,3 @@
1
1
  module ActionSubscriber
2
- VERSION = "5.3.1"
2
+ VERSION = "5.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_subscriber
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.3.1
4
+ version: 5.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Stien
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2022-05-05 00:00:00.000000000 Z
15
+ date: 2022-05-10 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: activesupport
@@ -70,20 +70,6 @@ dependencies:
70
70
  - - ">="
71
71
  - !ruby/object:Gem::Version
72
72
  version: '0'
73
- - !ruby/object:Gem::Dependency
74
- name: psych
75
- requirement: !ruby/object:Gem::Requirement
76
- requirements:
77
- - - ">="
78
- - !ruby/object:Gem::Version
79
- version: 3.3.2
80
- type: :runtime
81
- prerelease: false
82
- version_requirements: !ruby/object:Gem::Requirement
83
- requirements:
84
- - - ">="
85
- - !ruby/object:Gem::Version
86
- version: 3.3.2
87
73
  - !ruby/object:Gem::Dependency
88
74
  name: thor
89
75
  requirement: !ruby/object:Gem::Requirement
@@ -314,7 +300,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
314
300
  - !ruby/object:Gem::Version
315
301
  version: '0'
316
302
  requirements: []
317
- rubygems_version: 3.3.12
303
+ rubygems_version: 3.3.7
318
304
  signing_key:
319
305
  specification_version: 4
320
306
  summary: ActionSubscriber is a DSL that allows a rails app to consume messages from