checkoff 0.137.0 → 0.138.0
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/.envrc +4 -0
- data/.gitignore +0 -3
- data/Gemfile.lock +2 -2
- data/config/env.1p +0 -0
- data/fix.sh +26 -7
- data/lib/checkoff/version.rb +1 -1
- data/requirements_dev.txt +1 -1
- metadata +3 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 725b9dacf6d77fcbf82da1f222e121a18c9ea9a689fa77f3013a8875b9229c23
|
|
4
|
+
data.tar.gz: e42423592c5aa8e34f27d1e616e1b6ccf60b5f5575d46d1a1515df1a4ad72b7d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e1e5ac1ec0223672681d984c3ec081811bb651f0b3cb48bb557f8924968ad82d37cc6cadca5c67d5a19f531d9c1dbe1a960cac73f98a643e1063287955123596
|
|
7
|
+
data.tar.gz: d43024f89975c216f429b7c12f9ccde0d1bc87f13c2d48d25ff52d519bdb2b80515ea8aaa5750d0f43a526982e4404b77fe304e64c766de3d79c0f7e294d875c
|
data/.envrc
ADDED
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -12,7 +12,7 @@ GIT
|
|
|
12
12
|
PATH
|
|
13
13
|
remote: .
|
|
14
14
|
specs:
|
|
15
|
-
checkoff (0.
|
|
15
|
+
checkoff (0.138.0)
|
|
16
16
|
activesupport
|
|
17
17
|
asana (> 0.10.0)
|
|
18
18
|
cache_method
|
|
@@ -225,7 +225,7 @@ GEM
|
|
|
225
225
|
|
|
226
226
|
PLATFORMS
|
|
227
227
|
arm64-darwin-23
|
|
228
|
-
x86_64-darwin-
|
|
228
|
+
x86_64-darwin-23
|
|
229
229
|
x86_64-linux
|
|
230
230
|
x86_64-linux-musl
|
|
231
231
|
|
data/config/env.1p
ADDED
|
File without changes
|
data/fix.sh
CHANGED
|
@@ -183,7 +183,7 @@ ensure_bundle() {
|
|
|
183
183
|
#
|
|
184
184
|
# This affects nokogiri, which will try to reinstall itself in
|
|
185
185
|
# Docker builds where it's already installed if this is not run.
|
|
186
|
-
for platform in x86_64-darwin-
|
|
186
|
+
for platform in arm64-darwin-23 x86_64-darwin-23 x86_64-linux x86_64-linux-musl
|
|
187
187
|
do
|
|
188
188
|
grep "${platform:?}" Gemfile.lock >/dev/null 2>&1 || bundle lock --add-platform "${platform:?}"
|
|
189
189
|
done
|
|
@@ -253,7 +253,23 @@ install_package() {
|
|
|
253
253
|
apt_package=${2:-${homebrew_package}}
|
|
254
254
|
if [ "$(uname)" == "Darwin" ]
|
|
255
255
|
then
|
|
256
|
-
HOMEBREW_NO_AUTO_UPDATE=1 brew install "${homebrew_package}"
|
|
256
|
+
HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALL_UPGRADE=1 brew install "${homebrew_package}"
|
|
257
|
+
elif type apt-get >/dev/null 2>&1
|
|
258
|
+
then
|
|
259
|
+
update_apt
|
|
260
|
+
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y "${apt_package}"
|
|
261
|
+
else
|
|
262
|
+
>&2 echo "Teach me how to install packages on this plaform"
|
|
263
|
+
exit 1
|
|
264
|
+
fi
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
update_package() {
|
|
268
|
+
homebrew_package=${1:?homebrew package}
|
|
269
|
+
apt_package=${2:-${homebrew_package}}
|
|
270
|
+
if [ "$(uname)" == "Darwin" ]
|
|
271
|
+
then
|
|
272
|
+
brew install "${homebrew_package}"
|
|
257
273
|
elif type apt-get >/dev/null 2>&1
|
|
258
274
|
then
|
|
259
275
|
update_apt
|
|
@@ -279,7 +295,7 @@ ensure_python_build_requirements() {
|
|
|
279
295
|
ensure_python_versions() {
|
|
280
296
|
# You can find out which feature versions are still supported / have
|
|
281
297
|
# been release here: https://www.python.org/downloads/
|
|
282
|
-
python_versions="$(latest_python_version 3.
|
|
298
|
+
python_versions="$(latest_python_version 3.12)"
|
|
283
299
|
|
|
284
300
|
echo "Latest Python versions: ${python_versions}"
|
|
285
301
|
|
|
@@ -316,12 +332,15 @@ ensure_pyenv_virtualenvs() {
|
|
|
316
332
|
}
|
|
317
333
|
|
|
318
334
|
ensure_pip_and_wheel() {
|
|
319
|
-
#
|
|
320
|
-
# for macOS, so let's make sure we're using at least that version
|
|
335
|
+
# https://cve.mitre.org/cgi-bin/cvename.cgi?name=2023-5752
|
|
321
336
|
major_pip_version=$(pip --version | cut -d' ' -f2 | cut -d '.' -f 1)
|
|
322
|
-
|
|
337
|
+
minor_pip_version=$(pip --version | cut -d' ' -f2 | cut -d '.' -f 2)
|
|
338
|
+
if [[ major_pip_version -lt 23 ]]
|
|
339
|
+
then
|
|
340
|
+
pip install 'pip>=23.3'
|
|
341
|
+
elif [[ major_pip_version -eq 23 ]] && [[ minor_pip_version -lt 3 ]]
|
|
323
342
|
then
|
|
324
|
-
|
|
343
|
+
pip install 'pip>=23.3'
|
|
325
344
|
fi
|
|
326
345
|
# wheel is helpful for being able to cache long package builds
|
|
327
346
|
pip show wheel >/dev/null 2>&1 || pip install wheel
|
data/lib/checkoff/version.rb
CHANGED
data/requirements_dev.txt
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
pip==
|
|
1
|
+
pip==23.3.1
|
|
2
2
|
yamllint==1.29.0
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: checkoff
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.138.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vince Broz
|
|
@@ -89,6 +89,7 @@ extensions: []
|
|
|
89
89
|
extra_rdoc_files: []
|
|
90
90
|
files:
|
|
91
91
|
- ".circleci/config.yml"
|
|
92
|
+
- ".envrc"
|
|
92
93
|
- ".git-hooks/pre_commit/circle_ci.rb"
|
|
93
94
|
- ".git-hooks/pre_commit/punchlist.rb"
|
|
94
95
|
- ".git-hooks/pre_commit/solargraph_typecheck.rb"
|
|
@@ -121,6 +122,7 @@ files:
|
|
|
121
122
|
- bin/yard
|
|
122
123
|
- checkoff.gemspec
|
|
123
124
|
- config/definitions.rb
|
|
125
|
+
- config/env.1p
|
|
124
126
|
- docs/.gitignore
|
|
125
127
|
- docs/cookiecutter_input.json
|
|
126
128
|
- docs/example_project.png
|