campaign_cash 2.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +7 -3
- data/lib/campaign_cash/filing.rb +1 -1
- data/lib/campaign_cash/version.rb +1 -1
- metadata +4 -3
data/README.rdoc
CHANGED
@@ -10,6 +10,10 @@
|
|
10
10
|
|
11
11
|
Simple ruby wrapper for The New York Times Campaign Finance API[http://developer.nytimes.com/docs/read/campaign_finance_api]. You'll need an API key.
|
12
12
|
|
13
|
+
== News
|
14
|
+
|
15
|
+
* Jan. 11, 2012: Version 2.0.1 released. Bugfix for some attributes on Filing class.
|
16
|
+
|
13
17
|
== INSTALL:
|
14
18
|
|
15
19
|
Install Campaign Cash as a gem:
|
@@ -190,9 +194,9 @@ The IE responses also accept an optional offset argument, using multiples of 20.
|
|
190
194
|
|
191
195
|
== Authors
|
192
196
|
|
193
|
-
Derek Willis, dwillis@nytimes.com
|
194
|
-
Jason Holt, jjh@offensivepolitics.net
|
197
|
+
* Derek Willis, dwillis@nytimes.com
|
198
|
+
* Jason Holt, jjh@offensivepolitics.net
|
195
199
|
|
196
200
|
== Copyright
|
197
201
|
|
198
|
-
Copyright (c)
|
202
|
+
Copyright (c) 2012 The New York Times Company. See LICENSE for details.
|
data/lib/campaign_cash/filing.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module CampaignCash
|
2
2
|
class Filing < Base
|
3
3
|
|
4
|
-
attr_reader :committee_name, :date_coverage_from, :amended_uri, :fec_uri, :date_coverage_to, :committee, :report_title, :amended, :date_filed, :cycle, :form_type
|
4
|
+
attr_reader :committee_name, :date_coverage_from, :amended_uri, :fec_uri, :date_coverage_to, :committee, :report_title, :amended, :date_filed, :cycle, :form_type, :original_filing, :original_uri, :paper
|
5
5
|
|
6
6
|
def initialize(params={})
|
7
7
|
params.each_pair do |k,v|
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: campaign_cash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 0
|
9
|
-
|
9
|
+
- 1
|
10
|
+
version: 2.0.1
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Derek Willis
|
@@ -14,7 +15,7 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2012-01-
|
18
|
+
date: 2012-01-11 00:00:00 -05:00
|
18
19
|
default_executable:
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|