ruby-shell 3.6.6 → 3.6.7

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 -1
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7d44bbe64562b7c33243966d234ef228b5c78b08fa4ca598322d7ce1e719393e
4
- data.tar.gz: b296eaa102212b14c2ae415d56c4f444e55b755d178f87e3a017d9d120de443d
3
+ metadata.gz: 27ea51d3eee2117b64d91a43ba865d091e2171ea17c39ec6ae4fd17e44fe113a
4
+ data.tar.gz: 2309813190a81f16b7e6eddd4a2b8b96e2aa3a21481c9c9f455a68ffb5bcf4af
5
5
  SHA512:
6
- metadata.gz: 8bde232e33715197884a9d10f6b2059c7a3a6148833181d76ab733bff7f1d9bbffeefe6a02b3e7b1e39f49b2caf569f99f0166efbcfe420f80279920bbfb7480
7
- data.tar.gz: 4806cd6d2f6c907450738a294a490c16773525a1a2c5e4c1382903b508d30eddf63d8b79c8f181bf7f423dd5ac1fc632cefd3a82f142de0d1993448a79ff6405
6
+ metadata.gz: 5b438f11541a5f4d45b87fd784c1986eeb8b623e5c5114c6291a02676ebf4f785d45c6f8746b9a1322347135611be0837fbc0ca97c31fd9d668c521ea796c797
7
+ data.tar.gz: 9f42dc421ce8eede7f4741c0ea985ba490acfc42b8626729fd6b7d5ebaa06e8131b8295bf9c21586e2d44b891ac086cdc1f507b2dd3be77120660819b486d22d
data/bin/rsh CHANGED
@@ -2978,7 +2978,7 @@ def apply_auto_correct(cmd) # Apply auto-correction to command
2978
2978
  return cmd unless @auto_correct
2979
2979
  return cmd if cmd =~ /^:/ # Don't auto-correct colon commands
2980
2980
  return cmd if cmd.include?('/') # Don't auto-correct paths
2981
- return cmd unless cmd =~ /^(\w+)/
2981
+ return cmd unless cmd =~ /^([\w.-]+)/ # Capture command including extensions (.sh, .py, etc.)
2982
2982
 
2983
2983
  first_cmd = $1
2984
2984
 
metadata CHANGED
@@ -1,19 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-shell
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.6
4
+ version: 3.6.7
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-18 00:00:00.000000000 Z
11
+ date: 2025-12-16 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.6: Nick persistence fix - Nicks and gnicks now merge on exit, preventing loss
16
- when multiple instances overwrite .rshrc.'
15
+ v3.6.7: Autocorrect fix for commands with extensions - Now correctly recognizes
16
+ upload.sh, script.py, etc. in PATH.'
17
17
  email: g@isene.com
18
18
  executables:
19
19
  - rsh