ruby-shell 3.6.14 → 3.6.15
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 +4 -4
- data/bin/rsh +14 -8
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4b48490df2e369dfa33c4d92ce4c713573d7b1e54ff565a53b62a217db070ca6
|
|
4
|
+
data.tar.gz: d79027f5999c4765f99b900d7d4bc9edd7dfd90f195799815e6715577ed2bcd8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 81b35c1a4f9b1e30b29381ad3c563b4da9efdf5d4fee1157409c87e7fb256f096fa855f352b4cb7faa1d0d9bd60c9755326f818991a52b8fe2f2eb3365c16409
|
|
7
|
+
data.tar.gz: ee3bffbbd08096c6651dc8abf6984acb17f1d373d5d2558ea4354c56e1e8d1f6659205be9b339deb1b8e502d875975ade197153e48a787266a0082c074ded8e7
|
data/bin/rsh
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
# Web_site: http://isene.com/
|
|
9
9
|
# Github: https://github.com/isene/rsh
|
|
10
10
|
# License: Public domain
|
|
11
|
-
@version = "3.6.
|
|
11
|
+
@version = "3.6.15" # Fix config persistence bugs in .rshrc
|
|
12
12
|
|
|
13
13
|
# MODULES, CLASSES AND EXTENSIONS
|
|
14
14
|
class String # Add coloring to strings (with escaping for Readline)
|
|
@@ -1529,18 +1529,24 @@ def rshrc # Write user configuration to .rshrc (portable between machines)
|
|
|
1529
1529
|
conf = ""
|
|
1530
1530
|
end
|
|
1531
1531
|
|
|
1532
|
+
# Strip runtime data that belongs in .rshstate (may linger from pre-split config)
|
|
1533
|
+
%w[@cmd_frequency @cmd_stats @exe_cache @exe_cache_path @exe_cache_time
|
|
1534
|
+
@completion_weights @history @recordings @plugin_enabled].each do |var|
|
|
1535
|
+
conf.sub!(/^#{Regexp.escape(var)} =.*\n?/, "")
|
|
1536
|
+
end
|
|
1537
|
+
|
|
1532
1538
|
# Persist user-editable configuration using helper
|
|
1533
1539
|
conf = persist_var(conf, '@nick', @nick)
|
|
1534
1540
|
conf = persist_var(conf, '@gnick', @gnick)
|
|
1535
1541
|
conf = persist_var(conf, '@bookmarks', @bookmarks, !@bookmarks.empty?)
|
|
1536
1542
|
conf = persist_var(conf, '@defuns', @defuns, !@defuns.empty?)
|
|
1537
|
-
conf = persist_var(conf, '@history_dedup', @history_dedup
|
|
1538
|
-
conf = persist_var(conf, '@session_autosave', @session_autosave
|
|
1539
|
-
conf = persist_var(conf, '@auto_correct', @auto_correct
|
|
1540
|
-
conf = persist_var(conf, '@slow_command_threshold', @slow_command_threshold
|
|
1541
|
-
conf = persist_var(conf, '@completion_learning', @completion_learning
|
|
1542
|
-
conf = persist_var(conf, '@show_tips', @show_tips
|
|
1543
|
-
conf = persist_var(conf, '@completion_show_metadata', @completion_show_metadata
|
|
1543
|
+
conf = persist_var(conf, '@history_dedup', @history_dedup)
|
|
1544
|
+
conf = persist_var(conf, '@session_autosave', @session_autosave)
|
|
1545
|
+
conf = persist_var(conf, '@auto_correct', @auto_correct)
|
|
1546
|
+
conf = persist_var(conf, '@slow_command_threshold', @slow_command_threshold)
|
|
1547
|
+
conf = persist_var(conf, '@completion_learning', @completion_learning)
|
|
1548
|
+
conf = persist_var(conf, '@show_tips', @show_tips)
|
|
1549
|
+
conf = persist_var(conf, '@completion_show_metadata', @completion_show_metadata)
|
|
1544
1550
|
conf = persist_var(conf, '@plugin_disabled', @plugin_disabled, !@plugin_disabled.empty?)
|
|
1545
1551
|
conf = persist_var(conf, '@validation_rules', @validation_rules, !@validation_rules.empty?)
|
|
1546
1552
|
|
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
|
+
version: 3.6.15
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Geir Isene
|
|
@@ -12,7 +12,8 @@ date: 2026-02-27 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.
|
|
15
|
+
v3.6.15: Fix config persistence bugs - scalar settings now always persist, runtime
|
|
16
|
+
data stripped from .rshrc.'
|
|
16
17
|
email: g@isene.com
|
|
17
18
|
executables:
|
|
18
19
|
- rsh
|