lita-onewheel-beer-base 1.1.0 → 1.2.0
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 +5 -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: 9847502c14cb5cb6f6f25abe0e3e2c90e7140ac5
|
4
|
+
data.tar.gz: 550cab914512e6af90652306efe33453f8b96334
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56701dfeb8c88dbc924f2db3470eec94a45f29e4f79bb233942b288c1f34227c591e2774e3dc7a44422fb0f44861ba1f0ad03e43d234cdf6b50412b62e317e4c
|
7
|
+
data.tar.gz: b68c2eb933ef7a004d74baeb4f56074d0907144924d9fe87ce7f8957f83ab9245d3126fb83eaca7590a91e231e6bedd6cff227da8887f59669315b083973dac7
|
@@ -9,7 +9,7 @@ module Lita
|
|
9
9
|
def taps_list(response)
|
10
10
|
# wakka wakka
|
11
11
|
beers = self.get_source
|
12
|
-
reply = "
|
12
|
+
reply = "taps: "
|
13
13
|
beers.each do |tap, datum|
|
14
14
|
reply += "#{tap}) "
|
15
15
|
reply += get_tap_type_text(datum[:type])
|
@@ -22,6 +22,10 @@ module Lita
|
|
22
22
|
response.reply reply
|
23
23
|
end
|
24
24
|
|
25
|
+
def get_tap_type_text(type)
|
26
|
+
(type.empty?) ? '' : "(#{type}) "
|
27
|
+
end
|
28
|
+
|
25
29
|
def taps_deets(response)
|
26
30
|
Lita.logger.debug "taps_deets started"
|
27
31
|
beers = get_source
|