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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 62c40fc3b4eae2a68534b211497c7b61f2ab1c18
4
- data.tar.gz: f4022849286a64402c6bf03466c28335484cb820
3
+ metadata.gz: a934911083f4ab8c040802a00a0b5e7c705291b9
4
+ data.tar.gz: 2187f2189f1bd5d2dd849ff6d785fba1e9b117bc
5
5
  SHA512:
6
- metadata.gz: 5f35810e0e7c1ac8b56a63a21f7ffde04ff216c93291e4869f39bf157b10382cbd0f3adfdf07d21ab6ba25c6d116f09537859e4e2d6624444848589ae0256b3a
7
- data.tar.gz: d67ffe6a6e10a15195f9ea95098e4aee107b3abfea33250a0812be768532d04c1c09491e9d9e1f08da0575eb72c4b9d44f2c99e0f69d27128ae6c6265c81dc3c
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` automatically.
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.load_file(absolute_config_path)[env]
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.load_file(action_subscriber_config_file)[env]
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
@@ -1,3 +1,3 @@
1
1
  module ActivePublisher
2
- VERSION = "1.0.0.pre4"
2
+ VERSION = "1.0.1"
3
3
  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.0.pre4
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-05 00:00:00.000000000 Z
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: 1.3.1
164
+ version: '0'
165
165
  requirements: []
166
166
  rubyforge_project:
167
167
  rubygems_version: 2.6.13