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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8f1cb26091feb7ac1d3e4812caed8439bb2a6ec1822e57754c4c99d19f3faf02
4
- data.tar.gz: 1eba133f0cb27a6e93140bc080f13ecb9e9a365fc645dd4878317c61dc0721d7
3
+ metadata.gz: 34132f08545178fb734e53d13dfd7c26beb191e250271f2a93bea9339a85c5e6
4
+ data.tar.gz: ab5ac20f30aa186f4d1644b79dd8cc295e90d27add1f92a4bc26546dda9c2d33
5
5
  SHA512:
6
- metadata.gz: 1edac2e8d09a16b607eafac77a29c258ebb7b2ab639d08e1c5e695756573c93adabc4fa44636acf038e400fb7360e6c6af02f07600dbd2cb950c05e8b23435e4
7
- data.tar.gz: 3acddc855965a45a9c48f256b5e8d4728510dcaa25bbbd32f64c35e91b7355ad8fd582975387bee14d46d646bedb60a2aa7a32b788e2c0b50b1f3374085cea7f
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-v3-{{ checksum "Gemfile.lock" }}-
40
- - gems-v3-
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-v3-{{ checksum "Gemfile.lock" }}-{{ checksum ".ruby-version" }}
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
@@ -43,7 +43,7 @@ GIT
43
43
  PATH
44
44
  remote: .
45
45
  specs:
46
- checkoff (0.210.0)
46
+ checkoff (0.212.0)
47
47
  activesupport
48
48
  asana (> 0.10.0)
49
49
  cache_method
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; bundle exec yard gems --safe 2>&1; 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=$(ruby -e "puts (Time.now.to_f * 1000).to_i")
11
+ _lastcmd=$(gdate +%s%3N)
11
12
  last_command='start'
12
13
  # shellcheck disable=SC2154
13
- trap '_now=$(ruby -e "puts (Time.now.to_f * 1000).to_i"); duration=$((_now - _lastcmd)); echo ${duration} ms: $last_command >> '"${FIX_SH_TIMING_LOG}"'; last_command="$BASH_COMMAND" >> '"${FIX_SH_TIMING_LOG}"'; _lastcmd=$_now' DEBUG
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 --version >/dev/null 2>&1 || gem install --no-document bundler
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
- major_pip_version=$(pip --version | cut -d' ' -f2 | cut -d '.' -f 1)
407
- minor_pip_version=$(pip --version | cut -d' ' -f2 | cut -d '.' -f 2)
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
- pip show wheel >/dev/null 2>&1 || pip install wheel
418
+ type wheel || pip install wheel
417
419
  }
418
420
 
419
421
  ensure_python_requirements() {
@@ -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.210.0'
6
+ VERSION = '0.212.0'
7
7
  end
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.210.0
4
+ version: 0.212.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vince Broz