lita-onewheel-election-cnn 4.0.1 → 4.0.2
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_election_cnn.rb +1 -1
- data/lita-onewheel-election-cnn.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: 289326007436b02f499e5afb0f96947540a8a134
|
4
|
+
data.tar.gz: 088034f74b84735b5a0e03440a381d5837a92938
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56cef4f0d6b7c6159bdeb55fbbb4c5c53a2416017d2b5dd41fed460dfd42a2defa44db6becc7679ba46b40bc467bd197eafe0e5fb98b6ffd661cec7b04be6323
|
7
|
+
data.tar.gz: 73736c8fb622c1e9b9a9b38fe1c426a463256e07e1a02ae587e77793c6865a4dd7d768aa457d84ba262de27ebe5fa7cd7f09d3b6c30b90ec78581f254b972d4f
|
@@ -57,7 +57,7 @@ module Lita
|
|
57
57
|
(50 - bluecount - redcount).times { blueredstr += '-' }
|
58
58
|
blueredstr += "\x0304"
|
59
59
|
redcount.times { blueredstr += '█' }
|
60
|
-
response.reply "Clinton #{votes['blue']['percentage']}% #{votes['blue']['popular']} |#{blueredstr}\x0300| Trump #{votes['
|
60
|
+
response.reply "Clinton #{votes['blue']['percentage']}% #{votes['blue']['popular']} |#{blueredstr}\x0300| Trump #{votes['red']['percentage']}% #{votes['red']['popular']}"
|
61
61
|
end
|
62
62
|
|
63
63
|
def election_by_state(response)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = 'lita-onewheel-election-cnn'
|
3
|
-
spec.version = '4.0.
|
3
|
+
spec.version = '4.0.2'
|
4
4
|
spec.authors = ['Andrew Kreps']
|
5
5
|
spec.email = ['andrew.kreps@gmail.com']
|
6
6
|
spec.description = %q{Lita interface to CNN's 2016 Presidential Election JSON.}
|