eco-rake 0.2.14 → 0.2.16

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: a18ccd920c55abc8943597b22c162daddbc05d6b8d14595c551ba0b639fd33e1
4
- data.tar.gz: 1b3e625166e55821786cb117c121dc776173443863f7bd21e2e41db98e0b1ceb
3
+ metadata.gz: 6adc55db4ba9cc01ef0f3bd19630c8028431e12cd2846a8242d885adcea349a9
4
+ data.tar.gz: ee6222a4f3018f6fc0d945a7c7092dccea23342501e345ba10a8417333ade30b
5
5
  SHA512:
6
- metadata.gz: 77f72a21aa615a697f500edad183fa7a0fe11ea593a6abaf76c34e67a61f2d0f639ac8e85ada12ca7b1e5d99465f95f8db906ebdb362cf2800c297ec8e8951c7
7
- data.tar.gz: e487e42dd2080e89196a642c1a319385a3b61f16ea587bc0a604c70fbca8fab35989907722adb34b168afeda15892a71e5db2155e316d421f49233ad67c0b3f4
6
+ metadata.gz: f09228e9b94773ba18a528116f3094f641b832da371357fff4ea72f70900bef36ca0407e6604009d216a91ad45c1add2731fb7eea499f1561f5e087156fda298
7
+ data.tar.gz: bf02711a0c9939086153ad9206cd87298335b8e1a5b0fa11042855e81039de8fbce53da8e3db8b8fffeb3b88b7e5867c6caad1afb6e15961a9638fab86655bf4
data/CHANGELOG.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
- ## [0.2.15] - 2025-03-xx
5
+ ## [0.2.17] - 2025-03-xx
6
6
 
7
7
  ### Added
8
8
 
@@ -10,6 +10,12 @@ All notable changes to this project will be documented in this file.
10
10
 
11
11
  ### Fixed
12
12
 
13
+ ## [0.2.16] - 2025-03-11
14
+
15
+ ### Fixed
16
+
17
+ - Const fetch when value is `false`
18
+
13
19
  ## [0.2.14] - 2025-03-10
14
20
 
15
21
  ### Added
@@ -50,10 +50,9 @@ class EcoRake
50
50
  def resolve_const(sym, source: self)
51
51
  return unless sym.is_a?(Symbol) || sym.is_a?(String)
52
52
 
53
- sym = constant_name(sym)
54
- value = nil
55
- value ||= safe_const_get(sym, klass: source)
56
- value ||= safe_const_get(sym, klass: Kernel)
53
+ sym = constant_name(sym)
54
+ value = safe_const_get(sym, klass: source)
55
+ value = safe_const_get(sym, klass: Kernel) if value.nil?
57
56
  value
58
57
  rescue NameError
59
58
  nil
@@ -1,5 +1,5 @@
1
1
  require 'rake-commander'
2
2
 
3
3
  class EcoRake < RakeCommander
4
- VERSION = '0.2.14'.freeze
4
+ VERSION = '0.2.16'.freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eco-rake
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.14
4
+ version: 0.2.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oscar Segura Samper
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-03-10 00:00:00.000000000 Z
11
+ date: 2025-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake