campaign_cash 2.2.0 → 2.2.1
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 +1 -0
- data/lib/campaign_cash/president.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
|
+
* March 9, 2012: Version 2.2.1 released. Added transfers_in attribute to President#detail.
|
|
15
16
|
* Feb. 8, 2012: Version 2.1.0 released. Added better support for independent expenditures and FilingSummary class for presidential candidate filings.
|
|
16
17
|
* Jan. 28, 2012: Version 2.0.8 released. Bugfix for Candidate#search. Thanks to @benjaminjackson for patch.
|
|
17
18
|
* Jan. 24, 2012: Version 2.0.7 released. Added candidate_name attribute accessor to IndependentExpenditure objects.
|
|
@@ -2,7 +2,7 @@ module CampaignCash
|
|
|
2
2
|
class President < Base
|
|
3
3
|
|
|
4
4
|
attr_reader :committee_id, :name, :id, :party, :office, :date_coverage_from, :date_coverage_to, :total_receipts, :total_disbursements,
|
|
5
|
-
:end_cash, :total_refunds, :total_contributions, :net_individual_contributions, :net_pac_contributions,
|
|
5
|
+
:end_cash, :total_refunds, :total_contributions, :net_individual_contributions, :net_pac_contributions, :transfers_in,
|
|
6
6
|
:net_party_contributions, :net_candidate_contributions, :net_primary_contributions, :net_general_contributions,
|
|
7
7
|
:federal_funds, :contributions_less_than_200, :contributions_200_499, :contributions_500_1499, :contributions_1500_2499,
|
|
8
8
|
:contributions_max
|
|
@@ -48,6 +48,7 @@ module CampaignCash
|
|
|
48
48
|
:net_primary_contributions => params['net_primary_contributions'],
|
|
49
49
|
:net_general_contributions => params['net_general_contributions'],
|
|
50
50
|
:federal_funds => params['federal_funds'],
|
|
51
|
+
:transfers_in => params['transfers_in'],
|
|
51
52
|
:contributions_less_than_200 => params['total_contributions_less_than_200'],
|
|
52
53
|
:contributions_200_499 => params['contributions_200_499'],
|
|
53
54
|
:contributions_500_1499 => params['contributions_500_1499'],
|
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
|
- 2
|
|
9
|
-
-
|
|
10
|
-
version: 2.2.
|
|
9
|
+
- 1
|
|
10
|
+
version: 2.2.1
|
|
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-
|
|
18
|
+
date: 2012-03-09 00:00:00 -05:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|