container_config 0.1.0 → 0.1.1
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 +4 -0
- data/Gemfile.lock +1 -1
- data/README.md +3 -3
- data/container_config.gemspec +1 -0
- data/lib/container_config/provider/rails_credential.rb +1 -1
- data/lib/container_config/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b47a5e9edfb447d7e7652e111f7b994462677a4fb11edf9f5c6f83dde7c57af7
|
|
4
|
+
data.tar.gz: d918565b96a016168735db0d4b35edf771ce765e463066a4978060c395c7e52b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 703c86f3417c034b947694b1e3be3507e6e09e25b56f2d9e964f313448ec256e74ca1daf383abdbe87313cd983b286e1bd80f166b8d91037fc7e98fd909fe0d9
|
|
7
|
+
data.tar.gz: f384315f88a9494765a32141d7da410637eaf6887edecaea17b7a462cbde739d87f5239365113482498d16f46a14d3d97bed4552eb4c895b1f16e4a5b6567212
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -22,13 +22,13 @@ Or install it yourself as:
|
|
|
22
22
|
|
|
23
23
|
```ruby
|
|
24
24
|
# Retrieve the value of the POSTGRES_USER environment variable, secret mount, or Rails credential
|
|
25
|
-
|
|
25
|
+
ContainerConfig.load("POSTGRES_USER")
|
|
26
26
|
|
|
27
27
|
# Retrieve the value of the POSTGRES_PORT environment variable, secret mount, or Rails credential as an integer with a default value of 5432
|
|
28
|
-
|
|
28
|
+
ContainerConfig.load("POSTGRES_PORT", type: :integer, default: 5432)
|
|
29
29
|
|
|
30
30
|
# Retrieve the value of the POSTGRES_PASSWORD environment variable, secret mount, or Rails credential and raise an exception if it cannot be found
|
|
31
|
-
|
|
31
|
+
ContainerConfig.load("POSTGRES_PASSWORD", required: true)
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
Full documentation is available in the [ContainerConfig GitHub Pages](https://wheatevo.github.io/container_config/).
|
data/container_config.gemspec
CHANGED
|
@@ -16,6 +16,7 @@ Gem::Specification.new do |spec|
|
|
|
16
16
|
|
|
17
17
|
spec.metadata["homepage_uri"] = spec.homepage
|
|
18
18
|
spec.metadata["source_code_uri"] = "https://github.com/wheatevo/container_config"
|
|
19
|
+
spec.metadata["documentation_uri"] = "https://wheatevo.github.io/container_config/"
|
|
19
20
|
spec.metadata["changelog_uri"] = "https://github.com/wheatevo/container_config/blob/master/CHANGELOG.md"
|
|
20
21
|
|
|
21
22
|
# Specify which files should be added to the gem when it is released.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: container_config
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matthew Newell
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-03-
|
|
11
|
+
date: 2021-03-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -143,6 +143,7 @@ licenses:
|
|
|
143
143
|
metadata:
|
|
144
144
|
homepage_uri: https://github.com/wheatevo/container_config
|
|
145
145
|
source_code_uri: https://github.com/wheatevo/container_config
|
|
146
|
+
documentation_uri: https://wheatevo.github.io/container_config/
|
|
146
147
|
changelog_uri: https://github.com/wheatevo/container_config/blob/master/CHANGELOG.md
|
|
147
148
|
post_install_message:
|
|
148
149
|
rdoc_options: []
|