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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 805b230f97a3b9f4a4d3a5e7108d623e649adbbb548361bad2a2799b15177b64
4
- data.tar.gz: 7aaeef3fbec56c34838eaa231c081bf2d6c8a0b5ade47d2cb013d010a64d1f44
2
+ SHA1:
3
+ metadata.gz: bec84ca4b2d40192518755713f3e8b866e07950e
4
+ data.tar.gz: 8baf974b874830242ac8d13fa7c8f942a0cd28da
5
5
  SHA512:
6
- metadata.gz: 3551f400d01950ee36ff963b514b38921fcb3e1f76848202890be30d639a3f7994c782f8d9ce259e0e1fbf53e0a4203717d81de41dc99908144175d97038a77d
7
- data.tar.gz: bcce5315c8c5440907d416d44f8e65e344fadf8522406bd937326578d56d94a3bf52ff02216792efea1217537c875c62b230ead197ed133565acd7ebd0846b8a
6
+ metadata.gz: b0b0cd02f523cb73fdecbe9e4afbba9149cf9aaf3633aa0eb3c6d58079417d93283467258907d011f5e26cf929a238fad8061e0c07ff200a08c9c15bfe0833c7
7
+ data.tar.gz: 04623bc1499a864e7df263afda95b3fb508f72e5b03cd23745fc4b9e6e7ade835f24715abadd0affe7901e9e4c7a65e06b5296e7c5e935d3db0fcc4909637d86
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module CongressForms
2
- VERSION = "0.1.15"
2
+ VERSION = "0.1.16"
3
3
  end
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
- Cwc::OfficeCodes.map{ |code| Office.new(code) }
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.15
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-10 00:00:00.000000000 Z
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.7.7
183
+ rubygems_version: 2.5.1
184
184
  signing_key:
185
185
  specification_version: 4
186
186
  summary: "..."