checkoff 0.136.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e9b8a139f08b5a53da99f785ac0e57bed14e919e43cc56ecf929c3558e4b567
4
- data.tar.gz: 524fd6f5a31e9737403610de5b5e6ae42671e8f157702feeeec79f1154b99c1a
3
+ metadata.gz: 725b9dacf6d77fcbf82da1f222e121a18c9ea9a689fa77f3013a8875b9229c23
4
+ data.tar.gz: e42423592c5aa8e34f27d1e616e1b6ccf60b5f5575d46d1a1515df1a4ad72b7d
5
5
  SHA512:
6
- metadata.gz: df7a2327a7a1e63e15342dadcc6fded785de79c867bc4d9cf0de9b3d0c3c57d639c0908002162a188cd0fa261108b91a33788fd29f159f99f2f4139774f1a636
7
- data.tar.gz: 55ffabad75909f3475ef78d702d6606be979dbce8ecbb3521133ec225651cdb53481ae4e5ddc571b587dbf88b63a1a7e78b3a7b271b43fa49169c15d80b26bad
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.136.0)
15
+ checkoff (0.138.0)
16
16
  activesupport
17
17
  asana (> 0.10.0)
18
18
  cache_method
@@ -32,20 +32,20 @@ GEM
32
32
  minitest (>= 5.1)
33
33
  mutex_m
34
34
  tzinfo (~> 2.0)
35
- addressable (2.8.1)
35
+ addressable (2.8.5)
36
36
  public_suffix (>= 2.0.2, < 6.0)
37
37
  ansi (1.5.0)
38
38
  ast (2.4.2)
39
39
  backport (1.2.0)
40
40
  base64 (0.2.0)
41
- benchmark (0.2.1)
41
+ benchmark (0.3.0)
42
42
  bigdecimal (3.1.4)
43
43
  builder (3.2.4)
44
44
  bump (0.10.0)
45
45
  cache (0.4.1)
46
46
  cache_method (0.2.7)
47
47
  cache (>= 0.2.1)
48
- chef-utils (17.10.0)
48
+ chef-utils (18.3.0)
49
49
  concurrent-ruby
50
50
  childprocess (4.1.0)
51
51
  coderay (1.1.3)
@@ -60,24 +60,30 @@ GEM
60
60
  ruby2_keywords
61
61
  e2mmap (0.1.0)
62
62
  fakeweb (1.3.0)
63
- faraday (1.5.1)
63
+ faraday (1.10.3)
64
64
  faraday-em_http (~> 1.0)
65
65
  faraday-em_synchrony (~> 1.0)
66
66
  faraday-excon (~> 1.1)
67
- faraday-httpclient (~> 1.0.1)
67
+ faraday-httpclient (~> 1.0)
68
+ faraday-multipart (~> 1.0)
68
69
  faraday-net_http (~> 1.0)
69
- faraday-net_http_persistent (~> 1.1)
70
+ faraday-net_http_persistent (~> 1.0)
70
71
  faraday-patron (~> 1.0)
71
- multipart-post (>= 1.2, < 3)
72
+ faraday-rack (~> 1.0)
73
+ faraday-retry (~> 1.0)
72
74
  ruby2_keywords (>= 0.0.4)
73
75
  faraday-em_http (1.0.0)
74
76
  faraday-em_synchrony (1.0.0)
75
77
  faraday-excon (1.1.0)
76
78
  faraday-httpclient (1.0.1)
79
+ faraday-multipart (1.0.4)
80
+ multipart-post (~> 2)
77
81
  faraday-net_http (1.0.1)
78
82
  faraday-net_http_persistent (1.2.0)
79
83
  faraday-patron (1.0.0)
80
- faraday_middleware (1.0.0)
84
+ faraday-rack (1.0.0)
85
+ faraday-retry (1.0.3)
86
+ faraday_middleware (1.2.0)
81
87
  faraday (~> 1.0)
82
88
  faraday_middleware-multi_json (0.0.6)
83
89
  faraday_middleware
@@ -91,22 +97,22 @@ GEM
91
97
  iniparse (1.5.0)
