fraggle 4.0.0 → 4.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -119,8 +119,10 @@ module Fraggle
119
119
  end
120
120
 
121
121
  def all(m, rev, path, off, lim, ents=[], &blk)
122
+ # We're decrementing lim as we go, so we need to return
123
+ # the accumulated values
122
124
  if lim == 0
123
- cn.next_tick { blk.call([], nil) }
125
+ cn.next_tick { blk.call(ents, nil) }
124
126
  return
125
127
  end
126
128
 
@@ -1,3 +1,3 @@
1
1
  module Fraggle
2
- VERSION = "4.0.0"
2
+ VERSION = "4.0.1"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fraggle
3
3
  version: !ruby/object:Gem::Version
4
- hash: 63
4
+ hash: 61
5
5
  prerelease:
6
6
  segments:
7
7
  - 4
8
8
  - 0
9
- - 0
10
- version: 4.0.0
9
+ - 1
10
+ version: 4.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Blake Mizerany