hiera-zookeeper 0.1.2 → 0.1.3

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.
@@ -56,11 +56,11 @@ class Hiera
56
56
  break
57
57
  end
58
58
  end
59
- zk.close
59
+ zk.close if !zk.nil?
60
60
  return answer
61
61
 
62
62
  rescue ZookeeperExceptions::ZookeeperException, RuntimeError
63
- zk.close
63
+ zk.close if !zk.nil?
64
64
  return nil
65
65
  end
66
66
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hiera-zookeeper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Some Dude
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2012-04-11 00:00:00 -05:00
12
+ date: 2012-06-11 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -28,9 +28,9 @@ dependencies:
28
28
  version_requirement:
29
29
  version_requirements: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - <=
32
32
  - !ruby/object:Gem::Version
33
- version: "0"
33
+ version: 0.4.4
34
34
  version:
35
35
  description:
36
36
  email: