congress_forms 0.1.15 → 0.1.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/congress_forms.rb +1 -0
- data/lib/congress_forms/version.rb +1 -1
- data/lib/cwc/client.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: bec84ca4b2d40192518755713f3e8b866e07950e
|
4
|
+
data.tar.gz: 8baf974b874830242ac8d13fa7c8f942a0cd28da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0b0cd02f523cb73fdecbe9e4afbba9149cf9aaf3633aa0eb3c6d58079417d93283467258907d011f5e26cf929a238fad8061e0c07ff200a08c9c15bfe0833c7
|
7
|
+
data.tar.gz: 04623bc1499a864e7df263afda95b3fb508f72e5b03cd23745fc4b9e6e7ade835f24715abadd0affe7901e9e4c7a65e06b5296e7c5e935d3db0fcc4909637d86
|
data/lib/congress_forms.rb
CHANGED
@@ -64,6 +64,7 @@ module CongressForms
|
|
64
64
|
autoload :WebForm, "congress_forms/web_form"
|
65
65
|
autoload :CwcForm, "congress_forms/cwc_form"
|
66
66
|
autoload :Actions, "congress_forms/actions"
|
67
|
+
autoload :UnsupportedAction, "congress_forms/actions"
|
67
68
|
|
68
69
|
autoload :Repo, "congress_forms/repo"
|
69
70
|
|
data/lib/cwc/client.rb
CHANGED
@@ -161,9 +161,9 @@ module Cwc
|
|
161
161
|
|
162
162
|
def offices
|
163
163
|
if options[:host] =~ %r{^https://cwc.house.gov}
|
164
|
-
|
164
|
+
Cwc::OfficeCodes.map{ |code| Office.new(code) }
|
165
165
|
else
|
166
|
-
response = get action("/offices")
|
166
|
+
response = get action("/v2/offices")
|
167
167
|
JSON.parse(response.body).map{ |code| Office.new(code) }
|
168
168
|
end
|
169
169
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: congress_forms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Woo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
180
180
|
version: '0'
|
181
181
|
requirements: []
|
182
182
|
rubyforge_project:
|
183
|
-
rubygems_version: 2.
|
183
|
+
rubygems_version: 2.5.1
|
184
184
|
signing_key:
|
185
185
|
specification_version: 4
|
186
186
|
summary: "..."
|