redis-sentinel 1.1.0 → 1.1.1

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.
@@ -40,7 +40,7 @@ class Redis::Client
40
40
  begin
41
41
  host, port = sentinel.sentinel("get-master-addr-by-name", @master_name)
42
42
  if !host && !port
43
- raise Redis::ConnectionError("No master named: #{@master_name}")
43
+ raise Redis::ConnectionError.new("No master named: #{@master_name}")
44
44
  end
45
45
  @options.merge!(host: host, port: port.to_i)
46
46
 
@@ -1,5 +1,5 @@
1
1
  class Redis
2
2
  module Sentinel
3
- VERSION = "1.1.0"
3
+ VERSION = "1.1.1"
4
4
  end
5
5
  end
@@ -8,8 +8,8 @@ Gem::Specification.new do |gem|
8
8
  gem.version = Redis::Sentinel::VERSION
9
9
  gem.authors = ["Richard Huang"]
10
10
  gem.email = ["flyerhzm@gmail.com"]
11
- gem.description = %q{monkey patch redis-rb to support redis sentinel}
12
- gem.summary = %q{monkey patch redis-rb to support redis sentinel}
11
+ gem.description = %q{another redis automatic master/slave failover solution for ruby by using built-in redis sentinel}
12
+ gem.summary = %q{another redis automatic master/slave failover solution for ruby by using built-in redis sentinel}
13
13
  gem.homepage = "https://github.com/flyerhzm/redis-sentinel"
14
14
 
15
15
  gem.files = `git ls-files`.split($/)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redis-sentinel
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-13 00:00:00.000000000 Z
12
+ date: 2013-01-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: redis
@@ -43,7 +43,8 @@ dependencies:
43
43
  - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
45
  version: '0'
46
- description: monkey patch redis-rb to support redis sentinel
46
+ description: another redis automatic master/slave failover solution for ruby by using
47
+ built-in redis sentinel
47
48
  email:
48
49
  - flyerhzm@gmail.com
49
50
  executables: []
@@ -89,7 +90,8 @@ rubyforge_project:
89
90
  rubygems_version: 1.8.24
90
91
  signing_key:
91
92
  specification_version: 3
92
- summary: monkey patch redis-rb to support redis sentinel
93
+ summary: another redis automatic master/slave failover solution for ruby by using
94
+ built-in redis sentinel
93
95
  test_files:
94
96
  - spec/redis-sentinel/client_spec.rb
95
97
  - spec/spec_helper.rb