Skip to content

Commit

Permalink
only require backports for 1.8.7, bump version to 1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
slyphon committed May 11, 2012
1 parent 362db55 commit 5e66076
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
@@ -1,3 +1,7 @@
v1.0.6 Only include backports if RUBY_VERSION is 1.8.x

* 'backports' pollutes too much, use sparingly

v1.0.5 Minor cleanup

* Fix the InheritedConnectionError message
Expand Down
4 changes: 1 addition & 3 deletions lib/zookeeper.rb
Expand Up @@ -11,9 +11,7 @@ module Zookeeper

require File.expand_path('../zookeeper/core_ext', __FILE__)

silence_warnings do
require 'backports'
end
require 'backports' if RUBY_VERSION =~ /\A1\.8\./

require_relative 'zookeeper/logger'
require_relative 'zookeeper/forked'
Expand Down
2 changes: 1 addition & 1 deletion lib/zookeeper/version.rb
@@ -1,4 +1,4 @@
module Zookeeper
VERSION = '1.0.5'
VERSION = '1.0.6'
DRIVER_VERSION = '3.3.5'
end

0 comments on commit 5e66076

Please sign in to comment.