ruby-shell 0.3 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/rsh +2 -2
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: beb9449aa1999b4050dc9fc33e6bd34cfd72e53298f9a30260cdd7326c0c11f3
4
- data.tar.gz: dbcf1ce70ae0a19d50a09fa5c28a43b83e6cfc67df6ebe67073994daa2721d8e
3
+ metadata.gz: ae06a31d3704b03f547c511116723ebfc3b890000fb74fac0b5cd098a44dbad5
4
+ data.tar.gz: 81a6f4a939ebed04a679579e16daa6921d25a45bed4f30e8b59caba5c1300e75
5
5
  SHA512:
6
- metadata.gz: 8c11546df1ddae55bea7cceab32b3084398a5b87bd32c4fa815e41ec8f236bdcb197af2c03e66fffe5dd7d9365d1936409066301d4d7941d5022f95c5f6b555c
7
- data.tar.gz: 77838d06aebc6b9c92009f789cfe45666febce20aa5aaf7b90bbbb1c15c38a9acfba32c3a98e6c0bdf9218350987bd1cbd3f09787013fd40fc9e7f810f8afda0
6
+ metadata.gz: 40bf4cf2c129d0ef8bdc114aec76e96b41b961467b2cc72bf962a2f7bb43d2225f6b9d2a142c7c90037ef4b526e35cb4e892906b984f22a85a142b1f9b0b5ae3
7
+ data.tar.gz: 1cd7e4bc2ad55bf3906d107702f604e1931d555cad50b491a573556d4cc23d0273980aa0744f803dbec1d6f23a582f6adf7904f473b257917e06a00c0cf85a14
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.3"
17
+ @version = "0.3.1"
18
18
 
19
19
  # MODULES, CLASSES AND EXTENSIONS
20
20
  class String # Add coloring to strings (with escaping for Readline)
@@ -170,7 +170,7 @@ def getchr # Process key presses
170
170
  when "" then chr = "LDEL"
171
171
  when "\r" then chr = "ENTER"
172
172
  when "\t" then chr = "TAB"
173
- when /./ then chr = c
173
+ when /[[:print:]]/ then chr = c
174
174
  end
175
175
  return chr
176
176
  end
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: '0.3'
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geir Isene
@@ -11,8 +11,8 @@ cert_chain: []
11
11
  date: 2023-05-24 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: 'A shell written in Ruby with extensive tab completions, aliases/nicks,
14
- history, syntax highlighting and theming. New in 0.3: You can now paste onto the
15
- command line.'
14
+ history, syntax highlighting and theming. New in 0.3.1: Removed unwanted control
15
+ chars in input.'
16
16
  email: g@isene.com
17
17
  executables:
18
18
  - rsh