lsolr 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lsolr.rb +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f14beb4eb4ea605689087f9ac1d6a3e27454918c377d4f3f096a06490502b67b
|
4
|
+
data.tar.gz: c49281b312fab6f80817df5d183ed90f0f635b90e3a4acb34051ff0660dd9675
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06ec0a49a25893f4febf32b175167159d8b18d7cad19aa7876fbe678905058aec45a1d34cf9544830c11cb9b42c95f881c2ef66e96de65fd97526382154a8d57
|
7
|
+
data.tar.gz: 1953e59728553443cd41289392d1364f94276e4e0c9556c70822ca9ab9225237d76002e8b6477814ba2f0db6407420984703ce5b4ac0b422501d59d0dab6d77b
|
data/lib/lsolr.rb
CHANGED
@@ -113,6 +113,8 @@ class LSolr
|
|
113
113
|
when String then build_raw_query(params)
|
114
114
|
else raise TypeError, "Could not build solr query. Please specify a Hash or String value. #{params.inspect} given."
|
115
115
|
end
|
116
|
+
rescue TypeError => e
|
117
|
+
raise ArgumentError, "#{e.message} It is not a supported type."
|
116
118
|
end
|
117
119
|
|
118
120
|
private
|