active_publisher 1.0.0.pre4-java → 1.0.1-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 +4 -4
- data/README.md +1 -1
- data/lib/active_publisher/configuration.rb +2 -2
- data/lib/active_publisher/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a934911083f4ab8c040802a00a0b5e7c705291b9
|
|
4
|
+
data.tar.gz: 2187f2189f1bd5d2dd849ff6d785fba1e9b117bc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 274e746c7bcd7dcff645b611e127567e299d955ecdd4d1450dc2bbf5291415a8146a13c8d27beb595c2c79952088d57efd6ef17eaaae9b374bd074affdff9b41
|
|
7
|
+
data.tar.gz: edf1eb6797dd0e82b8fa6891a187861ab3fac1c0aa8284606ef3907c91bfc48cf797ad793392066b01d49226329be686baa72a4d6934fd249b172db84f8646a1
|
data/README.md
CHANGED
|
@@ -22,7 +22,7 @@ Or install it yourself as:
|
|
|
22
22
|
|
|
23
23
|
## Configuration
|
|
24
24
|
|
|
25
|
-
ActivePublisher will use a `config/active_publisher.yml` or `config/action_subscriber.yml`
|
|
25
|
+
ActivePublisher will use a `config/active_publisher.yml` or `config/action_subscriber.yml` if you include the line `::ActivePublisher::Configuration.configure_from_yaml_and_cli` in an initializer.
|
|
26
26
|
|
|
27
27
|
Create a `config/active_publisher.yml` similar to a database.yml, with your configuration nested in your environments keys.
|
|
28
28
|
|
|
@@ -74,9 +74,9 @@ module ActivePublisher
|
|
|
74
74
|
absolute_config_path = ::File.expand_path(::File.join("config", "active_publisher.yml"))
|
|
75
75
|
action_subscriber_config_file = ::File.expand_path(::File.join("config", "action_subscriber.yml"))
|
|
76
76
|
if ::File.exists?(absolute_config_path)
|
|
77
|
-
yaml_config = ::YAML.
|
|
77
|
+
yaml_config = ::YAML.load(::ERB.new(::File.read(absolute_config_path)).result)[env]
|
|
78
78
|
elsif ::File.exists?(action_subscriber_config_file)
|
|
79
|
-
yaml_config = ::YAML.
|
|
79
|
+
yaml_config = ::YAML.load(::ERB.new(::File.read(action_subscriber_config_file)).result)[env]
|
|
80
80
|
end
|
|
81
81
|
yaml_config
|
|
82
82
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: active_publisher
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: java
|
|
6
6
|
authors:
|
|
7
7
|
- Brian Stien
|
|
@@ -12,7 +12,7 @@ authors:
|
|
|
12
12
|
autorequire:
|
|
13
13
|
bindir: exe
|
|
14
14
|
cert_chain: []
|
|
15
|
-
date: 2017-09-
|
|
15
|
+
date: 2017-09-24 00:00:00.000000000 Z
|
|
16
16
|
dependencies:
|
|
17
17
|
- !ruby/object:Gem::Dependency
|
|
18
18
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -159,9 +159,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
159
159
|
version: '0'
|
|
160
160
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
161
161
|
requirements:
|
|
162
|
-
- - "
|
|
162
|
+
- - ">="
|
|
163
163
|
- !ruby/object:Gem::Version
|
|
164
|
-
version:
|
|
164
|
+
version: '0'
|
|
165
165
|
requirements: []
|
|
166
166
|
rubyforge_project:
|
|
167
167
|
rubygems_version: 2.6.13
|