ecfr 1.1.1 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -1
- data/Gemfile.lock +1 -1
- data/lib/ecfr/client.rb +1 -0
- data/lib/ecfr/configuration.rb +1 -0
- data/lib/ecfr/renderer_service/content.rb +1 -1
- data/lib/ecfr/renderer_service/origin.rb +2 -0
- data/lib/ecfr/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d08cec2c05e1ac2e15d1889deec5f7348c767eafe2c1c8970e440051e3b4460
|
4
|
+
data.tar.gz: 04ab00ed24f91fde2327ae63565e9a010bf174373e0125670963d9c5f5dcfa13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ca1f2aeaf1d5b27b9da1af4505bf0d73c7f059665c8fce3572439aa8018abaa6aaf7e9af6e8ddb63dbefdb40266e5be04b5cad00056203332817bf5d2a28ff7
|
7
|
+
data.tar.gz: 7120fcf30c26e811d0c4f7fa20ebefebbf8a44fa4407460760e010df2623922d35dcc8b64a54a3bcd3b35cf509eb073668886884df4a12b93cd7e665a5217624
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,14 @@
|
|
1
1
|
## [Unreleased]
|
2
2
|
|
3
|
-
## [1.1.
|
3
|
+
## [1.1.3] - 2024-12-10
|
4
|
+
### Additions
|
5
|
+
- Add content attribute to origin (292fed36)
|
6
|
+
|
7
|
+
## [1.1.2] - 2024-08-23
|
8
|
+
### Additions
|
9
|
+
- Add open_timeout configuration option (passed to [Faraday](https://lostisland.github.io/faraday/#/customization/request-options)) (26dd5f83)
|
10
|
+
|
11
|
+
## [1.1.1] - 2024-08-01
|
4
12
|
### Additions
|
5
13
|
- Add extracted_title_xml attribute to versioner service issue package class (20fca41b)
|
6
14
|
|
data/Gemfile.lock
CHANGED
data/lib/ecfr/client.rb
CHANGED
@@ -83,6 +83,7 @@ module Ecfr
|
|
83
83
|
|
84
84
|
faraday.request :url_encoded # form-encode POST params
|
85
85
|
faraday.options[:timeout] = client_options[:timeout] || Ecfr.config.timeout
|
86
|
+
faraday.options[:open_timeout] = client_options[:open_timeout] || Ecfr.config.open_timeout
|
86
87
|
|
87
88
|
faraday.use Faraday::UserAgent::Middleware, Ecfr.config.user_agent
|
88
89
|
|
data/lib/ecfr/configuration.rb
CHANGED
@@ -24,7 +24,7 @@ module Ecfr
|
|
24
24
|
)
|
25
25
|
end
|
26
26
|
|
27
|
-
def self.url_for(date, title_number, view_mode
|
27
|
+
def self.url_for(date, title_number, view_mode: "enhanced", params: {})
|
28
28
|
path = content_path(date, title_number, view_mode: view_mode)
|
29
29
|
|
30
30
|
client.build_url(path, params).to_s
|
data/lib/ecfr/version.rb
CHANGED
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.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peregrinator
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -387,8 +387,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
387
387
|
- !ruby/object:Gem::Version
|
388
388
|
version: '0'
|
389
389
|
requirements: []
|
390
|
-
rubygems_version: 3.
|
391
|
-
signing_key:
|
390
|
+
rubygems_version: 3.5.16
|
391
|
+
signing_key:
|
392
392
|
specification_version: 4
|
393
393
|
summary: eCFR.gov API client
|
394
394
|
test_files: []
|