action_subscriber 5.3.0 → 5.3.1.pre

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: 7e335eb0bfa75bf17d2a27db0851b383dc9e624a621d3e18f1779bd50208a53e
4
- data.tar.gz: 2d55858d1ebf03f5c42fcb04f7d4ad0e236b5859df9db510db334d9b73524ea3
3
+ metadata.gz: 21dcf47b0270b6892758c13b011efe81b0490cd94dbe1e5c2ff1bb161ac2e967
4
+ data.tar.gz: 788e3c2a311dc5074afccc95fc3706deaba876e651d6cbc64244d7ec4c194c36
5
5
  SHA512:
6
- metadata.gz: c819570924299aa0d39ebced23078bdc48133f125e76e59dd62d408c014919b380862c3ad22c2505f4a379fa66f973ae31c3ff803abf63d2976e75d44204cee8
7
- data.tar.gz: 1ef6ba00566fa31c58c3eb5dc4fbfc21a30da2810156c0e9f87bf4cb829bc3e408643861fc3a3d8058cb6f3bd8343644e303f596ef71f09b4038e1c6e30eead6
6
+ metadata.gz: 4c5ccb953d65f0b739117d99a67a15320c817728f440e4e84fbbc908b520475948984815ae187e2a4d0b74b5d294b459fa5a13a2bca5bb8543dfe84a71814249
7
+ data.tar.gz: 65170bb3de8208b79ba8933e253fb2ce7b6772fa16902dc2aa2e8e0e61bd447eddd0bfd0be1a613d1b44cc33d5cdaad00345acfc61d7b3d01ea8b0fd218b7177
@@ -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,18 @@ 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 "psych", ">= 3.3.2"
32
+ spec.add_dependency "thor"
32
33
 
33
34
  spec.add_development_dependency "active_publisher", "~> 0.1.5"
34
35
  spec.add_development_dependency "activerecord", ">= 3.2"
@@ -69,11 +69,9 @@ module ActionSubscriber
69
69
  absolute_config_path = ::File.expand_path(::File.join("config", "action_subscriber.yml"))
70
70
  if ::File.exists?(absolute_config_path)
71
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
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.unsafe_load(erb)[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.1.pre"
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.1.pre
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-02-22 00:00:00.000000000 Z
15
+ date: 2022-04-27 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: activesupport
@@ -70,6 +70,20 @@ 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
73
87
  - !ruby/object:Gem::Dependency
74
88
  name: thor
75
89
  requirement: !ruby/object:Gem::Requirement
@@ -296,11 +310,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
296
310
  version: '0'
297
311
  required_rubygems_version: !ruby/object:Gem::Requirement
298
312
  requirements:
299
- - - ">="
313
+ - - ">"
300
314
  - !ruby/object:Gem::Version
301
- version: '0'
315
+ version: 1.3.1
302
316
  requirements: []
303
- rubygems_version: 3.2.3
317
+ rubygems_version: 3.3.6
304
318
  signing_key:
305
319
  specification_version: 4
306
320
  summary: ActionSubscriber is a DSL that allows a rails app to consume messages from