orchestration 0.4.9 → 0.4.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/orchestration/services/database/configuration.rb +3 -2
- data/lib/orchestration/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: 23e3a1c23b6511daf4d79650fb8cbae39b697f7f70ae9924ac69c69cc58f5f39
|
4
|
+
data.tar.gz: b41de78b238b8663070651b20e36f40c8d430a89c5173ce28042c434ddcf6898
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5facd62ea505866177a36e837e93244e3314909b71091f6bca63aed73d37f8bb1b7f4837ee7824bad659da660cb5ec862750ff84550769025a868f35bf2fd338
|
7
|
+
data.tar.gz: e8da0ea3bd75f817735e67604299ee93058bc7900f37bceb17b2f25b9228cd5e77c8a5503239ad6105bbf8dc097341ecef086448e16e5ba36975ea461116f875
|
data/README.md
CHANGED
@@ -64,9 +64,10 @@ module Orchestration
|
|
64
64
|
end
|
65
65
|
|
66
66
|
def url_config
|
67
|
-
|
67
|
+
url = file_config['url'] || env.database_url
|
68
|
+
return {} if url.nil?
|
68
69
|
|
69
|
-
config = DatabaseUrl.to_active_record_hash(
|
70
|
+
config = DatabaseUrl.to_active_record_hash(url)
|
70
71
|
&.transform_keys(&:to_s)
|
71
72
|
|
72
73
|
# A quirk of DatabaseUrl is that if no "/path" is present then the
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: orchestration
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bob Farrell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-11-
|
11
|
+
date: 2019-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: database_url
|