campaign_cash 2.5 → 2.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +2 -0
- data/lib/campaign_cash/filing.rb +1 -1
- data/lib/campaign_cash/version.rb +1 -1
- metadata +70 -85
data/README.rdoc
CHANGED
@@ -12,6 +12,8 @@ Simple ruby wrapper for portions of The New York Times Campaign Finance API[http
|
|
12
12
|
|
13
13
|
== News
|
14
14
|
|
15
|
+
* April 9, 2013: Version 2.5.1 released. Fixed a bug that showed committee_name in Filing objects as nil.
|
16
|
+
* Nov. 13, 2012: Version 2.5 released. Fixes a bug in Filing object attribute assignment.
|
15
17
|
* July 19, 2012: Version 2.4 released. Updated for new API responses and to return integers and floats.
|
16
18
|
* April 10, 2012: Version 2.3.2 released. Bugfix for Committee#find.
|
17
19
|
* March 22, 2012: Version 2.3.1 released. Added filing_id to Filing objects and Committee#unamended_filings method.
|
data/lib/campaign_cash/filing.rb
CHANGED
@@ -23,7 +23,7 @@ module CampaignCash
|
|
23
23
|
:form_type => params['form_type'],
|
24
24
|
:filing_id => params['id'],
|
25
25
|
:committee_type => Committee.get_committee_type(params['committee_type']),
|
26
|
-
:committee_name => params['
|
26
|
+
:committee_name => params['committee_name'],
|
27
27
|
:receipts_total => params['receipts_total'],
|
28
28
|
:contributions_total => params['contributions_total'],
|
29
29
|
:disbursements_total => params['disbursements_total'],
|
metadata
CHANGED
@@ -1,91 +1,87 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: campaign_cash
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.5.1
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 2
|
8
|
-
- 5
|
9
|
-
version: "2.5"
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Derek Willis
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2013-04-10 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
20
15
|
name: json
|
21
|
-
|
22
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
23
17
|
none: false
|
24
|
-
requirements:
|
25
|
-
- -
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
|
28
|
-
segments:
|
29
|
-
- 0
|
30
|
-
version: "0"
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
31
22
|
type: :runtime
|
32
|
-
version_requirements: *id001
|
33
|
-
- !ruby/object:Gem::Dependency
|
34
|
-
name: rake
|
35
23
|
prerelease: false
|
36
|
-
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: rake
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
37
33
|
none: false
|
38
|
-
requirements:
|
39
|
-
- -
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
hash: 49
|
42
|
-
segments:
|
43
|
-
- 0
|
44
|
-
- 8
|
45
|
-
- 7
|
34
|
+
requirements:
|
35
|
+
- - '='
|
36
|
+
- !ruby/object:Gem::Version
|
46
37
|
version: 0.8.7
|
47
38
|
type: :development
|
48
|
-
version_requirements: *id002
|
49
|
-
- !ruby/object:Gem::Dependency
|
50
|
-
name: bundler
|
51
39
|
prerelease: false
|
52
|
-
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - '='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 0.8.7
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: bundler
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
53
49
|
none: false
|
54
|
-
requirements:
|
55
|
-
- -
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
hash: 23
|
58
|
-
segments:
|
59
|
-
- 1
|
60
|
-
- 0
|
61
|
-
- 0
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
62
53
|
version: 1.0.0
|
63
54
|
type: :development
|
64
|
-
version_requirements: *id003
|
65
|
-
- !ruby/object:Gem::Dependency
|
66
|
-
name: shoulda
|
67
55
|
prerelease: false
|
68
|
-
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
69
57
|
none: false
|
70
|
-
requirements:
|
71
|
-
- -
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.0.0
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: shoulda
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
77
70
|
type: :development
|
78
|
-
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
79
78
|
description: A client for The New York Times Campaign Finance API
|
80
|
-
email:
|
79
|
+
email:
|
81
80
|
- dwillis@nytimes.com
|
82
81
|
executables: []
|
83
|
-
|
84
82
|
extensions: []
|
85
|
-
|
86
83
|
extra_rdoc_files: []
|
87
|
-
|
88
|
-
files:
|
84
|
+
files:
|
89
85
|
- .gitignore
|
90
86
|
- Gemfile
|
91
87
|
- Gemfile.lock
|
@@ -120,40 +116,29 @@ files:
|
|
120
116
|
- test/test_helper.rb
|
121
117
|
homepage: http://rubygems.org/gems/campaign_cash
|
122
118
|
licenses: []
|
123
|
-
|
124
119
|
post_install_message:
|
125
120
|
rdoc_options: []
|
126
|
-
|
127
|
-
require_paths:
|
121
|
+
require_paths:
|
128
122
|
- lib
|
129
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
123
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
130
124
|
none: false
|
131
|
-
requirements:
|
132
|
-
- -
|
133
|
-
- !ruby/object:Gem::Version
|
134
|
-
|
135
|
-
|
136
|
-
- 0
|
137
|
-
version: "0"
|
138
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
125
|
+
requirements:
|
126
|
+
- - ! '>='
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: '0'
|
129
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
139
130
|
none: false
|
140
|
-
requirements:
|
141
|
-
- -
|
142
|
-
- !ruby/object:Gem::Version
|
143
|
-
hash: 23
|
144
|
-
segments:
|
145
|
-
- 1
|
146
|
-
- 3
|
147
|
-
- 6
|
131
|
+
requirements:
|
132
|
+
- - ! '>='
|
133
|
+
- !ruby/object:Gem::Version
|
148
134
|
version: 1.3.6
|
149
135
|
requirements: []
|
150
|
-
|
151
136
|
rubyforge_project: campaign_cash
|
152
|
-
rubygems_version: 1.8.
|
137
|
+
rubygems_version: 1.8.24
|
153
138
|
signing_key:
|
154
139
|
specification_version: 3
|
155
140
|
summary: Following the money.
|
156
|
-
test_files:
|
141
|
+
test_files:
|
157
142
|
- test/campaign_cash/test_candidate.rb
|
158
143
|
- test/campaign_cash/test_committee.rb
|
159
144
|
- test/campaign_cash/test_electioneering_communication.rb
|