hiredis 0.4.1-java → 0.4.2.pre-java
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +0 -1
- data/lib/hiredis/ruby/reader.rb +7 -4
- data/lib/hiredis/version.rb +1 -1
- metadata +11 -8
data/Rakefile
CHANGED
data/lib/hiredis/ruby/reader.rb
CHANGED
@@ -32,14 +32,17 @@ module Hiredis
|
|
32
32
|
method_index[?*] = :process_multi_bulk_reply
|
33
33
|
METHOD_INDEX = method_index.freeze
|
34
34
|
|
35
|
-
|
35
|
+
attr_reader :parent
|
36
|
+
attr_reader :depth
|
36
37
|
attr_accessor :multi_bulk
|
37
38
|
|
38
39
|
def initialize(buffer, parent = nil, depth = 0)
|
39
|
-
@buffer, @parent = buffer, parent
|
40
|
+
@buffer, @parent, @depth = buffer, parent, depth
|
41
|
+
end
|
40
42
|
|
41
|
-
|
42
|
-
|
43
|
+
# Note: task depth is not checked.
|
44
|
+
def child
|
45
|
+
@child ||= Task.new(@buffer, self, depth + 1)
|
43
46
|
end
|
44
47
|
|
45
48
|
def root
|
data/lib/hiredis/version.rb
CHANGED
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hiredis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
version: 0.4.
|
4
|
+
prerelease: 6
|
5
|
+
version: 0.4.2.pre
|
6
6
|
platform: java
|
7
7
|
authors:
|
8
8
|
- Pieter Noordhuis
|
@@ -10,20 +10,20 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
13
|
+
date: 2011-12-02 00:00:00 -08:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rake-compiler
|
18
|
-
|
19
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
18
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
20
19
|
none: false
|
21
20
|
requirements:
|
22
21
|
- - ~>
|
23
22
|
- !ruby/object:Gem::Version
|
24
23
|
version: 0.7.1
|
24
|
+
requirement: *id001
|
25
|
+
prerelease: false
|
25
26
|
type: :development
|
26
|
-
version_requirements: *id001
|
27
27
|
description: Ruby extension that wraps Hiredis (blocking connection and reply parsing)
|
28
28
|
email:
|
29
29
|
- pcnoordhuis@gmail.com
|
@@ -58,13 +58,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
+
hash: 2
|
62
|
+
segments:
|
63
|
+
- 0
|
61
64
|
version: "0"
|
62
65
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
63
66
|
none: false
|
64
67
|
requirements:
|
65
|
-
- - "
|
68
|
+
- - ">"
|
66
69
|
- !ruby/object:Gem::Version
|
67
|
-
version:
|
70
|
+
version: 1.3.1
|
68
71
|
requirements: []
|
69
72
|
|
70
73
|
rubyforge_project:
|