Skip to content

Commit

Permalink
Merge pull request redis#53 from maximebedard/bump-to-014
Browse files Browse the repository at this point in the history
Bump to 0.1.14
  • Loading branch information
rafaelfranca authored Nov 8, 2018
2 parents 5a5cf1e + 5284a04 commit a5b018b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ext/hiredis_ext/connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ static void parent_context_mark(redisParentContext *pc) {
// volatile until rb_gc_mark
volatile VALUE root;
if (pc->context && pc->context->reader) {
root = (VALUE)redisReplyReaderGetObject(pc->context->reader);
root = (VALUE)redisReaderGetObject(pc->context->reader);
if (root != 0 && TYPE(root) == T_ARRAY) {
rb_gc_mark(root);
}
Expand Down
2 changes: 1 addition & 1 deletion test/connection_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def test_connect_wrong_host
ex = assert_raises RuntimeError do
hiredis.connect("nonexisting", 6379)
end
assert ex.message =~ /(can't resolve)|(name or service not known)/i
assert ex.message =~ /(can't resolve)|(name or service not known)|(nodename nor servname provided, or not known)/i
end

def test_connect_wrong_port
Expand Down
2 changes: 1 addition & 1 deletion vendor/hiredis
Submodule hiredis updated 22 files
+21 −0 .travis.yml
+43 −1 CHANGELOG.md
+11 −15 Makefile
+23 −4 README.md
+12 −12 adapters/libevent.h
+3 −2 adapters/libuv.h
+23 −0 appveyor.yml
+37 −8 async.c
+1 −0 async.h
+2 −2 dict.c
+1 −1 examples/example.c
+4 −13 fmacros.h
+19 −34 hiredis.c
+6 −30 hiredis.h
+42 −23 net.c
+0 −4 net.h
+117 −44 read.c
+4 −9 read.h
+342 −165 sds.c
+184 −16 sds.h
+42 −0 sdsalloc.h
+130 −14 test.c

0 comments on commit a5b018b

Please sign in to comment.