patient_http-solid_queue 1.0.2 → 1.1.0

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: 4b17f1e1d5c477d8ca2dac603c0521dd7a842469d24db38dadb5f24858443dca
4
- data.tar.gz: 25d38a530f6ec873e5b224462d0335fa99912e6c1c36cad46f2c072ff9a5162a
3
+ metadata.gz: 2db0a06a8b31785cab9595f85351bef93277ba420f11c21b3858e24c9fbf7c18
4
+ data.tar.gz: 73facc946369816cf6e9384b14f5300420446c2bd4d93e91a2b10ad5f6620d64
5
5
  SHA512:
6
- metadata.gz: f1d0021667606b1b527eb4b1013fb418c5e9593d89d8daba3102415305f3a337d9258fd9c4387474c0f913b421619ceeeead1d59495fdf5d814635e1df2760b0
7
- data.tar.gz: b27c9cfa86a5265061b3510bd168f7780b61bab702efc621d2214dac72c4bc79efb58c3c814c01a6ad71b7a7d986b85697d73e608ccd3bdfa8834a692f9f4555
6
+ metadata.gz: 86859b38cba5d753001c093f32783905944852acc249a5c9dd7b52da6940dc8c23458e75fe257767f7e07355aec2be4788d27c4cdae62a87a7eba5eb79827728
7
+ data.tar.gz: 6d0444ccb2cfb9ee06e52423d84ab0aeca15bf8974a23b02a7c196ccfca99ef047ea28fddd7e864324a5428725fa7677168ca98b9f5b8ad179636250efa9876c
data/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## 1.1.0
8
+
9
+ ### Changed
10
+
11
+ - `PatientHttp::SolidQueue.configure` now sets the built configuration as the `PatientHttp.default_configuration` so that secrets registered at the module level with `PatientHttp.register_secret` are applied to the configuration the processor runs with, regardless of boot order. This requires patient_http 1.3.0 or newer.
12
+
7
13
  ## 1.0.2
8
14
 
9
15
  ### Fixed
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.2
1
+ 1.1.0
@@ -60,7 +60,10 @@ module PatientHttp
60
60
  class << self
61
61
  attr_writer :configuration
62
62
 
63
- # Configure the gem with a block.
63
+ # Configure the gem with a block. The built configuration is also set as the
64
+ # `PatientHttp.default_configuration` so that secrets registered at the module
65
+ # level with `PatientHttp.register_secret` are applied to the configuration the
66
+ # processor runs with, regardless of boot order.
64
67
  #
65
68
  # @yield [Configuration] the configuration object
66
69
  # @return [Configuration]
@@ -70,6 +73,7 @@ module PatientHttp
70
73
  @configuration = configuration
71
74
  @external_storage = nil
72
75
  register_handler
76
+ PatientHttp.default_configuration = configuration
73
77
  configuration
74
78
  end
75
79
 
@@ -37,7 +37,7 @@ Gem::Specification.new do |spec|
37
37
 
38
38
  spec.required_ruby_version = ">= 3.2"
39
39
 
40
- spec.add_dependency "patient_http"
40
+ spec.add_dependency "patient_http", ">= 1.3.0"
41
41
  spec.add_dependency "solid_queue", ">= 1.0.0"
42
42
 
43
43
  spec.add_development_dependency "bundler"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: patient_http-solid_queue
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Durand
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - ">="
17
17
  - !ruby/object:Gem::Version
18
- version: '0'
18
+ version: 1.3.0
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - ">="
24
24
  - !ruby/object:Gem::Version
25
- version: '0'
25
+ version: 1.3.0
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: solid_queue
28
28
  requirement: !ruby/object:Gem::Requirement