fech 1.1 → 1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +2 -1
- data/lib/fech/csv.rb +2 -2
- data/lib/fech/filing.rb +2 -1
- data/lib/fech/version.rb +1 -1
- data/spec/data/771694.fec +187 -0
- data/spec/filing_spec.rb +6 -0
- metadata +107 -174
data/README.rdoc
CHANGED
@@ -6,7 +6,7 @@
|
|
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.
|
9
|
+
Latest version: 1.2
|
10
10
|
|
11
11
|
Fech is tested under Ruby versions 1.8.7, 1.9.2 and 1.9.3.
|
12
12
|
|
@@ -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
|
+
* Dec. 3, 2012: Version 1.2 released. Fixes encoding errors under Ruby 1.9.3 for ASCII-encoded filings. Thanks to Sanjiv for the bug report.
|
19
20
|
* Nov. 13, 2012: Version 1.1 released. CSVDoctor skips rows that don't match row type being searched for, which provides a performance boost, and smaller bugfixes for Form 99 handling and date-field conversions. Thanks to Sai for several patches.
|
20
21
|
* June 16, 2012: Version 1.0.1 released. Bug-fix for older Form 2 support.
|
21
22
|
* April 11, 2012: Version 1.0.0 released! Support for Ruby 1.9.3 added, all form types supported.
|
data/lib/fech/csv.rb
CHANGED
@@ -28,7 +28,7 @@ module Fech
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def self.clean_opts(opts)
|
31
|
-
opts.reject {|k,v| ![:col_sep, :quote_char].include?(k)}
|
31
|
+
opts.reject {|k,v| ![:col_sep, :quote_char, :encoding].include?(k)}
|
32
32
|
end
|
33
33
|
|
34
34
|
end
|
@@ -39,7 +39,7 @@ module Fech
|
|
39
39
|
# the file to a function that will parse it individually.
|
40
40
|
# @option opts [Boolean] :row_type yield only rows that match this type
|
41
41
|
def self.parse_row(file_path, opts)
|
42
|
-
File.open(file_path, 'r').each do |line|
|
42
|
+
File.open(file_path, 'r', :encoding => opts[:encoding]).each do |line|
|
43
43
|
# Skip empty lines
|
44
44
|
next if line.strip.empty?
|
45
45
|
|
data/lib/fech/filing.rb
CHANGED
@@ -23,6 +23,7 @@ module Fech
|
|
23
23
|
@csv_parser = opts[:csv_parser] || Fech::Csv
|
24
24
|
@resaved = false
|
25
25
|
@customized = false
|
26
|
+
@encoding = opts[:encoding] || 'iso-8859-1:utf-8'
|
26
27
|
end
|
27
28
|
|
28
29
|
# Saves the filing data from the FEC website into the default download
|
@@ -282,7 +283,7 @@ module Fech
|
|
282
283
|
resave_f99_contents if ['F99', '"F99"'].include? form_type
|
283
284
|
|
284
285
|
c = 0
|
285
|
-
@csv_parser.parse_row(@customized ? custom_file_path : file_path, opts.merge(:col_sep => delimiter, :quote_char => @quote_char, :skip_blanks => true)) do |row|
|
286
|
+
@csv_parser.parse_row(@customized ? custom_file_path : file_path, opts.merge(:col_sep => delimiter, :quote_char => @quote_char, :skip_blanks => true, :encoding => @encoding)) do |row|
|
286
287
|
if opts[:with_index]
|
287
288
|
yield [row, c]
|
288
289
|
c += 1
|
data/lib/fech/version.rb
CHANGED
@@ -0,0 +1,187 @@
|
|
1
|
+
HDRFEC8.0Aristotle International CM5 PM5Version 5.20
|
2
|
+
F3XNC00014498Republican Party of Iowa621 E. Ninth StreetDes MoinesIA50309 M32012020120120229WilliamsCraig20120320563257.4930657.64593915.13144072.73449842.400.000.0022849.285608.3628457.640.001000.0029457.640.000.000.001200.000.000.000.000.000.0030657.6430657.6415451.8039733.2274087.71129272.733000.000.000.000.000.000.000.000.000.000.0010000.000.000.001800.001800.00144072.73104339.5129457.640.0029457.6489539.511200.0088339.51580613.89201284425.48665039.37215196.97449842.4050944.0830524.8481468.920.001500.0082968.920.000.000.001456.560.000.000.000.000.0084425.4884425.4823778.7261145.26115472.99200396.973000.000.000.000.000.000.000.000.000.000.0010000.000.000.001800.001800.00215196.97154051.7182968.920.0082968.92139251.711456.56137795.15
|
3
|
+
TEXTC00014498TEXT.1F3XNThomas Moreland has contributed an excessive amount of $10,000. Since the contribution is still within the 60 days of receipt, the committee has transferred the excessive amount to its non-federal account. He has been notified in writing. The transfer is also disclosed in this months report. All expenditures listed on Schedule B for line 30b during this period are generic, and not made on behalf of any federal election or federal candidate/committee. During this reporting period, payroll, payroll taxes and fringe benefits for any committee employee who spent 25% or more of their time on activities related to a Federal election are being reported as Federal Election Activity and show on Schedule B for line 30b. All salaries, wages and/or fringe benefits reported on Schedule H4 are for employees who spent less than 25% of their time on federal election activity or in connection with a Federal election. The committee herby incorporates by reference Form 99 Miscellaneous Report, June 20, 2009, outlining its policies with regard to payments received by candidate committees for goods and services provided. The Republican Party of Iowa owns and operates its own building and land at its headquarters in Des Moines, Iowa. This committee does not recognize registered lobbyists or registrant committees for purposes of aggregate contributions. The Republican Party of Iowa follows a best efforts policy/procedure that begins with a clean and conspicuous request from donors for their full name, mailing address, occupation, and name of employer at the initial solicitation for a contribution, informing the contributor of the requirements of federal law for the reporting of such information, as required by under 11 CFR �104.7. Upon receipt of a contribution, collected donor information, as reported by the donor, is captured into our contributor database for purposes of reporting on the next FEC disclosure report. All contributors who have crossed the $200 cumulative threshold and have not provided sufficient information are sent correspondence requesting the missing information (that does not include a solicitation of contribution), including a postage-paid return envelope. This is completed on a twice monthly basis. If information is still missing at the time of a reporting cutoff, a phone contact is made. A record of the correspondence is documented and retained for verification. Every effort is made to never have missing information on each disclosure report before filing; however, when information is received following a filing, amendments of the original report or memo entries on subsequent reports are submitted.
|
4
|
+
SA11AIC0001449820313.C366267INDBrunkhorstEdna104 Willow CircleWaverlyIA50677206320120227366.00366.00ReceiptNoneHomemaker
|
5
|
+
SA11AIC0001449820313.C366258INDBywaterWillis621 S Summit StreetIowa CityIA5224020120223500.00500.00ReceiptEconomy Advertising Co. & Ass.CEO
|
6
|
+
SA11AIC0001449820222.C366211INDChandlerGregory16763 545th StCharitonIA50049857120120216241.44241.44ReceiptHy Vee StoreDriver
|
7
|
+
SA11AIC0001449820313.C366266INDJenkinsGlenn6 Winter Ridge RdWaterlooIA50701104920120227366.00366.00ReceiptState of Iowa/Jenkins ConsultiEngineer
|
8
|
+
SA11AIC0001449820220.C365699INDJonesKevin2610 W Lincoln WayMarshalltownIA50158233720120202201.20201.20ReceiptInformation RequestedInformation Requested
|
9
|
+
SA11AIC0001449820217.C365604INDMaxwellPeggy3606 151st StUrbandaleIA50323161720120201201.20201.20ReceiptNoneRetired
|
10
|
+
SA11AIC0001449820217.C365623INDMorelandThomas15910 Tanglewood DrUrbandaleIA503232012021420000.0020000.00ReceiptSt. Jude EnterprisesCEO
|
11
|
+
SA11AIC0001449820319.C366312INDMorelandThomas15910 Tanglewood DrUrbandaleIA5032320120214-10000.0020000.00MemoSt. Jude EnterprisesCEOXNOTE: Transfer to Non-Federal
|
12
|
+
SA11AIC0001449820218.C365651INDRalstonKaren812 Cherokee StNevadaIA5020120120208366.00366.00ReceiptNoneHomemaker
|
13
|
+
SA11CC0001449820217.C365605PACThe Hawkeye PACPO Box 192Des MoinesIA503010192201202131000.001000.00ReceiptC00379479
|
14
|
+
SA11AIC0001449820220.C365687INDTinsmanMargaret3541 E. Kimberly RoadDavenportIA5280720120203366.00366.00ReceiptMaggie Tinsman LLCConsultant
|
15
|
+
SA11AIC0001449820313.C366273INDWeilandTroy33180 Timber Hills DriveAdelIA5000320120228241.44241.44ReceiptNoneRetired
|
16
|
+
SA15C0001449820218.C365658CCMGrassley Committee, Inc.PO Box 1000Des MoinesIA503041000201202071200.001200.00Offsets to Operating ExpendituNOTE: 2012 Rent
|
17
|
+
SB21bC0001449820313.E49822ORGPinkerton Consulting & Investigations1055 Wilshire Blvd Suite 1818Los AngelesCA90017 201202092125.00Straw Poll Debate SecuritySTRAW POLL DEBATE SECURITY
|
18
|
+
SB21bC0001449820313.E49836ORGAristotle International, Inc.205 Pennsylvania Ave., SEWashingtonDC20003 201202072100.00FEC Reporting SoftwareFEC REPORTING SOFTWARE
|
19
|
+
SB21bC0001449820313.E49929ORGBankers Trust Company665 Locust Street PO Box 4914Des MoinesIA50306491420120213351.39Bank FeeBANK FEE
|
20
|
+
SB21bC0001449820313.E49846ORGContemporary Catering60 School Street P. O. Box 178CarlisleIA50047 20120216379.69CateringCATERING
|
21
|
+
SB21bC0001449820313.E49824ORGCommunication Enterprises7716 Brookshire DriveUrbandaleIA50322 20120207100.70Phone System RepairPHONE SYSTEM REPAIR
|
22
|
+
SB21bC0001449820313.E49830ORGVictory Enterprises5200 SW 30th St 52802 2012020332.09Generic Texting ServiceGENERIC TEXTING SERVICE
|
23
|
+
SB21bC0001449820313.E49901ORGVictory Enterprises5200 SW 30th St 52802 201202239500.00Smartphone Application DevelopmentSMARTPHONE APPLICATION DEVELOPMENT
|
24
|
+
SB21bC0001449820313.E49862INDHeyeDouglas122 6th Street NEWashingtonDC20002 201202076500.00Caucus Media ConsultingCAUCUS MEDIA CONSULTING
|
25
|
+
SB21bC0001449820313.E49863INDHeyeDouglas122 6th Street NEWashingtonDC20002 201202073685.52SEE BELOW: Reimbursed TravelSEE BELOW: REIMBURSED TRAVEL
|
26
|
+
SB21bC0001449820313.E49864ORGUnited Airlines2 N. LaSalle StreetChicagoIL60602 20120207613.80HEYE - AIRFAREXMEMO: HEYE - AIRFARE
|
27
|
+
SB21bC0001449820313.E49865ORGUnited Airlines2 N. LaSalle StreetChicagoIL60602 20120207613.80HEYE - AIRFAREXMEMO: HEYE - AIRFARE
|
28
|
+
SB21bC0001449820313.E49866ORGAmerican Airlines4255 Amon Carter BlvdMD 2400 Fort WorthTX76155260320120207278.70HEYE - AIRFAREXMEMO: HEYE - AIRFARE
|
29
|
+
SB21bC0001449820313.E49867ORGUnited Airlines2 N. LaSalle StreetChicagoIL60602 20120207414.80HEYE - AIRFAREXMEMO: HEYE - AIRFARE
|
30
|
+
SB21bC0001449820313.E49868ORGAvis Car Rental5800 Fleur DriveDes MoinesIA50321 20120207401.29HEYE - CAR RENTALXMEMO: HEYE - CAR RENTAL
|
31
|
+
SB21bC0001449820313.E49869ORGBudget Rent A Car1901 Army Post RoadDes MoinesIA50315 20120207308.25HEYE - CAR RENTALXMEMO: HEYE - CAR RENTAL
|
32
|
+
SB21bC0001449820313.E49870ORGHoliday Inn-Downtown1050 6th AveDes MoinesIA50314260620120207464.65HEYE - LODGINGXMEMO: HEYE - LODGING
|
33
|
+
SB21bC0001449820313.E49872ORG801 Steakhouse801 Grand Aven.Des MoinesIA50309 2012020750.29HEYE - FOOD & BEVERAGEXMEMO: HEYE - FOOD & BEVERAGE
|
34
|
+
SB21bC0001449820313.E49873ORGArgo Tea5600 Mannheim RdAmf OhareIL60666 201202075.19HEYE - FOOD & BEVERAGEXMEMO: HEYE - FOOD & BEVERAGE
|
35
|
+
SB21bC0001449820313.E49874ORGJimmy Johns Restaurant422 E. Locust AvenueDes MoinesIA50309 201202076.82HEYE - FOOD & BEVERAGEXMEMO: HEYE - FOOD & BEVERAGE
|
36
|
+
SB21bC0001449820313.E49875ORGCentro Restaurant1007 Locust StreetDes MoinesIA50309 2012020745.12HEYE - FOOD & BEVERAGEXMEMO: HEYE - FOOD & BEVERAGE
|
37
|
+
SB21bC0001449820313.E49876ORGJohnnys Hall Of Fame302 Court AvenueDes MoinesIA50315 2012020710.93HEYE - FOOD & BEVERAGEXMEMO: HEYE - FOOD & BEVERAGE
|
38
|
+
SB21bC0001449820313.E49877ORGJimmy Johns Restaurant422 E. Locust AvenueDes MoinesIA50309 201202075.98HEYE- FOOD & BEVERAGEXMEMO: HEYE- FOOD & BEVERAGE
|
39
|
+
SB21bC0001449820313.E49878ORGStoney Creek Inn5291 Stoney Creek CourtJohnstonIA50131 2012020773.25HEYE - FOOD & BEVERAGEXMEMO: HEYE - FOOD & BEVERAGE
|
40
|
+
SB21bC0001449820313.E49879ORGPotbelly Sandwich WorksRonald Reagan Natl AirportWashingtonDC20001 201202076.20HEYE - FOOD & BEVERAGEXMEMO: HEYE - FOOD & BEVERAGE
|
41
|
+
SB21bC0001449820313.E49880ORGOHare International Airport10000 West OHareAmf OhareIL60666 2012020725.52HEYE - FOOD & BEVERAGEXMEMO: HEYE - FOOD & BEVERAGE
|
42
|
+
SB21bC0001449820313.E49881ORGBurger King - Sioux City90 Pierce StreetSioux CityIA51103 201202075.03HEYE - FOOD & BEVERAGEXMEMO: HEYE - FOOD & BEVERAGE
|
43
|
+
SB21bC0001449820313.E49882ORGGab BakeryDes PlainesIL60018 2012020711.46HEYE - FOOD & BEVERAGEXMEMO: HEYE - FOOD & BEVERAGE
|
44
|
+
SB21bC0001449820313.E49883ORGGranite City Food & Brewery12801 University AveCLIVEIA50325 2012020755.87HEYE - FOOD & BEVERAGEXMEMO: HEYE - FOOD & BEVERAGE
|
45
|
+
SB21bC0001449820313.E49884ORGPotbelly Sandwich WorksRonald Reagan Natl AirportWashingtonDC20001 201202077.07HEYE - FOOD & BEVERAGEXMEMO: HEYE - FOOD & BEVERAGE
|
46
|
+
SB21bC0001449820313.E49885ORGQuik Trip - DSM4024 Fleur DriveDes MoinesIA50321 2012020737.01HEYE - GASXMEMO: HEYE - GAS
|
47
|
+
SB21bC0001449820313.E49886ORGPetro Mart150 East GateBlairNE68008 2012020748.18HEYE - GASXMEMO: HEYE - GAS
|
48
|
+
SB21bC0001449820313.E49887ORGGit N Go1307 Army Post RoadDes MoinesIA50315 2012020719.01HEYE - GASXMEMO: HEYE - GAS
|
49
|
+
SB21bC0001449820313.E49888ORGAlexandria Union Cab3251 Washington BlvdArlingtonVA22201 2012020721.00HEYE - TRANSPORTATIONXMEMO: HEYE - TRANSPORTATION
|
50
|
+
SB21bC0001449820313.E49889ORGDelta - Taxi CabPO Box 20706AtlantaGA30320 2012020775.00HEYE - TRANSPORTATIONXMEMO: HEYE - TRANSPORTATION
|
51
|
+
SB21bC0001449820319.E49955ORGTaxi Cab - DC1 Arlington CircleWashingtonDC2000160002012020719.00HEYE - TRAVELXMEMO: HEYE - TRAVEL
|
52
|
+
SB21bC0001449820319.E49956INDCabAlexandria Yellow3014 Colvin StreetAltoonaPA16602 2012020720.36HEYE - TRAVELXMEMO: HEYE - TRAVEL
|
53
|
+
SB21bC0001449820319.E49957ORGRed Top Arlington3251 Washington BlvdArlingtonVA22201 2012020722.50HEYE - TRAVELXMEMO: HEYE - TRAVEL
|
54
|
+
SB21bC0001449820319.E49958ORGRed Top Arlington3251 Washington BlvdArlingtonVA22201 2012020719.44HEYE - TRAVELXMEMO: HEYE - TRAVEL
|
55
|
+
SB21bC0001449820313.E49833ORGHoliday Inn-Downtown1050 6th AveDes MoinesIA5031426062012020756.00Meals & BeveragesMEALS & BEVERAGES
|
56
|
+
SB21bC0001449820319.E49947INDLehmanKim5873 Dogwood LnJohnstonIA501311625201202091532.23SEE BELOW: Reimbursed TravelSEE BELOW: REIMBURSED TRAVEL
|
57
|
+
SB21bC0001449820319.E49948INDLehmanKim5873 Dogwood LnJohnstonIA5013116252012020910.80LEHMAN - MILEAGE REIMBURSEXMEMO: LEHMAN - MILEAGE REIMBURSE
|
58
|
+
SB21bC0001449820319.E49949ORGDelta AirlinesPO Box 20706ATLANTAGA30320 20120209661.80LEHMAN - AIRFAREXMEMO: LEHMAN - AIRFARE
|
59
|
+
SB21bC0001449820319.E49951ORGDelta AirlinesPO Box 20706ATLANTAGA30320 2012020950.00LEHAMN - BAGGAGEXMEMO: LEHAMN - BAGGAGE
|
60
|
+
SB21bC0001449820319.E49952ORGHyatt Regency - New Orleans601 Loyola AvenueNew OrleansLA70113 20120209775.88LEHMAN- LODGINGXMEMO: LEHMAN- LODGING
|
61
|
+
SB21bC0001449820319.E49953ORGAmerican Taxi201 N. ClaiborneNew OrleansLA70112 2012020925.00LEHMAN - TRAVELXMEMO: LEHMAN - TRAVEL
|
62
|
+
SB21bC0001449820319.E49954ORGYellow Cab - New Orleans3001 Conti StreetNew OrleansLA70119 201202098.75LEHMAN - TRAVELXMEMO: LEHMAN - TRAVEL
|
63
|
+
SB21bC0001449820313.E49914INDMoranTimothy2415 McDonald StSioux CityIA51104373920120213308.25Reimbursed MileageREIMBURSED MILEAGE
|
64
|
+
SB21bC0001449820313.E49902ORGOffice DepotP. O. Box 9020Des MoinesIA503689020201202231680.17Generic Office SuppliesGENERIC OFFICE SUPPLIES
|
65
|
+
SB21bC0001449820313.E49913INDOrtegaJohn2360 West Dale CourtBettendorfIA52722 20120222519.75Reimbursed MileageREIMBURSED MILEAGE
|
66
|
+
SB21bC0001449820319.E49964ORGPaypal2211 N First StSan JoseCA95131 20120228776.78Credit Card Processing FeesCREDIT CARD PROCESSING FEES
|
67
|
+
SB21bC0001449820313.E49831ORGUnited States Postal ServiceMain Post Office2nd & University Des MoinesIA50306 20120211400.00Party Fundraising Postage/Non-FEAPARTY FUNDRAISING POSTAGE/NON-FEA
|
68
|
+
SB21bC0001449820313.E49825ORGRed Wave Communications, LLC4019 Ingersoll AveDes MoinesIA5031227102012020753.00Generic PrintingGENERIC PRINTING
|
69
|
+
SB21bC0001449820313.E49835ORGRed Wave Communications, LLC4019 Ingersoll AveDes MoinesIA5031227102012020714679.74Party Fundraising Mailing/Non-FEAPARTY FUNDRAISING MAILING/NON-FEA
|
70
|
+
SB21bC0001449820313.E49841ORGRed Wave Communications, LLC4019 Ingersoll AveDes MoinesIA503122710201202072883.24Debate Mailing/PostagesDEBATE MAILING/POSTAGES
|
71
|
+
SB21bC0001449820319.E49939INDSchefflerStephen5112 Tamara LnWEST DES MOINESIA50265 20120207984.96SEE BELOW: Reimbursed TravelSEE BELOW: REIMBURSED TRAVEL
|
72
|
+
SB21bC0001449820319.E49940ORGHyatt Regency - New Orleans601 Loyola AvenueNew OrleansLA70113 20120207775.88SCHEFFLER - LODGINGXMEMO: SCHEFFLER - LODGING
|
73
|
+
SB21bC0001449820319.E49942ORGVitos Deli2491 Winchester RdMemphisTN3811638512012020744.10SCHEFFLER - FOOD & BEVERAGXMEMO: SCHEFFLER - FOOD & BEVERAG
|
74
|
+
SB21bC0001449820319.E49943ORGAmerican Taxi201 N. ClaiborneNew OrleansLA70112 2012020734.00SCHEFFLER - TRAVELXMEMO: SCHEFFLER - TRAVEL
|
75
|
+
SB21bC0001449820319.E49944ORG8 Block Kitchen & Bar601 Loyola AvenueNew OrleansLA70113 201202078.53SCHEFFLER - FOOD & BEVERAGXMEMO: SCHEFFLER - FOOD & BEVERAG
|
76
|
+
SB21bC0001449820319.E49945ORGStarbucks - New Orleans7700 Maple StreetNew OrleansLA70113 201202072.45SCHEFFLER - FOOD & BEVERAGXMEMO: SCHEFFLER - FOOD & BEVERAG
|
77
|
+
SB21bC0001449820319.E49946ORGDelta AirlinesPO Box 20706ATLANTAGA30320 20120207120.00SCHEFFLER - BAGGAGEXMEMO: SCHEFFLER - BAGGAGE
|
78
|
+
SB21bC0001449820319.E49931INDSchefflerStephen5112 Tamara LnWEST DES MOINESIA50265 20120207558.90SEE BELOW: Reimbursed TravelSEE BELOW: REIMBURSED TRAVEL
|
79
|
+
SB21bC0001449820319.E49932INDSchefflerStephen5112 Tamara LnWEST DES MOINESIA50265 20120207458.55SCHEFFLER - MILEAGE REIMBUXMEMO: SCHEFFLER - MILEAGE REIMBU
|
80
|
+
SB21bC0001449820319.E49933ORGU.S. Cellular8410 W Bryn Mawr AveSuite 700 ChicagoIL6063134152012020712.92SCHEFFLER - CELL PHONEXMEMO: SCHEFFLER - CELL PHONE
|
81
|
+
SB21bC0001449820319.E49934ORGVillage Inn - Coralville2800 Commerce DrCORALVILLEIA52241 201202075.23SCHEFFLER-FOOD & BEVERAGEXMEMO: SCHEFFLER-FOOD & BEVERAGE
|
82
|
+
SB21bC0001449820319.E49935ORGVillage Inn - Cedar Falls6301 University AveCedar FallsIA5061352002012020712.94SCHEFFLER - FOOD & BEVERAGXMEMO: SCHEFFLER - FOOD & BEVERAG
|
83
|
+
SB21bC0001449820319.E49936ORGUnited States Postal Service - WDM555 S. 51st StreetWest Des MoinesIA50265 201202070.44SCHEFFLER - POSTAGEXMEMO: SCHEFFLER - POSTAGE
|
84
|
+
SB21bC0001449820319.E49937ORGDahls Food - WDM5003 EP ParkwayWest Des MoinesIA50266 201202070.88SCHEFFLER - POSTAGEXMEMO: SCHEFFLER - POSTAGE
|
85
|
+
SB21bC0001449820319.E49938ORGOffice Depot - WDM3910 University Avenue Suite 10West Des MoinesIA50266 2012020767.94SCHEFFLER - NOTE CARDSXMEMO: SCHEFFLER - NOTE CARDS
|
86
|
+
SB21bC0001449820313.E49920INDSchickelWilliam1443 E State StMason CityIA50401443320120203416.67Co-Chair StipendCO-CHAIR STIPEND
|
87
|
+
SB21bC0001449820313.E49927INDSchickelWilliam1443 E State StMason CityIA504014433201202072499.00Co-Chair StipendCO-CHAIR STIPEND
|
88
|
+
SB21bC0001449820313.E49924INDSchickelWilliam1443 E State StMason CityIA504014433201202162083.33Co-Chair StipendCO-CHAIR STIPEND
|
89
|
+
SB21bC0001449820313.E49925INDSchickelWilliam1443 E State StMason CityIA50401443320120217416.67Co-Chair StipendCO-CHAIR STIPEND
|
90
|
+
SB21bC0001449820313.E49840ORGScreenscape Studios4800 Coporate DriveWest Des MoinesIA50266 20120203520.85Video ProductionsVIDEO PRODUCTIONS
|
91
|
+
SB21bC0001449820313.E49849ORGSecuritas Security Services USA, Inc.1501 42nd StWest Des MoinesIA502661005201202071509.37Debate SecurityDEBATE SECURITY
|
92
|
+
SB21bC0001449820319.E49989ORGKabel Business Services1454 30th Street Suite 202West Des MoinesIA50266 20120202578.50Employee HSA ContributionEMPLOYEE HSA CONTRIBUTION
|
93
|
+
SB21bC0001449820313.E49915ORGKabel Business Services1454 30th Street Suite 202West Des MoinesIA50266 201202024145.96SEE BELOW: PAYROLLSEE BELOW: PAYROLL
|
94
|
+
SB21bC0001449820313.E49919ORGUnited States TreasuryInternal Revenue Service CenterKansas CityMO64999 20120202465.81TAXESXMEMO: TAXES
|
95
|
+
SB21bC0001449820319.E49979ORGTreasurer, State Of IowaHoover Office BuildingDes MoinesIA50319 2012020297.00TAXESXMEMO: TAXES
|
96
|
+
SB21bC0001449820319.E49981ORGState of Iowa - Workforce DevelopmentPO Box 9231Des MoinesIA5030692312012020280.00PAYROLL TAXESXMEMO: PAYROLL TAXES
|
97
|
+
SB21bC0001449820319.E49987INDThorsonPaige523 Miller AveDes MoinesIA503153158201202021596.31SALARYXMEMO: SALARY
|
98
|
+
SB21bC0001449820319.E49988INDStrawnMatthew702 SW Coventry CirAnkenyIA500239200201202021906.84SALARYXMEMO: SALARY
|
99
|
+
SB21bC0001449820313.E49921ORGKabel Business Services1454 30th Street Suite 202West Des MoinesIA50266 2012020660.00Payroll Service FeesPAYROLL SERVICE FEES
|
100
|
+
SB21bC0001449820313.E49922ORGKabel Business Services1454 30th Street Suite 202West Des MoinesIA50266 2012021319.50Payroll Service FeesPAYROLL SERVICE FEES
|
101
|
+
SB21bC0001449820313.E49821ORGKabel Business Services1454 30th Street Suite 202West Des MoinesIA50266 20120216578.50Employee HSA ContributionEMPLOYEE HSA CONTRIBUTION
|
102
|
+
SB21bC0001449820313.E49802ORGKabel Business Services1454 30th Street Suite 202West Des MoinesIA50266 201202163310.38SEE BELOW: PAYROLLSEE BELOW: PAYROLL
|
103
|
+
SB21bC0001449820313.E49806ORGUnited States TreasuryInternal Revenue Service CenterKansas CityMO64999 20120216459.95TAXESXMEMO: TAXES
|
104
|
+
SB21bC0001449820313.E49808ORGTreasurer, State Of IowaHoover Office BuildingDes MoinesIA50319 2012021697.00TAXESXMEMO: TAXES
|
105
|
+
SB21bC0001449820313.E49810ORGState of Iowa - Workforce DevelopmentPO Box 9231Des MoinesIA5030692312012021680.00PAYROLL TAXESXMEMO: PAYROLL TAXES
|
106
|
+
SB21bC0001449820313.E49817INDThorsonPaige523 Miller AveDes MoinesIA503153158201202161596.31SALARYXMEMO: SALARY
|
107
|
+
SB21bC0001449820313.E49818INDStrawnMatthew702 SW Coventry CirAnkenyIA500239200201202161077.12SALARYXMEMO: SALARY
|
108
|
+
SB21bC0001449820313.E49923ORGKabel Business Services1454 30th Street Suite 202West Des MoinesIA50266 2012022160.00Payroll Service FeesPAYROLL SERVICE FEES
|
109
|
+
SB21bC0001449820319.E49962ORGKabel Business Services1454 30th Street Suite 202West Des MoinesIA50266 20120228191.25SEE BELOW: PAYROLL TAXESSEE BELOW: PAYROLL TAXES
|
110
|
+
SB21bC0001449820319.E49963ORGUnited States TreasuryInternal Revenue Service CenterKansas CityMO64999 20120228191.25PAYROLL TAXESXMEMO: PAYROLL TAXES
|
111
|
+
SB21bC0001449820313.E49850INDSizemoreNicole43 Horton StreetRyeNY10580 201202231750.00Media Contract StaffMEDIA CONTRACT STAFF
|
112
|
+
SB21bC0001449820319.E49959INDStewartPatrick615 Park StDes MoinesIA50302 20120213268.73SEE BELOW: Reimbursed ExpenseSEE BELOW: REIMBURSED EXPENSE
|
113
|
+
SB21bC0001449820319.E49960ORGGoogle1600 Amphitheatre PkwyMountain ViewCA94043135120120213130.94STEWART - DOMAIN FEESXMEMO: STEWART - DOMAIN FEES
|
114
|
+
SB21bC0001449820319.E49961ORGBest Buy - West Des MoinesUniversity Ave #240WEST DES MOINESIA50265 20120213137.79STEWART - EXTERNAL DRIVEXMEMO: STEWART - EXTERNAL DRIVE
|
115
|
+
SB21bC0001449820313.E49858INDThorsonPaige523 Miller AveDes MoinesIA50315315820120223259.57SEE BELOW: Reimbursed ExpensesSEE BELOW: REIMBURSED EXPENSES
|
116
|
+
SB21bC0001449820313.E49859ORGCostCoHSBC Business SolutionsCarol StreamIL6019752192012022342.39THORSON - HEATERXMEMO: THORSON - HEATER
|
117
|
+
SB21bC0001449820313.E49860ORGHyVee - WDM555 S. 51st StreetWest Des MoinesIA50266 2012022317.18THORSON - OFFICE REFRESHMEXMEMO: THORSON - OFFICE REFRESHME
|
118
|
+
SB21bC0001449820313.E49861ORGUnited States Postal ServiceMain Post Office2nd & University Des MoinesIA50306 20120223200.00THORSON - BUSINESS REPLY PXMEMO: THORSON - BUSINESS REPLY P
|
119
|
+
SB21bC0001449820319.E50017ORGBankers TrustPO Box 1991DES MOINESIA50305 20120227371.30SEE BELOW: Credit Card PaymentSEE BELOW: CREDIT CARD PAYMENT
|
120
|
+
SB21bC0001449820319.E50018ORGBella Italia Restaurant4450 E. UniversityPleasant HillIA50327 2012022743.96VISA-MEALSXMEMO: VISA-MEALS
|
121
|
+
SB21bC0001449820319.E50019ORGGoode Greenhouse1050 NE 50th AvenueDes MoinesIA50313 2012022733.91VISA-MEALSXMEMO: VISA-MEALS
|
122
|
+
SB21bC0001449820319.E50021ORGRing Central, Inc.999 Baker WaySan MateoCA94404 2012022766.00VISA- CAUCUS PHONESXMEMO: VISA- CAUCUS PHONES
|
123
|
+
SB21bC0001449820319.E50022ORGFedEx Office400 Locust StDes MoinesIA5030923312012022738.19VISA- POSTAGEXMEMO: VISA- POSTAGE
|
124
|
+
SB21bC0001449820319.E50024ORGFedEx Office400 Locust StDes MoinesIA5030923312012022749.60VISA - POSTAGEXMEMO: VISA - POSTAGE
|
125
|
+
SB21bC0001449820319.E49966ORGBankers TrustPO Box 1991DES MOINESIA50305 201202275087.12SEE BELOW: Credit Card PaymentSEE BELOW: CREDIT CARD PAYMENT
|
126
|
+
SB21bC0001449820319.E49969ORGUnited States Postal ServiceMain Post Office2nd & University Des MoinesIA50306 2012022440.50VISA- POSTAGE/CO. PACKETSXMEMO: VISA- POSTAGE/CO. PACKETS
|
127
|
+
SB21bC0001449820319.E49993ORGMozy.com2162 Grove Parkway, Suite 200Pleasant GroveUT84062 20120227178.45VISA - INTERNETXMEMO: VISA - INTERNET
|
128
|
+
SB21bC0001449820319.E49994ORGLucca Restaurant420 E Locust StDes MoinesIA50309 2012022738.80VISA - MEALSXMEMO: VISA - MEALS
|
129
|
+
SB21bC0001449820319.E49996ORGRaccoon River Brewing200 10th StDES MOINESIA50309 2012022729.68VISA - MEALSXMEMO: VISA - MEALS
|
130
|
+
SB21bC0001449820319.E49997ORGMicrosoft Office 2010One Microsoft WayRedmondWA98052639920120227199.95VISA - COMPUTER SOFTWAREXMEMO: VISA - COMPUTER SOFTWARE
|
131
|
+
SB21bC0001449820319.E49998ORGHilton Hotel - New OrleansTwo Poydras StreetNew OrleansLA70130 201202271140.70VISA-LODGINGXMEMO: VISA-LODGING
|
132
|
+
SB21bC0001449820319.E49999ORGSam Adams Brewhouse6000 N. Terminal ParkwayAtlantaGA30337 2012022724.93VISA-MEALSXMEMO: VISA-MEALS
|
133
|
+
SB21bC0001449820319.E50000ORGStanley Restaurant547 Saint Ann StreetNew OrleansLA70116 2012022743.42VISA-MEALSXMEMO: VISA-MEALS
|
134
|
+
SB21bC0001449820319.E50001ORGMothers Restaurant401 PoydrasNew OrleansLA70130 2012022736.77VISA-MEALSXMEMO: VISA-MEALS
|
135
|
+
SB21bC0001449820319.E50002ORGDes Moines International Airport5880 Fleur DrDES MOINESIA50321 2012022742.00VISA-PARKINGXMEMO: VISA-PARKING
|
136
|
+
SB21bC0001449820319.E50003ORGAcme Oyster House724 Iberville StreetNew OrleansLA70130 2012022759.08VISA-MEALSXMEMO: VISA-MEALS
|
137
|
+
SB21bC0001449820319.E50004ORGOceana Grill739 Conti StreetNew OrleansLA70130 2012022767.07VISA-MEALSXMEMO: VISA-MEALS
|
138
|
+
SB21bC0001449820319.E50005ORGDelta AirlinesPO Box 20706ATLANTAGA30320 20120227551.01VISA-AIRFAREXMEMO: VISA-AIRFARE
|
139
|
+
SB21bC0001449820319.E50006ORGEmbassy Suites101 East Locust StDES MOINESIA50309 201202272609.26VISA-MEALSXMEMO: VISA-MEALS
|
140
|
+
SB21bC0001449820319.E50007ORGEmbassy Suites101 East Locust StDES MOINESIA50309 201202278.00VISA- PARKINGXMEMO: VISA- PARKING
|
141
|
+
SB21bC0001449820313.E49826ORGAlliance Technologies400 Locust Street Suite 840Des MoinesIA50309 20120207340.20Computer RepairsCOMPUTER REPAIRS
|
142
|
+
SB22C0001449820313.E49856ORGIowa Federation of Republican Women1809 400th AvenueShenandoahIA51601 201202232000.00Contribution
|
143
|
+
SB22C0001449820313.E49857ORGIowa Federation of College Republicans% Natalie Ginty2507 University Ave Des MoinesIA50311 201202231000.00Contribution
|
144
|
+
SB29C0001449820319.E49965PTYRepublican Party of Iowa - State AccountState Account621 East Ninth Street Des MoinesIA50309 2012022810000.00TRANSF EXCESS CONTRIBUTION
|
145
|
+
SB30BC0001449820313.E49839ORGPrism Marketing Group111 W. Second StreetSchallerIA51053 201202071800.00FEA PollingFEA POLLING
|
146
|
+
H1C00014498H10709200333J2X
|
147
|
+
H4C00014498H420313.E49801ORGKabel Business Services1454 30th Street Suite 202West Des MoinesIA50266 ADMINISTRATION B 12012021612236.363426.188810.1876833.70SEE BELOW: PAYROLLX
|
148
|
+
H4C00014498H420313.E49809H420313.E49801H4ORGState of Iowa - Workforce DevelopmentPO Box 9231Des MoinesIA503069231ADMINISTRATION B 120120216435.00121.80313.20435.00ITEMIZE: PAYROLL TAXESXXITEMIZE: PAYROLL TAXES
|
149
|
+
H4C00014498H420313.E49807H420313.E49801H4ORGTreasurer, State Of IowaHoover Office BuildingDes MoinesIA50319 ADMINISTRATION B 120120216522.00146.16375.84522.00ITEMIZE: TAXESXXITEMIZE: TAXES
|
150
|
+
H4C00014498H420313.E49805H420313.E49801H4ORGUnited States TreasuryInternal Revenue Service CenterKansas CityMO64999 ADMINISTRATION B 1201202162492.95698.031794.922492.95ITEMIZE: TAXESXXITEMIZE: TAXES
|
151
|
+
H4C00014498H420313.E49815H420313.E49801H4INDSpikerAshley1019 Gaskill Dr.AmesIA50014 ADMINISTRATION B 120120216403.92113.10290.82403.92ITEMIZE: SALARYXXITEMIZE: SALARY
|
152
|
+
H4C00014498H420313.E49814H420313.E49801H4INDOlsenChad300 S. 5th StreetGuthrie CenterIA501151605ADMINISTRATION B 1201202163029.87848.362181.513029.87ITEMIZE: SALARYXXITEMIZE: SALARY
|
153
|
+
H4C00014498H420313.E49804H420313.E49801H4ORGKabel Business Services1454 30th Street Suite 202West Des MoinesIA50266 ADMINISTRATION B 120120216135.7638.0197.75135.76ITEMIZE: Payroll FeesXXITEMIZE: Payroll Fees
|
154
|
+
H4C00014498H420313.E49813H420313.E49801H4INDHallVonna5190 Stone Creek DrPleasant HillIA503272304ADMINISTRATION B 1201202161278.38357.95920.431278.38ITEMIZE: SALARYXXITEMIZE: SALARY
|
155
|
+
H4C00014498H420313.E49816H420313.E49801H4INDStewartPatrick615 Park StDes MoinesIA50302 ADMINISTRATION B 1201202161166.52326.63839.891166.52ITEMIZE: SALARYXXITEMIZE: SALARY
|
156
|
+
H4C00014498H420313.E49812H420313.E49801H4INDGoughRyan300 East Grand Avenue #603Des MoinesIA50309 ADMINISTRATION B 1201202161166.52326.63839.891166.52ITEMIZE: SALARYXXITEMIZE: SALARY
|
157
|
+
H4C00014498H420313.E49811H420313.E49801H4INDGiblerTracie1770 92nd St Unit 14306West Des MoinesIA502663243ADMINISTRATION B 1201202161605.44449.521155.921605.44ITEMIZE: SALARYXXITEMIZE: SALARY
|
158
|
+
H4C00014498H420313.E49823ORGDes Moines Water WorksPO Box 9227Des MoinesIA503069227ADMINISTRATION B 12012020743.9312.3031.6342996.35Water/Sewer ServiceX
|
159
|
+
H4C00014498H420313.E49827ORGVerizon WirelessPO Box 2167FOLSOMCA95763 ADMINISTRATION B 120120203733.04205.25527.7941164.87Party Cell Phone ServiceX
|
160
|
+
H4C00014498H420313.E49828ORGCardinals FEC Compliance Services, PLCPO Box 4182St. PaulMN551040182ADMINISTRATION B 1201202073669.751027.532642.2247149.26Accounting & ComplianceX
|
161
|
+
H4C00014498H420313.E49829ORGCardinals FEC Compliance Services, PLCPO Box 4182St. PaulMN551040182ADMINISTRATION B 1201202074833.001353.243479.7651982.26Accounting & ComplianceX
|
162
|
+
H4C00014498H420313.E49834ORGThe Dana Company12345 UniversityDes MoinesIA503258245ADMINISTRATION B 1201202071577.00441.561135.4442752.42Party Liability/Workmans CompX
|
163
|
+
H4C00014498H420313.E49837ORGSprintP O Box 4181Carol StreamIL60197 ADMINISTRATION B 120120207483.16135.28347.8843479.51Party Phone ServiceX
|
164
|
+
H4C00014498H420313.E49838ORGRichman Yard Service / Snow Removal691 38th StreetDes MoinesIA50312 ADMINISTRATION B 120120207200.0056.00144.0042952.42Grounds MaintenanceX
|
165
|
+
H4C00014498H420313.E49842ORGDiamond Cleaning Service185 NW 66th AveDes MoinesIA503131152ADMINISTRATION B 120120216249.1069.75179.3577082.80Office Cleaning ServiceX
|
166
|
+
H4C00014498H420313.E49843ORGMid American EnergyPO Box 8020DavenportIA528088020ADMINISTRATION B 120120216660.10184.83475.2763449.11UtilitiesX
|
167
|
+
H4C00014498H420313.E49844ORGBenefit Source, Inc4000 Westown PkwyWest Des MoinesIA502666705ADMINISTRATION B 120120216210.0058.80151.2077292.80Health Care Administrative FeesX
|
168
|
+
H4C00014498H420313.E49847ORGPer Mar Security ServicesPO Box 1101DavenportIA528051101ADMINISTRATION B 12012021644.7712.5432.2364597.34Building SecurityX
|
169
|
+
H4C00014498H420313.E49848ORGXerox CorporationP. O. Box 802567ChicagoIL606802567ADMINISTRATION B 1201202161103.46308.97794.4964552.57Copier Lease and FeesX
|
170
|
+
H4C00014498H420313.E49852ORGDelta Dental Plan of IowaPO Box 857AnkenyIA500210857ADMINISTRATION B 120120223244.7868.54176.2478674.95Party Dental InsuranceX
|
171
|
+
H4C00014498H420313.E49854ORGCardinals FEC Compliance Services, PLCPO Box 4182St. PaulMN551040182ADMINISTRATION B 1201202234377.501225.703151.8084923.98Accounting & ComplianceX
|
172
|
+
H4C00014498H420313.E49897ORGPitney Bowes Global Fin. Services, LLCPO Box 856460LouisvilleKY402856460ADMINISTRATION B 1201202231153.07322.86830.2180364.31Equipment Lease ExpensesX
|
173
|
+
H4C00014498H420313.E49900ORGQwestP. O. Box 91104SeattleWA981119204ADMINISTRATION B 120120223536.29150.16386.1379211.24Generic Party Phone ServiceX
|
174
|
+
H4C00014498H420313.E49903ORGCoventry Health Care of IowaP. O. Box 8500-53388PhildadelphiaPA191783388ADMINISTRATION B 1201202231137.37318.46818.9178430.17Group Health InsuranceX
|
175
|
+
H4C00014498H420313.E49904ORGKWH Law Pllc5018 Dunvegan RoadLouisvilleKY40222 ADMINISTRATION B 12012020710806.753025.897780.8662789.01Legal FeesX
|
176
|
+
H4C00014498H420313.E49915ORGKabel Business Services1454 30th Street Suite 202West Des MoinesIA50266 ADMINISTRATION B 12012020210692.872994.007698.8740431.83SEE BELOW: PAYROLLX
|
177
|
+
H4C00014498H420319.E49980H420313.E49915H4ORGState of Iowa - Workforce DevelopmentPO Box 9231Des MoinesIA503069231ADMINISTRATION B 120120202235.0065.80169.20235.00ITEMIZE: PAYROLL TAXESXXITEMIZE: PAYROLL TAXES
|
178
|
+
H4C00014498H420319.E49978H420313.E49915H4ORGTreasurer, State Of IowaHoover Office BuildingDes MoinesIA50319 ADMINISTRATION B 120120202416.00116.48299.52416.00ITEMIZE: TAXESXXITEMIZE: TAXES
|
179
|
+
H4C00014498H420313.E49919H420313.E49915H4ORGUnited States TreasuryInternal Revenue Service CenterKansas CityMO64999 ADMINISTRATION B 1201202021745.60488.771256.831745.60ITEMIZE: TAXESXXITEMIZE: TAXES
|
180
|
+
H4C00014498H420319.E49982H420313.E49915H4INDOlsenChad300 S. 5th StreetGuthrie CenterIA501151605ADMINISTRATION B 1201202023029.85848.362181.493029.85ITEMIZE: SALARYXXITEMIZE: SALARY
|
181
|
+
H4C00014498H420313.E49916H420313.E49915H4ORGKabel Business Services1454 30th Street Suite 202West Des MoinesIA50266 ADMINISTRATION B 12012020249.5213.8735.6549.52ITEMIZE: Payroll FeesXXITEMIZE: Payroll Fees
|
182
|
+
H4C00014498H420319.E49985H420313.E49915H4INDHallVonna5190 Stone Creek DrPleasant HillIA503272304ADMINISTRATION B 1201202021278.39357.95920.441278.39ITEMIZE: SALARYXXITEMIZE: SALARY
|
183
|
+
H4C00014498H420319.E49986H420313.E49915H4INDStewartPatrick615 Park StDes MoinesIA50302 ADMINISTRATION B 1201202021166.53326.63839.901166.53ITEMIZE: SALARYXXITEMIZE: SALARY
|
184
|
+
H4C00014498H420319.E49984H420313.E49915H4INDGoughRyan300 East Grand Avenue #603Des MoinesIA50309 ADMINISTRATION B 1201202021166.53326.63839.901166.53ITEMIZE: SALARYXXITEMIZE: SALARY
|
185
|
+
H4C00014498H420319.E49983H420313.E49915H4INDGiblerTracie1770 92nd St Unit 14306West Des MoinesIA502663243ADMINISTRATION B 1201202021605.45449.531155.921605.45ITEMIZE: SALARYXXITEMIZE: SALARY
|
186
|
+
H4C00014498H420313.E49926ORGMediacomPO Box 5744Carol StreamIL601975744ADMINISTRATION B 120120223182.1751.01131.1680546.48Internet ServiceX
|
187
|
+
H4C00014498H420313.E49928ORGCulligan Water ConditioningPO Box 65065West Des MoinesIA502650065ADMINISTRATION B 12012020710.552.957.6041175.42Water DispenserX
|
data/spec/filing_spec.rb
CHANGED
@@ -21,6 +21,8 @@ describe Fech::Filing do
|
|
21
21
|
@filing_f3.stubs(:file_path).returns(File.join(File.dirname(__FILE__), 'data', '82094.fec'))
|
22
22
|
@filing_f7 = Fech::Filing.new(747058)
|
23
23
|
@filing_f7.stubs(:file_path).returns(File.join(File.dirname(__FILE__), 'data', '747058.fec'))
|
24
|
+
@filing_special_character = Fech::Filing.new(771694)
|
25
|
+
@filing_special_character.stubs(:file_path).returns(File.join(File.dirname(__FILE__), 'data', '771694.fec'))
|
24
26
|
end
|
25
27
|
|
26
28
|
describe "#filing_version" do
|
@@ -31,6 +33,7 @@ describe Fech::Filing do
|
|
31
33
|
@filing_ie.send(:filing_version).should == "8.0"
|
32
34
|
@filing_pac.send(:filing_version).should == "8.0"
|
33
35
|
@filing_f3.send(:filing_version).should == "5.00"
|
36
|
+
@filing_special_character.send(:filing_version).should == "8.0"
|
34
37
|
end
|
35
38
|
|
36
39
|
it "should parse the file only once" do
|
@@ -72,6 +75,8 @@ describe Fech::Filing do
|
|
72
75
|
sum_f1m[:form_type].should == "F1MA"
|
73
76
|
sum_f7 = @filing_f7.summary
|
74
77
|
sum_f7[:form_type].should == 'F7N'
|
78
|
+
sum_filing_special_character = @filing_special_character.summary
|
79
|
+
sum_filing_special_character[:form_type].should == "F3XN"
|
75
80
|
end
|
76
81
|
end
|
77
82
|
|
@@ -103,6 +108,7 @@ describe Fech::Filing do
|
|
103
108
|
@filing_ec.rows_like(/^f91/).size.should == 1
|
104
109
|
@filing_f3.rows_like(/^sa/).size.should == 17
|
105
110
|
@filing_f7.rows_like(/^f76/).size.should == 2
|
111
|
+
@filing_special_character.rows_like(/^sa/).size.should == 13
|
106
112
|
end
|
107
113
|
|
108
114
|
it "should return an array if no block is given" do
|
metadata
CHANGED
@@ -1,14 +1,10 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: fech
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: '1.2'
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 1
|
9
|
-
version: "1.1"
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Michael Strickland
|
13
9
|
- Evan Carmi
|
14
10
|
- Aaron Bycoffe
|
@@ -16,191 +12,137 @@ authors:
|
|
16
12
|
autorequire:
|
17
13
|
bindir: bin
|
18
14
|
cert_chain: []
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
- !ruby/object:Gem::Dependency
|
15
|
+
date: 2012-12-03 00:00:00.000000000 Z
|
16
|
+
dependencies:
|
17
|
+
- !ruby/object:Gem::Dependency
|
23
18
|
name: fastercsv
|
24
|
-
|
25
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
19
|
+
requirement: &2156934140 !ruby/object:Gem::Requirement
|
26
20
|
none: false
|
27
|
-
requirements:
|
28
|
-
- -
|
29
|
-
- !ruby/object:Gem::Version
|
30
|
-
|
31
|
-
segments:
|
32
|
-
- 0
|
33
|
-
version: "0"
|
21
|
+
requirements:
|
22
|
+
- - ! '>='
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: '0'
|
34
25
|
type: :runtime
|
35
|
-
version_requirements: *id001
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: people
|
38
26
|
prerelease: false
|
39
|
-
|
27
|
+
version_requirements: *2156934140
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: people
|
30
|
+
requirement: &2156933220 !ruby/object:Gem::Requirement
|
40
31
|
none: false
|
41
|
-
requirements:
|
42
|
-
- -
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
|
45
|
-
segments:
|
46
|
-
- 0
|
47
|
-
version: "0"
|
32
|
+
requirements:
|
33
|
+
- - ! '>='
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '0'
|
48
36
|
type: :runtime
|
49
|
-
version_requirements: *id002
|
50
|
-
- !ruby/object:Gem::Dependency
|
51
|
-
name: linecache
|
52
37
|
prerelease: false
|
53
|
-
|
38
|
+
version_requirements: *2156933220
|
39
|
+
- !ruby/object:Gem::Dependency
|
40
|
+
name: ruby-debug19
|
41
|
+
requirement: &2156932740 !ruby/object:Gem::Requirement
|
54
42
|
none: false
|
55
|
-
requirements:
|
56
|
-
- -
|
57
|
-
- !ruby/object:Gem::Version
|
58
|
-
|
59
|
-
segments:
|
60
|
-
- 0
|
61
|
-
- 43
|
62
|
-
version: "0.43"
|
43
|
+
requirements:
|
44
|
+
- - ! '>='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
63
47
|
type: :development
|
64
|
-
version_requirements: *id003
|
65
|
-
- !ruby/object:Gem::Dependency
|
66
|
-
name: ruby-debug
|
67
48
|
prerelease: false
|
68
|
-
|
49
|
+
version_requirements: *2156932740
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
name: linecache19
|
52
|
+
requirement: &2156932220 !ruby/object:Gem::Requirement
|
69
53
|
none: false
|
70
|
-
requirements:
|
71
|
-
- -
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
|
74
|
-
segments:
|
75
|
-
- 0
|
76
|
-
version: "0"
|
54
|
+
requirements:
|
55
|
+
- - ! '>='
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: '0'
|
77
58
|
type: :development
|
78
|
-
version_requirements: *id004
|
79
|
-
- !ruby/object:Gem::Dependency
|
80
|
-
name: iconv
|
81
59
|
prerelease: false
|
82
|
-
|
83
|
-
|
84
|
-
requirements:
|
85
|
-
- - ">="
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
hash: 3
|
88
|
-
segments:
|
89
|
-
- 0
|
90
|
-
version: "0"
|
91
|
-
type: :development
|
92
|
-
version_requirements: *id005
|
93
|
-
- !ruby/object:Gem::Dependency
|
60
|
+
version_requirements: *2156932220
|
61
|
+
- !ruby/object:Gem::Dependency
|
94
62
|
name: rake
|
95
|
-
|
96
|
-
requirement: &id006 !ruby/object:Gem::Requirement
|
63
|
+
requirement: &2156931560 !ruby/object:Gem::Requirement
|
97
64
|
none: false
|
98
|
-
requirements:
|
99
|
-
- -
|
100
|
-
- !ruby/object:Gem::Version
|
101
|
-
hash: 49
|
102
|
-
segments:
|
103
|
-
- 0
|
104
|
-
- 8
|
105
|
-
- 7
|
65
|
+
requirements:
|
66
|
+
- - =
|
67
|
+
- !ruby/object:Gem::Version
|
106
68
|
version: 0.8.7
|
107
69
|
type: :development
|
108
|
-
version_requirements: *id006
|
109
|
-
- !ruby/object:Gem::Dependency
|
110
|
-
name: rspec
|
111
70
|
prerelease: false
|
112
|
-
|
71
|
+
version_requirements: *2156931560
|
72
|
+
- !ruby/object:Gem::Dependency
|
73
|
+
name: rspec
|
74
|
+
requirement: &2156930840 !ruby/object:Gem::Requirement
|
113
75
|
none: false
|
114
|
-
requirements:
|
76
|
+
requirements:
|
115
77
|
- - ~>
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
|
118
|
-
segments:
|
119
|
-
- 2
|
120
|
-
- 6
|
121
|
-
version: "2.6"
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '2.6'
|
122
80
|
type: :development
|
123
|
-
version_requirements: *id007
|
124
|
-
- !ruby/object:Gem::Dependency
|
125
|
-
name: mocha
|
126
81
|
prerelease: false
|
127
|
-
|
82
|
+
version_requirements: *2156930840
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: mocha
|
85
|
+
requirement: &2156930360 !ruby/object:Gem::Requirement
|
128
86
|
none: false
|
129
|
-
requirements:
|
130
|
-
- -
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
|
133
|
-
segments:
|
134
|
-
- 0
|
135
|
-
version: "0"
|
87
|
+
requirements:
|
88
|
+
- - ! '>='
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '0'
|
136
91
|
type: :development
|
137
|
-
version_requirements: *id008
|
138
|
-
- !ruby/object:Gem::Dependency
|
139
|
-
name: bundler
|
140
92
|
prerelease: false
|
141
|
-
|
93
|
+
version_requirements: *2156930360
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: bundler
|
96
|
+
requirement: &2156929860 !ruby/object:Gem::Requirement
|
142
97
|
none: false
|
143
|
-
requirements:
|
144
|
-
- -
|
145
|
-
- !ruby/object:Gem::Version
|
146
|
-
|
147
|
-
segments:
|
148
|
-
- 0
|
149
|
-
version: "0"
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
150
102
|
type: :development
|
151
|
-
version_requirements: *id009
|
152
|
-
- !ruby/object:Gem::Dependency
|
153
|
-
name: rcov
|
154
103
|
prerelease: false
|
155
|
-
|
104
|
+
version_requirements: *2156929860
|
105
|
+
- !ruby/object:Gem::Dependency
|
106
|
+
name: rcov
|
107
|
+
requirement: &2156929340 !ruby/object:Gem::Requirement
|
156
108
|
none: false
|
157
|
-
requirements:
|
158
|
-
- -
|
159
|
-
- !ruby/object:Gem::Version
|
160
|
-
|
161
|
-
segments:
|
162
|
-
- 0
|
163
|
-
version: "0"
|
109
|
+
requirements:
|
110
|
+
- - ! '>='
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '0'
|
164
113
|
type: :development
|
165
|
-
version_requirements: *id010
|
166
|
-
- !ruby/object:Gem::Dependency
|
167
|
-
name: rdoc
|
168
114
|
prerelease: false
|
169
|
-
|
115
|
+
version_requirements: *2156929340
|
116
|
+
- !ruby/object:Gem::Dependency
|
117
|
+
name: rdoc
|
118
|
+
requirement: &2156928880 !ruby/object:Gem::Requirement
|
170
119
|
none: false
|
171
|
-
requirements:
|
172
|
-
- -
|
173
|
-
- !ruby/object:Gem::Version
|
174
|
-
|
175
|
-
segments:
|
176
|
-
- 0
|
177
|
-
version: "0"
|
120
|
+
requirements:
|
121
|
+
- - ! '>='
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '0'
|
178
124
|
type: :development
|
179
|
-
version_requirements: *id011
|
180
|
-
- !ruby/object:Gem::Dependency
|
181
|
-
name: yard
|
182
125
|
prerelease: false
|
183
|
-
|
126
|
+
version_requirements: *2156928880
|
127
|
+
- !ruby/object:Gem::Dependency
|
128
|
+
name: yard
|
129
|
+
requirement: &2156928440 !ruby/object:Gem::Requirement
|
184
130
|
none: false
|
185
|
-
requirements:
|
186
|
-
- -
|
187
|
-
- !ruby/object:Gem::Version
|
188
|
-
|
189
|
-
segments:
|
190
|
-
- 0
|
191
|
-
version: "0"
|
131
|
+
requirements:
|
132
|
+
- - ! '>='
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: '0'
|
192
135
|
type: :development
|
193
|
-
|
194
|
-
|
195
|
-
|
136
|
+
prerelease: false
|
137
|
+
version_requirements: *2156928440
|
138
|
+
description: A Ruby library for interacting with electronic filings from the Federal
|
139
|
+
Election Commission.
|
140
|
+
email:
|
196
141
|
- dwillis@gmail.com
|
197
142
|
executables: []
|
198
|
-
|
199
143
|
extensions: []
|
200
|
-
|
201
144
|
extra_rdoc_files: []
|
202
|
-
|
203
|
-
files:
|
145
|
+
files:
|
204
146
|
- .gitignore
|
205
147
|
- .rspec
|
206
148
|
- Gemfile
|
@@ -287,6 +229,7 @@ files:
|
|
287
229
|
- spec/data/764901.fec
|
288
230
|
- spec/data/765310.fec
|
289
231
|
- spec/data/767339.fec
|
232
|
+
- spec/data/771694.fec
|
290
233
|
- spec/data/82094.fec
|
291
234
|
- spec/data/97405.fec
|
292
235
|
- spec/default_translations_spec.rb
|
@@ -319,36 +262,26 @@ files:
|
|
319
262
|
- tasks/fech.rake
|
320
263
|
homepage: http://github.com/nytimes/fech
|
321
264
|
licenses: []
|
322
|
-
|
323
265
|
post_install_message:
|
324
266
|
rdoc_options: []
|
325
|
-
|
326
|
-
require_paths:
|
267
|
+
require_paths:
|
327
268
|
- lib
|
328
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
269
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
329
270
|
none: false
|
330
|
-
requirements:
|
331
|
-
- -
|
332
|
-
- !ruby/object:Gem::Version
|
333
|
-
|
334
|
-
|
335
|
-
- 0
|
336
|
-
version: "0"
|
337
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
271
|
+
requirements:
|
272
|
+
- - ! '>='
|
273
|
+
- !ruby/object:Gem::Version
|
274
|
+
version: '0'
|
275
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
338
276
|
none: false
|
339
|
-
requirements:
|
340
|
-
- -
|
341
|
-
- !ruby/object:Gem::Version
|
342
|
-
|
343
|
-
segments:
|
344
|
-
- 0
|
345
|
-
version: "0"
|
277
|
+
requirements:
|
278
|
+
- - ! '>='
|
279
|
+
- !ruby/object:Gem::Version
|
280
|
+
version: '0'
|
346
281
|
requirements: []
|
347
|
-
|
348
282
|
rubyforge_project: fech
|
349
283
|
rubygems_version: 1.8.17
|
350
284
|
signing_key:
|
351
285
|
specification_version: 3
|
352
286
|
summary: Ruby library for parsing FEC filings.
|
353
287
|
test_files: []
|
354
|
-
|