rvm-tui 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +28 -0
- data/README.md +2 -2
- data/VERSION +1 -1
- data/bin/rvm-tui-setup +3 -3
- data/lib/rvm-tui.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bcc765b935c104ba6422b3187fb68faaa06f295bd3c8986524b15a63b2ed29aa
|
4
|
+
data.tar.gz: c1a7f8ad62d2292e37b47f26c2aa33c7d8950f39393db61841ecdfca6d6cea34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c51e7f811cc54688244df6a0c7e4e0d78d083e529be5188479c3a4cc4b972f22fdf4a12205d326b153fa4198b8e30fc4bd4992d4b3fb401827cdf39916446a5
|
7
|
+
data.tar.gz: e2c75a87536e76210a9a8e7675a7a8360ab185b1616ba9d470f1303dcbe19e398fddff618623b1cd12fd772b661dabb16e4049be70882ac5a1af3048342be45d
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
# Change Log
|
2
|
+
|
3
|
+
## 0.0.6
|
4
|
+
|
5
|
+
- Fix missing `;` before `then` in rvm-tui-setup
|
6
|
+
|
7
|
+
## 0.0.5
|
8
|
+
|
9
|
+
- Support Zsh (Z Shell)
|
10
|
+
- Add alises rvmui, rvmtui, and rvm-ui
|
11
|
+
- Fix error: "bad option -a"
|
12
|
+
|
13
|
+
## 0.0.4
|
14
|
+
|
15
|
+
- Fixed an issue when running without RVM default ruby setup
|
16
|
+
|
17
|
+
## 0.0.3
|
18
|
+
|
19
|
+
- Corrected declaration of license as Apache-2.0
|
20
|
+
|
21
|
+
## 0.0.2
|
22
|
+
|
23
|
+
- Safe abort support (use CTRL+C without seeing error messages)
|
24
|
+
- Highlight current RVM Gemset (not just the current Ruby)
|
25
|
+
|
26
|
+
## 0.0.1
|
27
|
+
|
28
|
+
- Initial implementation supporting selection of RVM Ruby and Gemset
|
data/README.md
CHANGED
@@ -28,7 +28,7 @@ Other TUI gems you may be interested in:
|
|
28
28
|
|
29
29
|
The gem can be installed unto any [Ruby](https://rvm.io/rubies/installing)/[Gemset](https://rvm.io/gemsets/basics) in [RVM](https://rvm.io) and it will be used from there everywhere.
|
30
30
|
|
31
|
-
Since it is independent of any particular [Ruby](https://www.ruby-lang.org/en/) project, it is recommended you install unto the default [gemset](https://rvm.io/gemsets/basics) (or optionally into its own gemset if you prefer).
|
31
|
+
Since it is independent of any particular [Ruby](https://www.ruby-lang.org/en/) project, it is recommended you install unto the default [gemset](https://rvm.io/gemsets/basics) (or optionally into its own gemset if you prefer). Global gemset wouldn't be enough to share it since it does not cross Rubies yet is limited to a specific Ruby version.
|
32
32
|
|
33
33
|
Afterwards, run the `rvm-tui-setup` command from the same [RVM](https://rvm.io) [Ruby](https://rvm.io/rubies/installing)/[Gemset](https://rvm.io/gemsets/basics) you installed the gem at to setup the `rvm-tui` function source in `~/.bash_profile` or `~/.bashrc` (whichever is available)
|
34
34
|
|
@@ -86,7 +86,7 @@ rvm-tui
|
|
86
86
|
|
87
87
|
[Apache License, Version 2.0](LICENSE.txt)
|
88
88
|
|
89
|
-
Copyright (c) 2020-
|
89
|
+
Copyright (c) 2020-2022 Andy Maleh
|
90
90
|
|
91
91
|
Licensed under the Apache License, Version 2.0 (the "License");
|
92
92
|
you may not use this file except in compliance with the License.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.6
|
data/bin/rvm-tui-setup
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
# Copyright (c) 2020-
|
3
|
+
# Copyright (c) 2020-2022 Andy Maleh
|
4
4
|
#
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
6
|
# you may not use this file except in compliance with the License.
|
@@ -40,11 +40,11 @@ rvm_tui_script = <<~SHELL_SCRIPT
|
|
40
40
|
current_rvm="$(rvm current)"
|
41
41
|
current_ruby="$(echo $current_rvm | sed -E 's/@.*$//')"
|
42
42
|
current_gemset="default"
|
43
|
-
if [[ $current_rvm == *"@"* ]] then
|
43
|
+
if [[ $current_rvm == *"@"* ]] ; then
|
44
44
|
current_gemset="$(echo $current_rvm | sed -E 's/^[^@]+@//')"
|
45
45
|
fi
|
46
46
|
#{command} $current_ruby $current_gemset
|
47
|
-
if [ -f "$HOME/.rvm_command" ]; then
|
47
|
+
if [ -f "$HOME/.rvm_command" ] ; then
|
48
48
|
source $HOME/.rvm_command
|
49
49
|
rm $HOME/.rvm_command
|
50
50
|
fi
|
data/lib/rvm-tui.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rvm-tui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- andy_maleh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tty-prompt
|
@@ -134,9 +134,11 @@ executables:
|
|
134
134
|
- rvm-tui-setup
|
135
135
|
extensions: []
|
136
136
|
extra_rdoc_files:
|
137
|
+
- CHANGELOG.md
|
137
138
|
- LICENSE.txt
|
138
139
|
- README.md
|
139
140
|
files:
|
141
|
+
- CHANGELOG.md
|
140
142
|
- LICENSE.txt
|
141
143
|
- README.md
|
142
144
|
- VERSION
|