bashly 1.2.5 → 1.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bashly/version.rb +1 -1
- data/lib/bashly/views/command/run.gtx +6 -6
- data/lib/bashly/views/variable/definition.gtx +6 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99f485c3101793ea955bdf125a42278f0e3a81af69e6cf9e4f51e07c4179ce04
|
4
|
+
data.tar.gz: ca309bd6179a11a15423ee6e442e587321347e5142706ce66c5861e22e3394a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc5a0d81b08eef9c029c88fa6bb118c1f9e8154e52e86f113c8d2ae74c170f768fb48d310128df64b67c00e4c66855886ca1d57635c82118ff5c4737d1eaea29
|
7
|
+
data.tar.gz: 61c451a16352dd7b3ba28fcb6f2209b980eb5ff416d8656f3b0db802e0e5cea2b20334102e2a73eefc6f2e06b72059e1dfae80deaeee106484fc6e558d79fb48
|
data/lib/bashly/version.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
= view_marker
|
2
2
|
|
3
3
|
> run() {
|
4
|
-
> declare -A args=()
|
5
|
-
> declare -A deps=()
|
6
|
-
> declare -a other_args=()
|
7
|
-
> declare -a env_var_names=()
|
8
|
-
> declare -a input=()
|
4
|
+
> declare -g -A args=()
|
5
|
+
> declare -g -A deps=()
|
6
|
+
> declare -g -a other_args=()
|
7
|
+
> declare -g -a env_var_names=()
|
8
|
+
> declare -g -a input=()
|
9
9
|
if has_unique_args_or_flags?
|
10
|
-
> declare -A unique_lookup=()
|
10
|
+
> declare -g -A unique_lookup=()
|
11
11
|
end
|
12
12
|
> normalize_input "$@"
|
13
13
|
> parse_requirements "${input[@]}"
|
@@ -3,9 +3,9 @@
|
|
3
3
|
case value
|
4
4
|
when Array
|
5
5
|
if value.empty?
|
6
|
-
> declare -a {{ name }}=()
|
6
|
+
> declare -g -a {{ name }}=()
|
7
7
|
else
|
8
|
-
> declare -a {{ name }}=(
|
8
|
+
> declare -g -a {{ name }}=(
|
9
9
|
value.each do |v|
|
10
10
|
> "{{ v }}"
|
11
11
|
end
|
@@ -13,16 +13,16 @@ when Array
|
|
13
13
|
end
|
14
14
|
when Hash
|
15
15
|
if value.empty?
|
16
|
-
> declare -A {{ name }}=()
|
16
|
+
> declare -g -A {{ name }}=()
|
17
17
|
else
|
18
|
-
> declare -A {{ name }}=(
|
18
|
+
> declare -g -A {{ name }}=(
|
19
19
|
value.each do |k, v|
|
20
20
|
> ["{{ k }}"]="{{ v }}"
|
21
21
|
end
|
22
22
|
> )
|
23
23
|
end
|
24
24
|
when String, NilClass
|
25
|
-
> {{ name }}="{{ value }}"
|
25
|
+
> declare -g {{ name }}="{{ value }}"
|
26
26
|
else
|
27
|
-
> {{ name }}={{ value }}
|
27
|
+
> declare -g {{ name }}={{ value }}
|
28
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bashly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danny Ben Shitrit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colsole
|