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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0e78fe64d85603a8c3747fe594ab900f3fbef545f78b3cedfc77ff6ffee8d715
4
- data.tar.gz: 43ca60a69eee7337e97a0114f0fb3c16c67da4515199f52b54b628efdb798031
3
+ metadata.gz: 99f485c3101793ea955bdf125a42278f0e3a81af69e6cf9e4f51e07c4179ce04
4
+ data.tar.gz: ca309bd6179a11a15423ee6e442e587321347e5142706ce66c5861e22e3394a8
5
5
  SHA512:
6
- metadata.gz: d00b3e9244e722afc0fa6297e3b08ba6e6f9d302f44c8b879ae723667cf82ffad2940fef4aead94151c77c1a8bec137962ad61c8b8bc3aca97c5071117e4293e
7
- data.tar.gz: 3cf6d478102f43bb51256613b58f531f0f8bdd71af71e434835030c8d3b3c2273938165f88d97a1dc7ecfc480a28c429cc2d1133742b48609066b269c633b0a8
6
+ metadata.gz: fc5a0d81b08eef9c029c88fa6bb118c1f9e8154e52e86f113c8d2ae74c170f768fb48d310128df64b67c00e4c66855886ca1d57635c82118ff5c4737d1eaea29
7
+ data.tar.gz: 61c451a16352dd7b3ba28fcb6f2209b980eb5ff416d8656f3b0db802e0e5cea2b20334102e2a73eefc6f2e06b72059e1dfae80deaeee106484fc6e558d79fb48
@@ -1,3 +1,3 @@
1
1
  module Bashly
2
- VERSION = '1.2.5'
2
+ VERSION = '1.2.6'
3
3
  end
@@ -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.5
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-01 00:00:00.000000000 Z
11
+ date: 2024-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colsole