checkoff 0.213.0 → 0.214.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: aeb9d34366fc0ca26614cd8d25941a680ba7fb0fb5fca6e1ffd4c0fc12a2b778
4
- data.tar.gz: fc51855eabddefea447704e85fdb9f28eda888fd9a1abe7c435f4885dec6c90e
3
+ metadata.gz: a5198dc08520f7837cba69dad84b9d2045d92255f2e6de626543619ea974e27e
4
+ data.tar.gz: 71810fc8bd1f67198a3f4bd4d02573992ab3b4bee2239a82d63be645a3342d0b
5
5
  SHA512:
6
- metadata.gz: a841034f314c778221fa2b614bcdc39bb40f665a998123d58f61a0a80622b2e1ce9caabc2ce5741fcb4f74dae7ff6b96e0607b8f2d64813eb71c2f2e7f670f30
7
- data.tar.gz: 678ce73f44ac1afdae1361d6e53d71ff688a0b8d0d92ad14a5b5d6f2b1de9d8b315e865194f6b12e5e0676f2c1c3878fdbcc62d38a6aa8efe5f7fde90e3db97e
6
+ metadata.gz: 7e0fed093e0d205fe01b39982b4cced95ab312e04211cef0a5eacf96d50678c50bf538adea04aef446aab14120582f93bf702e05ad7ba2189385002eb51efa35
7
+ data.tar.gz: 9ac889b3320d9ddd45c4261cf28e575a7400c56186e757c4baa82cda9366d157a5c8aa2687970b1f357a380987504ac7bebce91b2cc7cf9df9d11b19acfcc934
data/.circleci/config.yml CHANGED
@@ -48,20 +48,14 @@ commands:
48
48
  done
49
49
  - restore_cache:
50
50
  keys:
51
- - rbenv-v3-{{ checksum "Gemfile.lock" }}-
52
- - rbenv-v3-
51
+ - rbenv-v4-{{ checksum "Gemfile.lock" }}-
52
+ - rbenv-v4-
53
53
  - rbenv-
54
- - ruby-
55
54
  - restore_cache:
56
55
  keys:
57
56
  - pyenv-v2-{{ checksum "requirements_dev.txt" }}-
58
57
  - pyenv-v2-
59
58
  - pyenv-
60
- - restore_cache:
61
- keys:
62
- - solargraph-v1-{{ checksum "Gemfile.lock" }}-
63
- - solargraph-v1-
64
- - solargraph-
65
59
  - run:
66
60
  name: Initialize packages
67
61
  command: |
@@ -87,13 +81,14 @@ commands:
87
81
  exit 1
88
82
  fi
89
83
  - save_cache:
90
- key: rbenv-v3-{{ checksum "Gemfile.lock" }}-{{ checksum ".ruby-version" }}
84
+ key: rbenv-v4-{{ checksum "Gemfile.lock" }}-{{ checksum ".ruby-version" }}
91
85
  paths:
92
86
  - "Gemfile.lock.installed"
93
87
  - "types.installed"
94
88
  - "vendor/bundle"
95
89
  - "/home/circleci/.rbenv"
96
90
  - ".yardoc"
91
+ - "/home/circleci/.cache/solargraph"
97
92
  - save_cache:
98
93
  key: pyenv-v2-{{ checksum "requirements_dev.txt" }}-{{ checksum ".python-version" }}
99
94
  paths:
@@ -231,10 +226,6 @@ jobs:
231
226
  # - run_with_languages:
232
227
  # label: Typecheck
233
228
  # command: make citypecheck citypecoverage
234
- - save_cache:
235
- key: solargraph-v1-{{ checksum "Gemfile.lock" }}-{{ checksum ".ruby-version" }}
236
- paths:
237
- - "/home/circleci/.cache/solargraph"
238
229
  - run_with_languages:
239
230
  label: Test
240
231
  command: |
