config_o_mat 0.5.5 → 0.5.7
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 +12 -0
- data/Gemfile.lock +28 -24
- data/bin/config_o_mat-configurator +1 -1
- data/bin/config_o_mat-meta_configurator +1 -1
- data/lib/config_o_mat/configurator/op/connect_to_aws.rb +2 -2
- data/lib/config_o_mat/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8350a909966c6de2c8f3ed1de8dbf003c4b26eef0c929c759661dd9088e75d83
|
4
|
+
data.tar.gz: 9339ccb2ec996a3669d8feba956624931c9cb649c7b8f91c9fb048355fd9d814
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63b01beb38ad4fbbd5e2431bf428eb8e27e0c0a76983f93ca8e655bdec317e167e8a79539368db986cd4ee8a02bb00f06a10c48dc557234ac6a83b1c1c097e60
|
7
|
+
data.tar.gz: 6377e0004345fa5c55d84e4892f654fbce97d3d734b42da5bdab4848888d432fc572aa0c6cc4e6360d5504f4778797c3ef93d91aae86b0d016e6d13188f5f595
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
## 0.5.7
|
2
|
+
|
3
|
+
BUG FIXES:
|
4
|
+
|
5
|
+
* Use `ENV.to_h` in initialization for Ruby 3+ compatibility
|
6
|
+
|
7
|
+
## 0.5.6
|
8
|
+
|
9
|
+
BUG FIXES:
|
10
|
+
|
11
|
+
* Only use dualstack endpoints for S3 client. AppConfig does not support IPv6, standard Secrets Manager endpoints already are dualstack.
|
12
|
+
|
1
13
|
## 0.5.5
|
2
14
|
|
3
15
|
ENHANCEMENTS:
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
config_o_mat (0.5.
|
4
|
+
config_o_mat (0.5.7)
|
5
5
|
aws-sdk-appconfig (~> 1.18)
|
6
6
|
aws-sdk-s3 (~> 1.114)
|
7
7
|
aws-sdk-secretsmanager (~> 1.57)
|
@@ -14,38 +14,42 @@ PATH
|
|
14
14
|
GEM
|
15
15
|
remote: https://rubygems.org/
|
16
16
|
specs:
|
17
|
-
aws-eventstream (1.
|
18
|
-
aws-partitions (1.
|
19
|
-
aws-sdk-appconfig (1.
|
20
|
-
aws-sdk-core (~> 3, >= 3.
|
21
|
-
aws-sigv4 (~> 1.1)
|
22
|
-
aws-sdk-core (3.170.0)
|
23
|
-
aws-eventstream (~> 1, >= 1.0.2)
|
24
|
-
aws-partitions (~> 1, >= 1.651.0)
|
17
|
+
aws-eventstream (1.4.0)
|
18
|
+
aws-partitions (1.1134.0)
|
19
|
+
aws-sdk-appconfig (1.68.0)
|
20
|
+
aws-sdk-core (~> 3, >= 3.227.0)
|
25
21
|
aws-sigv4 (~> 1.5)
|
22
|
+
aws-sdk-core (3.227.0)
|
23
|
+
aws-eventstream (~> 1, >= 1.3.0)
|
24
|
+
aws-partitions (~> 1, >= 1.992.0)
|
25
|
+
aws-sigv4 (~> 1.9)
|
26
|
+
base64
|
26
27
|
jmespath (~> 1, >= 1.6.1)
|
27
|
-
|
28
|
-
|
29
|
-
aws-
|
30
|
-
|
31
|
-
|
28
|
+
logger
|
29
|
+
aws-sdk-kms (1.107.0)
|
30
|
+
aws-sdk-core (~> 3, >= 3.227.0)
|
31
|
+
aws-sigv4 (~> 1.5)
|
32
|
+
aws-sdk-s3 (1.194.0)
|
33
|
+
aws-sdk-core (~> 3, >= 3.227.0)
|
32
34
|
aws-sdk-kms (~> 1)
|
33
|
-
aws-sigv4 (~> 1.
|
34
|
-
aws-sdk-secretsmanager (1.
|
35
|
-
aws-sdk-core (~> 3, >= 3.
|
36
|
-
aws-sigv4 (~> 1.
|
37
|
-
aws-sigv4 (1.
|
35
|
+
aws-sigv4 (~> 1.5)
|
36
|
+
aws-sdk-secretsmanager (1.117.0)
|
37
|
+
aws-sdk-core (~> 3, >= 3.227.0)
|
38
|
+
aws-sigv4 (~> 1.5)
|
39
|
+
aws-sigv4 (1.12.1)
|
38
40
|
aws-eventstream (~> 1, >= 1.0.2)
|
41
|
+
base64 (0.3.0)
|
39
42
|
diff-lcs (1.5.0)
|
40
43
|
docile (1.4.0)
|
41
|
-
facter (4.
|
44
|
+
facter (4.10.0)
|
42
45
|
hocon (~> 1.3)
|
43
|
-
thor (>= 1.0.1, <
|
44
|
-
hocon (1.
|
46
|
+
thor (>= 1.0.1, < 1.3)
|
47
|
+
hocon (1.4.0)
|
45
48
|
jmespath (1.6.2)
|
46
49
|
lifecycle_vm (0.1.3)
|
50
|
+
logger (1.7.0)
|
47
51
|
logsformyfamily (0.3.0)
|
48
|
-
rexml (3.
|
52
|
+
rexml (3.4.1)
|
49
53
|
rspec (3.12.0)
|
50
54
|
rspec-core (~> 3.12.0)
|
51
55
|
rspec-expectations (~> 3.12.0)
|
@@ -68,7 +72,7 @@ GEM
|
|
68
72
|
simplecov_json_formatter (~> 0.1)
|
69
73
|
simplecov-html (0.12.3)
|
70
74
|
simplecov_json_formatter (0.1.4)
|
71
|
-
thor (1.2.
|
75
|
+
thor (1.2.2)
|
72
76
|
|
73
77
|
PLATFORMS
|
74
78
|
ruby
|
@@ -31,7 +31,7 @@ elsif log_level
|
|
31
31
|
warn "Unknown log level requested in CONFIG_O_MAT_LOG_LEVEL: #{log_level}"
|
32
32
|
end
|
33
33
|
|
34
|
-
memory = ConfigOMat::Configurator::Memory.new(argv: ARGV, env: ENV, logger: logger)
|
34
|
+
memory = ConfigOMat::Configurator::Memory.new(argv: ARGV, env: ENV.to_h, logger: logger)
|
35
35
|
vm = ConfigOMat::Configurator::VM.new(memory)
|
36
36
|
vm.call
|
37
37
|
|
@@ -31,7 +31,7 @@ elsif log_level
|
|
31
31
|
warn "Unknown log level requested in CONFIG_O_MAT_LOG_LEVEL: #{log_level}"
|
32
32
|
end
|
33
33
|
|
34
|
-
memory = ConfigOMat::MetaConfigurator::Memory.new(argv: ARGV, env: ENV, logger: logger)
|
34
|
+
memory = ConfigOMat::MetaConfigurator::Memory.new(argv: ARGV, env: ENV.to_h, logger: logger)
|
35
35
|
vm = ConfigOMat::MetaConfigurator::VM.new(memory)
|
36
36
|
vm.call
|
37
37
|
|
@@ -27,11 +27,11 @@ module ConfigOMat
|
|
27
27
|
writes :appconfig_client, :secretsmanager_client, :s3_client
|
28
28
|
|
29
29
|
def call
|
30
|
-
client_opts = { logger: logger
|
30
|
+
client_opts = { logger: logger }
|
31
31
|
client_opts[:region] = region if region
|
32
32
|
|
33
33
|
self.appconfig_client = Aws::AppConfig::Client.new(client_opts)
|
34
|
-
self.s3_client = Aws::S3::Client.new(client_opts)
|
34
|
+
self.s3_client = Aws::S3::Client.new(client_opts.merge(use_dualstack_endpoint: true ))
|
35
35
|
self.secretsmanager_client = Aws::SecretsManager::Client.new(client_opts)
|
36
36
|
end
|
37
37
|
end
|
data/lib/config_o_mat/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: config_o_mat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Scarborough
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-appconfig
|