lita-onewheel-beer-base 1.0.0 → 1.1.0

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: 655f558100bc6c61d7b8cf1ae4a0736ee8287c16
4
- data.tar.gz: 5006b37ed1ef65b208ad3094b8e6b454d3c3dc4c
3
+ metadata.gz: 7e47d3c981e3b6b091ebeca225694ddd2e2ab707
4
+ data.tar.gz: 2f505eadbb3fab8eb726f342a52b58c5152ae7af
5
5
  SHA512:
6
- metadata.gz: 080ef9d9c492b98c6a27651971c2f1a04a43cbbcd5fbc5df9f3864456985b1a87f18a7594c945430e47581ca877caf5af46d657b77b023b528b5dd9393c7e82a
7
- data.tar.gz: dfd4c84a4e0ba59001943c59ef9f4a3a89ee890483bb34d6bc1524ff15f3a913e2c992b2ca2040e5cc2033528c5563f28cc6592a5b0206bd3b343bea3e95ad4c
6
+ metadata.gz: 164a967b7a39a1bad366e30496a2307faf45ffb8180c34cb2f91de8c2ca307c7e92301ac5ae0a02dd9c366667b8adeef5bccf132bd34707074c837951dd93024
7
+ data.tar.gz: eeabce756724a54bf68e405a93476555162b78b1bc17f97145ad79cb4d47cf9ec57f27b303c18db71c28c3430e34c91fee663c1a60f3a2e8f2a91b0377b3fe2f
@@ -142,24 +142,6 @@ module Lita
142
142
  send_response(high_tap, beers[high_tap], response)
143
143
  end
144
144
 
145
- def send_response(tap, datum, response)
146
- reply = "tap #{tap}) #{get_tap_type_text(datum[:type])}"
147
- reply += "#{datum[:brewery]} "
148
- reply += "#{datum[:name]} "
149
- reply += "- #{datum[:desc]}, "
150
- # reply += "Served in a #{datum[1]['glass']} glass. "
151
- reply += "#{get_display_prices datum[:prices]}, "
152
- reply += "#{datum[:remaining]}"
153
-
154
- Lita.logger.info "send_response: Replying with #{reply}"
155
-
156
- response.reply reply
157
- end
158
-
159
- def get_tap_type_text(type)
160
- (type.empty?) ? '' : "(#{type}) "
161
- end
162
-
163
145
  def get_source
164
146
  raise Exception
165
147
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'lita-onewheel-beer-base'
3
- spec.version = '1.0.0'
3
+ spec.version = '1.1.0'
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.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kreps