92
98
  jaro_winkler (1.5.6)
93
99
  json (2.6.3)
94
- jwt (2.2.3)
100
+ jwt (2.7.1)
95
101
  kramdown (2.4.0)
96
102
  rexml
97
103
  kramdown-parser-gfm (1.1.0)
98
104
  kramdown (~> 2.0)
99
- mdl (0.12.0)
105
+ language_server-protocol (3.17.0.3)
106
+ mdl (0.13.0)
100
107
  kramdown (~> 2.3)
101
108
  kramdown-parser-gfm (~> 1.1)
102
109
  mixlib-cli (~> 2.1, >= 2.1.1)
103
110
  mixlib-config (>= 2.2.1, < 4)
104
111
  mixlib-shellout
105
112
  method_source (1.0.0)
106
- mini_portile2 (2.8.2)
107
113
  minitest (5.20.0)
108
114
  minitest-profile (0.0.2)
109
- minitest-reporters (1.5.0)
115
+ minitest-reporters (1.6.1)
110
116
  ansi
111
117
  builder
112
118
  minitest (>= 5.0)
@@ -120,14 +126,13 @@ GEM
120
126
  ruby2_keywords (>= 0.0.5)
121
127
  multi_json (1.15.0)
122
128
  multi_xml (0.6.0)
123
- multipart-post (2.1.1)
129
+ multipart-post (2.3.0)
124
130
  mutex_m (0.2.0)
125
- nokogiri (1.15.2)
126
- mini_portile2 (~> 2.8.2)
131
+ nokogiri (1.15.5-arm64-darwin)
127
132
  racc (~> 1.4)
128
- nokogiri (1.15.2-x86_64-darwin)
133
+ nokogiri (1.15.5-x86_64-darwin)
129
134
  racc (~> 1.4)
130
- nokogiri (1.15.2-x86_64-linux)
135
+ nokogiri (1.15.5-x86_64-linux)
131
136
  racc (~> 1.4)
132
137
  oauth2 (1.4.11)
133
138
  faraday (>= 0.17.3, < 3.0)
@@ -140,49 +145,51 @@ GEM
140
145
  iniparse (~> 1.4)
141
146
  rexml (~> 3.2)
142
147
  parallel (1.23.0)
143
- parser (3.2.2.1)
148
+ parser (3.2.2.4)
144
149
  ast (~> 2.4.1)
145
- pry (0.14.1)
150
+ racc
151
+ pry (0.14.2)
146
152
  coderay (~> 1.1)
147
153
  method_source (~> 1.0)
148
- public_suffix (5.0.0)
154
+ public_suffix (5.0.4)
149
155
  punchlist (1.3.0)
150
156
  source_finder (>= 2)
151
- racc (1.7.1)
152
- rack (3.0.6.1)
157
+ racc (1.7.3)
158
+ rack (3.0.8)
153
159
  rainbow (3.1.1)
154
- rake (13.0.3)
160
+ rake (13.1.0)
155
161
  rbs (2.8.4)
156
- regexp_parser (2.8.0)
162
+ regexp_parser (2.8.2)
157
163
  reverse_markdown (2.1.1)
158
164
  nokogiri
159
- rexml (3.2.5)
160
- rubocop (1.52.0)
165
+ rexml (3.2.6)
166
+ rubocop (1.57.2)
161
167
  json (~> 2.3)
168
+ language_server-protocol (>= 3.17.0)
162
169
  parallel (~> 1.10)
163
- parser (>= 3.2.0.0)
170
+ parser (>= 3.2.2.4)
164
171
  rainbow (>= 2.2.2, < 4.0)
165
172
  regexp_parser (>= 1.8, < 3.0)
166
173
  rexml (>= 3.2.5, < 4.0)
167
- rubocop-ast (>= 1.28.0, < 2.0)
174
+ rubocop-ast (>= 1.28.1, < 2.0)
168
175
  ruby-progressbar (~> 1.7)
169
176
  unicode-display_width (>= 2.4.0, < 3.0)
