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: ffe46ecc24acb12499fd220c6894dc32049b0af4
4
- data.tar.gz: 5a413221549f207f01761a66a1beee902b1b89e7
3
+ metadata.gz: 8c6c5913fb1f8714afcc22b6e36b9bd9a117e5b8
4
+ data.tar.gz: 4c83a5f046da625fa49e7915e03cd27e3dc7fcab
5
5
  SHA512:
6
- metadata.gz: ef4c2a4c1f89ad4a2f26dd07d6514ff0b181350920eb2d53616fd31ed552a8b49ebaf9c63868c6ade7ab0efb75e4bb31c96d7db00a23e6d5d510127eec208f96
7
- data.tar.gz: aee9ef5bbca0369f139b9cf4087b70a521c5289d1b02532afd73acd08b7806bebe85e39634ae891fba24d69fc31c8143dd754659809c5ad7da211e4f37442980
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
- blues.times { reply += 'b' }
148
+ reply += '\x0304'
149
+ blues.times { reply += '-' }
150
+ reply += '\x0300'
149
151
  extras.times { reply += '-'}
150
- reds.times { reply += 'r' }
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.0'
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('bbbbbbbbbbbb--------------------------rrrrrrrrrrrrrrrr')
57
+ expect(replies.last).to eq("\x0304-------------\x0300-------------------------\x0302----------------")
58
58
  end
59
59
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-onewheel-election-cnn
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.0
4
+ version: 3.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kreps