const_conf 0.2.0 → 0.2.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e9de9a872daa52fbeffe159fe1988c69fad766b2b200c00d1a9531ff37bae41d
4
- data.tar.gz: 968ea6dd828148504d54dc3eadae312dd8ef730b45ec547965555317efed4f59
3
+ metadata.gz: 3f4332160b0b98f289ef65141551d279cdd3b24e7ff8e0187c04c1c9351ec645
4
+ data.tar.gz: 1d63082f8583882e65a772a0122b52613eea67eaecc70ccab49fe44c8efc0e8f
5
5
  SHA512:
6
- metadata.gz: 94a033e71c8bcbf34ce711a004011d48d4296377e9bcb7daa96894b0e30b89ea632dc6453bac90dd303722297abcf61fd08c443b2028e7e1add6fb08e92bbe4f
7
- data.tar.gz: 5af24b1fe7599219d95008481f15a7840ecc51ec3bedc385d96f1fecf0c6af2bbed6b80fbabff390936bd0a30340ce3435b988e4f38dc6d8b3f41b43978ff46c
6
+ metadata.gz: 241953d4a3f7c6265134bd300a5847a0232b59a8e4a8a62526344f34334e510a422ba313da10816b15bc9d9356f35c77a5b05164c517655bc3f335427bff460d
7
+ data.tar.gz: 7d30537f86f8828455ba14a3cd08741d162e15fcf1821484743bcf092cb6982e7e4b509e67b8a0b713f9e5b7fcd92d0f03fd810c0c2de288b8cbe8b46f45b12f
data/CHANGES.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changes
2
2
 
3
+ ## 2025-09-07 v0.2.1
4
+
5
+ - Removed explicit boolean coercion previously applied to test values in
6
+ predicate methods
7
+
3
8
  ## 2025-09-07 v0.2.0
4
9
 
5
10
  - Implemented `ConstConf::ConstConfHelper` module in
data/const_conf.gemspec CHANGED
@@ -1,9 +1,9 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: const_conf 0.2.0 ruby lib
2
+ # stub: const_conf 0.2.1 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "const_conf".freeze
6
- s.version = "0.2.0".freeze
6
+ s.version = "0.2.1".freeze
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib".freeze]
@@ -30,7 +30,7 @@ module ConstConf::ConstConfHelper
30
30
  "parent constant #{parent_const_name} does not exist"
31
31
  parent_const = Object.const_get(parent_const_name)
32
32
  allow(parent_const).to receive("#{const_parts.last}?").
33
- and_return(!!value)
33
+ and_return(value)
34
34
  end
35
35
  end
36
36
  end
@@ -1,6 +1,6 @@
1
1
  module ConstConf
2
2
  # ConstConf version
3
- VERSION = '0.2.0'
3
+ VERSION = '0.2.1'
4
4
  VERSION_ARRAY = VERSION.split('.').map(&:to_i) # :nodoc:
5
5
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
6
6
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: const_conf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank