action_subscriber 5.1.1.pre0-java → 5.1.2-java

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
- SHA256:
3
- metadata.gz: a91bddc9c007b46b3e44d0190f93802b83c0ff978d7e3b12a888573d47f9aaf8
4
- data.tar.gz: 4c00e6bbd1f24741c6422bf3a534f7e407121e518bab45065e5f8d052a8b7763
2
+ SHA1:
3
+ metadata.gz: 20e6d78577bea4f489547fcca7954f40868ae862
4
+ data.tar.gz: 4be4767ef821deecf38300f4c586b9f3eb1c5a2c
5
5
  SHA512:
6
- metadata.gz: adaa03221c239c9b6b3c03f00a828b53ca2060fa55ba1756280691f6f1365c5793db5053bd0baef8d8488b3b8285037c9b2102047ffe6c775583c75c83110638
7
- data.tar.gz: a31c9b83edbf98546301cc4046163e74db0d981fd5453386a9514391396bc0eb5af934dad1935e19cdcb1018970422503b72769d5439d6a918f609ed9a45bbdb
6
+ metadata.gz: d50843c6fa2dc8c67c83afe1776cd970ff7fa98011adeb990b3e800782418f1065e6e82acdb363a42b46e9a6e2114d43862806790881c536615a409d15ee8a61
7
+ data.tar.gz: 2faf727da5af9999cc8cbdf4d309c4994ca08987a54cc41b9d6a4a62d94d2386b74b7820e734710669ebb76dd097499c3be3e4a61b9e6ab2181990a14c861bc3
@@ -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
- yaml_config = ::YAML.load(::ERB.new(::File.read(absolute_config_path)).result)[env]
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|
@@ -1,3 +1,3 @@
1
1
  module ActionSubscriber
2
- VERSION = "5.1.1.pre0"
2
+ VERSION = "5.1.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.1.1.pre0
4
+ version: 5.1.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: 2018-02-22 00:00:00.000000000 Z
15
+ date: 2018-07-26 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  requirement: !ruby/object:Gem::Requirement
@@ -292,12 +292,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
292
292
  version: '0'
293
293
  required_rubygems_version: !ruby/object:Gem::Requirement
294
294
  requirements:
295
- - - ">"
295
+ - - ">="
296
296
  - !ruby/object:Gem::Version
297
- version: 1.3.1
297
+ version: '0'
298
298
  requirements: []
299
299
  rubyforge_project:
300
- rubygems_version: 2.6.11
300
+ rubygems_version: 2.6.14.1
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