ruby-shell 0.21 → 0.22

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 +2 -2
  3. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a8d28ba94f7b6a6e05496bccb94efe444ba34871ab036b448fb0d074dcadf59d
4
- data.tar.gz: 041e37fe2d4876a59b097d74eddd846be9de62915ee857943c4c86b2e4080a50
3
+ metadata.gz: c77b8d55aafec665e7fa06f41c9ebd8b865a843dabb1fbb75e332402ea6fb69b
4
+ data.tar.gz: 6ca4ad8d4f853f2a36c0da2d7717c099aa333089a4372a085de534d7b417171f
5
5
  SHA512:
6
- metadata.gz: a681b059f27359fa185cc6f1092ac3bf2b8e9084a79ee5650f154b906b25ec84a20eb4920961576a945787cb6d925c6f16cab915383ea9b07ba3a2ed58bc634d
7
- data.tar.gz: 04bde7676375ce81782b2ba15abda281a650de049d79734eb23b0db4b67987f089db1b2fd4bf3be52bc5dc6730f900d95acc2ade046fe70097272cf09730673e
6
+ metadata.gz: 5b9cdf2c66e91aa4eba9b74f39eb105c4c5640ee8ad2aa49b970f653e49f5356bd4a756276ab4747bc3a0b7dd6b011289fa99f3715925d3975fbd747499f2fd6
7
+ data.tar.gz: b98f3d5a2b7bac68120cefc2186cdc92e95c26803216b7ffc4ea8dcfa41a107c54058e9a5f625afd2deed29fc1dcca3fce95cac08bbc29309f0fba49ebfe6c38
data/bin/rsh CHANGED
@@ -14,7 +14,7 @@
14
14
  # for any damages resulting from its use. Further, I am under no
15
15
  # obligation to maintain or extend this software. It is provided
16
16
  # on an 'as is' basis without any expressed or implied warranty.
17
- @version = "0.21"
17
+ @version = "0.22"
18
18
 
19
19
  # MODULES, CLASSES AND EXTENSIONS
20
20
  class String # Add coloring to strings (with escaping for Readline)
@@ -613,7 +613,7 @@ begin # Load .rshrc and populate @history
613
613
  ENV["TERM"] = "rxvt-unicode-256color"
614
614
  ENV["PATH"] ? ENV["PATH"] += ":" : ENV["PATH"] = ""
615
615
  ENV["PATH"] += "/home/#{@user}/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
616
- if File.exist?(@lscolors)
616
+ if @lscolors and File.exist?(@lscolors)
617
617
  ls = File.read(@lscolors)
618
618
  ls.sub!(/export.*/, '')
619
619
  ls.sub!(/^LS_COLORS=/, 'ENV["LS_COLORS"]=')
metadata CHANGED
@@ -1,19 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-shell
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.21'
4
+ version: '0.22'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geir Isene
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-15 00:00:00.000000000 Z
11
+ date: 2023-06-18 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 and more. In continual development. New in
15
- 0.20: Better history search - write a partial command and press UP to get matches
16
- in history.'
15
+ 0.21: Fixed bug in loading lscolors.'
17
16
  email: g@isene.com
18
17
  executables:
19
18
  - rsh