ultra_settings 2.4.3 → 2.4.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: 506d4066499e83e25f6507f1911f788d2684946bdebd3832e2483fd30496284a
4
- data.tar.gz: 7c7b4a1b7728b24557ef1e4110a400b24fb0eef019a9cf16a8cdfdf62e8cf1de
3
+ metadata.gz: 05c73bd3709ee539db4def5c1d6f5e86def7fb9704b68ae52faacb4e66eec0a6
4
+ data.tar.gz: 7dab6438fdd2faac932a1b308be3ea8462369c8f71c0dc9bb796787a51e6c0f7
5
5
  SHA512:
6
- metadata.gz: e7d6236d8db95cf9e02c872c4ee6c65fc3a4da44981a8d7ae994ae4cb17def404271389ae467c0fcb7aa89a8b6221b4bce9bc5694496de051fe730104602bd76
7
- data.tar.gz: 2a5c5c97fb1144f3fef1cb2857322da5b090ab3e5e4ae84440a6384c212f8171d55123308e6b83fda121d07fed387ff0988a0deb8d65374c26e0ec7d2a3fb7da
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.3
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultra_settings
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.3
4
+ version: 2.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Durand