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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8f3331c57c262f36dcc7a7c7ddd33b473cbd819e
4
- data.tar.gz: 6231a364ecb8809dd1268317fc5cd5603d8893cf
3
+ metadata.gz: dcd0804a7ba56e7eacd9b0ad2d7a02d6290acd50
4
+ data.tar.gz: 2d26e071ca3d6a35741151cf29e0506d564f3c95
5
5
  SHA512:
6
- metadata.gz: c98ba98b78afbec2b5ce18015cca80ee57ab460fa93ae3ad10e87bf10ca7f38aa82fa117ee163f50b0af5527ed1719881a283bdc1c89ef9b42c62e6cc3d7ed1e
7
- data.tar.gz: 68a98d1ea464d8a829a8b9f842418f3f1a1d4d0b14c5d5b094b8bbabdeebe65e4d5cf96da5340da90915696062d83623139a9f4a8670c735fb12811c2a1d096c
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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'lita-onewheel-beer-base'
3
- spec.version = '1.2.2'
3
+ spec.version = '1.2.3'
4
4
  spec.authors = ['Andrew Kreps']
5
5
  spec.email = ['andrew.kreps@gmail.com']
6
6
  spec.description = %q{Lita base class for beer searches.}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-onewheel-beer-base
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kreps