cncflora_commons 0.0.17 → 0.0.18

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 +1 -1
  2. metadata +1 -1
@@ -189,7 +189,7 @@ def onchange(etcd,prefix="")
189
189
  Thread.new do
190
190
  last = ""
191
191
  while true do
192
- actual = Net::HTTP.get(URI("#{ etcd }/v2/keys/?recursive=true"))
192
+ actual = http_get"#{ etcd }/v2/keys/?recursive=true")
193
193
  if actual != last then
194
194
  yield etcd2config(etcd,prefix)
195
195
  last = actual
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.17
4
+ version: 0.0.18
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: