fech 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +2 -4
- data/README.rdoc +3 -2
- data/fech.gemspec +6 -4
- data/lib/fech/fech_utils.rb +3 -2
- data/lib/fech/filing.rb +10 -2
- data/lib/fech/map_generator.rb +2 -1
- data/lib/fech/rendered_maps.rb +8 -2
- data/lib/fech/version.rb +1 -1
- data/sources/F1S.csv +1 -0
- metadata +77 -31
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
fech (1.4)
|
4
|
+
fech (1.4.2)
|
5
5
|
fastercsv
|
6
6
|
people
|
7
7
|
|
@@ -17,7 +17,6 @@ GEM
|
|
17
17
|
mocha (0.9.12)
|
18
18
|
people (0.2.1)
|
19
19
|
rake (0.8.7)
|
20
|
-
rcov (0.9.9)
|
21
20
|
rdoc (3.9.2)
|
22
21
|
rspec (2.6.0)
|
23
22
|
rspec-core (~> 2.6.0)
|
@@ -47,8 +46,7 @@ DEPENDENCIES
|
|
47
46
|
fech!
|
48
47
|
linecache19
|
49
48
|
mocha
|
50
|
-
rake
|
51
|
-
rcov
|
49
|
+
rake
|
52
50
|
rdoc
|
53
51
|
rspec (~> 2.6)
|
54
52
|
ruby-debug19
|
data/README.rdoc
CHANGED
@@ -6,9 +6,9 @@
|
|
6
6
|
|
7
7
|
Fech makes it easy to parse electronic campaign finance filings[http://www.fec.gov/finance/disclosure/efile_search.shtml] by candidates, parties and political action committees from the Federal Election Commission. It lets you access filing attributes the same way regardless of filing version, and works as a framework for cleaning and filing data. Fech is an open source project of The New York Times, but contributions from anyone interested in working with F.E.C. filings are greatly appreciated.
|
8
8
|
|
9
|
-
Latest version: 1.4.
|
9
|
+
Latest version: 1.4.2
|
10
10
|
|
11
|
-
Fech is tested under Ruby versions 1.8.7, 1.9.2
|
11
|
+
Fech is tested under Ruby versions 1.8.7, 1.9.2, 1.9.3 and 2.0.0.
|
12
12
|
|
13
13
|
== Documentation
|
14
14
|
|
@@ -16,6 +16,7 @@ Can be found at Fech's Github page[http://nytimes.github.com/Fech/].
|
|
16
16
|
|
17
17
|
== News
|
18
18
|
|
19
|
+
* Sep. 6, 2013: Version 1.4.2 released. Added support for Ruby 2.0 and fixed improper mapping for F1S records. Thanks to @bycoffe for the report.
|
19
20
|
* May 22, 2013: Version 1.4.1 released. Bugfix to add version 6.2 to F5 filing mappings.
|
20
21
|
* April 18, 2013: Version 1.4 released. Adds support for unofficial Senate electronic filings.
|
21
22
|
* March 26, 2013: Version 1.3.2 released. Bugfix for F99 filing encoding issues. Thanks for the patch, @jgillum.
|
data/fech.gemspec
CHANGED
@@ -26,15 +26,17 @@ Gem::Specification.new do |s|
|
|
26
26
|
s.add_development_dependency "ruby-debug"
|
27
27
|
s.add_development_dependency "iconv"
|
28
28
|
end
|
29
|
-
if RUBY_VERSION >= "
|
29
|
+
if RUBY_VERSION >= "2.0"
|
30
|
+
s.add_development_dependency "debugger", "1.4.0"
|
31
|
+
end
|
32
|
+
if RUBY_VERSION >= "1.9" && RUBY_VERSION < '2.0'
|
30
33
|
s.add_development_dependency "ruby-debug19"
|
31
34
|
s.add_development_dependency "linecache19"
|
32
|
-
end
|
33
|
-
s.add_development_dependency "rake"
|
35
|
+
end
|
36
|
+
s.add_development_dependency "rake"
|
34
37
|
s.add_development_dependency "rspec", "~> 2.6"
|
35
38
|
s.add_development_dependency "mocha"
|
36
39
|
s.add_development_dependency "bundler"
|
37
|
-
s.add_development_dependency "rcov"
|
38
40
|
s.add_development_dependency "rdoc"
|
39
41
|
s.add_development_dependency "yard"
|
40
42
|
end
|
data/lib/fech/fech_utils.rb
CHANGED
@@ -7,11 +7,12 @@ module FechUtils
|
|
7
7
|
# the longest regex pattern found.
|
8
8
|
ROW_TYPES = {
|
9
9
|
:hdr => /^hdr$/i,
|
10
|
-
:f1 => /^f1/i,
|
10
|
+
:f1 => /^f1[an]/i,
|
11
11
|
:f13 => /^f13[an]/i,
|
12
12
|
:f132 => /^f132/i,
|
13
13
|
:f133 => /^f133/i,
|
14
|
-
:f1m => /(^f1m[
|
14
|
+
:f1m => /(^f1m[a|n])/i,
|
15
|
+
:f1s => /^f1s/i,
|
15
16
|
:f2 => /(^f2$)|(^f2[^4])/i,
|
16
17
|
:f24 => /(^f24$)|(^f24[an])/i,
|
17
18
|
:f3 => /^f3[a|n|t]/i,
|
data/lib/fech/filing.rb
CHANGED
@@ -235,7 +235,14 @@ module Fech
|
|
235
235
|
# before it's been parsed. This is needed
|
236
236
|
# for the F99 special case.
|
237
237
|
def form_type
|
238
|
-
|
238
|
+
|
239
|
+
if RUBY_VERSION >= "2.0"
|
240
|
+
lines = file_contents.each_line
|
241
|
+
else
|
242
|
+
lines = file_contents.lines
|
243
|
+
end
|
244
|
+
|
245
|
+
lines.each_with_index do |row, index|
|
239
246
|
next if index == 0
|
240
247
|
return row.split(delimiter).first
|
241
248
|
end
|
@@ -256,7 +263,8 @@ module Fech
|
|
256
263
|
content = file_contents.read
|
257
264
|
|
258
265
|
if RUBY_VERSION > "1.9.2"
|
259
|
-
content.encode!('UTF-
|
266
|
+
content.encode!('UTF-16', 'UTF-8', :invalid => :replace, :replace => '')
|
267
|
+
content.encode!('UTF-8', 'UTF-16')
|
260
268
|
else
|
261
269
|
require 'iconv'
|
262
270
|
ic = Iconv.new('UTF-8//IGNORE', 'UTF-8')
|
data/lib/fech/map_generator.rb
CHANGED
@@ -9,7 +9,7 @@ module Fech
|
|
9
9
|
attr_accessor :map
|
10
10
|
FILING_VERSIONS = ["8.0", "7.0", "6.4", "6.3", "6.2", "6.1",
|
11
11
|
"5.3", "5.2", "5.1", "5.0", "3"]
|
12
|
-
BASE_ROW_TYPES = ["HDR", "F1", "F13", "F132", "F133", "F1M", "F2", "F24", "F3", "F3L", "F3P", "F3P31", "F3PS",
|
12
|
+
BASE_ROW_TYPES = ["HDR", "F1", "F13", "F132", "F133", "F1M", "F1S", "F2", "F24", "F3", "F3L", "F3P", "F3P31", "F3PS",
|
13
13
|
"F3S", "F3X", "F4", "F5", "F56", "F57", "F6", "F65", "F7", "F76", "F9", "F91", "F92", "F93",
|
14
14
|
"F94", "F99", "H1", "H2", "H3", "H4", "H5", "H6",
|
15
15
|
"SchA", "SchB", "SchC", "SchC1", "SchC2", "SchD", "SchE", "SchF", "SchL", "TEXT"]
|
@@ -20,6 +20,7 @@ module Fech
|
|
20
20
|
"F132" => FechUtils::ROW_TYPES[:f132],
|
21
21
|
"F133" => FechUtils::ROW_TYPES[:f133],
|
22
22
|
"F1M" => FechUtils::ROW_TYPES[:f1m],
|
23
|
+
"F1S" => FechUtils::ROW_TYPES[:f1s],
|
23
24
|
"F2" => FechUtils::ROW_TYPES[:f2],
|
24
25
|
"F24" => FechUtils::ROW_TYPES[:f24],
|
25
26
|
"F3" => FechUtils::ROW_TYPES[:f3],
|
data/lib/fech/rendered_maps.rb
CHANGED
@@ -9,7 +9,7 @@ module Fech
|
|
9
9
|
'^[6-8]' => [:record_type, :ef_type, :fec_version, :soft_name, :soft_ver, :report_id, :report_number, :comment],
|
10
10
|
'^[3-5]' => [:record_type, :ef_type, :fec_version, :soft_name, :soft_ver, :name_delim, :report_id, :report_number, :comment],
|
11
11
|
},
|
12
|
-
"^f1" => {
|
12
|
+
"^f1[an]" => {
|
13
13
|
'^8.0|7.0|6.4' => [:form_type, :filer_committee_id_number, :change_of_committee_name, :committee_name, :change_of_address, :street_1, :street_2, :city, :state, :zip_code, :change_of_committee_email, :committee_email, :change_of_committee_url, :committee_url, :effective_date, :signature_last_name, :signature_first_name, :signature_middle_name, :signature_prefix, :signature_suffix, :date_signed, :committee_type, :candidate_id_number, :candidate_last_name, :candidate_first_name, :candidate_middle_name, :candidate_prefix, :candidate_suffix, :candidate_office, :candidate_state, :candidate_district, :party_code, :party_type, :organization_type, :lobbyist_registrant_pac, :lobbyist_registrant_pac_2, :leadership_pac, :affiliated_committee_id_number, :affiliated_committee_name, :affiliated_candidate_id_number, :affiliated_last_name, :affiliated_first_name, :affiliated_middle_name, :affiliated_prefix, :affiliated_suffix, :affiliated_street_1, :affiliated_street_2, :affiliated_city, :affiliated_state, :affiliated_zip_code, :affiliated_relationship_code, :custodian_last_name, :custodian_first_name, :custodian_middle_name, :custodian_prefix, :custodian_suffix, :custodian_street_1, :custodian_street_2, :custodian_city, :custodian_state, :custodian_zip_code, :custodian_title, :custodian_telephone, :treasurer_last_name, :treasurer_first_name, :treasurer_middle_name, :treasurer_prefix, :treasurer_suffix, :treasurer_street_1, :treasurer_street_2, :treasurer_city, :treasurer_state, :treasurer_zip_code, :treasurer_title, :treasurer_telephone, :agent_last_name, :agent_first_name, :agent_middle_name, :agent_prefix, :agent_suffix, :agent_street_1, :agent_street_2, :agent_city, :agent_state, :agent_zip_code, :agent_title, :agent_telephone, :bank_name, :bank_street_1, :bank_street_2, :bank_city, :bank_state, :bank_zip_code, :bank2_name, :bank2_street_1, :bank2_street_2, :bank2_city, :bank2_state, :bank2_zip_code],
|
14
14
|
'^6.3|6.2|6.1' => [:form_type, :filer_committee_id_number, :change_of_committee_name, :committee_name, :change_of_address, :street_1, :street_2, :city, :state, :zip_code, :change_of_committee_email, :committee_email, :change_of_committee_url, :committee_url, :effective_date, :signature_last_name, :signature_first_name, :signature_middle_name, :signature_prefix, :signature_suffix, :date_signed, :committee_type, :candidate_id_number, :candidate_last_name, :candidate_first_name, :candidate_middle_name, :candidate_prefix, :candidate_suffix, :candidate_office, :candidate_state, :candidate_district, :party_code, :party_type, :organization_type, :lobbyist_registrant_pac, :lobbyist_registrant_pac_2, :leadership_pac, :affiliated_committee_id_number, :affiliated_committee_name, :affiliated_candidate_id_number, :affiliated_last_name, :affiliated_first_name, :affiliated_middle_name, :affiliated_prefix, :affiliated_suffix, :affiliated_street_1, :affiliated_street_2, :affiliated_city, :affiliated_state, :affiliated_zip_code, :affiliated_relationship_code, :custodian_last_name, :custodian_first_name, :custodian_middle_name, :custodian_prefix, :custodian_suffix, :custodian_street_1, :custodian_street_2, :custodian_city, :custodian_state, :custodian_zip_code, :custodian_title, :custodian_telephone, :treasurer_last_name, :treasurer_first_name, :treasurer_middle_name, :treasurer_prefix, :treasurer_suffix, :treasurer_street_1, :treasurer_street_2, :treasurer_city, :treasurer_state, :treasurer_zip_code, :treasurer_title, :treasurer_telephone, :agent_last_name, :agent_first_name, :agent_middle_name, :agent_prefix, :agent_suffix, :agent_street_1, :agent_street_2, :agent_city, :agent_state, :agent_zip_code, :agent_title, :agent_telephone, :bank_name, :bank_street_1, :bank_street_2, :bank_city, :bank_state, :bank_zip_code, :bank2_name, :bank2_street_1, :bank2_street_2, :bank2_city, :bank2_state, :bank2_zip_code],
|
15
15
|
'^5.3|5.2|5.1|5.0' => [:form_type, :filer_committee_id_number, :committee_name, :street_1, :street_2, :city, :state, :zip_code, :effective_date, :change_of_committee_name, :change_of_address, :committee_type, :candidate_id_number, :candidate_name, :candidate_office, :candidate_state, :candidate_district, :party_code, :party_type, :affiliated_committee_id_number, :affiliated_committee_name, :affiliated_street_1, :affiliated_street_2, :affiliated_city, :affiliated_state, :affiliated_zip_code, :affiliated_relationship_code, :organization_type, :custodian_name, :custodian_street_1, :custodian_street_2, :custodian_city, :custodian_state, :custodian_zip_code, :custodian_title, :custodian_telephone, :treasurer_name, :treasurer_street_1, :treasurer_street_2, :treasurer_city, :treasurer_state, :treasurer_zip_code, :treasurer_title, :treasurer_telephone, :agent_name, :agent_street_1, :agent_street_2, :agent_city, :agent_state, :agent_zip_code, :agent_title, :agent_telephone, :bank_name, :bank_street_1, :bank_street_2, :bank_city, :bank_state, :bank_zip_code, :signature_name, :date_signed, :committee_email, :committee_url, :committee_fax_number],
|
@@ -27,10 +27,16 @@ module Fech
|
|
27
27
|
'^8.0|7.0|6.4|6.3|6.2|6.1' => [:form_type, :filer_committee_id_number, :transaction_id_number, :back_reference_tran_id_number, :back_reference_sched_name, :entity_type, :contributor_organization_name, :contributor_last_name, :contributor_first_name, :contributor_middle_name, :contributor_prefix, :contributor_suffix, :contributor_street_1, :contributor_street_2, :contributor_city, :contributor_state, :contributor_zip, :refund_date, :refund_amount, :memo_code, :memo_text_description],
|
28
28
|
'^5.3|5.2' => [:form_type, :filer_committee_id_number, :entity_type, :contributor_organization_name, :contributor_last_name, :contributor_first_name, :contributor_middle_name, :contributor_prefix, :contributor_suffix, :contributor_street_1, :contributor_street_2, :contributor_city, :contributor_state, :contributor_zip, :refund_date, :refund_amount, nil, :transaction_id_number, :back_reference_tran_id_number, :back_reference_sched_name],
|
29
29
|
},
|
30
|
-
"(^f1m[
|
30
|
+
"(^f1m[a|n])" => {
|
31
31
|
'^8.0|7.0|6.4|6.3|6.2|6.1' => [:form_type, :filer_committee_id_number, :committee_name, :street_1, :street_2, :city, :state, :zip_code, :committee_type, :affiliated_date_f1_filed, :affiliated_committee_id_number, :affiliated_committee_name, :first_candidate_id_number, :first_candidate_last_name, :first_candidate_first_name, :first_candidate_middle_name, :first_candidate_prefix, :first_candidate_suffix, :first_candidate_office, :first_candidate_state, :first_candidate_district, :first_candidate_contribution_date, :second_candidate_id_number, :second_candidate_last_name, :second_candidate_second_name, :second_candidate_middle_name, :second_candidate_prefix, :second_candidate_suffix, :second_candidate_office, :second_candidate_state, :second_candidate_district, :second_candidate_contribution_date, :third_candidate_id_number, :third_candidate_last_name, :third_candidate_third_name, :third_candidate_middle_name, :third_candidate_prefix, :third_candidate_suffix, :third_candidate_office, :third_candidate_state, :third_candidate_district, :third_candidate_contribution_date, :fourth_candidate_id_number, :fourth_candidate_last_name, :fourth_candidate_fourth_name, :fourth_candidate_middle_name, :fourth_candidate_prefix, :fourth_candidate_suffix, :fourth_candidate_office, :fourth_candidate_state, :fourth_candidate_district, :fourth_candidate_contribution_date, :fifth_candidate_id_number, :fifth_candidate_last_name, :fifth_candidate_fifth_name, :fifth_candidate_middle_name, :fifth_candidate_prefix, :fifth_candidate_suffix, :fifth_candidate_office, :fifth_candidate_state, :fifth_candidate_district, :fifth_candidate_contribution_date, :fifty_first_contributor_date, :original_registration_date, :requirements_met_date, :treasurer_last_name, :treasurer_first_name, :treasurer_middle_name, :treasurer_prefix, :treasurer_suffix, :date_signed],
|
32
32
|
'^5.3|5.2|5.1|5.0|3.0' => [:form_type, :filer_committee_id_number, :committee_name, :street_1, :street_2, :city, :state, :zip_code, :committee_type, :affiliated_date_f1_filed, :affiliated_committee_id_number, :affiliated_committee_name, :first_candidate_id_number, :first_candidate_name, :first_candidate_office, :first_candidate_state, :first_candidate_district, :first_candidate_contribution_date, :second_candidate_id_number, :second_candidate_name, :second_candidate_office, :second_candidate_state, :second_candidate_district, :second_candidate_contribution_date, :third_candidate_id_number, :third_candidate_name, :third_candidate_office, :third_candidate_state, :third_candidate_district, :third_candidate_contribution_date, :fourth_candidate_id_number, :fourth_candidate_name, :fourth_candidate_office, :fourth_candidate_state, :fourth_candidate_district, :fourth_candidate_contribution_date, :fifth_candidate_id_number, :fifth_candidate_name, :fifth_candidate_office, :fifth_candidate_state, :fifth_candidate_district, :fifth_candidate_contribution_date, :fifty_first_contributor_date, :original_registration_date, :requirements_met_date, :treasurer_name, :date_signed],
|
33
33
|
},
|
34
|
+
"^f1s" => {
|
35
|
+
'^8.0|7.0|6.4|6.3|6.2' => [:form_type, :filer_committee_id_number, :joint_fund_participant_committee_name, :joint_fund_participant_committee_id_number, :affiliated_committee_id_number, :affiliated_committee_name, :affiliated_candidate_id_number, :affiliated_last_name, :affiliated_first_name, :affiliated_middle_name, :affiliated_prefix, :affiliated_suffix, :affiliated_street_1, :affiliated_street_2, :affiliated_city, :affiliated_state, :affiliated_zip_code, :affiliated_relationship_code, :agent_last_name, :agent_first_name, :agent_middle_name, :agent_prefix, :agent_suffix, :agent_street_1, :agent_street_2, :agent_city, :agent_state, :agent_zip_code, :agent_title, :agent_telephone, :bank_name, :bank_street_1, :bank_street_2, :bank_city, :bank_state, :bank_zip_code],
|
36
|
+
'^6.1' => [:form_type, :filer_committee_id_number, :affiliated_committee_id_number, :affiliated_committee_name, :affiliated_street_1, :affiliated_street_2, :affiliated_city, :affiliated_state, :affiliated_zip_code, :affiliated_relationship_code, nil, :agent_last_name, :agent_first_name, :agent_middle_name, :agent_prefix, :agent_suffix, :agent_street_1, :agent_street_2, :agent_city, :agent_state, :agent_zip_code, :agent_title, :agent_telephone, :bank_name, :bank_street_1, :bank_street_2, :bank_city, :bank_state, :bank_zip_code],
|
37
|
+
'^5.3|5.2|5.1|5.0' => [],
|
38
|
+
'^3.0' => [],
|
39
|
+
},
|
34
40
|
"(^f2$)|(^f2[^4])" => {
|
35
41
|
'^8.0|7.0|6.4' => [:form_type, :candidate_id_number, :candidate_last_name, :candidate_first_name, :candidate_middle_name, :candidate_prefix, :candidate_suffix, :change_of_address, :candidate_street_1, :candidate_street_2, :candidate_city, :candidate_state, :candidate_zip_code, :candidate_party_code, :candidate_office, :candidate_state, :candidate_district, :election_year, :committee_id_number, :committee_name, :committee_street_1, :committee_street_2, :committee_city, :committee_state, :committee_zip_code, :authorized_committee_id_number, :authorized_committee_name, :authorized_committee_street_1, :authorized_committee_street_2, :authorized_committee_city, :authorized_committee_state, :authorized_committee_zip_code, :candidate_signature_last_name, :candidate_signature_first_name, :candidate_signature_middle_name, :candidate_signature_prefix, :candidate_signature_suffix, :date_signed],
|
36
42
|
'^6.3|6.2|6.1' => [:form_type, :candidate_id_number, :candidate_last_name, :candidate_first_name, :candidate_middle_name, :candidate_prefix, :candidate_suffix, :change_of_address, :candidate_street_1, :candidate_street_2, :candidate_city, :candidate_state, :candidate_zip_code, :candidate_party_code, :candidate_office, :candidate_state, :candidate_district, :election_year, :committee_id_number, :committee_name, :committee_street_1, :committee_street_2, :committee_city, :committee_state, :committee_zip_code, :authorized_committee_id_number, :authorized_committee_name, :authorized_committee_street_1, :authorized_committee_street_2, :authorized_committee_city, :authorized_committee_state, :authorized_committee_zip_code, :primary_personal_funds_declared, :general_personal_funds_declared, :candidate_signature_last_name, :candidate_signature_first_name, :candidate_signature_middle_name, :candidate_signature_prefix, :candidate_signature_suffix, :date_signed],
|
data/lib/fech/version.rb
CHANGED
data/sources/F1S.csv
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
canonical,^8.0|7.0|6.4|6.3|6.2,,^6.1,,^5.3|5.2|5.1|5.0,,^3.0
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fech
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -12,11 +12,11 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2013-
|
15
|
+
date: 2013-09-06 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: fastercsv
|
19
|
-
requirement:
|
19
|
+
requirement: !ruby/object:Gem::Requirement
|
20
20
|
none: false
|
21
21
|
requirements:
|
22
22
|
- - ! '>='
|
@@ -24,10 +24,15 @@ dependencies:
|
|
24
24
|
version: '0'
|
25
25
|
type: :runtime
|
26
26
|
prerelease: false
|
27
|
-
version_requirements:
|
27
|
+
version_requirements: !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
28
33
|
- !ruby/object:Gem::Dependency
|
29
34
|
name: people
|
30
|
-
requirement:
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
31
36
|
none: false
|
32
37
|
requirements:
|
33
38
|
- - ! '>='
|
@@ -35,10 +40,15 @@ dependencies:
|
|
35
40
|
version: '0'
|
36
41
|
type: :runtime
|
37
42
|
prerelease: false
|
38
|
-
version_requirements:
|
43
|
+
version_requirements: !ruby/object:Gem::Requirement
|
44
|
+
none: false
|
45
|
+
requirements:
|
46
|
+
- - ! '>='
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0'
|
39
49
|
- !ruby/object:Gem::Dependency
|
40
50
|
name: ruby-debug19
|
41
|
-
requirement:
|
51
|
+
requirement: !ruby/object:Gem::Requirement
|
42
52
|
none: false
|
43
53
|
requirements:
|
44
54
|
- - ! '>='
|
@@ -46,10 +56,15 @@ dependencies:
|
|
46
56
|
version: '0'
|
47
57
|
type: :development
|
48
58
|
prerelease: false
|
49
|
-
version_requirements:
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
none: false
|
61
|
+
requirements:
|
62
|
+
- - ! '>='
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: '0'
|
50
65
|
- !ruby/object:Gem::Dependency
|
51
66
|
name: linecache19
|
52
|
-
requirement:
|
67
|
+
requirement: !ruby/object:Gem::Requirement
|
53
68
|
none: false
|
54
69
|
requirements:
|
55
70
|
- - ! '>='
|
@@ -57,21 +72,31 @@ dependencies:
|
|
57
72
|
version: '0'
|
58
73
|
type: :development
|
59
74
|
prerelease: false
|
60
|
-
version_requirements:
|
75
|
+
version_requirements: !ruby/object:Gem::Requirement
|
76
|
+
none: false
|
77
|
+
requirements:
|
78
|
+
- - ! '>='
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '0'
|
61
81
|
- !ruby/object:Gem::Dependency
|
62
82
|
name: rake
|
63
|
-
requirement:
|
83
|
+
requirement: !ruby/object:Gem::Requirement
|
64
84
|
none: false
|
65
85
|
requirements:
|
66
|
-
- -
|
86
|
+
- - ! '>='
|
67
87
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0
|
88
|
+
version: '0'
|
69
89
|
type: :development
|
70
90
|
prerelease: false
|
71
|
-
version_requirements:
|
91
|
+
version_requirements: !ruby/object:Gem::Requirement
|
92
|
+
none: false
|
93
|
+
requirements:
|
94
|
+
- - ! '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
72
97
|
- !ruby/object:Gem::Dependency
|
73
98
|
name: rspec
|
74
|
-
requirement:
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
75
100
|
none: false
|
76
101
|
requirements:
|
77
102
|
- - ~>
|
@@ -79,10 +104,15 @@ dependencies:
|
|
79
104
|
version: '2.6'
|
80
105
|
type: :development
|
81
106
|
prerelease: false
|
82
|
-
version_requirements:
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
none: false
|
109
|
+
requirements:
|
110
|
+
- - ~>
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '2.6'
|
83
113
|
- !ruby/object:Gem::Dependency
|
84
114
|
name: mocha
|
85
|
-
requirement:
|
115
|
+
requirement: !ruby/object:Gem::Requirement
|
86
116
|
none: false
|
87
117
|
requirements:
|
88
118
|
- - ! '>='
|
@@ -90,10 +120,15 @@ dependencies:
|
|
90
120
|
version: '0'
|
91
121
|
type: :development
|
92
122
|
prerelease: false
|
93
|
-
version_requirements:
|
123
|
+
version_requirements: !ruby/object:Gem::Requirement
|
124
|
+
none: false
|
125
|
+
requirements:
|
126
|
+
- - ! '>='
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: '0'
|
94
129
|
- !ruby/object:Gem::Dependency
|
95
130
|
name: bundler
|
96
|
-
requirement:
|
131
|
+
requirement: !ruby/object:Gem::Requirement
|
97
132
|
none: false
|
98
133
|
requirements:
|
99
134
|
- - ! '>='
|
@@ -101,21 +136,15 @@ dependencies:
|
|
101
136
|
version: '0'
|
102
137
|
type: :development
|
103
138
|
prerelease: false
|
104
|
-
version_requirements:
|
105
|
-
- !ruby/object:Gem::Dependency
|
106
|
-
name: rcov
|
107
|
-
requirement: &2152250400 !ruby/object:Gem::Requirement
|
139
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
140
|
none: false
|
109
141
|
requirements:
|
110
142
|
- - ! '>='
|
111
143
|
- !ruby/object:Gem::Version
|
112
144
|
version: '0'
|
113
|
-
type: :development
|
114
|
-
prerelease: false
|
115
|
-
version_requirements: *2152250400
|
116
145
|
- !ruby/object:Gem::Dependency
|
117
146
|
name: rdoc
|
118
|
-
requirement:
|
147
|
+
requirement: !ruby/object:Gem::Requirement
|
119
148
|
none: false
|
120
149
|
requirements:
|
121
150
|
- - ! '>='
|
@@ -123,10 +152,15 @@ dependencies:
|
|
123
152
|
version: '0'
|
124
153
|
type: :development
|
125
154
|
prerelease: false
|
126
|
-
version_requirements:
|
155
|
+
version_requirements: !ruby/object:Gem::Requirement
|
156
|
+
none: false
|
157
|
+
requirements:
|
158
|
+
- - ! '>='
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: '0'
|
127
161
|
- !ruby/object:Gem::Dependency
|
128
162
|
name: yard
|
129
|
-
requirement:
|
163
|
+
requirement: !ruby/object:Gem::Requirement
|
130
164
|
none: false
|
131
165
|
requirements:
|
132
166
|
- - ! '>='
|
@@ -134,7 +168,12 @@ dependencies:
|
|
134
168
|
version: '0'
|
135
169
|
type: :development
|
136
170
|
prerelease: false
|
137
|
-
version_requirements:
|
171
|
+
version_requirements: !ruby/object:Gem::Requirement
|
172
|
+
none: false
|
173
|
+
requirements:
|
174
|
+
- - ! '>='
|
175
|
+
- !ruby/object:Gem::Version
|
176
|
+
version: '0'
|
138
177
|
description: A Ruby library for interacting with electronic filings from the Federal
|
139
178
|
Election Commission.
|
140
179
|
email:
|
@@ -170,6 +209,7 @@ files:
|
|
170
209
|
- sources/F132.csv
|
171
210
|
- sources/F133.csv
|
172
211
|
- sources/F1M.csv
|
212
|
+
- sources/F1S.csv
|
173
213
|
- sources/F2.csv
|
174
214
|
- sources/F24.csv
|
175
215
|
- sources/F3.csv
|
@@ -279,15 +319,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
279
319
|
- - ! '>='
|
280
320
|
- !ruby/object:Gem::Version
|
281
321
|
version: '0'
|
322
|
+
segments:
|
323
|
+
- 0
|
324
|
+
hash: 1746792798321377153
|
282
325
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
283
326
|
none: false
|
284
327
|
requirements:
|
285
328
|
- - ! '>='
|
286
329
|
- !ruby/object:Gem::Version
|
287
330
|
version: '0'
|
331
|
+
segments:
|
332
|
+
- 0
|
333
|
+
hash: 1746792798321377153
|
288
334
|
requirements: []
|
289
335
|
rubyforge_project: fech
|
290
|
-
rubygems_version: 1.8.
|
336
|
+
rubygems_version: 1.8.25
|
291
337
|
signing_key:
|
292
338
|
specification_version: 3
|
293
339
|
summary: Ruby library for parsing FEC filings.
|