lita-onewheel-election-cnn 3.3.0 → 3.4.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c6c5913fb1f8714afcc22b6e36b9bd9a117e5b8
|
4
|
+
data.tar.gz: 4c83a5f046da625fa49e7915e03cd27e3dc7fcab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2087f55b9184ee90045b4f37fccfea6cc558c87c00f91420a0f7d0180a547f687c39081636ce04707f082d94344ee754cc2c5b5eb088c5dd54bc8ea7e0f01e7f
|
7
|
+
data.tar.gz: 9a6df76955ca382667857c24e8c358d2f9f55df348f5530a39d265f4bda114b7b809bc70d8f0859c18ed22bc24558d791519c45c685815fc2754941944462405
|
@@ -145,9 +145,12 @@ module Lita
|
|
145
145
|
|
146
146
|
reply = ''
|
147
147
|
extras = 54 - blues - reds
|
148
|
-
|
148
|
+
reply += '\x0304'
|
149
|
+
blues.times { reply += '-' }
|
150
|
+
reply += '\x0300'
|
149
151
|
extras.times { reply += '-'}
|
150
|
-
|
152
|
+
reply += '\x0302'
|
153
|
+
reds.times { reply += '-' }
|
151
154
|
|
152
155
|
response.reply reply
|
153
156
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = 'lita-onewheel-election-cnn'
|
3
|
-
spec.version = '3.
|
3
|
+
spec.version = '3.4.0'
|
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.}
|
@@ -54,6 +54,6 @@ describe Lita::Handlers::OnewheelElectionCnn, lita_handler: true do
|
|
54
54
|
|
55
55
|
it 'ansis' do
|
56
56
|
send_command 'ansielection'
|
57
|
-
expect(replies.last).to eq(
|
57
|
+
expect(replies.last).to eq("\x0304-------------\x0300-------------------------\x0302----------------")
|
58
58
|
end
|
59
59
|
end
|