toolrack 0.24.0 → 0.24.2
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/.rubocop.yml +3 -0
- data/Gemfile.lock +1 -1
- data/lib/toolrack/terminal_utils.rb +4 -3
- data/lib/toolrack/version.rb +1 -1
- metadata +7 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7420fd4956d202b1735958d06acae528fb80d290b641b62d34699b39b4355d52
|
|
4
|
+
data.tar.gz: cb69b34f6e0c646d2460ae5d547d222afd2c33295c31d67127f319689f9e135a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 91ff390b103beb9745e2e8315326c2e6e889541b0e96f31447d84c00be72477bf2cf66ddfa2d58c0d601b1b28e8ae4ffe98af3cf83d9a512f22125260c5e06e4
|
|
7
|
+
data.tar.gz: 1ce7374e16867a09726303d40e752dff593acdc5717bbbb36bf9770341f9af684decf5d8955c08de6137444fccf3ef27a75ae8b96a33be765796f2d982c8b8c7
|
data/.rubocop.yml
ADDED
data/Gemfile.lock
CHANGED
|
@@ -13,8 +13,9 @@ module Antrapol
|
|
|
13
13
|
cmd = [cmd] if not cmd.is_a?(Array)
|
|
14
14
|
|
|
15
15
|
case terminal
|
|
16
|
-
when "terminator"
|
|
17
|
-
|
|
16
|
+
when "terminator", "tilix"
|
|
17
|
+
#`#{terminal} -x "#{cmd.join(" ")}"`
|
|
18
|
+
`#{terminal} -e "bash -c '#{cmd.join(" ")}'" &`
|
|
18
19
|
|
|
19
20
|
when "gnome-terminal"
|
|
20
21
|
`#{terminal} -- bash -c "#{cmd.join(" ")}; exec bash"`
|
|
@@ -44,7 +45,7 @@ module Antrapol
|
|
|
44
45
|
`
|
|
45
46
|
|
|
46
47
|
else
|
|
47
|
-
raise TerminalUtilsException, "Terminal '#{terminal}' not supported. Supported terminal are : #{
|
|
48
|
+
raise TerminalUtilsException, "Terminal '#{terminal}' not supported. Supported terminal are : #{tu_possible_terminal.join(", ")}"
|
|
48
49
|
end
|
|
49
50
|
|
|
50
51
|
end
|
data/lib/toolrack/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: toolrack
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.24.
|
|
4
|
+
version: 0.24.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chris
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2024-01-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|
|
@@ -48,6 +48,7 @@ files:
|
|
|
48
48
|
- ".gitignore"
|
|
49
49
|
- ".release_history.yml"
|
|
50
50
|
- ".rspec"
|
|
51
|
+
- ".rubocop.yml"
|
|
51
52
|
- ".travis.yml"
|
|
52
53
|
- ".version_history.yml"
|
|
53
54
|
- CODE_OF_CONDUCT.md
|
|
@@ -85,7 +86,7 @@ licenses: []
|
|
|
85
86
|
metadata:
|
|
86
87
|
homepage_uri: https://github.com/chrisliaw/toolrack
|
|
87
88
|
source_code_uri: https://github.com/chrisliaw/toolrack
|
|
88
|
-
post_install_message:
|
|
89
|
+
post_install_message:
|
|
89
90
|
rdoc_options: []
|
|
90
91
|
require_paths:
|
|
91
92
|
- lib
|
|
@@ -100,8 +101,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
100
101
|
- !ruby/object:Gem::Version
|
|
101
102
|
version: '0'
|
|
102
103
|
requirements: []
|
|
103
|
-
rubygems_version: 3.
|
|
104
|
-
signing_key:
|
|
104
|
+
rubygems_version: 3.5.3
|
|
105
|
+
signing_key:
|
|
105
106
|
specification_version: 4
|
|
106
107
|
summary: Collection of simple utilities but I find it increase clarity
|
|
107
108
|
test_files: []
|