lita-onewheel-election-cnn 0.1.0 → 0.1.1

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: 728698bfdb8985eef9a8628f23cafbf9b4481902
4
- data.tar.gz: 65244dac6cd59d35755598d1c68af9844ec13f36
3
+ metadata.gz: fc14910bc3ee2dd0197878a48011810880415c9c
4
+ data.tar.gz: 5d0d58917f4fc4f64dc6c98da90934d3c8399166
5
5
  SHA512:
6
- metadata.gz: bb831ed4c7cd9302e38ecf39459a32960517a16abb14c153c7ed399270a508fc9fa1974cda06a090bab9a68c2699b77ec606cfbf9892a24755333386f1ac4c9b
7
- data.tar.gz: 3e28d34cecd2ae4ce84ab00e95e67a8c690ceda21244d775ec516b1b52911242081bc416d82079c336cdf6ed5c0a71aa255235b675511c6cf1f999e7b8b23810
6
+ metadata.gz: 080637ed81397764c512cc1d19263610c77f551b31628e1f1ec255560e129ccf0ce23858cb6dc0e429356274d5a33f41ab0423e992ea84e4c2b14bdd59c2957b
7
+ data.tar.gz: 78b99eabecbac45c9b981fe28458afd032c7c18c0299fff1b3740d967e33bc495e08fd81ee5f99a6e5fbf3a95217942b918d52ae73db928ee910d9a324e145a5
@@ -20,7 +20,7 @@ module Lita
20
20
  results['candidates'].each do |candidate|
21
21
  candidate_str = "#{candidate['fname']} #{candidate['lname']}: "
22
22
  candidate_str += "WINNER! " if candidate['winner']
23
- candidate_str += "#{candidate['pctDecimal']}%, #{candidate['vpct']}% of precincts reporting."
23
+ candidate_str += "#{candidate['pctDecimal']}%, (#{candidate['votes']})"
24
24
  response.reply candidate_str
25
25
  end
26
26
  end
@@ -36,7 +36,7 @@ module Lita
36
36
  race['candidates'].each do |candidate|
37
37
  candidate_str = "#{state} - #{candidate['fname']} #{candidate['lname']}: "
38
38
  candidate_str += "WINNER! " if candidate['winner']
39
- candidate_str += "#{candidate['pctDecimal']}%, #{candidate['vpct']}% of precincts reporting."
39
+ candidate_str += "#{candidate['pctDecimal']}%, (#{candidate['votes']})"
40
40
  response.reply candidate_str
41
41
  end
42
42
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'lita-onewheel-election-cnn'
3
- spec.version = '0.1.0'
3
+ spec.version = '0.1.1'
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.}
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: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kreps