railstart 0.2.0 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a11ff1fa7939d71ae25db7c053cb82f0d20babc2ea36f80d5b455ef909ac9a5b
4
- data.tar.gz: 81dbc554f5bb0f4b77ddf1786d10c5b70018a49e319bbdec40397586338b6f58
3
+ metadata.gz: 291b9eb1edd2bd473da3d2da1ca08921b4320e7892926dfb6f4099e6c3c9b51a
4
+ data.tar.gz: bd917d5cc282fb789d57fe88eaa484cd86a83c079801f0ca32f701be70c9986a
5
5
  SHA512:
6
- metadata.gz: 75b456127f40e5636561bb7fdedf260eafadc8a32a89f4ba8088807735a0746a52cafa6975beef669f869fe47e8ea870cc7a30f471ef525c9d8e492a6d472185
7
- data.tar.gz: 1a02ea13c31ed012b01a7ec83ca6388f09407b74d7fa72c4134bd46f860e71435ccd586931e6569e7809cd109c55504112f6d7b747a6ede87561af6d75513106
6
+ metadata.gz: 001e22b7e5f50d84058280cee64a759da54fb60a77f2e895c6ed9d01f5b53a767dbe7e1ce3d67e6ac888cec3cb3daa66c237f1118e0e0680fa7603e02d0f02ca
7
+ data.tar.gz: 5fe74710ececff1600e82ceceff405f9bd5a5d068b3ea26ebb47558e98f530bd72c03f74b0872e63d9f5c0b25268aca731753b425571594c65fc4cba83a2361b
data/CHANGELOG.md CHANGED
@@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
8
 
9
+ ## [0.2.1] - 2025-11-22
10
+
11
+ ### Fixed
12
+ - Thor::UndefinedCommandError raised with incorrect number of arguments (now passes command, nil, and all_commands.keys)
13
+
9
14
  ## [0.2.0] - 2025-11-22
10
15
 
11
16
  ### Added
@@ -38,7 +43,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
38
43
  - TTY::Prompt select/multi_select displaying duplicate options (switched from array pairs to hash format)
39
44
  - Default value selection not working correctly (now uses 1-based index as expected by TTY::Prompt)
40
45
  - Bundle install post-action incorrectly prompting when user explicitly skips bundle install
41
- - CLI error handling improved (Thor::UndefinedCommandError)
42
46
 
43
47
  ### Removed
44
48
  - Plain text summary formatting replaced with styled box display
data/lib/railstart/cli.rb CHANGED
@@ -71,7 +71,7 @@ module Railstart
71
71
  self.class.subcommand_classes[command].help(shell, subcommand)
72
72
  else
73
73
  cmd = self.class.all_commands[command]
74
- raise Thor::UndefinedCommandError, "Could not find command '#{command}'." unless cmd
74
+ raise Thor::UndefinedCommandError.new(command, nil, self.class.all_commands.keys) unless cmd
75
75
 
76
76
  shell.say "Usage:"
77
77
  shell.say " #{self.class.banner(cmd)}"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Railstart
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railstart
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - dpaluy