gli 2.21.3 → 2.21.5
Sign up to get free protection for your applications and to get access to all the features.
- 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: 4090c5ae7772cf0833abb4eda596a2eb558577de6493a1389e90e68327f41093
|
4
|
+
data.tar.gz: 8f18bf74f7ac11bf544ac28be9c326355199a138364b7189a10537c7eb2903f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '02638fe45837c6e17d83d8e1afaf3a90e94da181419b1dfc6f53db9487a90566ff281a2e9adc4155bd4baa379f5f43f379a716e788330e12f828ad2d9a233f99'
|
7
|
+
data.tar.gz: fbd6c9281eaf31a203cf5f6331ce21f4241eeb6b7e8cfafc5c3c4d63e81455a60246d76aa411ec4c3ffee3137c48921c569b819f6e0b7cc0e95225c5cdf18a1f
|
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' => 'https://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.5
|
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-18 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: https://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"
|