ecfr 1.0.2 → 1.0.3

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: 4403d0c730758c718692d944b2703b0630f7d00f1e22d710909a32f12864a136
4
- data.tar.gz: 2c80c63a113fe62b20b546b5338aada5a593ce1cc73c827e38e6f81b7dfb9e98
3
+ metadata.gz: 85c87c825574d6224010a1647a47b368d2812912fcd6191b5ac3dfeb5f3966da
4
+ data.tar.gz: a6f606db625df4f721763499457279ebeb35ba92aa53cbd4410fa400d6518701
5
5
  SHA512:
6
- metadata.gz: aa1c12695b6cc9c382589e612a4fc410c5bba3ee4b56f38d47b0d68303e576df5c364d65486b61439c0777dc09bcd527fe5359d937654bdc10ea3d7dce9ed45b
7
- data.tar.gz: 5f0d2e11bfc54ac1b578170be9a23d8dc6b7a7a89f979795d3664761c9033b6c8a351e16dc8f80dace862b5dd6f9ef16d675fbbb76ae3c213db03958db04fc83
6
+ metadata.gz: a7fb4dacbb2efa5c73fa9e3263e1d5348a436bf749f4df941f43d5ee658ffd03e5427281f37b0b06280eb3d3c9aa2402fd94953c2cba87c6d32a098508396080
7
+ data.tar.gz: cc6bcf78a7d2ca7acca3f992c31f0716a0162e0f081a6e51a1ee8301a3d8e8e6c420150ab3d1ae023c025c358efbced1d8f9f7c2e5a4790c8381dc35bf34e947
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [1.0.3] - 2023-04-21
4
+ ### Changes
5
+ - Adjust PDF service name and set url default
6
+
3
7
  ## [1.0.2] - 2023-04-17
4
8
  ### Additions
5
9
  - Add support for `display_name` and `sortable_name` attributes to the agency API response
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ecfr (1.0.0)
4
+ ecfr (1.0.2)
5
5
  activemodel (~> 6.0)
6
6
  activesupport (~> 6.0)
7
7
  faraday (~> 2.0)
@@ -6,11 +6,11 @@ module Ecfr
6
6
  SERVICE_PATH = ""
7
7
 
8
8
  def self.base_url
9
- Ecfr.config.prince_xml_service_url
9
+ Ecfr.config.prince_xml_service_url || Ecfr.config.base_url
10
10
  end
11
11
 
12
12
  def self.service_name
13
- "PrinceXML Service"
13
+ "Prince XML Service"
14
14
  end
15
15
  end
16
16
  end
@@ -38,7 +38,10 @@ module Ecfr
38
38
  ORIGIN_PATH = "v1/origin"
39
39
 
40
40
  def self.find(date, title_number, params = {})
41
- supported_params = (Ecfr::Constants::Hierarchy::HIERARCHY_LEVELS[1, 8] + [:build_id]).map(&:to_sym)
41
+ supported_params = (
42
+ Ecfr::Constants::Hierarchy::HIERARCHY_LEVELS[1, 8] +
43
+ [:build_id]
44
+ ).map(&:to_sym)
42
45
 
43
46
  perform(
44
47
  :get,
data/lib/ecfr/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ecfr
4
- VERSION = "1.0.2"
4
+ VERSION = "1.0.3"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecfr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peregrinator
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-04-17 00:00:00.000000000 Z
11
+ date: 2023-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel