git_worktree_manager 0.1.3 → 0.1.4
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/lib/git_worktree_manager/config.rb +3 -3
- data/lib/git_worktree_manager/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71772c1133d8c008dd6944685471fce2e8bd3f6339cf06868daf853190aaf816
|
4
|
+
data.tar.gz: 7b9b096bc8fda27573d9732bdb9ec5bdd2584067d84e7a6886b00193c6e9f914
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c139d086b78dd45d30311064794f36fad0e3a30975a357b15e6cd5e86c78c018f97cbcb7eaa9b48b938954552e2b45e3d7207328f8b8828a09ed1366c3c70222
|
7
|
+
data.tar.gz: 530453c1e6115f0bcdb134c2b71d3c10cd6d6741ad8548b94b33143c4418416137e5e159ec3c61614e1baa1a06db00af62cda79db0af59feedf97f5c5a21b331
|
@@ -76,7 +76,7 @@ module GitWorktreeManager
|
|
76
76
|
def load_config
|
77
77
|
return {} unless File.exist?(@config_file)
|
78
78
|
|
79
|
-
YAML.load_file(@config_file) || {}
|
79
|
+
YAML.load_file(@config_file, aliases: true) || {}
|
80
80
|
rescue StandardError => e
|
81
81
|
warn "Warning: Could not load config file: #{e.message}"
|
82
82
|
{}
|
@@ -101,7 +101,7 @@ module GitWorktreeManager
|
|
101
101
|
|
102
102
|
if File.exist?(db_config_path)
|
103
103
|
require 'yaml'
|
104
|
-
db_config = YAML.load_file(db_config_path)
|
104
|
+
db_config = YAML.load_file(db_config_path, aliases: true)
|
105
105
|
return db_config.dig('development', 'database') if db_config.dig('development', 'database')
|
106
106
|
end
|
107
107
|
|
@@ -125,7 +125,7 @@ module GitWorktreeManager
|
|
125
125
|
def load_config
|
126
126
|
return {} unless File.exist?(@config_file)
|
127
127
|
|
128
|
-
YAML.load_file(@config_file) || {}
|
128
|
+
YAML.load_file(@config_file, aliases: true) || {}
|
129
129
|
rescue StandardError => e
|
130
130
|
warn "Warning: Could not load config file: #{e.message}"
|
131
131
|
{}
|