fec_results 0.6 → 0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/README.md +6 -6
- data/api/2000/congress/results.json +2668 -0
- data/api/2000/president/general_election_results.json +449 -0
- data/api/2000/president/popular_vote_summary.json +1 -0
- data/api/2000/president/primary_election_results.json +498 -0
- data/api/2000/president/primary_party_summary.json +1 -0
- data/api/2000/president/state_electoral_and_popular_vote_summary.json +1 -0
- data/api/2000/summary/chamber_votes_by_party.json +55 -0
- data/api/2000/summary/congressional_votes_by_election.json +55 -0
- data/api/2000/summary/general_election_votes.json +55 -0
- data/api/2000/summary/general_election_votes_by_party.json +55 -0
- data/api/2000/summary/party_labels.json +76 -0
- data/api/2002/congress/results.json +2401 -0
- data/api/2002/summary/chamber_votes_by_party.json +54 -0
- data/api/2002/summary/congressional_votes_by_election.json +54 -0
- data/api/2002/summary/general_election_votes.json +1 -0
- data/api/2002/summary/general_election_votes_by_party.json +1 -0
- data/api/2002/summary/party_labels.json +54 -0
- data/api/2004/congress/results.json +2309 -0
- data/api/2004/president/general_election_results.json +430 -0
- data/api/2004/president/popular_vote_summary.json +19 -0
- data/api/2004/president/primary_election_results.json +498 -0
- data/api/2004/president/primary_party_summary.json +7 -0
- data/api/2004/president/state_electoral_and_popular_vote_summary.json +56 -0
- data/api/2004/summary/chamber_votes_by_party.json +55 -0
- data/api/2004/summary/congressional_votes_by_election.json +55 -0
- data/api/2004/summary/general_election_votes.json +55 -0
- data/api/2004/summary/general_election_votes_by_party.json +55 -0
- data/api/2004/summary/party_labels.json +85 -0
- data/api/2006/congress/results.json +2377 -0
- data/api/2006/summary/chamber_votes_by_party.json +54 -0
- data/api/2006/summary/congressional_votes_by_election.json +54 -0
- data/api/2006/summary/general_election_votes.json +54 -0
- data/api/2006/summary/general_election_votes_by_party.json +54 -0
- data/api/2006/summary/party_labels.json +67 -0
- data/api/2008/congress/results.json +2401 -0
- data/api/2008/president/general_election_results.json +485 -0
- data/api/2008/president/popular_vote_summary.json +26 -0
- data/api/2008/president/primary_election_results.json +720 -0
- data/api/2008/president/primary_party_summary.json +11 -0
- data/api/2008/president/state_electoral_and_popular_vote_summary.json +51 -0
- data/api/2008/summary/chamber_votes_by_party.json +56 -0
- data/api/2008/summary/congressional_votes_by_election.json +56 -0
- data/api/2008/summary/general_election_votes.json +56 -0
- data/api/2008/summary/general_election_votes_by_party.json +56 -0
- data/api/2008/summary/party_labels.json +100 -0
- data/api/2010/congress/results.json +3300 -0
- data/api/2010/summary/chamber_votes_by_party.json +55 -0
- data/api/2010/summary/congressional_votes_by_election.json +55 -0
- data/api/2010/summary/general_election_votes.json +55 -0
- data/api/2010/summary/general_election_votes_by_party.json +55 -0
- data/api/2010/summary/party_labels.json +82 -0
- data/api/2012/congress/results.json +3081 -0
- data/api/2012/president/general_election_results.json +484 -0
- data/api/2012/president/popular_vote_summary.json +30 -0
- data/api/2012/president/primary_election_results.json +453 -0
- data/api/2012/president/primary_party_summary.json +9 -0
- data/api/2012/president/state_electoral_and_popular_vote_summary.json +51 -0
- data/api/2012/summary/chamber_votes_by_party.json +56 -0
- data/api/2012/summary/congressional_votes_by_election.json +56 -0
- data/api/2012/summary/general_election_votes.json +56 -0
- data/api/2012/summary/general_election_votes_by_party.json +56 -0
- data/api/2012/summary/party_labels.json +112 -0
- data/fec_results.gemspec +1 -0
- data/images/bg_hr.png +0 -0
- data/images/blacktocat.png +0 -0
- data/images/icon_download.png +0 -0
- data/images/sprite_download.png +0 -0
- data/index.html +159 -0
- data/javascripts/main.js +1 -0
- data/lib/fec_results.rb +3 -0
- data/lib/fec_results/congress.rb +56 -17
- data/lib/fec_results/president.rb +48 -48
- data/lib/fec_results/result.rb +2 -2
- data/lib/fec_results/summary.rb +120 -98
- data/lib/fec_results/version.rb +1 -1
- data/params.json +1 -0
- data/stylesheets/pygment_trac.css +70 -0
- data/stylesheets/stylesheet.css +419 -0
- metadata +100 -14
metadata
CHANGED
@@ -1,69 +1,83 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fec_results
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.7'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Derek Willis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.3'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: remote_table
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: roo-xls
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
53
67
|
- !ruby/object:Gem::Version
|
54
68
|
version: '0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: american_date
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
|
-
- -
|
73
|
+
- - ">="
|
60
74
|
- !ruby/object:Gem::Version
|
61
75
|
version: '0'
|
62
76
|
type: :runtime
|
63
77
|
prerelease: false
|
64
78
|
version_requirements: !ruby/object:Gem::Requirement
|
65
79
|
requirements:
|
66
|
-
- -
|
80
|
+
- - ">="
|
67
81
|
- !ruby/object:Gem::Version
|
68
82
|
version: '0'
|
69
83
|
description: Parses FEC federal election results into Ruby objects
|
@@ -73,19 +87,90 @@ executables: []
|
|
73
87
|
extensions: []
|
74
88
|
extra_rdoc_files: []
|
75
89
|
files:
|
76
|
-
- .gitignore
|
90
|
+
- ".gitignore"
|
77
91
|
- Gemfile
|
78
92
|
- LICENSE.txt
|
79
93
|
- README.md
|
80
94
|
- Rakefile
|
95
|
+
- api/2000/congress/results.json
|
96
|
+
- api/2000/president/general_election_results.json
|
97
|
+
- api/2000/president/popular_vote_summary.json
|
98
|
+
- api/2000/president/primary_election_results.json
|
99
|
+
- api/2000/president/primary_party_summary.json
|
100
|
+
- api/2000/president/state_electoral_and_popular_vote_summary.json
|
101
|
+
- api/2000/summary/chamber_votes_by_party.json
|
102
|
+
- api/2000/summary/congressional_votes_by_election.json
|
103
|
+
- api/2000/summary/general_election_votes.json
|
104
|
+
- api/2000/summary/general_election_votes_by_party.json
|
105
|
+
- api/2000/summary/party_labels.json
|
106
|
+
- api/2002/congress/results.json
|
107
|
+
- api/2002/summary/chamber_votes_by_party.json
|
108
|
+
- api/2002/summary/congressional_votes_by_election.json
|
109
|
+
- api/2002/summary/general_election_votes.json
|
110
|
+
- api/2002/summary/general_election_votes_by_party.json
|
111
|
+
- api/2002/summary/party_labels.json
|
112
|
+
- api/2004/congress/results.json
|
113
|
+
- api/2004/president/general_election_results.json
|
114
|
+
- api/2004/president/popular_vote_summary.json
|
115
|
+
- api/2004/president/primary_election_results.json
|
116
|
+
- api/2004/president/primary_party_summary.json
|
117
|
+
- api/2004/president/state_electoral_and_popular_vote_summary.json
|
118
|
+
- api/2004/summary/chamber_votes_by_party.json
|
119
|
+
- api/2004/summary/congressional_votes_by_election.json
|
120
|
+
- api/2004/summary/general_election_votes.json
|
121
|
+
- api/2004/summary/general_election_votes_by_party.json
|
122
|
+
- api/2004/summary/party_labels.json
|
123
|
+
- api/2006/congress/results.json
|
124
|
+
- api/2006/summary/chamber_votes_by_party.json
|
125
|
+
- api/2006/summary/congressional_votes_by_election.json
|
126
|
+
- api/2006/summary/general_election_votes.json
|
127
|
+
- api/2006/summary/general_election_votes_by_party.json
|
128
|
+
- api/2006/summary/party_labels.json
|
129
|
+
- api/2008/congress/results.json
|
130
|
+
- api/2008/president/general_election_results.json
|
131
|
+
- api/2008/president/popular_vote_summary.json
|
132
|
+
- api/2008/president/primary_election_results.json
|
133
|
+
- api/2008/president/primary_party_summary.json
|
134
|
+
- api/2008/president/state_electoral_and_popular_vote_summary.json
|
135
|
+
- api/2008/summary/chamber_votes_by_party.json
|
136
|
+
- api/2008/summary/congressional_votes_by_election.json
|
137
|
+
- api/2008/summary/general_election_votes.json
|
138
|
+
- api/2008/summary/general_election_votes_by_party.json
|
139
|
+
- api/2008/summary/party_labels.json
|
140
|
+
- api/2010/congress/results.json
|
141
|
+
- api/2010/summary/chamber_votes_by_party.json
|
142
|
+
- api/2010/summary/congressional_votes_by_election.json
|
143
|
+
- api/2010/summary/general_election_votes.json
|
144
|
+
- api/2010/summary/general_election_votes_by_party.json
|
145
|
+
- api/2010/summary/party_labels.json
|
146
|
+
- api/2012/congress/results.json
|
147
|
+
- api/2012/president/general_election_results.json
|
148
|
+
- api/2012/president/popular_vote_summary.json
|
149
|
+
- api/2012/president/primary_election_results.json
|
150
|
+
- api/2012/president/primary_party_summary.json
|
151
|
+
- api/2012/president/state_electoral_and_popular_vote_summary.json
|
152
|
+
- api/2012/summary/chamber_votes_by_party.json
|
153
|
+
- api/2012/summary/congressional_votes_by_election.json
|
154
|
+
- api/2012/summary/general_election_votes.json
|
155
|
+
- api/2012/summary/general_election_votes_by_party.json
|
156
|
+
- api/2012/summary/party_labels.json
|
81
157
|
- api_routes.csv
|
82
158
|
- fec_results.gemspec
|
159
|
+
- images/bg_hr.png
|
160
|
+
- images/blacktocat.png
|
161
|
+
- images/icon_download.png
|
162
|
+
- images/sprite_download.png
|
163
|
+
- index.html
|
164
|
+
- javascripts/main.js
|
83
165
|
- lib/fec_results.rb
|
84
166
|
- lib/fec_results/congress.rb
|
85
167
|
- lib/fec_results/president.rb
|
86
168
|
- lib/fec_results/result.rb
|
87
169
|
- lib/fec_results/summary.rb
|
88
170
|
- lib/fec_results/version.rb
|
171
|
+
- params.json
|
172
|
+
- stylesheets/pygment_trac.css
|
173
|
+
- stylesheets/stylesheet.css
|
89
174
|
homepage: ''
|
90
175
|
licenses:
|
91
176
|
- Apache
|
@@ -96,18 +181,19 @@ require_paths:
|
|
96
181
|
- lib
|
97
182
|
required_ruby_version: !ruby/object:Gem::Requirement
|
98
183
|
requirements:
|
99
|
-
- -
|
184
|
+
- - ">="
|
100
185
|
- !ruby/object:Gem::Version
|
101
186
|
version: '0'
|
102
187
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
188
|
requirements:
|
104
|
-
- -
|
189
|
+
- - ">="
|
105
190
|
- !ruby/object:Gem::Version
|
106
191
|
version: '0'
|
107
192
|
requirements: []
|
108
193
|
rubyforge_project:
|
109
|
-
rubygems_version: 2.
|
194
|
+
rubygems_version: 2.4.8
|
110
195
|
signing_key:
|
111
196
|
specification_version: 4
|
112
197
|
summary: House, Senate, Presidential results
|
113
198
|
test_files: []
|
199
|
+
has_rdoc:
|