lita-onewheel-beer-base 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lita/handlers/onewheel_beer_base.rb +1 -1
- data/lita-onewheel-beer-base.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dcd0804a7ba56e7eacd9b0ad2d7a02d6290acd50
|
4
|
+
data.tar.gz: 2d26e071ca3d6a35741151cf29e0506d564f3c95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 147ecbac86fddc39efb8852007e14623bb1b74cd98d8681a981ad000d8dddd68cfc5abd405dd43dc2fafdab584e1df6cfe484d907530d0944dea9a7a77ee66f4
|
7
|
+
data.tar.gz: 66b04e55e5e468ef024c83a159806388f82d4d21a31b3403d8c4fee69bf219358886c97868c0e89df1c533ea08a324b88f85da8eb994ba45d460470b5624615f
|
@@ -33,7 +33,7 @@ module Lita
|
|
33
33
|
query = response.matches[0][0].strip
|
34
34
|
# Search directly by tap number OR full text match.
|
35
35
|
# Let's make cask and nitro taps specific.
|
36
|
-
if (query.match(/^\d+$/) and tap == query) or (datum[:search].match(/#{query}/i)) or (datum[:type].downcase.match(/#{query}/i)) # Cask and Nitro
|
36
|
+
if (query.match(/^\d+$/) and tap == query) or (datum[:search].to_s.match(/#{query}/i)) or (datum[:type].to_s.downcase.match(/#{query}/i)) # Cask and Nitro
|
37
37
|
send_response(tap, datum, response)
|
38
38
|
end
|
39
39
|
end
|