lita-onewheel-election-cnn 3.4.6 → 3.4.7

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: e103632e294395136242e03b32632cdbf5428952
4
- data.tar.gz: 56e0c5ce4c888de2ef9aabcc281fd90ceed27552
3
+ metadata.gz: 0aebb53955ae6639a964bee0a4611a97e73a2769
4
+ data.tar.gz: 107d838b7d193cf5cf698c65b1fc78cb46a5bd0c
5
5
  SHA512:
6
- metadata.gz: de0ba6cd3bdd5de99805a9fc3ea9504c8717a41568013ec69671281abdf1fb0c72dd5de2dabb7f51635c5ec6e099a63d2df559efd6cd092b7fbeee197d48f231
7
- data.tar.gz: ae9c3d16b8f3a212b2955044ee82c7cb602d9564e48dde4772ccc2b74ea8bc304fae657b74beebaad3c045883f830351b21ccdb761cf962d1cb81db1a3ff83b2
6
+ metadata.gz: 5914027dfa1aaabeeecc33443c67bb5a75fa5ac21d8094ea451fa9d2cb1977ce8877846f5e994abc92af20c1f12a47d157a28d894ca5c30492340728b0f36a89
7
+ data.tar.gz: b48e0cbabdf6a4983b0040f83b14fbddaed3085564c79a2d9f7f507c2ab4019a5399a419d7ae6d468da5481c1cabf621b4b7ae1410cd9528a52e7041beb8dc00
@@ -153,7 +153,7 @@ module Lita
153
153
  (reds / 10).times { reply += '█' }
154
154
  reply += "\x0300| Trump #{reds}"
155
155
 
156
- reply.insert(27, "👽")
156
+ reply.insert(reply.length / 2, "👽")
157
157
  response.reply reply
158
158
  end
159
159
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'lita-onewheel-election-cnn'
3
- spec.version = '3.4.6'
3
+ spec.version = '3.4.7'
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.6
4
+ version: 3.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kreps