action_subscriber 5.3.0-java → 5.3.2-java

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: 0c4c2bfeea6979fa646b468dd84d024cc9bc8776f2c639078a95e31e72604884
4
- data.tar.gz: fe44d16b9a3c32dd6d794d79f8e68a45ef7575f172b1d18b65846a70df9ca15d
3
+ metadata.gz: 800f9883cc51d3be5affb3f4b5158341bc72cb935c3f7590d0b5de7490843473
4
+ data.tar.gz: f60298846b87042791698c7900cd3d8769c9a1ab1b8d7ba521d3541d548ac977
5
5
  SHA512:
6
- metadata.gz: 17f409de0d99191dd03f75d37b1cb410424f0995c3b4b3ec6832a855963c2c454464936b54bcb2e1be6d9e31d819c6828d43534d7aa560bfa405bcfc6ca6b160
7
- data.tar.gz: 67a0710cc53280483a7ec91a7083c30953c0e3845c936755317c8e1a3aa959ae93cc050fb49b440f1d649b383b5212deb7a6a9f9991f18a8505cc7c839e311e8
6
+ metadata.gz: 481cb9ccf335b441fe4d5b50bed7be649a0722547662e51b266c7ab001f2a52b7de47b3fdae231f89dfe50747ca394f8a85a226ad53bd33e8b61680a51ed7ad8
7
+ data.tar.gz: 77d3bb7ce0da7975fadda3c0a18c93cf157a0b8792825a296637d90c6d6ee816fdbac7471c7e1086ac3755a6d0b5d6f2ffe652545484adb7c8d8b71285cb3dda
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
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
2
+ lib = File.expand_path("../lib", __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'action_subscriber/version'
4
+ require "action_subscriber/version"
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "action_subscriber"
@@ -18,17 +18,17 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency 'activesupport', '>= 3.2'
21
+ spec.add_dependency "activesupport", ">= 3.2"
22
22
 
23
- if ENV['PLATFORM'] == "java" || ::RUBY_PLATFORM == 'java'
23
+ if ENV["PLATFORM"] == "java" || ::RUBY_PLATFORM == "java"
24
24
  spec.platform = "java"
25
- spec.add_dependency 'march_hare', '~> 4.4'
25
+ spec.add_dependency "march_hare", "~> 4.4"
26
26
  else
27
- spec.add_dependency 'bunny', '>= 1.5.0'
27
+ spec.add_dependency "bunny", ">= 1.5.0"
28
28
  end
29
- spec.add_dependency 'concurrent-ruby'
30
- spec.add_dependency 'middleware'
31
- spec.add_dependency 'thor'
29
+ spec.add_dependency "concurrent-ruby"
30
+ spec.add_dependency "middleware"
31
+ spec.add_dependency "thor"
32
32
 
33
33
  spec.add_development_dependency "active_publisher", "~> 0.1.5"
34
34
  spec.add_development_dependency "activerecord", ">= 3.2"
@@ -68,12 +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
72
- if defined?(SafeYAML)
73
- yaml_config = ::YAML.load(erb, :safe => true)[env]
74
- else
75
- yaml_config = ::YAML.load(erb)[env]
76
- end
71
+ erb_yaml = ::ERB.new(::File.read(absolute_config_path)).result
72
+ # Defined in Psych 3.2+ and the new canonical way to load trusted documents:
73
+ # https://github.com/ruby/psych/issues/533#issuecomment-1019363688
74
+ yaml_config = ::YAML.respond_to?(:unsafe_load) ? ::YAML.unsafe_load(erb_yaml)[env] : ::YAML.load(erb_yaml)[env]
77
75
  end
78
76
 
79
77
  ::ActionSubscriber::Configuration::DEFAULTS.each_pair do |key, value|
@@ -1,3 +1,3 @@
1
1
  module ActionSubscriber
2
- VERSION = "5.3.0"
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.0
4
+ version: 5.3.2
5
5
  platform: java
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-02-22 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
  requirement: !ruby/object:Gem::Requirement
@@ -300,7 +300,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
300
300
  - !ruby/object:Gem::Version
301
301
  version: '0'
302
302
  requirements: []
303
- rubygems_version: 3.2.30
303
+ rubygems_version: 3.3.13
304
304
  signing_key:
305
305
  specification_version: 4
306
306
  summary: ActionSubscriber is a DSL that allows a rails app to consume messages from