data/.gitignore CHANGED
@@ -41,6 +41,7 @@ Temporary Items
41
41
  # Used by Makefile to track what we have and haven't installed
42
42
  Gemfile.lock.installed
43
43
  requirements_dev.txt.installed
44
+ types.installed
44
45
 
45
46
  # Used by CircleCI as a place to store installed gems
46
47
  /vendor
data/Gemfile.lock CHANGED
@@ -43,7 +43,7 @@ GIT
43
43
  PATH
44
44
  remote: .
45
45
  specs:
46
- checkoff (0.213.0)
46
+ checkoff (0.214.0)
47
47
  activesupport
48
48
  asana (> 0.10.0)
49
49
  cache_method
data/fix.sh CHANGED
@@ -195,19 +195,23 @@ ensure_bundle() {
195
195
  #
196
196
  # https://app.circleci.com/pipelines/github/apiology/source_finder/21/workflows/88db659f-a4f4-4751-abc0-46f5929d8e58/jobs/107
197
197
  set_rbenv_env_variables
198
- type bundle >/dev/null 2>&1 || gem install --no-document bundler
199
- bundler_version="$(ruby -e 'require "rubygems"; puts Gem::BundlerVersionFinder.bundler_version')"
198
+
199
+ bundler_version=$(ruby -e 'require "rubygems/bundler_version_finder"; puts Gem::BundlerVersionFinder.bundler_version')
200
+ # if bundler_version is empty
201
+ if [ -z "${bundler_version}" ]
202
+ then
203
+ bundler_version=$(bundle --version | cut -d ' ' -f 3)
204
+ fi
205
+ # if bundler_version is still empty
206
+ if [ -z "${bundler_version}" ]
207
+ then
208
+ gem install bundler
209
+ bundler_version=$(bundle --version | cut -d ' ' -f 3)
210
+ fi
211
+ echo "Bundler version: ${bundler_version}"
200
212
  bundler_version_major=$(cut -d. -f1 <<< "${bundler_version}")
201
213
  bundler_version_minor=$(cut -d. -f2 <<< "${bundler_version}")
202
214
  bundler_version_patch=$(cut -d. -f3 <<< "${bundler_version}")
203
- # Version 2.1 of bundler seems to have some issues with nokogiri:
204
- #
205
- # https://app.asana.com/0/1107901397356088/1199504270687298
206
-
207
- # Version <2.2.22 of bundler isn't compatible with Ruby 3.3:
208
- #
209
- # https://stackoverflow.com/questions/70800753/rails-calling-didyoumeanspell-checkers-mergeerror-name-spell-checker-h
210
- #
211
215
  #
212
216
  # Version 2.5.5 fixed an issue in 2.2.22 with the 'bump' gem:
213
217
  #
@@ -482,16 +486,16 @@ ensure_rugged_packages_installed() {
482
486
  echo "Current directory"
483
487
  pwd
484
488
  echo "Vendor dir"
485
- ls -l vendor
489
+ ls -l vendor || true
486
490
  echo "List of vendor/bundle/gems:"
487
- ls vendor/bundle/gems
491
+ ls vendor/bundle/gems || true
488
492
  echo "Did not find rugged gem installed; installing packages needed for rugged"
489
493
  echo "Installed gems:"
490
494
  gem list
491
495
  echo "Gem environment:"
492
496
  gem environment
493
497
  echo "Bundle list:"
494
- bundle list
498
+ bundle list || true
495
499
  ensure_binary_library libicuio icu4c libicu-dev # needed by rugged, needed by undercover
496
500
  ensure_package pkg-config # needed by rugged, needed by undercover
497
501
  ensure_package cmake # needed by rugged, needed by undercover
@@ -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.213.0'
6
+ VERSION = '0.214.0'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: checkoff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.213.0
4
+ version: 0.214.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vince Broz
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-12-07 00:00:00.000000000 Z
11
+ date: 2024-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport