Skip to content

Commit 9c82354

Browse files
committed
Merge remote-tracking branch 'origin/master' into 3.3
2 parents 220c364 + 1ae5ce5 commit 9c82354

File tree

6 files changed

+21
-13
lines changed

6 files changed

+21
-13
lines changed

.travis.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ rvm:
66
- 2.0
77
- 2.1
88
- 2.2
9+
- 2.3.0
910
- jruby-18mode
1011
- jruby-19mode
12+
- jruby-9.0.5.0
1113
- rbx-2
1214

1315
gemfile: ".travis/Gemfile"
@@ -37,6 +39,9 @@ matrix:
3739
- rvm: jruby-19mode
3840
gemfile: .travis/Gemfile
3941
env: conn=hiredis REDIS_BRANCH=2.8
42+
- rvm: jruby-9.0.5.0
43+
gemfile: .travis/Gemfile
44+
env: conn=hiredis REDIS_BRANCH=2.8
4045

4146
# synchrony
4247
- rvm: 1.8.7
@@ -48,12 +53,13 @@ matrix:
4853
- rvm: jruby-19mode
4954
gemfile: .travis/Gemfile
5055
env: conn=synchrony REDIS_BRANCH=2.8
56+
- rvm: jruby-9.0.5.0
57+
gemfile: .travis/Gemfile
58+
env: conn=synchrony REDIS_BRANCH=2.8
5159
allow_failures:
5260
- rvm: rbx-2
5361

5462
notifications:
5563
irc:
5664
- irc.freenode.net#redis-rb
57-
email:
58-
59-
65+
email: false

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,9 +332,11 @@ This library is tested using [Travis][travis-home], where it is tested
332332
against the following interpreters and drivers:
333333

334334
* MRI 1.8.7 (drivers: ruby, hiredis)
335-
* MRI 1.9.2 (drivers: ruby, hiredis, synchrony)
336335
* MRI 1.9.3 (drivers: ruby, hiredis, synchrony)
337-
* MRI 2.0.0 (drivers: ruby, hiredis, synchrony)
336+
* MRI 2.0 (drivers: ruby, hiredis, synchrony)
337+
* MRI 2.1 (drivers: ruby, hiredis, synchrony)
338+
* MRI 2.2 (drivers: ruby, hiredis, synchrony)
339+
* MRI 2.3 (drivers: ruby, hiredis, synchrony)
338340
* JRuby 1.7 (1.8 mode) (drivers: ruby)
339341
* JRuby 1.7 (1.9 mode) (drivers: ruby)
340342

lib/redis.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ def mget(*keys, &blk)
884884
# Get the values of all the given keys.
885885
#
886886
# @example
887-
# redis.mapped_mget("key1", "key1")
887+
# redis.mapped_mget("key1", "key2")
888888
# # => { "key1" => "v1", "key2" => "v2" }
889889
#
890890
# @param [Array<String>] keys array of keys

redis.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ Gem::Specification.new do |s|
3939
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
4040
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
4141

42-
s.add_development_dependency("rake")
43-
s.add_development_dependency("test-unit")
42+
s.add_development_dependency("rake", "<11.0.0")
43+
s.add_development_dependency("test-unit", "3.1.5")
4444
end

test/distributed_internals_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def test_colliding_node_ids
7272
nodes = ["redis://localhost:#{PORT}/15", "redis://localhost:#{PORT}/15", *NODES]
7373

7474
assert_raise(RuntimeError) do
75-
redis = Redis::Distributed.new nodes
75+
Redis::Distributed.new nodes
7676
end
7777
end
7878

test/lint/sorted_sets.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ def test_zadd
3939
# INCR option
4040
assert_equal 1.0, r.zadd("foo", 1, "s1", :incr => true)
4141
assert_equal 11.0, r.zadd("foo", 10, "s1", :incr => true)
42-
assert_equal -Infinity, r.zadd("bar", "-inf", "s1", :incr => true)
43-
assert_equal +Infinity, r.zadd("bar", "+inf", "s2", :incr => true)
42+
assert_equal(-Infinity, r.zadd("bar", "-inf", "s1", :incr => true))
43+
assert_equal(+Infinity, r.zadd("bar", "+inf", "s2", :incr => true))
4444
r.del "foo", "bar"
4545

4646
# Incompatible options combination
@@ -101,8 +101,8 @@ def test_variadic_zadd
101101
# INCR option
102102
assert_equal 1.0, r.zadd("foo", [1, "s1"], :incr => true)
103103
assert_equal 11.0, r.zadd("foo", [10, "s1"], :incr => true)
104-
assert_equal -Infinity, r.zadd("bar", ["-inf", "s1"], :incr => true)
105-
assert_equal +Infinity, r.zadd("bar", ["+inf", "s2"], :incr => true)
104+
assert_equal(-Infinity, r.zadd("bar", ["-inf", "s1"], :incr => true))
105+
assert_equal(+Infinity, r.zadd("bar", ["+inf", "s2"], :incr => true))
106106
assert_raise(Redis::CommandError) { r.zadd("foo", [1, "s1", 2, "s2"], :incr => true) }
107107
r.del "foo", "bar"
108108

0 commit comments

Comments
 (0)