ruby-shell 3.6.3 → 3.6.4

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/rsh +6 -1
  3. metadata +4 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 993262643264502af4be2f3126a55986ac92fe38e4c3707936c825b29af7a772
4
- data.tar.gz: a298f2fd1dec81cdb51e2f7eebb89508423e91a9a2fa8ac755d19690e6d0b647
3
+ metadata.gz: f43a85064c0c806f2f07c09dc7daa156e1442fead861059ffb3cc8bb3dd99957
4
+ data.tar.gz: 38f2c45e3f73ec24cefb921be1699ceea76f6e5cb244bc6085d74d4a6ec8e972
5
5
  SHA512:
6
- metadata.gz: d1dde29a7fbe12138f245da5627921ccda93103dacd6e43be55b8bd33b587d9ec97d0d973442af83e2deedbde9d4a92d3a179183e0a3a80cf8c31bfe3a6777f3
7
- data.tar.gz: c560f6b0453629da857922576ee5db5fb18f2c8e8a982a08c24f640a9178f9d159b6f0bfc99518eb89ab34eec011a872fd3b92dd142be7b01be0185c431f8f30
6
+ metadata.gz: aae3dc4127a202b71b35ef264cc8a571d8fdcb10c57dc7681d2b01d160b99df39c2d597b334c8e06b8da9b027f2aa153ed00114c741947226a97b07f1178e718
7
+ data.tar.gz: 663d554e209193606c705be5ea0972d9ff058168017d66e169e93123624bee8daeb62b46b0e06a31f6642000703b44303c0a97c56e5e32be0f09ba34cc267b40
data/bin/rsh CHANGED
@@ -3826,10 +3826,15 @@ loop do
3826
3826
  pre_cmd
3827
3827
 
3828
3828
  # Apply auto-correct if enabled (before validation)
3829
+ original_cmd = @cmd
3829
3830
  @cmd = apply_auto_correct(@cmd)
3830
3831
 
3831
3832
  # Print timestamp AFTER auto-correct (shows what actually executes)
3832
- puts "#{Time.now.strftime("%H:%M:%S")}: #{@cmd}".c(@c_stamp)
3833
+ if @cmd != original_cmd
3834
+ puts "#{Time.now.strftime("%H:%M:%S")}: #{@cmd} (autocorrected from \"#{original_cmd}\")".c(@c_stamp)
3835
+ else
3836
+ puts "#{Time.now.strftime("%H:%M:%S")}: #{@cmd}".c(@c_stamp)
3837
+ end
3833
3838
 
3834
3839
  # Validate command after auto-correction
3835
3840
  warnings = validate_command(@cmd)
metadata CHANGED
@@ -1,20 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-shell
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.3
4
+ version: 3.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geir Isene
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-11-12 00:00:00.000000000 Z
11
+ date: 2025-11-15 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: 'A shell written in Ruby with extensive tab completions, aliases/nicks,
14
14
  history, syntax highlighting, theming, auto-cd, auto-opening files and more. UPDATE
15
- v3.6.0: MULTI-LINE PROMPT SUPPORT - Complete readline refactor with rcurses-inspired
16
- ANSI handling. Define prompts with newlines! Plus nick/history export, 9 new completions,
17
- validation templates, startup tips, and critical performance fixes for huge PATHs!'
15
+ v3.6.4: Autocorrect visibility - Shows when commands are autocorrected with clear
16
+ ''(autocorrected from "original")'' indicator.'
18
17
  email: g@isene.com
19
18
  executables:
20
19
  - rsh