ruby-shell 0.10 → 0.10.1

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 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 37f126a017a54cab294467b035635ce6992f4ae1d67befcd7d4a33882929be5a
4
- data.tar.gz: 7210fde457362b3a08e793e62ecf27059e244f514bd77f7aaf8f980c47974826
3
+ metadata.gz: 2c7ebd4a7beebe30b2df0d2fcf14d1edc9f503730aaa1a3bf43253c83c844bec
4
+ data.tar.gz: 602746338bda097043bf6bd465d39949cd1401660073b10f736bccf9d6b64aed
5
5
  SHA512:
6
- metadata.gz: 5690e8bed0c4efbcf3194e8a2d5e1cdfa5e339c26cee90281818e6c7d35a4b0ce3c64dbe769b67fc86ff89220304598a15a8f56844c179376ca4813b2baafa71
7
- data.tar.gz: 4f0c21b28d1ae2f19cd28d7727e2dce0e8097479188b122092649b49080e60f9210f489155ec2e81b2d7551f3b226f7ee78229abe3814cfc3093140a0c757d38
6
+ metadata.gz: 50f8c28add6488b720bb28f669136c74c6f09681e4a8690293e1a9a5e7cb2ab13247d3e13c6cec090841c3f30229af9e87bfed322afec373920662b4a9477a91
7
+ data.tar.gz: 89c72e7a3205a18c1d496dc1e2b058998b65b93fea587fc012b619365154d56d65d75d55b471d03b03e1f6c137431fbf760607407761897d22bfaca565f03faf
data/bin/rsh CHANGED
@@ -594,7 +594,7 @@ loop do
594
594
  @cmd.sub!(/^cd (\S*).*/, '\1')
595
595
  @cmd = Dir.home if @cmd == "~"
596
596
  dir = @cmd.strip.sub(/~/, Dir.home)
597
- if Dir.exists?(dir)
597
+ if Dir.exist?(dir)
598
598
  Dir.chdir(dir)
599
599
  else
600
600
  ca = @nick.transform_keys {|k| /((^\K\s*\K)|(\|\K\s*\K))\b(?<!-)#{Regexp.escape k}\b/}
metadata CHANGED
@@ -1,18 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-shell
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.10'
4
+ version: 0.10.1
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-03 00:00:00.000000000 Z
11
+ date: 2023-06-04 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.10: Added introduction and creation of .rshrc on first run. Improved rtfm integration.'
15
+ 0.10: Added introduction and creation of .rshrc on first run. Improved rtfm integration.
16
+ 0.10.1: Fixed depricated Dir.exists?'
16
17
  email: g@isene.com
17
18
  executables:
18
19
  - rsh