campaign_cash 2.0.4 → 2.0.5
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.
- data/README.rdoc +2 -0
- data/lib/campaign_cash/independent_expenditure.rb +2 -1
- data/lib/campaign_cash/version.rb +1 -1
- metadata +4 -4
data/README.rdoc
CHANGED
|
@@ -12,6 +12,7 @@ Simple ruby wrapper for The New York Times Campaign Finance API[http://developer
|
|
|
12
12
|
|
|
13
13
|
== News
|
|
14
14
|
|
|
15
|
+
* Jan. 19, 2012: Version 2.0.5 released. Bugfix to add amendment param to IndependentExpenditure objects.
|
|
15
16
|
* Jan. 18, 2012: Version 2.0.4 released. Bugfix to handle offsets better.
|
|
16
17
|
* Jan. 14, 2012: Version 2.0.3 released. Bugfix so that President.detail returns 1 object, not an array.
|
|
17
18
|
* Jan. 13, 2012: Version 2.0.2 released. Bugfix to set offset=nil as default.
|
|
@@ -199,6 +200,7 @@ The IE responses also accept an optional offset argument, using multiples of 20.
|
|
|
199
200
|
|
|
200
201
|
* Derek Willis, dwillis@nytimes.com
|
|
201
202
|
* Jason Holt, jjh@offensivepolitics.net
|
|
203
|
+
* Al Shaw, almshaw@gmail.com
|
|
202
204
|
|
|
203
205
|
== Copyright
|
|
204
206
|
|
|
@@ -22,7 +22,8 @@ module CampaignCash
|
|
|
22
22
|
:purpose => params['purpose'],
|
|
23
23
|
:amount => params['amount'],
|
|
24
24
|
:fec_uri => params['fec_uri'],
|
|
25
|
-
:date_received => date_parser(params['date_received'])
|
|
25
|
+
:date_received => date_parser(params['date_received']),
|
|
26
|
+
:amendment => params['amendment']
|
|
26
27
|
end
|
|
27
28
|
|
|
28
29
|
def self.latest(offset=nil)
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: campaign_cash
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 5
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 2
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 2.0.
|
|
9
|
+
- 5
|
|
10
|
+
version: 2.0.5
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Derek Willis
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2012-01-
|
|
18
|
+
date: 2012-01-19 00:00:00 -05:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|