cli_class_tool 0.5.0 → 0.5.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 +4 -4
- data/CHANGELOG +6 -0
- data/lib/cli_class_tool/utils.rb +2 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 79f28a830c3277c28e747b142fb6a12d40c8a69e5b868c4fef7f58e296f79dce
|
|
4
|
+
data.tar.gz: ca5b3535463ee163b56c2cdda397dd925111ea325d6695268c78acf5091b19cc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 467252b31976d4fcb70cc795dc5ceaa06d2ad24576cd75a8b5ffaef3c3d5ef93f945da0f45414dfa40a80aeb7e3f5f882308ac8e48f5b2d4629267a6254eb078
|
|
7
|
+
data.tar.gz: 8abc7831b9c862d928ca3632a7b9d9f99e289b5058af2fe7c095cec6845a617de7d6111f8357f879b95c79711733ede70a93e86127abaa65e3e43e0861605bb9
|
data/CHANGELOG
CHANGED
data/lib/cli_class_tool/utils.rb
CHANGED
|
@@ -202,11 +202,10 @@ module CLIClassTool
|
|
|
202
202
|
def _runOnClass(action, sym, &block)
|
|
203
203
|
return -1 unless self.const_defined?(:ACTION_CLASS)
|
|
204
204
|
self::ACTION_CLASS.each(){|x|
|
|
205
|
-
next if !x.const_defined?(:ACTION_LIST) || x::ACTION_LIST.index(action) == nil
|
|
206
|
-
|
|
207
205
|
# Resolve overridden/extended class (addon)
|
|
208
206
|
class_to_use = self.respond_to?(:getExtendedClass) ? self.getExtendedClass(x) : x
|
|
209
|
-
|
|
207
|
+
next if !class_to_use.const_defined?(:ACTION_LIST) ||
|
|
208
|
+
class_to_use::ACTION_LIST.index(action) == nil
|
|
210
209
|
if sym != nil
|
|
211
210
|
has_base = x.singleton_methods().index(sym) != nil
|
|
212
211
|
has_addon = class_to_use != x && class_to_use.singleton_methods().index(sym) != nil
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cli_class_tool
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nicolas Morey
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2026-07
|
|
10
|
+
date: 2026-09-07 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: rake
|