checkoff 0.210.0 → 0.212.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +4 -3
- data/Gemfile.lock +1 -1
- data/Makefile +1 -1
- data/fix.sh +9 -7
- data/lib/checkoff/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34132f08545178fb734e53d13dfd7c26beb191e250271f2a93bea9339a85c5e6
|
4
|
+
data.tar.gz: ab5ac20f30aa186f4d1644b79dd8cc295e90d27add1f92a4bc26546dda9c2d33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2b206e0a283c2ecf73b9128d3831190192d356a98dc2bf5fd2df46febf6997667e0bb2f5323d557a53cebf35f304ec9bda971f7bfec51de69634eedb0a734ab
|
7
|
+
data.tar.gz: 1e86ffd4af0f6ce5e8d5a4be89ee67fdc48fbbcd5600f48ce517ae2931f488c975c0a049df772cd4bbbfdb4396bcc416553da67d76c9bbebde766b46546dbec8
|
data/.circleci/config.yml
CHANGED
@@ -36,8 +36,8 @@ commands:
|
|
36
36
|
- checkout
|
37
37
|
- restore_cache:
|
38
38
|
keys:
|
39
|
-
- gems-
|
40
|
-
- gems-
|
39
|
+
- gems-v4-{{ checksum "Gemfile.lock" }}-
|
40
|
+
- gems-v4-
|
41
41
|
- gems-
|
42
42
|
- restore_cache:
|
43
43
|
keys:
|
@@ -72,10 +72,11 @@ commands:
|
|
72
72
|
exit 1
|
73
73
|
fi
|
74
74
|
- save_cache:
|
75
|
-
key: gems-
|
75
|
+
key: gems-v4-{{ checksum "Gemfile.lock" }}-{{ checksum ".ruby-version" }}
|
76
76
|
paths:
|
77
77
|
- "vendor/bundle"
|
78
78
|
- ".yardoc"
|
79
|
+
- "/home/circleci/.rbenv/versions/3.1.6/lib/ruby/gems/"
|
79
80
|
- save_cache:
|
80
81
|
key: wheels-v1-3.12.7-{{ checksum "requirements_dev.txt" }}
|
81
82
|
paths:
|
data/Gemfile.lock
CHANGED
data/Makefile
CHANGED
@@ -18,7 +18,7 @@ help:
|
|
18
18
|
default: clean-coverage test coverage clean-typecoverage typecheck typecoverage quality ## run default typechecking, tests and quality
|
19
19
|
|
20
20
|
build-typecheck: bundle_install ## Fetch information that type checking depends on
|
21
|
-
bundle exec yard gems 2>&1
|
21
|
+
bundle exec yard gems 2>&1 || bundle exec yard gems --safe 2>&1 || bundle exec yard gems 2>&1
|
22
22
|
# bundle exec solargraph scan 2>&1
|
23
23
|
|
24
24
|
clean-typecheck: ## Refresh information that type checking depends on
|
data/fix.sh
CHANGED
@@ -2,15 +2,16 @@
|
|
2
2
|
|
3
3
|
if [ -n "${FIX_SH_TIMING_LOG+x}" ]; then
|
4
4
|
rm -f "${FIX_SH_TIMING_LOG}"
|
5
|
+
if ! type gdate >/dev/null 2>&1; then sudo ln -sf /bin/date /bin/gdate; fi
|
5
6
|
fi
|
6
7
|
|
7
8
|
debug_timing() {
|
8
9
|
if [ -n "${FIX_SH_TIMING_LOG+x}" ]; then
|
9
10
|
# shellcheck disable=SC2034
|
10
|
-
_lastcmd=$(
|
11
|
+
_lastcmd=$(gdate +%s%3N)
|
11
12
|
last_command='start'
|
12
13
|
# shellcheck disable=SC2154
|
13
|
-
trap '_now=$(
|
14
|
+
trap '_now=$(gdate +%s%3N); duration=$((_now - _lastcmd)); echo ${duration} ms: $last_command >> '"${FIX_SH_TIMING_LOG}"'; last_command="$BASH_COMMAND" >> '"${FIX_SH_TIMING_LOG}"'; _lastcmd=$_now' DEBUG
|
14
15
|
fi
|
15
16
|
}
|
16
17
|
|
@@ -176,7 +177,7 @@ ensure_bundle() {
|
|
176
177
|
#
|
177
178
|
# https://app.circleci.com/pipelines/github/apiology/source_finder/21/workflows/88db659f-a4f4-4751-abc0-46f5929d8e58/jobs/107
|
178
179
|
set_rbenv_env_variables
|
179
|
-
bundle
|
180
|
+
type bundle >/dev/null 2>&1 || gem install --no-document bundler
|
180
181
|
bundler_version=$(bundle --version | cut -d ' ' -f3)
|
181
182
|
bundler_version_major=$(cut -d. -f1 <<< "${bundler_version}")
|
182
183
|
bundler_version_minor=$(cut -d. -f2 <<< "${bundler_version}")
|
@@ -221,7 +222,6 @@ ensure_bundle() {
|
|
221
222
|
# ensure next step installs fresh bundle
|
222
223
|
rm -f Gemfile.lock.installed
|
223
224
|
fi
|
224
|
-
make bundle_install
|
225
225
|
# https://bundler.io/v2.0/bundle_lock.html#SUPPORTING-OTHER-PLATFORMS
|
226
226
|
#
|
227
227
|
# "If you want your bundle to support platforms other than the one
|
@@ -234,6 +234,7 @@ ensure_bundle() {
|
|
234
234
|
# This affects nokogiri, which will try to reinstall itself in
|
235
235
|
# Docker builds where it's already installed if this is not run.
|
236
236
|
bundle lock --add-platform arm64-darwin-23 x86_64-darwin-23 x86_64-linux x86_64-linux-musl aarch64-linux arm64-linux
|
237
|
+
make bundle_install
|
237
238
|
}
|
238
239
|
|
239
240
|
set_ruby_local_version() {
|
@@ -403,8 +404,9 @@ ensure_pyenv_virtualenvs() {
|
|
403
404
|
|
404
405
|
ensure_pip_and_wheel() {
|
405
406
|
# https://cve.mitre.org/cgi-bin/cvename.cgi?name=2023-5752
|
406
|
-
|
407
|
-
|
407
|
+
pip_version=$(pip --version | cut -d' ' -f2)
|
408
|
+
major_pip_version=$(cut -d '.' -f 1 <<< "${pip_version}")
|
409
|
+
minor_pip_version=$(cut -d '.' -f 2 <<< "${pip_version}")
|
408
410
|
if [[ major_pip_version -lt 23 ]]
|
409
411
|
then
|
410
412
|
pip install 'pip>=23.3'
|
@@ -413,7 +415,7 @@ ensure_pip_and_wheel() {
|
|
413
415
|
pip install 'pip>=23.3'
|
414
416
|
fi
|
415
417
|
# wheel is helpful for being able to cache long package builds
|
416
|
-
|
418
|
+
type wheel || pip install wheel
|
417
419
|
}
|
418
420
|
|
419
421
|
ensure_python_requirements() {
|
data/lib/checkoff/version.rb
CHANGED