bashly 0.8.4 → 0.8.6
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6be5a0594215515e99372cba7e1f6b0a6540429299166e9a2f420d14181af207
|
4
|
+
data.tar.gz: 91498eb6c640f0eb57f68aa974e876a69d624e9830402f10d11f5de874f6684c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f77887a91b45dcba6422d48fc794cd8bc8c50243a6b04df3bd426aa90b837beb53b1a770adf903482a85ad60631c6515f21f6559045aa73475b9321d5432c13e
|
7
|
+
data.tar.gz: 8c05eba6921abcf365c6ab4df5f8632f7136749274708361dfb6dcf6e5a85b9b55c267d65adadb3ed77677fe9a94293a7259e86789e0a754c3ba461118c9701d
|
@@ -0,0 +1,20 @@
|
|
1
|
+
#!/usr/bin/env bash
|
2
|
+
# Run this from the root directory
|
3
|
+
|
4
|
+
cd ./test || exit
|
5
|
+
source approvals.bash
|
6
|
+
PATH="$PATH:../"
|
7
|
+
|
8
|
+
# Update me
|
9
|
+
cli=download
|
10
|
+
|
11
|
+
# Tests
|
12
|
+
describe "root command"
|
13
|
+
approve "$cli"
|
14
|
+
approve "$cli --help"
|
15
|
+
|
16
|
+
describe "some other command"
|
17
|
+
approve "$cli other"
|
18
|
+
approve "$cli other --help"
|
19
|
+
|
20
|
+
# ...more tests...
|
data/lib/bashly/version.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
> ## Code here runs inside the initialize() function
|
2
2
|
> ## Use it for anything that you need to run before any other function, like
|
3
|
-
> ## setting environment
|
3
|
+
> ## setting environment variables:
|
4
4
|
> ## CONFIG_FILE=settings.ini
|
5
5
|
> ##
|
6
6
|
> ## Feel free to empty (but not delete) this file.
|
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: 0.8.
|
4
|
+
version: 0.8.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: 2022-09-
|
11
|
+
date: 2022-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: completely
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '2.0'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '2.0'
|
97
97
|
description: Generate bash command line tools using YAML configuration
|
98
98
|
email: db@dannyben.com
|
99
99
|
executables:
|
@@ -153,6 +153,7 @@ files:
|
|
153
153
|
- lib/bashly/templates/settings.yml
|
154
154
|
- lib/bashly/templates/strings.yml
|
155
155
|
- lib/bashly/templates/test/approvals.bash
|
156
|
+
- lib/bashly/templates/test/approve
|
156
157
|
- lib/bashly/version.rb
|
157
158
|
- lib/bashly/views/README.md
|
158
159
|
- lib/bashly/views/argument/usage.gtx
|