redistat 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -53,7 +53,8 @@ module Redistat
53
53
  end
54
54
 
55
55
  def children
56
- db.smembers("#{scope}#{LABEL_INDEX}#{@label}").map { |member|
56
+ members = db.smembers("#{scope}#{LABEL_INDEX}#{@label}") || [] # older versions of Redis returns nil
57
+ members.map { |member|
57
58
  child_label = [@label, member].reject { |i| i.nil? }
58
59
  self.class.new(self.scope, child_label.join(GROUP_SEPARATOR), self.date, @options)
59
60
  }
@@ -1,3 +1,3 @@
1
1
  module Redistat
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
metadata CHANGED
@@ -1,8 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redistat
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 27
4
5
  prerelease:
5
- version: 0.2.5
6
+ segments:
7
+ - 0
8
+ - 2
9
+ - 6
10
+ version: 0.2.6
6
11
  platform: ruby
7
12
  authors:
8
13
  - Jim Myhrberg
@@ -10,7 +15,7 @@ autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
17
 
13
- date: 2011-03-16 00:00:00 +00:00
18
+ date: 2011-04-13 00:00:00 +01:00
14
19
  default_executable:
15
20
  dependencies:
16
21
  - !ruby/object:Gem::Dependency
@@ -21,6 +26,11 @@ dependencies:
21
26
  requirements:
22
27
  - - ">="
23
28
  - !ruby/object:Gem::Version
29
+ hash: 15
30
+ segments:
31
+ - 2
32
+ - 3
33
+ - 6
24
34
  version: 2.3.6
25
35
  type: :runtime
26
36
  version_requirements: *id001
@@ -32,6 +42,11 @@ dependencies:
32
42
  requirements:
33
43
  - - ">="
34
44
  - !ruby/object:Gem::Version
45
+ hash: 7
46
+ segments:
47
+ - 1
48
+ - 4
49
+ - 0
35
50
  version: 1.4.0
36
51
  type: :runtime
37
52
  version_requirements: *id002
@@ -43,6 +58,11 @@ dependencies:
43
58
  requirements:
44
59
  - - ">="
45
60
  - !ruby/object:Gem::Version
61
+ hash: 11
62
+ segments:
63
+ - 2
64
+ - 1
65
+ - 0
46
66
  version: 2.1.0
47
67
  type: :runtime
48
68
  version_requirements: *id003
@@ -54,6 +74,11 @@ dependencies:
54
74
  requirements:
55
75
  - - ">="
56
76
  - !ruby/object:Gem::Version
77
+ hash: 5
78
+ segments:
79
+ - 0
80
+ - 2
81
+ - 9
57
82
  version: 0.2.9
58
83
  type: :runtime
59
84
  version_requirements: *id004
@@ -65,6 +90,11 @@ dependencies:
65
90
  requirements:
66
91
  - - ">="
67
92
  - !ruby/object:Gem::Version
93
+ hash: 11
94
+ segments:
95
+ - 2
96
+ - 1
97
+ - 0
68
98
  version: 2.1.0
69
99
  type: :development
70
100
  version_requirements: *id005
@@ -76,6 +106,11 @@ dependencies:
76
106
  requirements:
77
107
  - - ">="
78
108
  - !ruby/object:Gem::Version
109
+ hash: 41
110
+ segments:
111
+ - 0
112
+ - 9
113
+ - 9
79
114
  version: 0.9.9
80
115
  type: :development
81
116
  version_requirements: *id006
@@ -87,6 +122,11 @@ dependencies:
87
122
  requirements:
88
123
  - - ">="
89
124
  - !ruby/object:Gem::Version
125
+ hash: 1
126
+ segments:
127
+ - 0
128
+ - 6
129
+ - 3
90
130
  version: 0.6.3
91
131
  type: :development
92
132
  version_requirements: *id007
@@ -166,17 +206,23 @@ required_ruby_version: !ruby/object:Gem::Requirement
166
206
  requirements:
167
207
  - - ">="
168
208
  - !ruby/object:Gem::Version
209
+ hash: 3
210
+ segments:
211
+ - 0
169
212
  version: "0"
170
213
  required_rubygems_version: !ruby/object:Gem::Requirement
171
214
  none: false
172
215
  requirements:
173
216
  - - ">="
174
217
  - !ruby/object:Gem::Version
218
+ hash: 3
219
+ segments:
220
+ - 0
175
221
  version: "0"
176
222
  requirements: []
177
223
 
178
224
  rubyforge_project: redistat
179
- rubygems_version: 1.6.1
225
+ rubygems_version: 1.6.2
180
226
  signing_key:
181
227
  specification_version: 3
182
228
  summary: A Redis-backed statistics storage and querying library written in Ruby.