checkoff 0.251.0 → 0.252.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: e889ef0029e5bf6ef6707b7b29c82b0d2218c576a0ad98f48ba698e353fdb5f7
4
- data.tar.gz: 59110e44c00573a919b7b700e2dcf0d8e016742b3cba753a650933f00b08b80d
3
+ metadata.gz: 06e0194aae3ff0a0f7f8feba7205e550a135f071e2d635c269759df1e606e218
4
+ data.tar.gz: cd612fa70665570b8f6d3ab2dfe22830657081572eb9624232989bae7e9de265
5
5
  SHA512:
6
- metadata.gz: 0b063c23e67005e6dca77d0cddcdd18652f467b854365bf8f52ce2bb8a2b886b79aad582d1b76dc9069d3d876a3b78362c549c3506bb1756276795ed596ff1f1
7
- data.tar.gz: e11dc349e0d88d76410d5e03865a06e310820f2797c45af75a19587e0d94a7c5c5f159a6dcbc47c4c7d95e7a2bb6f1a81e5394576ac672c0dc12ef909efd620f
6
+ metadata.gz: 96c583c5fb0f3ea8d3955284f4e41128fff664654e0e604345826eb7bde2f8ee2022b8d78b8046a5e3fabbf023d5acb3906fb2f17b8f29ef1dbc1ea01fa84528
7
+ data.tar.gz: 12ed1f51fa97b517f7162c878cb206605cc398ab9f95b66cb417d305e73192e131f36b86897415de2feae44dfd5c68305fd241579738422232af241e20abfd2d
@@ -190,10 +190,8 @@ module Checkoff
190
190
 
191
191
  # @param task [Asana::Resources::Task]
192
192
  # @return [Boolean]
193
- # CI quality (pipeline 1902): "return type could not be inferred" on modified lines
194
- # after 7eeb5b1 removed @sg-ignore. Local overcommit may report "Unneeded @sg-ignore";
195
- # `== true` alone did not satisfy the CI overcommit Solargraph hook.
196
- # @sg-ignore
193
+ # @sg-ignore Checkoff::SelectorClasses::Task::UnassignedPFunctionEvaluator#evaluate
194
+ # return type could not be inferred
197
195
  def evaluate(task)
198
196
  task.assignee.nil? == true
199
197
  end
@@ -209,8 +207,8 @@ module Checkoff
209
207
 
210
208
  # @param task [Asana::Resources::Task]
211
209
  # @return [Boolean]
212
- # Same CI/local Solargraph drift as UnassignedPFunctionEvaluator#evaluate (pipeline 1902).
213
- # @sg-ignore
210
+ # @sg-ignore Checkoff::SelectorClasses::Task::DueDateSetPFunctionEvaluator#evaluate
211
+ # return type could not be inferred
214
212
  def evaluate(task)
215
213
  !(task.due_at.nil? && task.due_on.nil?)
216
214
  end
@@ -296,8 +296,7 @@ module Checkoff
296
296
  # @param portfolio_name [String]
297
297
  # @param workspace_name [String]
298
298
  # @return [Boolean]
299
- # CI quality (pipeline 1902): "in_portfolio_named? return type could not be inferred".
300
- # @sg-ignore
299
+ # @sg-ignore Checkoff::Tasks#in_portfolio_named? return type could not be inferred
301
300
  def in_portfolio_named?(task,
302
301
  portfolio_name,
303
302
  workspace_name: @workspaces.default_workspace.name)
@@ -4,5 +4,5 @@
4
4
  # Command-line and gem client for Asana (unofficial)
5
5
  module Checkoff
6
6
  # Version of library
7
- VERSION = '0.251.0'
7
+ VERSION = '0.252.0'
8
8
  end
data/rbi/checkoff.rbi CHANGED
@@ -1,4 +1,10 @@
1
1
  # typed: ignore
2
+ sig { params(path: T.untyped).returns(T.untyped) }
3
+ def load_local_overcommit_config(path); end
4
+
5
+ sig { params(repo_root: T.untyped).returns(T.untyped) }
6
+ def sibling_worktree_local_overcommit(repo_root); end
7
+
2
8
  module Logging
3
9
  sig { returns(T.untyped) }
4
10
  def logger; end
@@ -60,6 +66,7 @@ module Overcommit
60
66
  'sorbet/rbi/dsl',
61
67
  'sorbet/rbi/todo.rbi',
62
68
  'rbs_collection.lock.yaml',
69
+ 'rbi',
63
70
  ].freeze
