gli 2.21.3 → 2.21.4
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/CONTRIBUTING.md +3 -0
- data/bin/ci +12 -24
- data/gli.gemspec +9 -0
- data/lib/gli/version.rb +1 -1
- metadata +9 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60f96a57b4abf16e79016ea09350797584e9a26882630c54340209c8db4ff527
|
4
|
+
data.tar.gz: 67e19189b4f770c374609de68d67a5ae41fb58ae92faaa3f735a4507db14d44b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07e228e867c65b76c31929e6f2680a884c4f37841dc43a3ca778e0b272583ca8e9e194d63be45bd843def5ba4fceeb496f20c9b0392448f4acc6bf8fa62a3b4d
|
7
|
+
data.tar.gz: 54151c1d669e25abeb7f1061003acf9230c4906dcfdf3766aefb90eb86f901416edb657d718bceda944817fb7d6f923530a892ec3c2aba4ba6db3e61167bb53f
|
data/CONTRIBUTING.md
CHANGED
@@ -53,6 +53,9 @@ checked-out files, the other containers will have access as well.
|
|
53
53
|
2. `inside-docker-container> bin/setup # installs all gems`
|
54
54
|
3. `inside-docker-container> bin/rake # runs all tests`
|
55
55
|
|
56
|
+
You can also try using `bin/ci` on your computer (not inside a Docker container), which will run tests across the entire build
|
57
|
+
matrix.
|
58
|
+
|
56
59
|
#### If You Want To Use Your Local Computer
|
57
60
|
|
58
61
|
In theory, GLI can be worked on using RVM, RBEnv, asdf, or whatever other way you want to manage Ruby. You can create a
|
data/bin/ci
CHANGED
@@ -1,29 +1,17 @@
|
|
1
1
|
#!/bin/bash
|
2
2
|
|
3
3
|
set -e
|
4
|
-
if [ -z $1 ]; then
|
5
|
-
echo "[bin/ci] Running with default warnings"
|
6
|
-
export RUBYOPT=
|
7
|
-
else
|
8
|
-
if [ $1 == 'warnings' ]; then
|
9
|
-
echo "[bin/ci] Running with all warnings on"
|
10
|
-
export RUBYOPT=-w
|
11
|
-
else
|
12
|
-
if [ $1 == 'none' ]; then
|
13
|
-
echo "[bin/ci] Running with all warnings off"
|
14
|
-
export RUBYOPT='-W0'
|
15
|
-
else
|
16
|
-
echo "[bin/ci] '$1' is not a supported option"
|
17
|
-
echo "[bin/ci] usage: $0 # run with default warnings"
|
18
|
-
echo "[bin/ci] usage: $0 warnings # run with all warnings"
|
19
|
-
echo "[bin/ci] usage: $0 none # run with warnings disabled"
|
20
|
-
exit 1
|
21
|
-
fi
|
22
|
-
fi
|
23
|
-
fi
|
24
4
|
|
25
|
-
|
26
|
-
|
5
|
+
SCRIPT_DIR=$( cd -- "$( dirname -- "${0}" )" > /dev/null 2>&1 && pwd )
|
6
|
+
DX_DIR="${SCRIPT_DIR}/../dx"
|
7
|
+
|
8
|
+
. "${DX_DIR}/docker-compose.env"
|
9
|
+
. "${DX_DIR}/setupkit.sh.lib"
|
10
|
+
|
11
|
+
for ruby_version in ${RUBY_VERSIONS[@]}; do
|
12
|
+
log "Setting up for Ruby version '${ruby_version}'"
|
13
|
+
dx/exec -v ${ruby_version} bin/setup
|
14
|
+
log "Running tests for Ruby version '${ruby_version}'"
|
15
|
+
dx/exec -v ${ruby_version} bin/rake
|
16
|
+
done
|
27
17
|
|
28
|
-
echo "[bin/ci] Running integration tests"
|
29
|
-
bin/rake test:integration
|
data/gli.gemspec
CHANGED
@@ -12,6 +12,15 @@ spec = Gem::Specification.new do |s|
|
|
12
12
|
s.summary = "Build command-suite CLI apps that are awesome."
|
13
13
|
s.description = "Build command-suite CLI apps that are awesome. Bootstrap your app, add commands, options and documentation while maintaining a well-tested idiomatic command-line app"
|
14
14
|
|
15
|
+
s.metadata = {
|
16
|
+
'bug_tracker_uri' => 'https://github.com/davetron5000/gli/issues',
|
17
|
+
'changelog_uri' => 'https://github.com/davetron5000/gli/releases',
|
18
|
+
'documentation_uri' => 'http://davetron5000.github.io/gli/rdoc/index.html',
|
19
|
+
'homepage_uri' => 'https://davetron5000.github.com/gli/',
|
20
|
+
'source_code_uri' => 'https://github.com/davetron5000/gli/',
|
21
|
+
'wiki_url' => 'https://github.com/davetron5000/gli/wiki',
|
22
|
+
}
|
23
|
+
|
15
24
|
s.files = `git ls-files`.split("\n")
|
16
25
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
17
26
|
s.require_paths = ["lib"]
|
data/lib/gli/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.21.
|
4
|
+
version: 2.21.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Copeland
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -212,7 +212,13 @@ files:
|
|
212
212
|
homepage: http://davetron5000.github.io/gli
|
213
213
|
licenses:
|
214
214
|
- Apache-2.0
|
215
|
-
metadata:
|
215
|
+
metadata:
|
216
|
+
bug_tracker_uri: https://github.com/davetron5000/gli/issues
|
217
|
+
changelog_uri: https://github.com/davetron5000/gli/releases
|
218
|
+
documentation_uri: http://davetron5000.github.io/gli/rdoc/index.html
|
219
|
+
homepage_uri: https://davetron5000.github.com/gli/
|
220
|
+
source_code_uri: https://github.com/davetron5000/gli/
|
221
|
+
wiki_url: https://github.com/davetron5000/gli/wiki
|
216
222
|
post_install_message:
|
217
223
|
rdoc_options:
|
218
224
|
- "--title"
|