checkoff 0.222.0 → 0.225.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (260) hide show
  1. checksums.yaml +4 -4
  2. data/checkoff.gemspec +10 -5
  3. data/lib/checkoff/attachments.rb +1 -0
  4. data/lib/checkoff/cli.rb +1 -1
  5. data/lib/checkoff/clients.rb +2 -1
  6. data/lib/checkoff/custom_fields.rb +2 -1
  7. data/lib/checkoff/events.rb +2 -1
  8. data/lib/checkoff/internal/asana_event_enrichment.rb +1 -0
  9. data/lib/checkoff/internal/asana_event_filter.rb +1 -0
  10. data/lib/checkoff/internal/config_loader.rb +2 -2
  11. data/lib/checkoff/internal/logging.rb +6 -5
  12. data/lib/checkoff/internal/project_hashes.rb +1 -0
  13. data/lib/checkoff/internal/project_selector_evaluator.rb +2 -1
  14. data/lib/checkoff/internal/project_timing.rb +1 -0
  15. data/lib/checkoff/internal/search_url/custom_field_param_converter.rb +1 -0
  16. data/lib/checkoff/internal/search_url/custom_field_variant.rb +1 -0
  17. data/lib/checkoff/internal/search_url/date_param_converter.rb +1 -0
  18. data/lib/checkoff/internal/search_url/parser.rb +1 -0
  19. data/lib/checkoff/internal/search_url/results_merger.rb +1 -0
  20. data/lib/checkoff/internal/search_url/simple_param_converter.rb +1 -0
  21. data/lib/checkoff/internal/search_url.rb +1 -0
  22. data/lib/checkoff/internal/section_selector_evaluator.rb +2 -1
  23. data/lib/checkoff/internal/selector_classes/common/function_evaluator.rb +1 -0
  24. data/lib/checkoff/internal/selector_classes/common.rb +1 -0
  25. data/lib/checkoff/internal/selector_classes/function_evaluator.rb +1 -0
  26. data/lib/checkoff/internal/selector_classes/project/function_evaluator.rb +1 -0
  27. data/lib/checkoff/internal/selector_classes/project.rb +1 -0
  28. data/lib/checkoff/internal/selector_classes/section/function_evaluator.rb +3 -1
  29. data/lib/checkoff/internal/selector_classes/section.rb +1 -0
  30. data/lib/checkoff/internal/selector_classes/task/function_evaluator.rb +1 -0
  31. data/lib/checkoff/internal/selector_classes/task.rb +1 -0
  32. data/lib/checkoff/internal/selector_evaluator.rb +5 -4
  33. data/lib/checkoff/internal/task_hashes.rb +1 -0
  34. data/lib/checkoff/internal/task_selector_evaluator.rb +2 -1
  35. data/lib/checkoff/internal/task_timing.rb +1 -0
  36. data/lib/checkoff/internal/thread_local.rb +1 -0
  37. data/lib/checkoff/monkeypatches/resource_marshalling.rb +1 -0
  38. data/lib/checkoff/my_tasks.rb +2 -1
  39. data/lib/checkoff/portfolios.rb +12 -9
  40. data/lib/checkoff/project_selectors.rb +1 -0
  41. data/lib/checkoff/projects.rb +3 -1
  42. data/lib/checkoff/resources.rb +1 -0
  43. data/lib/checkoff/section_selectors.rb +1 -0
  44. data/lib/checkoff/sections.rb +4 -4
  45. data/lib/checkoff/subtasks.rb +1 -0
  46. data/lib/checkoff/tags.rb +67 -17
  47. data/lib/checkoff/task_searches.rb +1 -0
  48. data/lib/checkoff/task_selectors.rb +1 -0
  49. data/lib/checkoff/tasks.rb +2 -2
  50. data/lib/checkoff/timelines.rb +1 -0
  51. data/lib/checkoff/timing.rb +1 -0
  52. data/lib/checkoff/version.rb +2 -1
  53. data/lib/checkoff/workspaces.rb +2 -1
  54. data/lib/checkoff.rb +1 -0
  55. data/rbi/checkoff.rbi +4529 -0
  56. data/sig/checkoff.rbs +3749 -0
  57. metadata +4 -205
  58. data/.circleci/config.yml +0 -291
  59. data/.envrc +0 -9
  60. data/.git-hooks/pre_commit/circle_ci.rb +0 -25
  61. data/.git-hooks/pre_commit/punchlist.rb +0 -51
  62. data/.git-hooks/pre_commit/solargraph_typecheck.rb +0 -76
  63. data/.gitattributes +0 -6
  64. data/.gitignore +0 -61
  65. data/.markdownlint_style.rb +0 -3
  66. data/.mdlrc +0 -1
  67. data/.overcommit.yml +0 -114
  68. data/.rubocop.yml +0 -143
  69. data/.rubocop_todo.yml +0 -90
  70. data/.solargraph.yml +0 -35
  71. data/.yamllint.yml +0 -8
  72. data/CODE_OF_CONDUCT.md +0 -133
  73. data/CONTRIBUTING.rst +0 -75
  74. data/DEVELOPMENT.md +0 -69
  75. data/GLOSSARY.md +0 -16
  76. data/Gemfile +0 -66
  77. data/Gemfile.lock +0 -336
  78. data/LICENSE +0 -21
  79. data/Makefile +0 -121
  80. data/bin/brakeman +0 -27
  81. data/bin/bump +0 -29
  82. data/bin/checkoff +0 -29
  83. data/bin/console +0 -15
  84. data/bin/overcommit +0 -29
  85. data/bin/overcommit_branch +0 -114
  86. data/bin/rake +0 -29
  87. data/bin/rubocop +0 -27
  88. data/bin/setup +0 -8
  89. data/bin/solargraph +0 -27
  90. data/bin/sord +0 -27
  91. data/bin/spoom +0 -27
  92. data/bin/srb +0 -27
  93. data/bin/srb-rbi +0 -27
  94. data/bin/tapioca +0 -27
  95. data/bin/yard +0 -27
  96. data/config/annotations_asana.rb +0 -254
  97. data/config/annotations_misc.rb +0 -68
  98. data/config/env.1p +0 -2
  99. data/docs/.gitignore +0 -3
  100. data/docs/cookiecutter_input.json +0 -17
  101. data/docs/example_project.png +0 -0
  102. data/fix.sh +0 -534
  103. data/metrics/bigfiles_high_water_mark +0 -1
  104. data/metrics/brakeman_high_water_mark +0 -1
  105. data/metrics/bundle-audit_high_water_mark +0 -1
  106. data/metrics/cane_high_water_mark +0 -1
  107. data/metrics/eslint_high_water_mark +0 -1
  108. data/metrics/flake8_high_water_mark +0 -1
  109. data/metrics/flay_high_water_mark +0 -1
  110. data/metrics/flog_high_water_mark +0 -1
  111. data/metrics/jscs_high_water_mark +0 -1
  112. data/metrics/mdl_high_water_mark +0 -1
  113. data/metrics/pep8_high_water_mark +0 -1
  114. data/metrics/punchlist_high_water_mark +0 -1
  115. data/metrics/pycodestyle_high_water_mark +0 -1
  116. data/metrics/rails_best_practices_high_water_mark +0 -1
  117. data/metrics/rubocop_high_water_mark +0 -1
  118. data/metrics/scalastyle_high_water_mark +0 -1
  119. data/metrics/shellcheck_high_water_mark +0 -1
  120. data/package.json +0 -9
  121. data/rakelib/citest.rake +0 -4
  122. data/rakelib/clear_metrics.rake +0 -9
  123. data/rakelib/console.rake +0 -15
  124. data/rakelib/default.rake +0 -4
  125. data/rakelib/doc.rake +0 -6
  126. data/rakelib/gem_tasks.rake +0 -3
  127. data/rakelib/localtest.rake +0 -4
  128. data/rakelib/overcommit.rake +0 -6
  129. data/rakelib/quality.rake +0 -4
  130. data/rakelib/repl.rake +0 -4
  131. data/rakelib/test.rake +0 -10
  132. data/rakelib/trigger_next_builds.rake +0 -7
  133. data/rakelib/undercover.rake +0 -8
  134. data/requirements_dev.txt +0 -2
  135. data/sorbet/config +0 -4
  136. data/sorbet/rbi/annotations/.gitattributes +0 -1
  137. data/sorbet/rbi/annotations/activesupport.rbi +0 -453
  138. data/sorbet/rbi/annotations/faraday.rbi +0 -17
  139. data/sorbet/rbi/annotations/minitest.rbi +0 -119
  140. data/sorbet/rbi/annotations/mocha.rbi +0 -34
  141. data/sorbet/rbi/annotations/rainbow.rbi +0 -269
  142. data/sorbet/rbi/annotations/webmock.rbi +0 -9
  143. data/sorbet/rbi/dsl/.gitattributes +0 -1
  144. data/sorbet/rbi/dsl/active_support/callbacks.rbi +0 -23
  145. data/sorbet/rbi/gems/.gitattributes +0 -1
  146. data/sorbet/rbi/gems/activesupport@7.1.5.rbi +0 -18746
  147. data/sorbet/rbi/gems/addressable@2.8.6.rbi +0 -1994
  148. data/sorbet/rbi/gems/ansi@1.5.0.rbi +0 -688
  149. data/sorbet/rbi/gems/asana@0.10.6-ab9393136d9ca59b75e42a661fdddc1c65c8f7c3.rbi +0 -6142
  150. data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -585
  151. data/sorbet/rbi/gems/backport@1.2.0.rbi +0 -523
  152. data/sorbet/rbi/gems/base64@0.2.0.rbi +0 -509
  153. data/sorbet/rbi/gems/benchmark@0.4.0.rbi +0 -618
  154. data/sorbet/rbi/gems/bigdecimal@3.1.5.rbi +0 -78
  155. data/sorbet/rbi/gems/brakeman@6.2.2.rbi +0 -222
  156. data/sorbet/rbi/gems/builder@3.2.4.rbi +0 -505
  157. data/sorbet/rbi/gems/bump@0.10.0.rbi +0 -169
  158. data/sorbet/rbi/gems/cache@0.4.1.rbi +0 -211
  159. data/sorbet/rbi/gems/cache_method@0.2.7.rbi +0 -293
  160. data/sorbet/rbi/gems/chef-utils@18.3.0.rbi +0 -9
  161. data/sorbet/rbi/gems/childprocess@5.1.0.rbi +0 -383
  162. data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -3427
  163. data/sorbet/rbi/gems/concurrent-ruby@1.2.3.rbi +0 -11591
  164. data/sorbet/rbi/gems/connection_pool@2.4.1.rbi +0 -9
  165. data/sorbet/rbi/gems/crack@0.4.5.rbi +0 -145
  166. data/sorbet/rbi/gems/diff-lcs@1.5.1.rbi +0 -969
  167. data/sorbet/rbi/gems/docile@1.4.0.rbi +0 -377
  168. data/sorbet/rbi/gems/drb@2.2.1.rbi +0 -1347
  169. data/sorbet/rbi/gems/e2mmap@0.1.0.rbi +0 -9
  170. data/sorbet/rbi/gems/erubi@1.13.0.rbi +0 -152
  171. data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +0 -222
  172. data/sorbet/rbi/gems/faraday-em_synchrony@1.0.0.rbi +0 -126
  173. data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +0 -136
  174. data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +0 -145
  175. data/sorbet/rbi/gems/faraday-multipart@1.0.4.rbi +0 -259
  176. data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +0 -142
  177. data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +0 -118
  178. data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +0 -125
  179. data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +0 -133
  180. data/sorbet/rbi/gems/faraday-retry@1.0.3.rbi +0 -198
  181. data/sorbet/rbi/gems/faraday@1.10.3.rbi +0 -2729
  182. data/sorbet/rbi/gems/faraday_middleware-multi_json@0.0.6.rbi +0 -29
  183. data/sorbet/rbi/gems/faraday_middleware@1.2.0.rbi +0 -1004
  184. data/sorbet/rbi/gems/gli@2.22.0.rbi +0 -9
  185. data/sorbet/rbi/gems/hashdiff@1.0.1.rbi +0 -351
  186. data/sorbet/rbi/gems/i18n@1.14.6.rbi +0 -2359
  187. data/sorbet/rbi/gems/imagen@0.1.8.rbi +0 -340
  188. data/sorbet/rbi/gems/iniparse@1.5.0.rbi +0 -899
  189. data/sorbet/rbi/gems/jaro_winkler@1.6.0.rbi +0 -22
  190. data/sorbet/rbi/gems/json@2.7.1.rbi +0 -1562
  191. data/sorbet/rbi/gems/jwt@2.7.1.rbi +0 -1405
  192. data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +0 -128
  193. data/sorbet/rbi/gems/kramdown@2.4.0.rbi +0 -3272
  194. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +0 -14238
  195. data/sorbet/rbi/gems/logger@1.6.2.rbi +0 -923
  196. data/sorbet/rbi/gems/mdl@0.13.0.rbi +0 -445
  197. data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -273
  198. data/sorbet/rbi/gems/mime-types-data@3.2023.1205.rbi +0 -127
  199. data/sorbet/rbi/gems/mime-types@3.5.1.rbi +0 -1252
  200. data/sorbet/rbi/gems/minitest-profile@0.0.2.rbi +0 -136
  201. data/sorbet/rbi/gems/minitest-reporters@1.6.1.rbi +0 -1014
  202. data/sorbet/rbi/gems/minitest@5.21.1.rbi +0 -1539
  203. data/sorbet/rbi/gems/mixlib-cli@2.1.8.rbi +0 -314
  204. data/sorbet/rbi/gems/mixlib-config@3.0.27.rbi +0 -581
  205. data/sorbet/rbi/gems/mixlib-shellout@3.2.7.rbi +0 -629
  206. data/sorbet/rbi/gems/mocha@2.1.0.rbi +0 -12
  207. data/sorbet/rbi/gems/multi_json@1.15.0.rbi +0 -268
  208. data/sorbet/rbi/gems/multi_xml@0.6.0.rbi +0 -102
  209. data/sorbet/rbi/gems/multipart-post@2.3.0.rbi +0 -234
  210. data/sorbet/rbi/gems/mutex_m@0.3.0.rbi +0 -97
  211. data/sorbet/rbi/gems/netrc@0.11.0.rbi +0 -159
  212. data/sorbet/rbi/gems/nokogiri@1.17.0.rbi +0 -8201
  213. data/sorbet/rbi/gems/oauth2@1.4.11.rbi +0 -833
  214. data/sorbet/rbi/gems/overcommit@0.64.1.rbi +0 -2400
  215. data/sorbet/rbi/gems/parallel@1.23.0.rbi +0 -274
  216. data/sorbet/rbi/gems/parser@3.2.2.4.rbi +0 -7253
  217. data/sorbet/rbi/gems/prism@1.2.0.rbi +0 -39085
  218. data/sorbet/rbi/gems/pry@0.14.2.rbi +0 -10070
  219. data/sorbet/rbi/gems/public_suffix@5.0.4.rbi +0 -936
  220. data/sorbet/rbi/gems/punchlist@1.3.2.rbi +0 -173
  221. data/sorbet/rbi/gems/racc@1.8.1.rbi +0 -162
  222. data/sorbet/rbi/gems/rack@3.1.8.rbi +0 -4896
  223. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +0 -403
  224. data/sorbet/rbi/gems/rake@13.1.0.rbi +0 -3022
  225. data/sorbet/rbi/gems/rbi@0.2.1.rbi +0 -4535
  226. data/sorbet/rbi/gems/rbs@2.8.4.rbi +0 -5613
  227. data/sorbet/rbi/gems/regexp_parser@2.8.3.rbi +0 -3750
  228. data/sorbet/rbi/gems/reverse_markdown@2.1.1.rbi +0 -390
  229. data/sorbet/rbi/gems/rexml@3.3.9.rbi +0 -4964
  230. data/sorbet/rbi/gems/rubocop-ast@1.30.0.rbi +0 -7061
  231. data/sorbet/rbi/gems/rubocop-minitest@0.34.5.rbi +0 -2577
  232. data/sorbet/rbi/gems/rubocop-performance@1.20.2.rbi +0 -3262
  233. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +0 -329
  234. data/sorbet/rbi/gems/rubocop-rspec@3.0.0.rbi +0 -7546
  235. data/sorbet/rbi/gems/rubocop@1.59.0.rbi +0 -57238
  236. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +0 -1318
  237. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +0 -9
  238. data/sorbet/rbi/gems/rugged@1.6.3.rbi +0 -1577
  239. data/sorbet/rbi/gems/securerandom@0.4.0.rbi +0 -75
  240. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +0 -217
  241. data/sorbet/rbi/gems/simplecov-lcov@0.8.0.rbi +0 -256
  242. data/sorbet/rbi/gems/simplecov@0.22.0.rbi +0 -2149
  243. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +0 -9
  244. data/sorbet/rbi/gems/solargraph-rails@1.1.0-9dc37915bd4f3b169046e34db6fb32193ab347d8.rbi +0 -320
  245. data/sorbet/rbi/gems/solargraph@0.50.1-904b9304770a59fac393c5cc3cad481e5bdf0fd8.rbi +0 -9396
  246. data/sorbet/rbi/gems/source_finder@3.2.1.rbi +0 -317
  247. data/sorbet/rbi/gems/spoom@1.5.0.rbi +0 -4932
  248. data/sorbet/rbi/gems/tapioca@0.16.5.rbi +0 -3617
  249. data/sorbet/rbi/gems/thor@1.3.2.rbi +0 -4378
  250. data/sorbet/rbi/gems/tilt@2.4.0.rbi +0 -933
  251. data/sorbet/rbi/gems/tomlrb@2.0.3.rbi +0 -9
  252. data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +0 -5918
  253. data/sorbet/rbi/gems/undercover@0.5.0.rbi +0 -433
  254. data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +0 -66
  255. data/sorbet/rbi/gems/webmock@3.19.1.rbi +0 -1769
  256. data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +0 -435
  257. data/sorbet/rbi/gems/yard@0.9.37.rbi +0 -18406
  258. data/sorbet/rbi/todo.rbi +0 -11
  259. data/sorbet/tapioca/config.yml +0 -13
  260. data/sorbet/tapioca/require.rb +0 -4
