Skip to content

Commit 3a07535

Browse files
committedNov 11, 2024
Release v3.2.0
Added: - Align the short and long forms into their own columns in the help output (#145 - thanks akhoury6) - Add support for DidYouMean when long options are spelled incorrectly (#150 - thanks nanobowers) - Using `permitted:` restricts the allowed values that a end-user inputs to a pre-defined list (#147 - thanks akhoury6) - Add exact_match to settings, defaulting to inexact matching (#154 - thanks nanobowers) - Add setting to disable implicit short options (#155 - thanks nanobowers) - Add alt longname and multiple char support (#151 - thanks nanobowers) - Permitted regexp/range support (#158, #159- thanks nanobowers) - Add some examples (#161 - thanks nanobowers) Changed: - Enable frozen_string_literal for future-ruby support (#149, #153 - thanks nanobowers) - Refactor constraints (#156 - thanks nanobowers) - Fix assert_raises to assert_raises_errmatch (#160 - thanks nanobowers)
1 parent a99a21e commit 3a07535

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed
 

‎CHANGELOG.md

+18-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,22 @@ This project adheres to [Semantic Versioning](http://semver.org/).
44

55
## [Unreleased]
66

7+
## [3.2.0] - 2024-11-11
8+
### Added
9+
- Align the short and long forms into their own columns in the help output ([#145](https://github.com/ManageIQ/optimist/pull/145) - thanks @akhoury6)
10+
- Add support for DidYouMean when long options are spelled incorrectly ([#150](https://github.com/ManageIQ/optimist/pull/150) - thanks @nanobowers)
11+
- Using `permitted:` restricts the allowed values that a end-user inputs to a pre-defined list ([#147](https://github.com/ManageIQ/optimist/pull/147) - thanks @akhoury6)
12+
- Add exact_match to settings, defaulting to inexact matching ([#154](https://github.com/ManageIQ/optimist/pull/154) - thanks @nanobowers)
13+
- Add setting to disable implicit short options ([#155](https://github.com/ManageIQ/optimist/pull/155) - thanks @nanobowers)
14+
- Add alt longname and multiple char support ([#151](https://github.com/ManageIQ/optimist/pull/151) - thanks @nanobowers)
15+
- Permitted regexp/range support ([#158](https://github.com/ManageIQ/optimist/pull/158), [#159](https://github.com/ManageIQ/optimist/pull/159) - thanks @nanobowers)
16+
- Add some examples ([#161](https://github.com/ManageIQ/optimist/pull/161) - thanks @nanobowers)
17+
18+
### Changed
19+
- Enable frozen_string_literal for future-ruby support ([#149](https://github.com/ManageIQ/optimist/pull/149), [#153](https://github.com/ManageIQ/optimist/pull/153) - thanks @nanobowers)
20+
- Refactor constraints ([#156](https://github.com/ManageIQ/optimist/pull/156) - thanks @nanobowers)
21+
- Fix assert_raises to assert_raises_errmatch ([#160](https://github.com/ManageIQ/optimist/pull/160) - thanks @nanobowers)
22+
723
## [3.1.0] - 2023-07-24
824
### Added
925
- Implement `either` command ([#130](https://github.com/ManageIQ/optimist/pull/130) - thanks @alezummo)
@@ -206,7 +222,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
206222

207223
- Initial release.
208224

209-
[Unreleased]: https://github.com/ManageIQ/optimist/compare/v3.1.0...HEAD
225+
[Unreleased]: https://github.com/ManageIQ/optimist/compare/v3.2.0...HEAD
226+
[3.2.0]: https://github.com/ManageIQ/optimist/compare/v3.1.0...v3.2.0
210227
[3.1.0]: https://github.com/ManageIQ/optimist/compare/v3.0.1...v3.1.0
211228
[3.0.1]: https://github.com/ManageIQ/optimist/compare/v3.0.0...v3.0.1
212229
[3.0.0]: https://github.com/ManageIQ/optimist/compare/v2.1.3...v3.0.0

‎lib/optimist.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
require 'date'
99

1010
module Optimist
11-
VERSION = "3.1.0"
11+
VERSION = "3.2.0"
1212

1313
## Thrown by Parser in the event of a commandline error. Not needed if
1414
## you're using the Optimist::options entry.

0 commit comments

Comments
 (0)