action_subscriber 5.3.0 → 5.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +2 -1
- data/action_subscriber.gemspec +9 -9
- data/lib/action_subscriber/configuration.rb +4 -6
- data/lib/action_subscriber/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1104ecc3908906826c8b76f58d636344b13386a467daf0a15cb7235be37e1698
|
4
|
+
data.tar.gz: ee2e6f6992dbebf74bf7a5e474cd0c330789fa6c8157a4877d4c347ce9feea1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19e908e2aa6e240b426cd453bdd1f76330a853988525ef517752ea923162762633ae193a7f0c0bfc5fd093271fe2b020792a5132bdbf9f3b08537ebe574f4322
|
7
|
+
data.tar.gz: 0a8b9f2851aff981f1b6e8f62902de33e6c13fd90ad0e747d44bdf4b5d65be8cafdedf174a0d7c0f39fe76783050c62c6c6b6b618f0b92edca07a4bd3f822ded
|
data/.circleci/config.yml
CHANGED
data/action_subscriber.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# coding: utf-8
|
2
|
-
lib = File.expand_path(
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require
|
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
|
21
|
+
spec.add_dependency "activesupport", ">= 3.2"
|
22
22
|
|
23
|
-
if ENV[
|
23
|
+
if ENV["PLATFORM"] == "java" || ::RUBY_PLATFORM == "java"
|
24
24
|
spec.platform = "java"
|
25
|
-
spec.add_dependency
|
25
|
+
spec.add_dependency "march_hare", "~> 4.4"
|
26
26
|
else
|
27
|
-
spec.add_dependency
|
27
|
+
spec.add_dependency "bunny", ">= 1.5.0"
|
28
28
|
end
|
29
|
-
spec.add_dependency
|
30
|
-
spec.add_dependency
|
31
|
-
spec.add_dependency
|
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
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
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|
|
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.
|
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-
|
15
|
+
date: 2022-05-10 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: activesupport
|
@@ -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.
|
303
|
+
rubygems_version: 3.3.7
|
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
|