ruby-shell 3.6.4 → 3.6.5

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 +1 -0
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f43a85064c0c806f2f07c09dc7daa156e1442fead861059ffb3cc8bb3dd99957
4
- data.tar.gz: 38f2c45e3f73ec24cefb921be1699ceea76f6e5cb244bc6085d74d4a6ec8e972
3
+ metadata.gz: 80e97dca0d4f0253673c8e25b802c12d63edaaf7d517a0b325c340bd0756a5c5
4
+ data.tar.gz: 3df272380a3733690adcfbdfcefb2c3c643d07749be73f688c0a9f02ba1ebb55
5
5
  SHA512:
6
- metadata.gz: aae3dc4127a202b71b35ef264cc8a571d8fdcb10c57dc7681d2b01d160b99df39c2d597b334c8e06b8da9b027f2aa153ed00114c741947226a97b07f1178e718
7
- data.tar.gz: 663d554e209193606c705be5ea0972d9ff058168017d66e169e93123624bee8daeb62b46b0e06a31f6642000703b44303c0a97c56e5e32be0f09ba34cc267b40
6
+ metadata.gz: 017ffed263618fda3a29365aee1601aad10fd61a079878f9acd0f5d2b5f8f90e51174bc72d197e803aeb5c2fd36f41413800018b3f1362fc4a0f7bbd7769a221
7
+ data.tar.gz: a9bc67464e6b7c358790cada852cd1e5f4a06a5cd94ca90f536976c8f02e7cdc41006626c2b72e29af2b2e3087c06c79f129b768e17df62adf30f85983663a22
data/bin/rsh CHANGED
@@ -2957,6 +2957,7 @@ end
2957
2957
  def apply_auto_correct(cmd) # Apply auto-correction to command
2958
2958
  return cmd unless @auto_correct
2959
2959
  return cmd if cmd =~ /^:/ # Don't auto-correct colon commands
2960
+ return cmd if cmd.include?('/') # Don't auto-correct paths
2960
2961
  return cmd unless cmd =~ /^(\w+)/
2961
2962
 
2962
2963
  first_cmd = $1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-shell
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.4
4
+ version: 3.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geir Isene
@@ -12,8 +12,8 @@ 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.4: Autocorrect visibility - Shows when commands are autocorrected with clear
16
- ''(autocorrected from "original")'' indicator.'
15
+ v3.6.5: Autocorrect path fix - Paths (containing ''/'') are now excluded from autocorrection
16
+ to prevent false corrections like ''bin/file'' -> ''ai/file''.'
17
17
  email: g@isene.com
18
18
  executables:
19
19
  - rsh