ecfr 1.1.1 → 1.1.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 52fa6510a79040f363e235c9002e64ffa0579b48f3f582d655f6beb92c748357
4
- data.tar.gz: 82c0db1c3cf6208552ac5f24b00f2b7217608085d03b210a7788bf2c1ce1ba40
3
+ metadata.gz: 125a932dfe2c64e54f06859979ca6b908eab663e08869d8ccde2fd259820c0a7
4
+ data.tar.gz: 160dc9d874494bfb0f9eebc964d6c08a2fbd91e55c21e93501eb51c74123a15e
5
5
  SHA512:
6
- metadata.gz: 87b3fa645ab17d970dbea07c81bfd2d962c1f101fbee0660054e533c9321ba54891258f715a37aea1fd00a79fe874b81b85d3d5aae981ca70d8c5551d0081423
7
- data.tar.gz: 6ecb77f9ba06fa886c2a96f58cf4ab3bd7c69b0948ca03a751ebca6a26b8bd3e61c17303b0f4e8dc1202ec00a3259c5bc317df5782fa78fe422ff153857d7d0b
6
+ metadata.gz: 66a35824e1b6c9f2dcc0f5abfd041bbf595d2cdfc416e3464f89920940c598a3e3368ca6fb7ed26961d37677c2d9fbe406cce8f82423b1bdaa7673aa97f035c2
7
+ data.tar.gz: 5067e53657ec57dee6728cf6fee8e77b672e32264635a50927280357fb93f6921fe55987ce61f780b9640ab8828726477df049bcc8303d4baa1b22e9d01be93c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  ## [Unreleased]
2
2
 
3
- ## [1.1.q] - 2024-08-01
3
+ ## [1.1.2] - 2024-08-23
4
+ ### Additions
5
+ - Add open_timeout configuration option (passed to [Faraday](https://lostisland.github.io/faraday/#/customization/request-options)) (26dd5f83)
6
+
7
+ ## [1.1.1] - 2024-08-01
4
8
  ### Additions
5
9
  - Add extracted_title_xml attribute to versioner service issue package class (20fca41b)
6
10
 
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
 
@@ -36,6 +36,7 @@ module Ecfr
36
36
  user_agent: nil,
37
37
  # client modifications
38
38
  timeout: 10,
39
+ open_timeout: 1,
39
40
  prince_xml_service_pdf_timeout: 10,
40
41
  # response modification
41
42
  log_http_requests: false,
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.1.1"
4
+ VERSION = "1.1.2"
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.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peregrinator
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-08-01 00:00:00.000000000 Z
11
+ date: 2024-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel