rake-commander 0.2.6 → 0.2.7
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 -2
- data/lib/rake-commander/option.rb +1 -2
- data/lib/rake-commander/version.rb +1 -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: 40a9bf85b97c840145e1d31ef9370061f3ea967ceff7fe11ee3cc1b140b5e5fc
|
|
4
|
+
data.tar.gz: 1d92bdaf2ea26fed4970ed218472e4229e636c0fe1c8ab76bd71dc45ea98586a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8dd47929f69e7574e16923ebd8a108e50b8b446cbdf20e83cedd1f2c2090d4df837d18d10a0c615cb2d66d42b67f6f541c483674fdc4b1dc580b29a7872f7150
|
|
7
|
+
data.tar.gz: 38cefdecebbd1411e52d801e3d4113cda6f22834777dfa9492cd8a5794dcdf10100e22725cce47de11109e3b889a20dddbc1ef16e03702abbcd07a5291be8520
|
data/CHANGELOG.md
CHANGED
|
@@ -32,12 +32,16 @@ All notable changes to this project will be documented in this file.
|
|
|
32
32
|
- Option to globally enable/disable the 2nd patch?
|
|
33
33
|
* That would make this gem completely useless.
|
|
34
34
|
|
|
35
|
-
## [0.2.
|
|
35
|
+
## [0.2.8] - 2023-05-xx
|
|
36
36
|
|
|
37
37
|
### Added
|
|
38
38
|
### Fixed
|
|
39
39
|
### Changed
|
|
40
|
-
|
|
40
|
+
|
|
41
|
+
## [0.2.7] - 2023-05-01
|
|
42
|
+
|
|
43
|
+
### Fixed
|
|
44
|
+
- `RakeCommander::Option#desc` when fetching from other, should not fetch array but single value.
|
|
41
45
|
|
|
42
46
|
## [0.2.6] - 2023-05-01
|
|
43
47
|
|
|
@@ -236,16 +236,15 @@ class RakeCommander
|
|
|
236
236
|
|
|
237
237
|
def fetch_type_from_other
|
|
238
238
|
return nil unless type = other_args.find {|arg| arg.is_a?(Class)}
|
|
239
|
-
@type_coercion ||= type
|
|
240
239
|
other_args.delete(type)
|
|
241
240
|
end
|
|
242
241
|
|
|
243
242
|
def fetch_desc_from_other
|
|
244
243
|
return nil unless value = other_args.find {|arg| arg.is_a?(String)}
|
|
245
|
-
@desc ||= value
|
|
246
244
|
other_args.dup.each do |val|
|
|
247
245
|
other_args.delete(val) if val.is_a?(String)
|
|
248
246
|
end
|
|
247
|
+
value
|
|
249
248
|
end
|
|
250
249
|
end
|
|
251
250
|
end
|