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 +4 -4
- data/lib/checkoff/internal/selector_classes/task.rb +4 -6
- data/lib/checkoff/tasks.rb +1 -2
- data/lib/checkoff/version.rb +1 -1
- data/rbi/checkoff.rbi +14 -10
- data/sig/checkoff.rbs +5 -8
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 06e0194aae3ff0a0f7f8feba7205e550a135f071e2d635c269759df1e606e218
|
|
4
|
+
data.tar.gz: cd612fa70665570b8f6d3ab2dfe22830657081572eb9624232989bae7e9de265
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
#
|
|
194
|
-
#
|
|
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
|
-
#
|
|
213
|
-
#
|
|
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
|
data/lib/checkoff/tasks.rb
CHANGED
|
@@ -296,8 +296,7 @@ module Checkoff
|
|
|
296
296
|
# @param portfolio_name [String]
|
|
297
297
|
# @param workspace_name [String]
|
|
298
298
|
# @return [Boolean]
|
|
299
|
-
#
|
|
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)
|
data/lib/checkoff/version.rb
CHANGED
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.
|
|
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.
|
|
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
|
-
#
|
|
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
|
-
#
|
|
5966
|
-
#
|
|
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
|
-
#
|
|
5984
|
-
#
|
|
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
|
-
#
|
|
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
|
-
#
|
|
2938
|
-
#
|
|
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
|
-
#
|
|
2954
|
-
#
|
|
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
|