zookeeper 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ v1.0.6 Only include backports if RUBY_VERSION is 1.8.x
2
+
3
+ * 'backports' pollutes too much, use sparingly
4
+
1
5
  v1.0.5 Minor cleanup
2
6
 
3
7
  * Fix the InheritedConnectionError message
@@ -1,4 +1,4 @@
1
1
  module Zookeeper
2
- VERSION = '1.0.5'
2
+ VERSION = '1.0.6'
3
3
  DRIVER_VERSION = '3.3.5'
4
4
  end
data/lib/zookeeper.rb CHANGED
@@ -11,9 +11,7 @@ end
11
11
 
12
12
  require File.expand_path('../zookeeper/core_ext', __FILE__)
13
13
 
14
- silence_warnings do
15
- require 'backports'
16
- end
14
+ require 'backports' if RUBY_VERSION =~ /\A1\.8\./
17
15
 
18
16
  require_relative 'zookeeper/logger'
19
17
  require_relative 'zookeeper/forked'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zookeeper
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 5
10
- version: 1.0.5
9
+ - 6
10
+ version: 1.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Phillip Pearson