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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a74f210c0c982c7f5679b0cb5e715421cde69303e4ac616da2dcb6c48cd3f912
4
- data.tar.gz: 4516afa1bce82a7083530b4fbd142b720478077edea5e5ae4a3177c98914c30b
3
+ metadata.gz: ef8f31798b1ea264a22d1a7d35aaa107268d6b9aa16bb936c57897b76febd4e1
4
+ data.tar.gz: 54c5f13cb7f956f0d0e7ed3a8b2b619432a27fcf66a8efc1eab8562065cd19fb
5
5
  SHA512:
6
- metadata.gz: 997f4e64971b2f203c13992cc7dbdce48a0f14609d39c9d951c19c85942062d4b734ab50d834aee6c873cd58273e6c63bdd9ac2c465bd0e1cdaf6e71b50ab1e1
7
- data.tar.gz: 055aee1a4f283ccc4e46e31c95e213070fa896ea6e78b5bbd14863a3e7c7bab8c958e14225249b4672c9cc27b5bfd6b45d64087b305babbc42b60aab35b9096f
6
+ metadata.gz: e305e59542335455fc886ca57949a159bbad690eadceec7838713bf4e111632f20fb584b38a0689f691eaebf74dc6f38161cbbddca729db840aa00b33a99d703
7
+ data.tar.gz: a5a9e19e394ff914ffc19cc4332d860c68923b120db45627c8487173771732f9d49344123f79e7f961a7c3a963a716a289d7fbdcd5ce04b0d0dbc65299a90ddf
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- legion-data (1.1.3)
4
+ legion-data (1.1.4)
5
5
  legion-logging
6
6
  legion-settings
7
7
  mysql2
@@ -29,8 +29,7 @@ module Legion
29
29
  Legion::Settings[:data][:connected] = false
30
30
  end
31
31
 
32
- def creds_builder # rubocop:disable Metrics/AbcSize
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)
@@ -1,5 +1,5 @@
1
1
  module Legion
2
2
  module Data
3
- VERSION = '1.1.3'.freeze
3
+ VERSION = '1.1.4'.freeze
4
4
  end
5
5
  end
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.3
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-14 00:00:00.000000000 Z
11
+ date: 2020-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler