checkoff 0.137.0 → 0.138.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b75046e9e2de82881b24ed37db7f389316eb4eac46e49f103efe683464c4e3b4
4
- data.tar.gz: 948e5c8574d4a106cc0e67177acdb508e379b7c17c9e792363b6ef1937aea882
3
+ metadata.gz: 725b9dacf6d77fcbf82da1f222e121a18c9ea9a689fa77f3013a8875b9229c23
4
+ data.tar.gz: e42423592c5aa8e34f27d1e616e1b6ccf60b5f5575d46d1a1515df1a4ad72b7d
5
5
  SHA512:
6
- metadata.gz: '0827ac174b2edf98815dc63a6f59e648b00cc57cdc0ca885edb420b72bb54c19a9000d5519fa87a54fe75f6c8c350c322f3250e47f046f8ffb471846b8509f4e'
7
- data.tar.gz: 0cdc0019d24ac16ffb2a89136a83bc667b574341640c3f2d5b4a4f3363d0ba38a25370b3cbaa3e04554399c4411788f88e4e2c87ba6326dc9809f97f90eb6321
6
+ metadata.gz: e1e5ac1ec0223672681d984c3ec081811bb651f0b3cb48bb557f8924968ad82d37cc6cadca5c67d5a19f531d9c1dbe1a960cac73f98a643e1063287955123596
7
+ data.tar.gz: d43024f89975c216f429b7c12f9ccde0d1bc87f13c2d48d25ff52d519bdb2b80515ea8aaa5750d0f43a526982e4404b77fe304e64c766de3d79c0f7e294d875c
data/.envrc ADDED
@@ -0,0 +1,4 @@
1
+ # shellcheck shell=bash
2
+ PATH_add bin
3
+
4
+ direnv_load op run --cache --env-file=config/env.1p -- direnv dump
data/.gitignore CHANGED
@@ -58,6 +58,3 @@ requirements_dev.txt.installed
58
58
  /spec/reports/
59
59
  /tmp/
60
60
  /coverage/
61
-
62
- # direnv
63
- /.envrc
data/Gemfile.lock CHANGED
@@ -12,7 +12,7 @@ GIT
12
12
  PATH
13
13
  remote: .
14
14
  specs:
15
- checkoff (0.137.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-21
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-21 x86_64-linux x86_64-linux-musl
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.11)"
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
- # pip 22 seems to be better at finding pandas pre-compiled wheels
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
- if [[ major_pip_version -lt 21 ]]
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
- pip install 'pip>=22'
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
@@ -3,5 +3,5 @@
3
3
  # Command-line and gem client for Asana (unofficial)
4
4
  module Checkoff
5
5
  # Version of library
6
- VERSION = '0.137.0'
6
+ VERSION = '0.138.0'
7
7
  end
data/requirements_dev.txt CHANGED
@@ -1,2 +1,2 @@
1
- pip==21.1.3
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.137.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