fec_results 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -242,7 +242,7 @@ module FecResults
242
242
  rows.each do |candidate|
243
243
  next if candidate['LAST NAME, FIRST'].blank?
244
244
  c = {:year => year}
245
- c[:date] = Date.parse("GENERAL ELECTION DATE")
245
+ c[:date] = Date.parse(candidate["GENERAL ELECTION DATE"])
246
246
  c[:chamber] = "P"
247
247
  c[:state] = candidate['STATE ABBREVIATION']
248
248
  c[:party] = candidate['PARTY'].blank? ? "COMBINED TOTAL" : candidate['PARTY']
@@ -267,7 +267,7 @@ module FecResults
267
267
  rows.each do |candidate|
268
268
  next if candidate['LAST NAME, FIRST'].blank?
269
269
  c = {:year => year}
270
- c[:date] = Date.parse("GENERAL ELECTION DATE")
270
+ c[:date] = Date.parse(candidate["PRIMARY DATE"])
271
271
  c[:chamber] = "P"
272
272
  c[:state] = candidate['STATE ABBREVIATION']
273
273
  c[:party] = candidate['PARTY']
@@ -1,3 +1,3 @@
1
1
  module FecResults
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fec_results
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -110,7 +110,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
110
110
  version: '0'
111
111
  segments:
112
112
  - 0
113
- hash: -4607324779454321329
113
+ hash: 2098072391045799080
114
114
  required_rubygems_version: !ruby/object:Gem::Requirement
115
115
  none: false
116
116
  requirements:
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  version: '0'
120
120
  segments:
121
121
  - 0
122
- hash: -4607324779454321329
122
+ hash: 2098072391045799080
123
123
  requirements: []
124
124
  rubyforge_project:
125
125
  rubygems_version: 1.8.25