64
71
  STAMP_FILES = %w[
65
72
  tapioca.installed
@@ -75,7 +82,7 @@ module Overcommit
75
82
  end
76
83
 
77
84
  module Checkoff
78
- VERSION = '0.251.0'
85
+ VERSION = '0.252.0'
79
86
 
80
87
  class Attachments
81
88
  include Logging
@@ -2442,7 +2449,7 @@ end
2442
2449
  # typed: ignore
2443
2450
  # Command-line and gem client for Asana (unofficial)
2444
2451
  module Checkoff
2445
- VERSION = T.let('0.251.0', T.untyped)
2452
+ VERSION = T.let('0.252.0', T.untyped)
2446
2453
 
2447
2454
  # Move tasks from one place to another
2448
2455
  class MvSubcommand
@@ -3027,8 +3034,7 @@ module Checkoff
3027
3034
  # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
3028
3035
  # True if the task is in a project which is in the given portfolio
3029
3036
  #
3030
- # CI quality (pipeline 1902): "in_portfolio_named? return type could not be inferred".
3031
- # @sg-ignore
3037
+ # @sg-ignore Checkoff::Tasks#in_portfolio_named? return type could not be inferred
3032
3038
  #
3033
3039
  # _@param_ `task`
3034
3040
  #
@@ -5962,10 +5968,8 @@ module Checkoff
5962
5968
  def matches?; end
5963
5969
 
5964
5970
  # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
5965
- # CI quality (pipeline 1902): "return type could not be inferred" on modified lines
5966
- # after 7eeb5b1 removed @sg-ignore. Local overcommit may report "Unneeded @sg-ignore";
5967
- # `== true` alone did not satisfy the CI overcommit Solargraph hook.
5968
- # @sg-ignore
5971
+ # @sg-ignore Checkoff::SelectorClasses::Task::UnassignedPFunctionEvaluator#evaluate
5972
+ # return type could not be inferred
5969
5973
  #
5970
5974
  # _@param_ `task`
5971
5975
  sig { params(task: Asana::Resources::Task).returns(T::Boolean) }
@@ -5980,8 +5984,8 @@ module Checkoff
5980
5984
  def matches?; end
5981
5985
 
5982
5986
  # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
5983
- # Same CI/local Solargraph drift as UnassignedPFunctionEvaluator#evaluate (pipeline 1902).
5984
- # @sg-ignore
5987
+ # @sg-ignore Checkoff::SelectorClasses::Task::DueDateSetPFunctionEvaluator#evaluate
5988
+ # return type could not be inferred
5985
5989
  #
5986
5990
  # _@param_ `task`
5987
5991
  sig { params(task: Asana::Resources::Task).returns(T::Boolean) }
data/sig/checkoff.rbs CHANGED
@@ -499,8 +499,7 @@ module Checkoff
499
499
  # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
500
500
  # True if the task is in a project which is in the given portfolio
501
501
  #
502
- # CI quality (pipeline 1902): "in_portfolio_named? return type could not be inferred".
503
- # @sg-ignore
502
+ # @sg-ignore Checkoff::Tasks#in_portfolio_named? return type could not be inferred
504
503
  #
505
504
  # _@param_ `task`
506
505
  #
@@ -2934,10 +2933,8 @@ module Checkoff
2934
2933
  def matches?: () -> bool
2935
2934
 
2936
2935
  # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2937
- # CI quality (pipeline 1902): "return type could not be inferred" on modified lines
2938
- # after 7eeb5b1 removed @sg-ignore. Local overcommit may report "Unneeded @sg-ignore";
2939
- # `== true` alone did not satisfy the CI overcommit Solargraph hook.
2940
- # @sg-ignore
2936
+ # @sg-ignore Checkoff::SelectorClasses::Task::UnassignedPFunctionEvaluator#evaluate
2937
+ # return type could not be inferred
2941
2938
  #
2942
2939
  # _@param_ `task`
2943
2940
  def evaluate: (Asana::Resources::Task task) -> bool
@@ -2950,8 +2947,8 @@ module Checkoff
2950
2947
  def matches?: () -> bool
2951
2948
 
2952
2949
  # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2953
- # Same CI/local Solargraph drift as UnassignedPFunctionEvaluator#evaluate (pipeline 1902).
2954
- # @sg-ignore
2950
+ # @sg-ignore Checkoff::SelectorClasses::Task::DueDateSetPFunctionEvaluator#evaluate
2951
+ # return type could not be inferred
2955
2952
  #
2956
2953
  # _@param_ `task`
2957
2954
  def evaluate: (Asana::Resources::Task task) -> bool
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.251.0
4
+ version: 0.252.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vince Broz