picky-generators 2.0.0.pre2 → 2.0.0.pre3
Sign up to get free protection for your applications and to get access to all the features.
@@ -24,7 +24,7 @@ class PickySearch < Application
|
|
24
24
|
library_src = Sources::CSV.new :title, :author, :year, file: 'app/library.csv'
|
25
25
|
books_index = Index::Memory.new :books, library_src do
|
26
26
|
category :title,
|
27
|
-
similarity: Similarity::
|
27
|
+
similarity: Similarity::DoubleMetaphone.new(3), # Default is no similarity.
|
28
28
|
partial: Partial::Substring.new(from: 1) # Default is from: -3.
|
29
29
|
category :author, partial: Partial::Substring.new(from: 1)
|
30
30
|
category :year, partial: Partial::None.new
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: picky-generators
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease: 6
|
5
|
-
version: 2.0.0.
|
5
|
+
version: 2.0.0.pre3
|
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-03-
|
13
|
+
date: 2011-03-22 00:00:00 +01:00
|
14
14
|
default_executable: picky-generate
|
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: 2.0.0.
|
35
|
+
version: 2.0.0.pre3
|
36
36
|
type: :runtime
|
37
37
|
version_requirements: *id002
|
38
38
|
- !ruby/object:Gem::Dependency
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
requirements:
|
44
44
|
- - ~>
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 2.0.0.
|
46
|
+
version: 2.0.0.pre3
|
47
47
|
type: :runtime
|
48
48
|
version_requirements: *id003
|
49
49
|
description: Generators for Picky.
|