Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## [0.2.1] - 2025-11-22

### Fixed
- Thor::UndefinedCommandError raised with incorrect number of arguments (now passes command, nil, and all_commands.keys)

## [0.2.0] - 2025-11-22

### Added
Expand Down Expand Up @@ -38,7 +43,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- TTY::Prompt select/multi_select displaying duplicate options (switched from array pairs to hash format)
- Default value selection not working correctly (now uses 1-based index as expected by TTY::Prompt)
- Bundle install post-action incorrectly prompting when user explicitly skips bundle install
- CLI error handling improved (Thor::UndefinedCommandError)

### Removed
- Plain text summary formatting replaced with styled box display
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
railstart (0.2.0)
railstart (0.2.1)
thor
tty-box
tty-prompt
Expand Down
2 changes: 1 addition & 1 deletion lib/railstart/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def help(command = nil, subcommand = false)
self.class.subcommand_classes[command].help(shell, subcommand)
else
cmd = self.class.all_commands[command]
raise Thor::UndefinedCommandError, "Could not find command '#{command}'." unless cmd
raise Thor::UndefinedCommandError.new(command, nil, self.class.all_commands.keys) unless cmd

shell.say "Usage:"
shell.say " #{self.class.banner(cmd)}"
Expand Down
2 changes: 1 addition & 1 deletion lib/railstart/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Railstart
VERSION = "0.2.0"
VERSION = "0.2.1"
end