cncflora_commons 0.0.35 → 0.0.36

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/cncflora_commons.rb +3 -3
  2. metadata +1 -1
@@ -87,9 +87,9 @@ def setup(file)
87
87
  }
88
88
  }
89
89
 
90
- if @config["etcd"] || ENV["ETCD"] then
91
- etcd_cfg = etcd2config(@config["etcd"] || ENV["ETCD"])
92
- onchange(@config["etcd"] || ENV["ETCD"]) do |newconfig|
90
+ if ENV["ETCD"] || @config["etcd"] then
91
+ etcd_cfg = etcd2config(ENV["ETCD"] || @config["etcd"])
92
+ onchange(ENV["ETCD"] || @config["etcd"]) do |newconfig|
93
93
  newconfig.each {|k,v| @config[k] = v }
94
94
  if defined? settings then
95
95
  newconfig.each {|k,v| set k.to_sym,v }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cncflora_commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.35
4
+ version: 0.0.36
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: