graphed_fuzzy_search 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cccfa356e224490039fb5c1c860cce13ceced26a157aba99b35750842b94b7c1
4
- data.tar.gz: fb6432142f0923d28de7e40a02d0d0c22ee54e0b03fdd9c107e06e1c261b2db8
3
+ metadata.gz: e95223fb8aadafa3048159a0c77e2c17ecf5e7a16a86ce72ebdb13e1f5907e11
4
+ data.tar.gz: 9c28a76ca2896d0ab2913e3132359e0986c3d65d5291ea910368de3ba1d4ff56
5
5
  SHA512:
6
- metadata.gz: 19a56a5af2438bc8ced0d76f22f3c585116798534a2c488c31236ea9b16480e1111dd82278c8fca95aff8d86b58b4bd5df052d34ac13ad07b8099b2144da3114
7
- data.tar.gz: 11c966278e2f99045bc75972bb320653d1824b43389a5e65d18f846db4fdb9f7bc5baafba3fc515275d5cc9a87f3fd6ff7269d55fedcb8a4aa7792b764f47c9b
6
+ metadata.gz: 262cf1e8c1ab4047cd21536ce06b18ee35526579088fef935f196f2957e569ad2cdd088399b30afb1e535baecda56d3ababc066d0b91d13de6e89497c6520de8
7
+ data.tar.gz: 2aa4a7916511a7bdb11c7fb217c0857df1554617958a584624bdf59c420616881bcf49c0bf4361b205044a357d4a3debff823a7ef7196d001172f0f5ceb817be
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- graphed_fuzzy_search (0.2.2)
4
+ graphed_fuzzy_search (0.2.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -58,7 +58,7 @@ module GraphedFuzzySearch
58
58
  attr.to_s.downcase.scan(token_regex)
59
59
  end
60
60
  tokens.push(*attrs)
61
- tokens.reject(&:empty?)
61
+ tokens.reject!(&:empty?)
62
62
  Item.new(obj, attrs[0], tokens.uniq)
63
63
  end
64
64
  end
@@ -1,3 +1,3 @@
1
1
  module GraphedFuzzySearch
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphed_fuzzy_search
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sorah Fukumori