picky 2.0.0.pre3 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -19,7 +19,7 @@ module Internals
|
|
19
19
|
#
|
20
20
|
#
|
21
21
|
def initialize amount = 10
|
22
|
-
raise "
|
22
|
+
raise "In Picky 2.0+, the Similarity::Phonetic has been renamed to Similarity::DoubleMetaphone. Please use that one. Thanks!" if self.class == Phonetic
|
23
23
|
@amount = amount
|
24
24
|
end
|
25
25
|
|
@@ -7,7 +7,7 @@ describe Internals::Generators::Similarity::Phonetic do
|
|
7
7
|
it 'raises if you try to use Phonetic directly' do
|
8
8
|
expect {
|
9
9
|
described_class.new
|
10
|
-
}.to raise_error("
|
10
|
+
}.to raise_error("In Picky 2.0+, the Similarity::Phonetic has been renamed to Similarity::DoubleMetaphone. Please use that one. Thanks!")
|
11
11
|
end
|
12
12
|
|
13
13
|
end
|
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: picky
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
version: 2.0.0
|
4
|
+
prerelease:
|
5
|
+
version: 2.0.0
|
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-28 00:00:00 +02:00
|
14
14
|
default_executable: picky
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -275,9 +275,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
275
275
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
276
276
|
none: false
|
277
277
|
requirements:
|
278
|
-
- - "
|
278
|
+
- - ">="
|
279
279
|
- !ruby/object:Gem::Version
|
280
|
-
version:
|
280
|
+
version: "0"
|
281
281
|
requirements: []
|
282
282
|
|
283
283
|
rubyforge_project: http://rubyforge.org/projects/picky
|