lita-onewheel-election-cnn 3.4.8 → 3.4.9

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: a6207ffe93036c086b5bc21b01d157e4b7d19dee
4
- data.tar.gz: 80fcf5114853b09285d3bdf604484fb962edb67c
3
+ metadata.gz: 1c6eab755af979d1c024510ee55f2d5e553d4b32
4
+ data.tar.gz: c1268fe2af82a0d46e118cdf2fbfedbe202828b3
5
5
  SHA512:
6
- metadata.gz: 3a836b39bd76fdba23ecd7a4ae7f8a00c8034330d0d3a5f9545028941914c3e1e1fd65b82a058af07a150741e90d01bf281a57bdf48f65c62dfff75d72d69f45
7
- data.tar.gz: db94b775f819fd92a21e4abef0ec15cfd6211c6422069d8d2c3efed5321a3bb7f927c9a2d30ae7dd799f2d1b177c77aa91de66bb59adbe15a35dcdd46886336a
6
+ metadata.gz: c8d0e170cdc8a166986fec696cb1dd923167bed8b0e9e940143b9dc99494106422529551e91ce27bb84b770ebec9f13849b334afca7901a0e2c8a5d8e5c0d2c9
7
+ data.tar.gz: d633d4a1697b277eb56e91ed320e446d2c2e6883ad832bdf4b535a753fca3f0c3daa2e6959058b79b7abcc7153654875195dc00b175422aa7a63fbaaa634b872
@@ -152,7 +152,7 @@ module Lita
152
152
  reply += "\x0304"
153
153
  (reds / 10).times { reply += '█' }
154
154
 
155
- reply.insert(reply.length / 2, "👽")
155
+ reply.insert((reply.length / 2) + 3, "👽")
156
156
 
157
157
  reply = "Clinton #{blues} |" + reply + "\x0300| Trump #{reds}"
158
158
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'lita-onewheel-election-cnn'
3
- spec.version = '3.4.8'
3
+ spec.version = '3.4.9'
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.}
@@ -56,6 +56,6 @@ describe Lita::Handlers::OnewheelElectionCnn, lita_handler: true do
56
56
  mock = File.open('spec/fixtures/election.json').read
57
57
  allow(RestClient).to receive(:get) { mock }
58
58
  send_command 'ansielection'
59
- expect(replies.last).to eq("Clinton 0 |\u000312\u000300-------------------------👽----------------------------\u000304█\u000300| Trump 19")
59
+ expect(replies.last).to eq("Clinton 0 |\u000312\u000300----------------------------👽-------------------------\u000304█\u000300| Trump 19")
60
60
  end
61
61
  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.4.8
4
+ version: 3.4.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kreps