data/DEVELOPMENT.md DELETED
@@ -1,69 +0,0 @@
1
- # Development
2
-
3
- ## fix.sh
4
-
5
- If you want to use rbenv/pyenv/etc to manage versions of tools,
6
- there's a `fix.sh` script which may be what you'd like to install
7
- dependencies.
8
-
9
- ## Overcommit
10
-
11
- This project uses [overcommit](https://github.com/sds/overcommit) for
12
- quality checks. `bundle exec overcommit --install` will install it.
13
-
14
- ## direnv
15
-
16
- This project uses direnv to manage environment variables used during
17
- development. See the `.envrc` file for detail.
18
-
19
- ## cache_method
20
-
21
- Checkoff uses the
22
- [`cache_method`](https://github.com/seamusabshere/cache_method) gem to
23
- cache results between invocations. Configuration details can be found
24
- [here](https://github.com/seamusabshere/cache_method#configuration-and-supported-cache-clients).
25
- By default a memcached client on the default port (11211) on the host
26
- `memcached` will be used.
27
-
28
- You can run memcached locally on macOS with Homebrew by running:
29
-
30
- ```sh
31
- brew install memcached
32
- brew services start memcached
33
- ```
34
-
35
- You may want to add a `memcached` alias for `127.0.0.1` in `/etc/hosts`.
36
-
37
- Please make sure this is only listening on loopback for security, of course.
38
-
39
-
40
- ## gli
41
-
42
- Checkoff uses [`gli`](https://github.com/davetron5000/gli) on the CLI.
43
- To get a full stack trace when encountering a problem, run as follows:
44
-
45
- ```sh
46
- GLI_DEBUG=true checkoff your-arguments-here
47
- ```
48
-
49
- ## Publishing
50
-
51
- To publish new version as a maintainer:
52
-
53
- ```sh
54
- git checkout main && git pull
55
- git log "v$(bump current)..."
56
- # Set type_of_bump to patch, minor, or major
57
- bump --tag --tag-prefix=v ${type_of_bump:?}
58
- rake release
59
- git push --no-verify
60
- git push --tags
61
- ```
62
-
63
-
64
- ## Developing
65
-
66
- ```sh
67
- bundle install
68
- bundle exec exe/checkoff --help
69
- ```
data/GLOSSARY.md DELETED
@@ -1,16 +0,0 @@
1
- # Glossary
2
-
3
- * ready: See tasks.rb#task_ready?. Indicates a task is ready for
4
- a person to work on it. This is subtly different than what is used
5
- by Asana to mark a date as red/green!
6
-
7
- A task is ready if it is not dependent on an incomplete task and one
8
- of these is true:
9
-
10
- * start is null and due on is today
11
- * start is null and due at is before now
12
- * start on is today
13
- * start at is before now
14
-
15
- A project is ready if there is no start date, or if the start date
16
- is today or in the past.
data/Gemfile DELETED
@@ -1,66 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
-
5
- # Specify your gem's dependencies in checkoff.gemspec
6
- gemspec
7
-
8
- group :development, :test do
9
- gem 'bundler'
10
- gem 'mdl'
11
- gem 'minitest'
12
- gem 'minitest-profile'
13
- gem 'minitest-reporters'
14
- gem 'mocha', ['>= 2']
15
- # ensure recent definitions
16
- gem 'rbs'
17
- # ensure version with branch coverage
18
- gem 'simplecov', ['>=0.18.0']
19
- gem 'simplecov-lcov'
20
- gem 'tapioca', require: false
21
- gem 'undercover'
22
- gem 'webmock'
23
- end
24
-
25
- group :development do
26
- gem 'brakeman'
27
- gem 'bump'
28
- gem 'overcommit', ['>=0.64.1', '<0.65.0']
29
- gem 'punchlist', ['>=1.3.1']
30
- gem 'rubocop', ['~> 1.52']
31
- gem 'rubocop-minitest'
32
- gem 'rubocop-performance'
33
- gem 'rubocop-rake'
34
- # ensure version with RSpec/VerifiedDoubleReference
35
- gem 'rubocop-rspec', ['>=2.10.0']
36
- # https://github.com/castwide/solargraph/pull/727
37
- # gem "solargraph", [">=0.50.0"]
38
- gem 'solargraph',
39
- git: 'https://github.com/apiology/solargraph',
40
- branch: 'master'
41
- gem 'solargraph-rails',
42
- git: 'https://github.com/apiology/solargraph-rails',
43
- branch: 'main'
44
- gem 'yard'
45
- end
46
-
47
- # not a direct dependency - but updates a lot and confuses
48
- # bump+overcommit+bundler when it unexpectedly updates during the
49
- # CircleCI publish step
50
- #
51
- # https://app.circleci.com/pipelines/github/apiology/checkoff/1209/workflows/863fa0ce-097e-4a6b-a49f-f6ed62b29908/jobs/2320
52
- gem 'mime-types', ['=3.5.1']
53
- gem 'pry'
54
- gem 'rake'
55
- # ruby-asana gem is pending key bugfixes for checkoff as of
56
- # 2021-07-29:
57
- #
58
- # See
59
- # https://github.com/Asana/ruby-asana/issues/109
60
- # https://github.com/Asana/ruby-asana/issues/110
61
- #
62
- gem 'asana',
63
- git: 'https://github.com/apiology/ruby-asana',
64
- branch: 'checkoff_fixes'
65
-
66
- # gem 'asana', path: '/Users/broz/src/ruby-asana'
data/Gemfile.lock DELETED
@@ -1,336 +0,0 @@
1
- GIT
2
- remote: https://github.com/apiology/ruby-asana
3
- revision: ab9393136d9ca59b75e42a661fdddc1c65c8f7c3
4
- branch: checkoff_fixes
5
- specs:
6
- asana (0.10.6)
7
- faraday (~> 1.0)
8
- faraday_middleware (~> 1.0)
9
- faraday_middleware-multi_json (~> 0.0)
10
- oauth2 (~> 1.4)
11
-
12
- GIT
13
- remote: https://github.com/apiology/solargraph
14
- revision: 904b9304770a59fac393c5cc3cad481e5bdf0fd8
15
- branch: master
16
- specs:
17
- solargraph (0.50.1)
18
- backport (~> 1.2)
19
- benchmark
20
- bundler (~> 2.0)
21
- diff-lcs (~> 1.4)
22
- e2mmap
23
- jaro_winkler (~> 1.5)
24
- kramdown (~> 2.3)
25
- kramdown-parser-gfm (~> 1.1)
26
- parser (~> 3.0)
27
- rbs (~> 2.0)
28
- reverse_markdown (~> 2.0)
29
- rubocop (~> 1.38)
30
- thor (~> 1.0)
31
- tilt (~> 2.0)
32
- yard (~> 0.9, >= 0.9.24)
33
-
34
- GIT
35
- remote: https://github.com/apiology/solargraph-rails
36
- revision: 9dc37915bd4f3b169046e34db6fb32193ab347d8
37
- branch: main
38
- specs:
39
- solargraph-rails (1.1.0)
40
- activesupport
41
- solargraph
42
-
43
- PATH
44
- remote: .
45
- specs:
46
- checkoff (0.222.0)
47
- activesupport
48
- asana (> 0.10.0)
49
- cache_method
50
- gli
51
- mime-types
52
- sorbet-runtime
53
-
54
- GEM
55
- remote: https://rubygems.org/
56
- specs:
57
- activesupport (7.1.5)
58
- base64
59
- benchmark (>= 0.3)
60
- bigdecimal
61
- concurrent-ruby (~> 1.0, >= 1.0.2)
62
- connection_pool (>= 2.2.5)
63
- drb
64
- i18n (>= 1.6, < 2)
65
- logger (>= 1.4.2)
66
- minitest (>= 5.1)
67
- mutex_m
68
- securerandom (>= 0.3)
69
- tzinfo (~> 2.0)
70
- addressable (2.8.6)
71
- public_suffix (>= 2.0.2, < 6.0)
72
- ansi (1.5.0)
73
- ast (2.4.2)
74
- backport (1.2.0)
75
- base64 (0.2.0)
76
- benchmark (0.4.0)
77
- bigdecimal (3.1.5)
78
- brakeman (6.2.2)
79
- racc
80
- builder (3.2.4)
81
- bump (0.10.0)
82
- cache (0.4.1)
83
- cache_method (0.2.7)
84
- cache (>= 0.2.1)
85
- chef-utils (18.3.0)
86
- concurrent-ruby
87
- childprocess (5.1.0)
88
- logger (~> 1.5)
89
- coderay (1.1.3)
90
- concurrent-ruby (1.2.3)
91
- connection_pool (2.4.1)
92
- crack (0.4.5)
93
- rexml
94
- diff-lcs (1.5.1)
95
- docile (1.4.0)
96
- drb (2.2.1)
97
- e2mmap (0.1.0)
98
- erubi (1.13.0)
99
- faraday (1.10.3)
100
- faraday-em_http (~> 1.0)
101
- faraday-em_synchrony (~> 1.0)
102
- faraday-excon (~> 1.1)
103
- faraday-httpclient (~> 1.0)
104
- faraday-multipart (~> 1.0)
105
- faraday-net_http (~> 1.0)
106
- faraday-net_http_persistent (~> 1.0)
107
- faraday-patron (~> 1.0)
108
- faraday-rack (~> 1.0)
109
- faraday-retry (~> 1.0)
110
- ruby2_keywords (>= 0.0.4)
111
- faraday-em_http (1.0.0)
112
- faraday-em_synchrony (1.0.0)
113
- faraday-excon (1.1.0)
114
- faraday-httpclient (1.0.1)
115
- faraday-multipart (1.0.4)
116
- multipart-post (~> 2)
117
- faraday-net_http (1.0.1)
118
- faraday-net_http_persistent (1.2.0)
119
- faraday-patron (1.0.0)
120
- faraday-rack (1.0.0)
121
- faraday-retry (1.0.3)
122
- faraday_middleware (1.2.0)
123
- faraday (~> 1.0)
124
- faraday_middleware-multi_json (0.0.6)
125
- faraday_middleware
126
- multi_json
127
- gli (2.22.0)
128
- hashdiff (1.0.1)
129
- i18n (1.14.6)
130
- concurrent-ruby (~> 1.0)
131
- imagen (0.1.8)
132
- parser (>= 2.5, != 2.5.1.1)
133
- iniparse (1.5.0)
134
- jaro_winkler (1.6.0)
135
- json (2.7.1)
136
- jwt (2.7.1)
137
- kramdown (2.4.0)
138
- rexml
139
- kramdown-parser-gfm (1.1.0)
140
- kramdown (~> 2.0)
141
- language_server-protocol (3.17.0.3)
142
- logger (1.6.2)
143
- mdl (0.13.0)
144
- kramdown (~> 2.3)
145
- kramdown-parser-gfm (~> 1.1)
146
- mixlib-cli (~> 2.1, >= 2.1.1)
147
- mixlib-config (>= 2.2.1, < 4)
148
- mixlib-shellout
149
- method_source (1.0.0)
150
- mime-types (3.5.1)
151
- mime-types-data (~> 3.2015)
152
- mime-types-data (3.2023.1205)
153
- mini_portile2 (2.8.8)
154
- minitest (5.21.1)
155
- minitest-profile (0.0.2)
156
- minitest-reporters (1.6.1)
157
- ansi
158
- builder
159
- minitest (>= 5.0)
160
- ruby-progressbar
161
- mixlib-cli (2.1.8)
162
- mixlib-config (3.0.27)
163
- tomlrb
164
- mixlib-shellout (3.2.7)
165
- chef-utils
166
- mocha (2.1.0)
167
- ruby2_keywords (>= 0.0.5)
168
- multi_json (1.15.0)
169
- multi_xml (0.6.0)
170
- multipart-post (2.3.0)
171
- mutex_m (0.3.0)
172
- netrc (0.11.0)
173
- nokogiri (1.17.0)
174
- mini_portile2 (~> 2.8.2)
175
- racc (~> 1.4)
176
- nokogiri (1.17.0-aarch64-linux)
177
- racc (~> 1.4)
178
- nokogiri (1.17.0-arm64-darwin)
179
- racc (~> 1.4)
180
- nokogiri (1.17.0-x86_64-darwin)
181
- racc (~> 1.4)
182
- nokogiri (1.17.0-x86_64-linux)
183
- racc (~> 1.4)
184
- oauth2 (1.4.11)
185
- faraday (>= 0.17.3, < 3.0)
186
- jwt (>= 1.0, < 3.0)
187
- multi_json (~> 1.3)
188
- multi_xml (~> 0.5)
189
- rack (>= 1.2, < 4)
190
- overcommit (0.64.1)
191
- childprocess (>= 0.6.3, < 6)
192
- iniparse (~> 1.4)
193
- rexml (>= 3.3.9)
194
- parallel (1.23.0)
195
- parser (3.2.2.4)
196
- ast (~> 2.4.1)
197
- racc
198
- prism (1.2.0)
199
- pry (0.14.2)
200
- coderay (~> 1.1)
201
- method_source (~> 1.0)
202
- public_suffix (5.0.4)
203
- punchlist (1.3.2)
204
- source_finder (>= 2)
205
- racc (1.8.1)
206
- rack (3.1.8)
207
- rainbow (3.1.1)
208
- rake (13.1.0)
209
- rbi (0.2.1)
210
- prism (~> 1.0)
211
- sorbet-runtime (>= 0.5.9204)
212
- rbs (2.8.4)
213
- regexp_parser (2.8.3)
214
- reverse_markdown (2.1.1)
215
- nokogiri
216
- rexml (3.3.9)
217
- rubocop (1.59.0)
218
- json (~> 2.3)
219
- language_server-protocol (>= 3.17.0)
220
- parallel (~> 1.10)
221
- parser (>= 3.2.2.4)
222
- rainbow (>= 2.2.2, < 4.0)
223
- regexp_parser (>= 1.8, < 3.0)
224
- rexml (>= 3.2.5, < 4.0)
225
- rubocop-ast (>= 1.30.0, < 2.0)
226
- ruby-progressbar (~> 1.7)
227
- unicode-display_width (>= 2.4.0, < 3.0)
228
- rubocop-ast (1.30.0)
229
- parser (>= 3.2.1.0)
230
- rubocop-minitest (0.34.5)
231
- rubocop (>= 1.39, < 2.0)
232
- rubocop-ast (>= 1.30.0, < 2.0)
233
- rubocop-performance (1.20.2)
234
- rubocop (>= 1.48.1, < 2.0)
235
- rubocop-ast (>= 1.30.0, < 2.0)
236
- rubocop-rake (0.6.0)
237
- rubocop (~> 1.0)
238
- rubocop-rspec (3.0.0)
239
- rubocop (~> 1.40)
240
- ruby-progressbar (1.13.0)
241
- ruby2_keywords (0.0.5)
242
- rugged (1.6.3)
243
- securerandom (0.4.0)
244
- simplecov (0.22.0)
245
- docile (~> 1.1)
246
- simplecov-html (~> 0.11)
247
- simplecov_json_formatter (~> 0.1)
248
- simplecov-html (0.12.3)
249
- simplecov-lcov (0.8.0)
250
- simplecov_json_formatter (0.1.4)
251
- sorbet (0.5.11690)
252
- sorbet-static (= 0.5.11690)
253
- sorbet-runtime (0.5.11690)
254
- sorbet-static (0.5.11690-aarch64-linux)
255
- sorbet-static (0.5.11690-universal-darwin)
256
- sorbet-static (0.5.11690-x86_64-linux)
257
- sorbet-static-and-runtime (0.5.11690)
258
- sorbet (= 0.5.11690)
259
- sorbet-runtime (= 0.5.11690)
260
- source_finder (3.2.1)
261
- spoom (1.5.0)
262
- erubi (>= 1.10.0)
263
- prism (>= 0.28.0)
264
- sorbet-static-and-runtime (>= 0.5.10187)
265
- thor (>= 0.19.2)
266
- tapioca (0.16.5)
267
- bundler (>= 2.2.25)
268
- netrc (>= 0.11.0)
269
- parallel (>= 1.21.0)
270
- rbi (~> 0.2)
271
- sorbet-static-and-runtime (>= 0.5.11087)
272
- spoom (>= 1.2.0)
273
- thor (>= 1.2.0)
274
- yard-sorbet
275
- thor (1.3.2)
276
- tilt (2.4.0)
277
- tomlrb (2.0.3)
278
- tzinfo (2.0.6)
279
- concurrent-ruby (~> 1.0)
280
- undercover (0.5.0)
281
- bigdecimal
282
- imagen (>= 0.1.8)
283
- rainbow (>= 2.1, < 4.0)
284
- rugged (>= 0.27, < 1.8)
285
- unicode-display_width (2.5.0)
286
- webmock (3.19.1)
287
- addressable (>= 2.8.0)
288
- crack (>= 0.3.2)
289
- hashdiff (>= 0.4.0, < 2.0.0)
290
- yard (0.9.37)
291
- yard-sorbet (0.9.0)
292
- sorbet-runtime
293
- yard
294
-
295
- PLATFORMS
296
- aarch64-linux
297
- arm64-darwin-23
298
- arm64-linux
299
- ruby
300
- x86_64-darwin-23
301
- x86_64-linux
302
- x86_64-linux-musl
303
-
304
- DEPENDENCIES
305
- asana!
306
- brakeman
307
- bump
308
- bundler
309
- checkoff!
310
- mdl
311
- mime-types (= 3.5.1)
312
- minitest
313
- minitest-profile
314
- minitest-reporters
315
- mocha (>= 2)
316
- overcommit (>= 0.64.1, < 0.65.0)
317
- pry
318
- punchlist (>= 1.3.1)
319
- rake
320
- rbs
321
- rubocop (~> 1.52)
322
- rubocop-minitest
323
- rubocop-performance
324
- rubocop-rake
325
- rubocop-rspec (>= 2.10.0)
326
- simplecov (>= 0.18.0)
327
- simplecov-lcov
328
- solargraph!
329
- solargraph-rails!
330
- tapioca
331
- undercover
332
- webmock
333
- yard
334
-
335
- BUNDLED WITH
336
- 2.5.23
data/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2016-2024, Vince Broz
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
data/Makefile DELETED
@@ -1,121 +0,0 @@
1
- .PHONY: build-typecheck bundle_install cicoverage citypecheck citest citypecoverage clean clean-coverage clean-typecheck clean-typecoverage coverage default help localtest overcommit quality repl report-coverage report-coverage-to-codecov rubocop test typecheck typecoverage update_from_cookiecutter
2
- .DEFAULT_GOAL := default
3
-
4
- define PRINT_HELP_PYSCRIPT
5
- import re, sys
6
-
7
- for line in sys.stdin:
8
- match = re.match(r'^([a-zA-Z_-]+):.*?## (.*)$$', line)
9
- if match:
10
- target, help = match.groups()
11
- print("%-20s %s" % (target, help))
12
- endef
13
- export PRINT_HELP_PYSCRIPT
14
-
15
- help:
16
- @python -c "$$PRINT_HELP_PYSCRIPT" < $(MAKEFILE_LIST)
17
-
18
- default: clean-typecoverage typecheck typecoverage clean-coverage test coverage quality ## run default typechecking, tests and quality
19
-
20
- build-typecheck: Gemfile.lock.installed types.installed ## Fetch information that type checking depends on
21
-
22
- types.installed: Gemfile.lock Gemfile.lock.installed ## Install Ruby dependencies
23
- bundle exec yard gems 2>&1 || bundle exec yard gems --safe 2>&1 || bundle exec yard gems 2>&1
24
- # bundle exec solargraph scan 2>&1
25
- bin/tapioca gems
26
- bin/tapioca annotations
27
- bin/tapioca dsl
28
- touch types.installed
29
-
30
- clean-typecheck: ## Refresh information that type checking depends on
31
- bundle exec solargraph clear
32
- rm -fr .yardoc/
33
- echo all clear
34
-
35
- typecheck: build-typecheck ## validate types in code and configuration
36
- bin/tapioca dsl --verify
37
- bundle exec srb tc
38
- bin/overcommit_branch # ideally this would just run solargraph
39
-
40
- citypecheck: typecheck ## Run type check from CircleCI
41
- bundle exec solargraph typecheck --level strong
42
-
43
- typecoverage: typecheck ## Run type checking and then ratchet coverage in metrics/
44
-
45
- clean-typecoverage: ## Clean out type-related coverage previous results to avoid flaky results
46
-
47
- citypecoverage: typecoverage ## Run type checking, ratchet coverage, and then complain if ratchet needs to be committed
48
-
49
- requirements_dev.txt.installed: requirements_dev.txt
50
- pip install -q --disable-pip-version-check -r requirements_dev.txt
51
- touch requirements_dev.txt.installed
52
-
53
- pip_install: requirements_dev.txt.installed ## Install Python dependencies
54
-
55
- Gemfile.lock: Gemfile checkoff.gemspec
56
- bundle install
57
-
58
- # Ensure any Gemfile.lock changes ensure a bundle is installed.
59
- Gemfile.lock.installed: Gemfile.lock
60
- bundle install
61
- touch Gemfile.lock.installed
62
-
63
- bundle_install: Gemfile.lock.installed ## Install Ruby dependencies
64
-
65
- clear_metrics: ## remove or reset result artifacts created by tests and quality tools
66
- bundle exec rake clear_metrics
67
-
68
- clean: clear_metrics ## remove all built artifacts
69
-
70
- citest: test ## Run unit tests from CircleCI
71
-
72
- overcommit: ## run precommit quality checks
73
- bin/overcommit_branch
74
-
75
- quality: overcommit ## run precommit quality checks
76
-
77
- test: ## Run lower-level tests
78
- @bundle exec rake test
79
-
80
- localtest: ## run default local actions
81
- @bundle exec rake localtest
82
-
83
- repl: ## Load up checkoff in pry
84
- @bundle exec rake repl
85
-
86
- clean-coverage:
87
- @bundle exec rake clear_metrics
88
-
89
- coverage: test report-coverage ## check code coverage
90
- @bundle exec rake undercover
91
-
92
- report-coverage: test ## Report summary of coverage to stdout, and generate HTML, XML coverage report
93
-
94
- cicoverage: coverage ## check code coverage
95
-
96
- update_from_cookiecutter: ## Bring in changes from template project used to create this repo
97
- bundle exec overcommit --uninstall
98
- # cookiecutter_project_upgrader does its work in
99
- # .git/cookiecutter/checkoff, but RuboCop wants to inherit
100
- # config from all directories above it - avoid config
101
- # mismatches by moving this out of the way
102
- mv .rubocop.yml .rubocop-renamed.yml || true
103
- cookiecutter_project_upgrader --help >/dev/null
104
- IN_COOKIECUTTER_PROJECT_UPGRADER=1 cookiecutter_project_upgrader || true
105
- mv .rubocop-renamed.yml .rubocop.yml
106
- git checkout cookiecutter-template && git push --no-verify
107
- git checkout main; overcommit --sign && overcommit --sign pre-commit && git checkout main && git pull && git checkout -b update-from-cookiecutter-$$(date +%Y-%m-%d-%H%M)
108
- git merge cookiecutter-template || true
109
- git checkout --ours Gemfile.lock || true
110
- # update frequently security-flagged gems while we're here
111
- bundle update --conservative nokogiri rack rexml yard || true
112
- make build-typecheck
113
- git add Gemfile.lock || true
114
- bundle install || true
115
- bundle exec overcommit --install || true
116
- @echo
117
- @echo "Please resolve any merge conflicts below and push up a PR with:"
118
- @echo
119
- @echo ' gh pr create --title "Update from cookiecutter" --body "Automated PR to update from cookiecutter boilerplate"'
120
- @echo
121
- @echo
data/bin/brakeman DELETED
@@ -1,27 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- #
5
- # This file was generated by Bundler.
6
- #
7
- # The application 'brakeman' is installed as part of a gem, and
8
- # this file is here to facilitate running it.
9
- #
10
-
11
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
12
-
13
- bundle_binstub = File.expand_path("bundle", __dir__)
14
-
15
- if File.file?(bundle_binstub)
16
- if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
17
- load(bundle_binstub)
18
- else
19
- abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
20
- Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
21
- end
22
- end
23
-
24
- require "rubygems"
25
- require "bundler/setup"
26
-
27
- load Gem.bin_path("brakeman", "brakeman")
data/bin/bump DELETED
@@ -1,29 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- #
5
- # This file was generated by Bundler.
6
- #
7
- # The application 'bump' is installed as part of a gem, and
8
- # this file is here to facilitate running it.
9
- #
10
-
11
- require "pathname"
12
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
- Pathname.new(__FILE__).realpath)
14
-
15
- bundle_binstub = File.expand_path("../bundle", __FILE__)
16
-
17
- if File.file?(bundle_binstub)
18
- if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
- load(bundle_binstub)
20
- else
21
- abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
- Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
- end
24
- end
25
-
26
- require "rubygems"
27
- require "bundler/setup"
28
-
29
- load Gem.bin_path("bump", "bump")