ultra_settings 2.4.3 → 2.4.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/CHANGELOG.md +6 -0
- data/VERSION +1 -1
- data/lib/ultra_settings/configuration.rb +2 -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: 05c73bd3709ee539db4def5c1d6f5e86def7fb9704b68ae52faacb4e66eec0a6
|
|
4
|
+
data.tar.gz: 7dab6438fdd2faac932a1b308be3ea8462369c8f71c0dc9bb796787a51e6c0f7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7e303425dd2663cf4237d07263b27085c34e4ddbf8e56cbe6f6acc85edef187f3a74192662aa9264d46f1c2fc9a99154de86e4d01247fd9bc92d8d6757be4c22
|
|
7
|
+
data.tar.gz: 85fd0209d4ed5d7271fdd5d46c24957130f7f03b42132eaad74270d7c95faa7b8d66090deddd674aa176a2afe0629c48a8a2574ada8df1afae464503598055be
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## 2.4.4
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- Return true for `yaml_config_disabled?` if the configuration file has been set to nil.
|
|
12
|
+
|
|
7
13
|
## 2.4.3
|
|
8
14
|
|
|
9
15
|
### Fixed
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.4.
|
|
1
|
+
2.4.4
|
|
@@ -148,6 +148,7 @@ module UltraSettings
|
|
|
148
148
|
# @param value [String, Pathname]
|
|
149
149
|
# @return [void]
|
|
150
150
|
def configuration_file=(value)
|
|
151
|
+
value = nil if value == false
|
|
151
152
|
value = Pathname.new(value) if value.is_a?(String)
|
|
152
153
|
@configuration_file = value
|
|
153
154
|
end
|
|
@@ -210,7 +211,7 @@ module UltraSettings
|
|
|
210
211
|
#
|
|
211
212
|
# @return [Boolean]
|
|
212
213
|
def yaml_config_disabled?
|
|
213
|
-
get_inheritable_class_attribute(:@yaml_config_disabled, false)
|
|
214
|
+
get_inheritable_class_attribute(:@yaml_config_disabled, false) || configuration_file.nil?
|
|
214
215
|
end
|
|
215
216
|
|
|
216
217
|
# Set the environment variable delimiter used to construct the environment
|