fuzzy_ruby 1.0.0 → 1.0.1

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/fuzzy_ruby.rb +2 -0
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c93b8f20e5242fcba5cff65e335f82517f6e3694
4
- data.tar.gz: cbbd120aae221a65d9d68a71bfab66ff562feb03
3
+ metadata.gz: f134519b813e59d7d2759f1ae95f208d7b54b736
4
+ data.tar.gz: 460017886ab9b999cf5060b1975b6ca2c172fc14
5
5
  SHA512:
6
- metadata.gz: 87c6058e5bfdc1e1a079972e6ba59c7e3db025ace3938848662dc9fb382e621c97093586fe08f240bb0950ba0d5e974df028f532f491fa616343d704cfdb29e6
7
- data.tar.gz: 8685c2803ed854c222b56d497ca3fb7f20ffb69c47fdc868a949278097ee743627c69a412cf453493e7e4d685409d1bfed3184d33ac66a58d034bf0c6962a14c
6
+ metadata.gz: 10f0f24e851b1f3f6bd1789aa427ae75c1231651c52280ad4d42e63d8987bb9dffcd9aed73e68df5b6acae71cbd7c7b09b9c0ad93ff1727d8f6bc21d503559ef
7
+ data.tar.gz: 1e90807faa3ffbfaa537f6ab64176d3aff314c869f94b8b39cf1654b551c735a884ee36e0d6f5e84651af349d232fb55d06c0c187cba042b7a508d66826acd0c
@@ -57,9 +57,11 @@ class Fuzzy
57
57
  end
58
58
  end
59
59
 
60
+ # done with string if no more matches
60
61
  def self.done(index)
61
62
  @strings[index] == nil || @weights[index] == -1 ? true : false
62
63
  end
63
64
 
64
65
  private_class_method :build_regexp, :assign_weights, :done
66
+
65
67
  end
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fuzzy_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
- - Danny
7
+ - Dan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
@@ -17,7 +17,7 @@ extensions: []
17
17
  extra_rdoc_files: []
18
18
  files:
19
19
  - lib/fuzzy_ruby.rb
20
- homepage: http://www.github.com/danho
20
+ homepage: http://www.github.com/danho/fuzzy_ruby
21
21
  licenses:
22
22
  - MIT
23
23
  metadata: {}