bcardarella-deepthroat 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,11 @@
1
+ HTTP/1.0 200 OK
2
+ Date: Wed, 04 Feb 2009 15:47:38 GMT
3
+ Server: Apache/2.0.63
4
+ X-Powered-By: PHP/5.2.5
5
+ Vary: Accept-Encoding
6
+ Content-Length: 391
7
+ Content-Type: text/xml; charset=utf-8
8
+ X-Cache: MISS from www.opensecrets.org
9
+ Connection: close
10
+
11
+ <response><summary cand_name="Clinton, Hillary" cid="N00000019" cycle="2006" state="NY" party="D" chamber="S" first_elected="2000" next_election="2006" total="51567732" spent="40828991" cash_on_hand="11021087" debt="93363" origin="Center for Responsive Politics" source="http://www.opensecrets.org/politicians/summary.php?cid=N00000019&amp;cycle=2006" last_updated="12/31/2006" /></response>
@@ -0,0 +1,11 @@
1
+ HTTP/1.0 200 OK
2
+ Date: Wed, 04 Feb 2009 15:42:10 GMT
3
+ Server: Apache/2.0.63
4
+ X-Powered-By: PHP/5.2.5
5
+ Vary: Accept-Encoding
6
+ Content-Length: 1523
7
+ Content-Type: text/xml; charset=utf-8
8
+ X-Cache: MISS from www.opensecrets.org
9
+ Connection: close
10
+
11
+ <response><sectors cand_name="Hillary Clinton (D)" cid="N00000019" cycle="2006" origin="Center for Responsive Politics" source="http://www.opensecrets.org/politicians/industries.php?cid=N00000019&amp;cycle=2006" last_updated="06/04/2007" ><sector sector_name="Agribusiness" sectorid="A" indivs="210110" pacs="46500" total="256610" /><sector sector_name="Communic/Electronics" sectorid="B" indivs="2355185" pacs="151887" total="2507072" /><sector sector_name="Construction" sectorid="C" indivs="667901" pacs="54360" total="722261" /><sector sector_name="Defense" sectorid="D" indivs="66690" pacs="80200" total="146890" /><sector sector_name="Energy/Nat Resource" sectorid="E" indivs="235870" pacs="52892" total="288762" /><sector sector_name="Finance/Insur/RealEst" sectorid="F" indivs="6282270" pacs="363464" total="6645734" /><sector sector_name="Health" sectorid="H" indivs="1341722" pacs="201350" total="1543072" /><sector sector_name="Lawyers &amp; Lobbyists" sectorid="K" indivs="4263024" pacs="209847" total="4472871" /><sector sector_name="Transportation" sectorid="M" indivs="126055" pacs="24500" total="150555" /><sector sector_name="Misc Business" sectorid="N" indivs="2848510" pacs="137467" total="2985977" /><sector sector_name="Labor" sectorid="P" indivs="26310" pacs="358135" total="384445" /><sector sector_name="Ideology/Single-Issue" sectorid="Q" indivs="2236613" pacs="297045" total="2533658" /><sector sector_name="Other" sectorid="W" indivs="3738794" pacs="14500" total="3753294" /></sectors></response>
metadata ADDED
@@ -0,0 +1,97 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bcardarella-deepthroat
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.0
5
+ platform: ruby
6
+ authors:
7
+ - Brian Cardarella
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-04-12 00:00:00 -07:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description: TODO
17
+ email: bcardarella@gmail.com
18
+ executables: []
19
+
20
+ extensions: []
21
+
22
+ extra_rdoc_files:
23
+ - LICENSE
24
+ - README
25
+ files:
26
+ - LICENSE
27
+ - Rakefile
28
+ - VERSION.yml
29
+ - lib/deepthroat.rb
30
+ - lib/deepthroat/base.rb
31
+ - lib/deepthroat/contributions.rb
32
+ - lib/deepthroat/industries.rb
33
+ - lib/deepthroat/industry.rb
34
+ - lib/deepthroat/summaries.rb
35
+ - lib/deepthroat/top_sectors.rb
36
+ - test/test_deepthroat.rb
37
+ - test/test_helper.rb
38
+ - test/unit/test_base.rb
39
+ - test/unit/test_contributions.rb
40
+ - test/unit/test_contributions_contributor.rb
41
+ - test/unit/test_industries.rb
42
+ - test/unit/test_industries_industry.rb
43
+ - test/unit/test_industry.rb
44
+ - test/unit/test_summaries.rb
45
+ - test/unit/test_top_sectors.rb
46
+ - test/unit/test_top_sectors_sector.rb
47
+ - test/xml_samples/bad_api_key.xml
48
+ - test/xml_samples/bad_cid.xml
49
+ - test/xml_samples/bad_cycle.xml
50
+ - test/xml_samples/bad_indcode.xml
51
+ - test/xml_samples/contributions.xml
52
+ - test/xml_samples/deep_throat_bad_method.xml
53
+ - test/xml_samples/industries.xml
54
+ - test/xml_samples/industry.xml
55
+ - test/xml_samples/member_pfd_profile.xml
56
+ - test/xml_samples/member_travel_trips.xml
57
+ - test/xml_samples/summaries.xml
58
+ - test/xml_samples/top_sectors.xml
59
+ - README
60
+ has_rdoc: true
61
+ homepage: http://github.com/bcardarella/deepthroat
62
+ post_install_message:
63
+ rdoc_options:
64
+ - --charset=UTF-8
65
+ require_paths:
66
+ - lib
67
+ required_ruby_version: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ version: "0"
72
+ version:
73
+ required_rubygems_version: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ version: "0"
78
+ version:
79
+ requirements: []
80
+
81
+ rubyforge_project:
82
+ rubygems_version: 1.2.0
83
+ signing_key:
84
+ specification_version: 2
85
+ summary: TODO
86
+ test_files:
87
+ - test/test_deepthroat.rb
88
+ - test/test_helper.rb
89
+ - test/unit/test_base.rb
90
+ - test/unit/test_contributions.rb
91
+ - test/unit/test_contributions_contributor.rb
92
+ - test/unit/test_industries.rb
93
+ - test/unit/test_industries_industry.rb
94
+ - test/unit/test_industry.rb
95
+ - test/unit/test_summaries.rb
96
+ - test/unit/test_top_sectors.rb
97
+ - test/unit/test_top_sectors_sector.rb