picky 3.1.3 → 3.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/picky/cores.rb +3 -1
  2. metadata +3 -3
data/lib/picky/cores.rb CHANGED
@@ -26,7 +26,9 @@ module Picky
26
26
  # Don't fork if there's just one element.
27
27
  #
28
28
  if generator.inject(0) { |total, element| total + 1 } == 1
29
- yield generator.next
29
+ generator.each do |element|
30
+ yield element # THINK yield generator.next results in trouble. Why?
31
+ end
30
32
  return
31
33
  end
32
34
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: picky
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 3.1.3
5
+ version: 3.1.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Florian Hanke
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-08-31 00:00:00 +02:00
13
+ date: 2011-09-02 00:00:00 +02:00
14
14
  default_executable: picky
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -32,7 +32,7 @@ dependencies:
32
32
  requirements:
33
33
  - - "="
34
34
  - !ruby/object:Gem::Version
35
- version: 3.1.3
35
+ version: 3.1.4
36
36
  type: :development
37
37
  version_requirements: *id002
38
38
  description: Fast Ruby semantic text search engine with comfortable single field interface.