active_publisher 0.1.1-java → 0.1.2-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: 33775a0b28329c150a8ae008112ce951ab48b3cd
4
- data.tar.gz: c64e74e68094a50c08be47dd47b7c35618292857
3
+ metadata.gz: 2dc3638db5f4f488b85ce18e66f38bd3f31903d6
4
+ data.tar.gz: 313e9707d71e2a8a3bba6e355d653c00b0e1354b
5
5
  SHA512:
6
- metadata.gz: 01f4d58e40d82a194d443c209e80a92090534aa3734874697828f4fe236fa041f09bbb0da6d3d399a993744d744cf68ec981497437b10bf8c2f5b105f6541447
7
- data.tar.gz: 929d4a086aec154b81522b61ab9a2e018cfc2f27538b8f11f8239bad6689fe3ba5f40af98d56504a2f38684d240a7c55434f73fd7748de0d67654fb3ce5b1e66
6
+ metadata.gz: 952edb4b0352972c175b2537bb5e19f74b035bfb56f7f187926996ca20861151bda44d326df8fdf0cee5e88917bce94307df5e0198ed28cfff2093d7bea8b081
7
+ data.tar.gz: 2fade917b2ee261d64756cc740150f1b3947fffa3a4c3899da0417f59110818b149824fa32960c1c99d4ec857197d88c662c6b03c480da341560c60f25c6c2e6
@@ -43,7 +43,7 @@ module ActivePublisher
43
43
  @configure_from_yaml_and_cli ||= begin
44
44
  env = ENV["RAILS_ENV"] || ENV["RACK_ENV"] || ENV["APP_ENV"] || "development"
45
45
 
46
- yaml_config = attempt_to_load_yaml_file
46
+ yaml_config = attempt_to_load_yaml_file(env)
47
47
  DEFAULTS.each_pair do |key, value|
48
48
  setting = cli_options[key] || yaml_config[key.to_s]
49
49
  ::ActivePublisher.config.__send__("#{key}=", setting) if setting
@@ -57,7 +57,7 @@ module ActivePublisher
57
57
  ##
58
58
  # Private class methods
59
59
  #
60
- def self.attempt_to_load_yaml_file
60
+ def self.attempt_to_load_yaml_file(env)
61
61
  yaml_config = {}
62
62
  absolute_config_path = ::File.expand_path(::File.join("config", "active_publisher.yml"))
63
63
  action_subscriber_config_file = ::File.expand_path(::File.join("config", "action_subscriber.yml"))
@@ -1,3 +1,3 @@
1
1
  module ActivePublisher
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
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: 0.1.1
4
+ version: 0.1.2
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: 2016-03-25 00:00:00.000000000 Z
15
+ date: 2016-04-01 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  requirement: !ruby/object:Gem::Requirement