legion-data 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/legion/data/connection.rb +1 -4
- data/lib/legion/data/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: ef8f31798b1ea264a22d1a7d35aaa107268d6b9aa16bb936c57897b76febd4e1
|
4
|
+
data.tar.gz: 54c5f13cb7f956f0d0e7ed3a8b2b619432a27fcf66a8efc1eab8562065cd19fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e305e59542335455fc886ca57949a159bbad690eadceec7838713bf4e111632f20fb584b38a0689f691eaebf74dc6f38161cbbddca729db840aa00b33a99d703
|
7
|
+
data.tar.gz: a5a9e19e394ff914ffc19cc4332d860c68923b120db45627c8487173771732f9d49344123f79e7f961a7c3a963a716a289d7fbdcd5ce04b0d0dbc65299a90ddf
|
data/Gemfile.lock
CHANGED
@@ -29,8 +29,7 @@ module Legion
|
|
29
29
|
Legion::Settings[:data][:connected] = false
|
30
30
|
end
|
31
31
|
|
32
|
-
def creds_builder
|
33
|
-
final_creds = {}
|
32
|
+
def creds_builder(final_creds = {})
|
34
33
|
final_creds.merge! Legion::Data::Settings.creds
|
35
34
|
final_creds.merge! Legion::Settings[:data][:creds] if Legion::Settings[:data][:creds].is_a? Hash
|
36
35
|
|
@@ -40,8 +39,6 @@ module Legion
|
|
40
39
|
|
41
40
|
final_creds[:preconnect] = :concurrently if Legion::Settings[:data][:connection][:preconnect]
|
42
41
|
|
43
|
-
Legion::Logging.unknown final_creds
|
44
|
-
|
45
42
|
return final_creds if Legion::Settings[:vault].nil?
|
46
43
|
|
47
44
|
if Legion::Settings[:vault][:connected] && ::Vault.sys.mounts.key?(:database)
|
data/lib/legion/data/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: legion-data
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Esity
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-10-
|
11
|
+
date: 2020-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|