clowder-common-ruby 0.3.3 → 0.4.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 +4 -4
- data/README.md +3 -3
- data/config/initializers/0_clowder_rails.rb +1 -1
- data/lib/clowder-common-ruby/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: 6d7db9ccbc44817dab7850a9af94deeed4b94e2765509a77de8cb6279864fc93
|
|
4
|
+
data.tar.gz: 6f25ca91ed6d2f2cf2b2adede6d80bbfcd05d57f646730f61698a286d70ec83d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3fd3e4a93371a274a150c3a28e533ace45d2f58212b9035a58d93ed2217bf3ea3627c4835c3c64e460d886354447fb2edbc552674b4142647a2768dbd5c6b0a8
|
|
7
|
+
data.tar.gz: 3b2aefe2795c41aeced6bc5fb2c543f19675614f4ebf46e2934a5a1f777914fcbae49c4c78f95d091b89a314063a6dc7abe950c04858c822178ed459e5f895dd
|
data/README.md
CHANGED
|
@@ -8,7 +8,7 @@ Based on schema.json, the corresponding Ruby Classes are generated in types.rb.
|
|
|
8
8
|
Usage
|
|
9
9
|
-----
|
|
10
10
|
|
|
11
|
-
The `clowder` library provides basic values like expected
|
|
11
|
+
The `clowder` library provides basic values like expected public port, metrics port,
|
|
12
12
|
database credentials etc.
|
|
13
13
|
|
|
14
14
|
Usage:
|
|
@@ -21,12 +21,12 @@ require 'clowder-common-ruby'
|
|
|
21
21
|
|
|
22
22
|
if ClowderCommonRuby::Config.clowder_enabled?
|
|
23
23
|
config = ClowderCommonRuby::Config.load
|
|
24
|
-
options["
|
|
24
|
+
options["publicPort"] = config.publicPort
|
|
25
25
|
options["databaseHostname"] = config.database.hostname
|
|
26
26
|
options["kafkaTopics"] = config.kafka_topics
|
|
27
27
|
# ...
|
|
28
28
|
else
|
|
29
|
-
options["
|
|
29
|
+
options["publicPort"] = 3000
|
|
30
30
|
options["databaseHostname"] = ENV['DATABASE_HOST']
|
|
31
31
|
end
|
|
32
32
|
end
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
require 'clowder-common-ruby/rails_config'
|
|
2
2
|
|
|
3
3
|
if ClowderCommonRuby::Config.clowder_enabled? && defined?(Settings)
|
|
4
|
-
config = ClowderCommonRuby::RailsConfig.to_h
|
|
4
|
+
config = ClowderCommonRuby::RailsConfig.to_h.deep_stringify_keys
|
|
5
5
|
|
|
6
6
|
if config.dig('tls_ca_path')
|
|
7
7
|
ENV['SSL_CERT_FILE'] = Rails.root.join('tmp', 'cacert.crt')
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: clowder-common-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Red Hat Developers
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-08-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: This is a ruby interface for preparing Clowder variables.
|
|
14
14
|
email:
|