170
- rubocop-ast (1.29.0)
177
+ rubocop-ast (1.30.0)
171
178
  parser (>= 3.2.1.0)
172
- rubocop-minitest (0.12.1)
173
- rubocop (>= 0.90, < 2.0)
174
- rubocop-rake (0.5.1)
175
- rubocop
176
- ruby-progressbar (1.11.0)
179
+ rubocop-minitest (0.33.0)
180
+ rubocop (>= 1.39, < 2.0)
181
+ rubocop-rake (0.6.0)
182
+ rubocop (~> 1.0)
183
+ ruby-progressbar (1.13.0)
177
184
  ruby2_keywords (0.0.5)
178
- rugged (1.5.0.1)
179
- simplecov (0.21.2)
185
+ rugged (1.6.3)
186
+ simplecov (0.22.0)
180
187
  docile (~> 1.1)
181
188
  simplecov-html (~> 0.11)
182
189
  simplecov_json_formatter (~> 0.1)
183
190
  simplecov-html (0.12.3)
184
191
  simplecov-lcov (0.8.0)
185
- simplecov_json_formatter (0.1.3)
192
+ simplecov_json_formatter (0.1.4)
186
193
  solargraph (0.49.0)
187
194
  backport (~> 1.2)
188
195
  benchmark
@@ -200,27 +207,25 @@ GEM
200
207
  tilt (~> 2.0)
201
208
  yard (~> 0.9, >= 0.9.24)
202
209
  source_finder (3.2.1)
203
- thor (1.2.2)
204
- tilt (2.2.0)
210
+ thor (1.3.0)
211
+ tilt (2.3.0)
205
212
  tomlrb (2.0.3)
206
213
  tzinfo (2.0.6)
207
214
  concurrent-ruby (~> 1.0)
208
- undercover (0.4.5)
215
+ undercover (0.4.6)
209
216
  imagen (>= 0.1.8)
210
217
  rainbow (>= 2.1, < 4.0)
211
- rugged (>= 0.27, < 1.6)
212
- unicode-display_width (2.4.2)
213
- webmock (3.18.1)
218
+ rugged (>= 0.27, < 1.7)
219
+ unicode-display_width (2.5.0)
220
+ webmock (3.19.1)
214
221
  addressable (>= 2.8.0)
215
222
  crack (>= 0.3.2)
216
223
  hashdiff (>= 0.4.0, < 2.0.0)
217
224
  yard (0.9.34)
218
225
 
219
226
  PLATFORMS
220
- ruby
221
- x86_64-darwin-19
222
- x86_64-darwin-20
223
- x86_64-darwin-21
227
+ arm64-darwin-23
228
+ x86_64-darwin-23
224
229
  x86_64-linux
225
230
  x86_64-linux-musl
226
231
 
@@ -250,4 +255,4 @@ DEPENDENCIES
250
255
  yard
251
256
 
252
257
  BUNDLED WITH
253
- 2.3.26
258
+ 2.2.33
data/config/env.1p ADDED
File without changes
@@ -1,5 +1,7 @@
1
1
  {
2
+ "_checkout": null,
2
3
  "_output_dir": "/Users/broz/src/checkoff/.git/cookiecutter",
4
+ "_repo_dir": "/Users/broz/.cookiecutters/cookiecutter-gem",
3
5
  "_template": "https://github.com/apiology/cookiecutter-gem",
4
6
  "email": "vince@broz.cc",
5
7
  "full_name": "Vince Broz",
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.136.0'
6
+ VERSION = '0.138.0'
7
7
  end
@@ -3,6 +3,6 @@
3
3
  desc 'Ensure PR changes are fully covered by tests'
4
4
  task :undercover do |_t|
5
5
  ret =
6
- system('undercover --compare origin/main')
6
+ system('if git branch -r | grep origin/main; then undercover --compare origin/main; fi')
7
7
  raise unless ret
8
8
  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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: checkoff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.136.0
4
+ version: 0.138.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: 2023-11-25 00:00:00.000000000 Z
11
+ date: 2023-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -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