action_subscriber 5.1.1 → 5.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/action_subscriber/configuration.rb +6 -1
- data/lib/action_subscriber/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 5b6dd62b9d5f71b0f161b71a7cf59a485178d9fe2056ae79554b9bdad48b61e9
|
4
|
+
data.tar.gz: 6bdb8e90b287c2d14ff429e34b7c6892fe19544f1625a1f7df80de4e7a0dbb09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7cb13e80ea9341fa93ce77474463fde461b962065a65e1d7c9789b1e99cbe87ab2719139de583f51445f8ab4894406b29e5993e9042f2f93239b47f29fb00206
|
7
|
+
data.tar.gz: 95227585a26ffdccae8785deeb6579eff286c6ea782c5ee83934c7049355a99d2a722054866eba173e514292b01c92a57e7ab80aab4c12e9f13190c559d8cf6b
|
@@ -66,7 +66,12 @@ module ActionSubscriber
|
|
66
66
|
yaml_config = {}
|
67
67
|
absolute_config_path = ::File.expand_path(::File.join("config", "action_subscriber.yml"))
|
68
68
|
if ::File.exists?(absolute_config_path)
|
69
|
-
|
69
|
+
erb = ::ERB.new(::File.read(absolute_config_path)).result
|
70
|
+
if defined?(SafeYAML)
|
71
|
+
yaml_config = ::YAML.load(erb, :safe => true)[env]
|
72
|
+
else
|
73
|
+
yaml_config = ::YAML.load(erb)[env]
|
74
|
+
end
|
70
75
|
end
|
71
76
|
|
72
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.1.
|
4
|
+
version: 5.1.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: 2018-
|
15
|
+
date: 2018-07-26 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: activesupport
|
@@ -297,7 +297,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
297
297
|
version: '0'
|
298
298
|
requirements: []
|
299
299
|
rubyforge_project:
|
300
|
-
rubygems_version: 2.6
|
300
|
+
rubygems_version: 2.7.6
|
301
301
|
signing_key:
|
302
302
|
specification_version: 4
|
303
303
|
summary: ActionSubscriber is a DSL that allows a rails app to consume messages from
|