tty-option 0.2.0 → 0.3.0

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: fabf2ee6efdc82e500dee823a54a90675a52dc06e90496b922396fe412c7780f
4
- data.tar.gz: c2e00f207d86ca4adfbe84b0e8a99298720d50e754cdb77e3ab815c11d9152eb
3
+ metadata.gz: 23b473052889e94aa53877288da8ad830387161bbfff5ed597fe7ee627f49733
4
+ data.tar.gz: '00864bc5efb5edc98530aaf3cd703ca7acc0c09e7bc7981e4db2b5f2f1ceb22d'
5
5
  SHA512:
6
- metadata.gz: c484049a77722baae844331533373d174f35999ab621040b2be38968fd64b0d6fa14372873741e4df40d75fa15d36f7f22557d02f48f5d25de40f14ad42da400
7
- data.tar.gz: 173e26541c883f4111a69b5f1d8287cea032bd727275ac04f62ab4da3d4925680b5dcd8ef0cf81a7cc5d73a32e67aaf71042b7dbe5c72817429155a5abc55479
6
+ metadata.gz: e424023712581be249787dc19ba915c57adf7a95b97992cbb7ee47f9cb2b7e21e8da81b42ece107b76b38dea18c849fc21fbbab4ba10715438a32240af99c1a0
7
+ data.tar.gz: 64917726d927190bdb7ab6e4d62f019823328931906340f7de3b087e29691adbd3b8538e6c3e0bca7fa127087dc0387debe9ec79835f3baef0373d1d8b8604dd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # Change log
2
2
 
3
+ ## [v0.3.0] - 2023-05-29
4
+
5
+ ### Changed
6
+ * Change permit setting to work with parameters converted to an array or a hash
7
+ * Change formatting of a hash value in parameter validation error message
8
+ * Change array and hash conversions to work with non-string values
9
+ * Change date conversion to work with date objects
10
+ * Change pathname conversion to only work with strings and pathname objects
11
+ * Change regexp conversion to only work with strings and regexp objects
12
+ * Change uri conversion to work with uri objects
13
+ * Change deep cloning to stop making copies of unbound methods
14
+ * Change deep cloning to copy objects with the same identity only once
15
+ * Change deep cloning to work with recursive arrays and hashes
16
+
17
+ ### Fixed
18
+ * Fix argument check against permitted values to allow nil value when optional
19
+ * Fix parsing values provided with abbreviated long option names
20
+ * Fix any object type to symbol conversion failure to return an undefined value
21
+ * Fix parameter validation to stop transforming hash value into an array
22
+ * Fix help display when formatting only short options
23
+ * Fix parameter name alignment formatting to ignore hidden parameters
24
+ * Fix description alignment formatting for parameters with only default or permit
25
+ * Fix short option name alignment formatting to check whether a long name is set
26
+
3
27
  ## [v0.2.0] - 2021-08-04
4
28
 
5
29
  ### Added
@@ -18,5 +42,6 @@
18
42
 
19
43
  * Initial implementation and release
20
44
 
45
+ [v0.3.0]: https://github.com/piotrmurach/tty-option/compare/v0.2.0...v0.3.0
21
46
  [v0.2.0]: https://github.com/piotrmurach/tty-option/compare/v0.1.0...v0.2.0
22
47
  [v0.1.0]: https://github.com/piotrmurach/tty-option/compare/95179f0...v0.1.0