lsolr 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/lsolr.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e72d7fb3bc264681d82e5656ba32c43698afea9
4
- data.tar.gz: cc5c06c93c6833facfad1b7541f8ffca269878e1
3
+ metadata.gz: e49132ead477dd5f50d86d46cec871e47a7b33db
4
+ data.tar.gz: 9ce3049d5577571cea8a650635f0af9d3517285b
5
5
  SHA512:
6
- metadata.gz: 340eed18a4003881d7e3f340372de73d69b46f6f46fe92fe74dff2651407c1a3314b2bb7df1a37fe1ff9ca2549ee0d3360e797acd1e86df4d81f75d7a568d6c5
7
- data.tar.gz: dfed3fb257a0a773ac978814822744bf92cd9334772f24f4e1ad4cb9eb0c2a8cfc896e251630c7b52b5829fe25f0bae0b99b34be0bdb8a7a3d82822c9c64726b
6
+ metadata.gz: 2a1db34ed53ab514e0c80f92897bdb74187d3e157a63486eae973dae95429530ec279490aee62f2f5aaabf87e94b78bbfa0715046b9f2dfacd6da41c6b33a16c
7
+ data.tar.gz: 2587c78f6de1121226ed98b026e2afa1b0611750037caae7d0c5a9a2acf51250a5bf7810c13462f1dc675bbc7e61faaf1087d10d3716c03b2b0cb43e8ba7d5d6
data/lib/lsolr.rb CHANGED
@@ -255,7 +255,7 @@ class LSolr
255
255
  #
256
256
  # @return [LSolr] self instance
257
257
  def match_in(values)
258
- raise ArgumentError, "#{values.inspect} given. Must be a not empty array." if values.nil? || values.empty? || !values.is_a?(Array)
258
+ raise ArgumentError, "#{values.inspect} given. Must be a not empty array." if values.nil? || !values.is_a?(Array) || values.empty?
259
259
 
260
260
  values = values.map { |v| clean(v) }
261
261
  @value = "(#{values.join(MULTI_VALUE_MATCH_DELIMITER)})"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lsolr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taishi Kasuga