federal_register 0.7.3 → 0.7.4

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
2
  SHA256:
3
- metadata.gz: 5b888ccd1e8ba93b75d9217a494435d52408cea9bb7dd76eceee8692183d3a8f
4
- data.tar.gz: caad2387bb549a07e0cdd581ec40265f50b46a05c18f2b2c74b193819b5d8b6f
3
+ metadata.gz: f8bb140a355d09285ddb6f31ec8ccf355410099575c89c4fddf4a92c9d8ba060
4
+ data.tar.gz: 49e5336d04ec3f93cca25e446417c151f34827e8258c3f1c62441df51ea81b57
5
5
  SHA512:
6
- metadata.gz: f507c18904701a263175b2cbf1d8d5fc631e6129b98217d139338ce9634e05d0f36ae9f689129bddcfc1999839537dd8a31330ca5e68b1938c349bc7a474fa25
7
- data.tar.gz: 64cb7f390982d0e13d4e6ff6e3cf1239ad00fd6a9e53c63a7be90707323f13277d6446ddc2b3212dd4a3a15df6a5fe32a0a16a4274bffb44821c392ac8010c54
6
+ metadata.gz: 83fe3e7909c0e79f2a8e2cc692917dfb1613aaf4758eefca6236d0b8b78249a745acb9cdedabe0fe164247e58b29a8ac711b0758ece87090554fa8eed8d5c174
7
+ data.tar.gz: 9ef1941fd7313e8e97e42306a7dde35759f07b08971a013ed8a9d7dac467adf9f25da3a629a332de2303f0502d28665c60f39a02c4ea4017ba3d9f90b0d48e26
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.3
1
+ 0.7.4
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "federal_register"
8
- s.version = "0.7.3"
8
+ s.version = "0.7.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Andrew Carpenter", "Bob Burbach"]
12
- s.date = "2019-11-19"
12
+ s.date = "2019-11-22"
13
13
  s.description = "Ruby API Client for FederalRegister.gov that handles searching documents and getting information about agencies"
14
14
  s.email = "andrew@criticaljuncture.org"
15
15
  s.extra_rdoc_files = [
@@ -93,7 +93,7 @@ class FederalRegister::Document < FederalRegister::Base
93
93
  document_numbers_or_citations << " "
94
94
  end
95
95
 
96
- result_set = FederalRegister::ResultSet.fetch("/documents/#{URI.encode(document_numbers_or_citations.join(',').strip)}.json", fetch_options)
96
+ result_set = FederalRegister::ResultSet.fetch("/documents/#{URI.encode(document_numbers_or_citations.compact.join(',').strip)}.json", fetch_options)
97
97
  end
98
98
 
99
99
  def agencies
@@ -55,7 +55,7 @@ class FederalRegister::PublicInspectionDocument < FederalRegister::Base
55
55
  document_numbers << " "
56
56
  end
57
57
 
58
- result_set = FederalRegister::ResultSet.fetch("/public-inspection-documents/#{document_numbers.join(',').strip}.json", fetch_options)
58
+ result_set = FederalRegister::ResultSet.fetch("/public-inspection-documents/#{document_numbers.compact.join(',').strip}.json", fetch_options)
59
59
  end
60
60
 
61
61
  def agencies
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: federal_register
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Carpenter
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-11-19 00:00:00.000000000 Z
12
+ date: 2019-11-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty