picky-generators 2.0.0.pre2 → 2.0.0.pre3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@ source :gemcutter
2
2
 
3
3
  # Gems required by the Picky client.
4
4
  #
5
- gem 'picky-client', '2.0.0.pre2'
5
+ gem 'picky-client', '2.0.0.pre3'
6
6
  gem 'i18n'
7
7
  gem 'activesupport', :require => 'active_support/core_ext'
8
8
  gem 'sinatra'
@@ -2,7 +2,7 @@ source :gemcutter
2
2
 
3
3
  # Gems required by Picky.
4
4
  #
5
- gem 'picky', '2.0.0.pre2'
5
+ gem 'picky', '2.0.0.pre3'
6
6
  gem 'rake'
7
7
  gem 'bundler'
8
8
  gem 'rack', '~> 1.2.2'
@@ -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::Phonetic.new(3), # Default is no 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.pre2
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-21 00:00:00 +01:00
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.pre2
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.pre2
46
+ version: 2.0.0.pre3
47
47
  type: :runtime
48
48
  version_requirements: *id003
49
49
  description: Generators for Picky.