nutcracker 0.4.1.21 → 0.4.1.22

Sign up to get free protection for your applications and to get access to all the features.
@@ -141,7 +141,7 @@ module Nutcracker
141
141
  # Returns hash with information about a given Redis
142
142
  def redis_info url
143
143
  begin
144
- r = Redis.connect url: url
144
+ r = Redis.new url: url
145
145
  info = r.info.merge 'dbsize' => r.dbsize
146
146
  rescue Exception
147
147
  return {}
@@ -1,3 +1,3 @@
1
1
  module Nutcracker
2
- VERSION = "0.4.1.21"
2
+ VERSION = "0.4.1.22"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nutcracker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1.21
4
+ version: 0.4.1.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eran Barak Levi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-25 00:00:00.000000000 Z
11
+ date: 2017-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -42,16 +42,16 @@ dependencies:
42
42
  name: redis
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "<"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 4.0.0
47
+ version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "<"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 4.0.0
54
+ version: '0'
55
55
  description: Gem wrapper for Twitter's Nutcracker
56
56
  email: eran@kontera.com
57
57
  executables: