checkoff 0.263.0 → 0.264.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/search_url/results_merger.rb +1 -1
- data/lib/checkoff/version.rb +1 -1
- data/rbi/checkoff.rbi +14 -16
- data/sig/checkoff.rbs +12 -14
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ec0e96217e45ecdeb2038274d3160969a716f462b16527164b5184fb8179f44b
|
|
4
|
+
data.tar.gz: e4f243d2b5b97a3893db866e811b1f03cc78dcee08138136bbcfaff04c51fb30
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e3c9051a7a0e418d2deb647372f2d4b2397849f3813ff251a1ec1e9d73146271eb6b4b275c2f69d9fbce4b72ee1bf2a6cd13c46e331cb17393e16e869c2df8e2
|
|
7
|
+
data.tar.gz: 8a2ed52fea1bb0b741ec45faf8d37d2717a71311aa453d0ec62bac81c42dc57178b7d7401a7bd49ed582ae24c82ee05434314dba6b7833d39bf02188c1a3e118
|
|
@@ -16,7 +16,7 @@ module Checkoff
|
|
|
16
16
|
f.merge(*r)
|
|
17
17
|
end
|
|
18
18
|
|
|
19
|
-
# @param task_selectors [Array<Symbol, Array
|
|
19
|
+
# @param task_selectors [Array<Array<Symbol, Array>>]
|
|
20
20
|
# @return [Symbol, Array, Array(Symbol, Array, Array)]
|
|
21
21
|
def self.merge_task_selectors(*task_selectors)
|
|
22
22
|
return [] if task_selectors.empty?
|
data/lib/checkoff/version.rb
CHANGED
data/rbi/checkoff.rbi
CHANGED
|
@@ -82,7 +82,7 @@ module Overcommit
|
|
|
82
82
|
end
|
|
83
83
|
|
|
84
84
|
module Checkoff
|
|
85
|
-
VERSION = '0.
|
|
85
|
+
VERSION = '0.264.0'
|
|
86
86
|
|
|
87
87
|
class Attachments
|
|
88
88
|
include Logging
|
|
@@ -2485,7 +2485,7 @@ end
|
|
|
2485
2485
|
# typed: ignore
|
|
2486
2486
|
# Command-line and gem client for Asana (unofficial)
|
|
2487
2487
|
module Checkoff
|
|
2488
|
-
VERSION = T.let('0.
|
|
2488
|
+
VERSION = T.let('0.264.0', T.untyped)
|
|
2489
2489
|
|
|
2490
2490
|
# Move tasks from one place to another
|
|
2491
2491
|
class MvSubcommand
|
|
@@ -3367,7 +3367,7 @@ module Checkoff
|
|
|
3367
3367
|
# _@param_ `period_name`
|
|
3368
3368
|
#
|
|
3369
3369
|
# _@param_ `args`
|
|
3370
|
-
sig { params(date_or_time: T.nilable(T.any(Date, Time)), period_name: Symbol, args:
|
|
3370
|
+
sig { params(date_or_time: T.nilable(T.any(Date, Time)), period_name: Symbol, args: Object).returns(T::Boolean) }
|
|
3371
3371
|
def compound_in_period?(date_or_time, period_name, *args); end
|
|
3372
3372
|
|
|
3373
3373
|
sig { void }
|
|
@@ -5056,12 +5056,10 @@ module Checkoff
|
|
|
5056
5056
|
|
|
5057
5057
|
# Manage thread lock variables in a block
|
|
5058
5058
|
class ThreadLocal
|
|
5059
|
-
# sord warn - T wasn't able to be resolved to a constant in this project
|
|
5060
|
-
# sord warn - T wasn't able to be resolved to a constant in this project
|
|
5061
5059
|
# _@param_ `name`
|
|
5062
5060
|
#
|
|
5063
5061
|
# _@param_ `value`
|
|
5064
|
-
sig { params(name: Symbol, value: T.any(Object, T::Boolean), block: T.proc.returns(T)).returns(T) }
|
|
5062
|
+
sig { type_parameters(:T).params(name: Symbol, value: T.any(Object, T::Boolean), block: T.proc.returns(T.type_parameter(:T))).returns(T.type_parameter(:T)) }
|
|
5065
5063
|
def with_thread_local_variable(name, value, &block); end
|
|
5066
5064
|
end
|
|
5067
5065
|
|
|
@@ -5205,7 +5203,7 @@ module Checkoff
|
|
|
5205
5203
|
# Merge task selectors and search API arguments
|
|
5206
5204
|
class ResultsMerger
|
|
5207
5205
|
# _@param_ `args`
|
|
5208
|
-
sig { params(args: T::
|
|
5206
|
+
sig { params(args: T::Hash[String, String]).returns(T::Hash[String, String]) }
|
|
5209
5207
|
def self.merge_args(*args); end
|
|
5210
5208
|
|
|
5211
5209
|
# _@param_ `task_selectors`
|
|
@@ -6132,7 +6130,7 @@ module Checkoff
|
|
|
6132
6130
|
tasks: Checkoff::Tasks,
|
|
6133
6131
|
timelines: Checkoff::Timelines,
|
|
6134
6132
|
custom_fields: Checkoff::CustomFields,
|
|
6135
|
-
_kwargs: T
|
|
6133
|
+
_kwargs: T.untyped
|
|
6136
6134
|
).void
|
|
6137
6135
|
end
|
|
6138
6136
|
def initialize(selector:, tasks:, timelines:, custom_fields:, **_kwargs); end
|
|
@@ -6164,7 +6162,7 @@ module Checkoff
|
|
|
6164
6162
|
# _@param_ `_resource`
|
|
6165
6163
|
#
|
|
6166
6164
|
# _@param_ `args`
|
|
6167
|
-
sig { params(_resource: T.any(Asana::Resources::Task, Asana::Resources::Project), args:
|
|
6165
|
+
sig { params(_resource: T.any(Asana::Resources::Task, Asana::Resources::Project), args: Object).returns(T::Boolean) }
|
|
6168
6166
|
def evaluate(_resource, *args); end
|
|
6169
6167
|
end
|
|
6170
6168
|
|
|
@@ -6183,7 +6181,7 @@ module Checkoff
|
|
|
6183
6181
|
# _@param_ `_resource`
|
|
6184
6182
|
#
|
|
6185
6183
|
# _@param_ `args`
|
|
6186
|
-
sig { params(_resource: T.any(Asana::Resources::Task, Asana::Resources::Project), args:
|
|
6184
|
+
sig { params(_resource: T.any(Asana::Resources::Task, Asana::Resources::Project), args: Object).returns(T::Boolean) }
|
|
6187
6185
|
def evaluate(_resource, *args); end
|
|
6188
6186
|
end
|
|
6189
6187
|
|
|
@@ -6375,7 +6373,7 @@ module Checkoff
|
|
|
6375
6373
|
# _@param_ `custom_fields`
|
|
6376
6374
|
#
|
|
6377
6375
|
# _@param_ `_kwargs`
|
|
6378
|
-
sig { params(selector: T.any(T::Array[T.any(Symbol, T::Array[T.untyped])], Symbol), custom_fields: Checkoff::CustomFields, _kwargs: T
|
|
6376
|
+
sig { params(selector: T.any(T::Array[T.any(Symbol, T::Array[T.untyped])], Symbol), custom_fields: Checkoff::CustomFields, _kwargs: T.untyped).void }
|
|
6379
6377
|
def initialize(selector:, custom_fields:, **_kwargs); end
|
|
6380
6378
|
|
|
6381
6379
|
sig { returns(T.any(T::Array[T.any(Symbol, T::Array[T.untyped])], Symbol)) }
|
|
@@ -6459,7 +6457,7 @@ module Checkoff
|
|
|
6459
6457
|
projects: Checkoff::Projects,
|
|
6460
6458
|
portfolios: Checkoff::Portfolios,
|
|
6461
6459
|
workspaces: Checkoff::Workspaces,
|
|
6462
|
-
_kwargs: T
|
|
6460
|
+
_kwargs: T.untyped
|
|
6463
6461
|
).void
|
|
6464
6462
|
end
|
|
6465
6463
|
def initialize(selector:, projects:, portfolios:, workspaces:, **_kwargs); end
|
|
@@ -6521,7 +6519,7 @@ module Checkoff
|
|
|
6521
6519
|
selector: T.any(T::Array[T.any(Symbol, T::Array[T.untyped])], Symbol),
|
|
6522
6520
|
sections: Checkoff::Sections,
|
|
6523
6521
|
client: Asana::Client,
|
|
6524
|
-
kwargs: T
|
|
6522
|
+
kwargs: T.untyped
|
|
6525
6523
|
).void
|
|
6526
6524
|
end
|
|
6527
6525
|
def initialize(selector:, sections:, client:, **kwargs); end
|
|
@@ -6553,7 +6551,7 @@ module Checkoff
|
|
|
6553
6551
|
# _@param_ `_task`
|
|
6554
6552
|
#
|
|
6555
6553
|
# _@param_ `_args`
|
|
6556
|
-
sig { params(_task: Asana::Resources::Task, _args:
|
|
6554
|
+
sig { params(_task: Asana::Resources::Task, _args: Object).returns(Object) }
|
|
6557
6555
|
def evaluate(_task, *_args); end
|
|
6558
6556
|
|
|
6559
6557
|
# _@param_ `object`
|
|
@@ -6573,7 +6571,7 @@ module Checkoff
|
|
|
6573
6571
|
# _@param_ `selector`
|
|
6574
6572
|
#
|
|
6575
6573
|
# _@param_ `_kwargs`
|
|
6576
|
-
sig { params(selector: T.nilable(T.any(Symbol, T::Array[T.untyped], String)), _kwargs: T
|
|
6574
|
+
sig { params(selector: T.nilable(T.any(Symbol, T::Array[T.untyped], String)), _kwargs: T.untyped).void }
|
|
6577
6575
|
def initialize(selector: nil, **_kwargs); end
|
|
6578
6576
|
|
|
6579
6577
|
sig { returns(::Logger) }
|
|
@@ -6736,7 +6734,7 @@ end - [Checkoff::SelectorClasses::Section::FunctionEvaluator]).freeze, T.untyped
|
|
|
6736
6734
|
projects: Checkoff::Projects,
|
|
6737
6735
|
sections: Checkoff::Sections,
|
|
6738
6736
|
custom_fields: Checkoff::CustomFields,
|
|
6739
|
-
_kwargs: T
|
|
6737
|
+
_kwargs: T.untyped
|
|
6740
6738
|
).void
|
|
6741
6739
|
end
|
|
6742
6740
|
def initialize(section:, client:, projects: Checkoff::Projects.new(client:), sections: Checkoff::Sections.new(client:), custom_fields: Checkoff::CustomFields.new(client:), **_kwargs); end
|
data/sig/checkoff.rbs
CHANGED
|
@@ -734,7 +734,7 @@ module Checkoff
|
|
|
734
734
|
# _@param_ `period_name`
|
|
735
735
|
#
|
|
736
736
|
# _@param_ `args`
|
|
737
|
-
def compound_in_period?: ((Date | Time)? date_or_time, Symbol period_name,
|
|
737
|
+
def compound_in_period?: ((Date | Time)? date_or_time, Symbol period_name, *Object args) -> bool
|
|
738
738
|
|
|
739
739
|
def self.run: () -> void
|
|
740
740
|
|
|
@@ -2162,12 +2162,10 @@ module Checkoff
|
|
|
2162
2162
|
|
|
2163
2163
|
# Manage thread lock variables in a block
|
|
2164
2164
|
class ThreadLocal
|
|
2165
|
-
# sord warn - T wasn't able to be resolved to a constant in this project
|
|
2166
|
-
# sord warn - T wasn't able to be resolved to a constant in this project
|
|
2167
2165
|
# _@param_ `name`
|
|
2168
2166
|
#
|
|
2169
2167
|
# _@param_ `value`
|
|
2170
|
-
def with_thread_local_variable: (Symbol name, (Object | bool) value) ?{ () -> T } -> T
|
|
2168
|
+
def with_thread_local_variable: [T] (Symbol name, (Object | bool) value) ?{ () -> T } -> T
|
|
2171
2169
|
end
|
|
2172
2170
|
|
|
2173
2171
|
# Use the provided config from a YAML file, and fall back to env
|
|
@@ -2287,7 +2285,7 @@ module Checkoff
|
|
|
2287
2285
|
# Merge task selectors and search API arguments
|
|
2288
2286
|
class ResultsMerger
|
|
2289
2287
|
# _@param_ `args`
|
|
2290
|
-
def self.merge_args: (*::
|
|
2288
|
+
def self.merge_args: (*::Hash[String, String] args) -> ::Hash[String, String]
|
|
2291
2289
|
|
|
2292
2290
|
# _@param_ `task_selectors`
|
|
2293
2291
|
def self.merge_task_selectors: (*::Array[(Symbol | ::Array[untyped])] task_selectors) -> (Symbol | ::Array[untyped] | [Symbol, ::Array[untyped], ::Array[untyped]])
|
|
@@ -3031,7 +3029,7 @@ module Checkoff
|
|
|
3031
3029
|
tasks: Checkoff::Tasks,
|
|
3032
3030
|
timelines: Checkoff::Timelines,
|
|
3033
3031
|
custom_fields: Checkoff::CustomFields,
|
|
3034
|
-
|
|
3032
|
+
**untyped _kwargs
|
|
3035
3033
|
) -> void
|
|
3036
3034
|
|
|
3037
3035
|
attr_reader tasks: Checkoff::Tasks
|
|
@@ -3056,7 +3054,7 @@ module Checkoff
|
|
|
3056
3054
|
# _@param_ `_resource`
|
|
3057
3055
|
#
|
|
3058
3056
|
# _@param_ `args`
|
|
3059
|
-
def evaluate: ((Asana::Resources::Task | Asana::Resources::Project) _resource,
|
|
3057
|
+
def evaluate: ((Asana::Resources::Task | Asana::Resources::Project) _resource, *Object args) -> bool
|
|
3060
3058
|
end
|
|
3061
3059
|
|
|
3062
3060
|
# :or function
|
|
@@ -3073,7 +3071,7 @@ module Checkoff
|
|
|
3073
3071
|
# _@param_ `_resource`
|
|
3074
3072
|
#
|
|
3075
3073
|
# _@param_ `args`
|
|
3076
|
-
def evaluate: ((Asana::Resources::Task | Asana::Resources::Project) _resource,
|
|
3074
|
+
def evaluate: ((Asana::Resources::Task | Asana::Resources::Project) _resource, *Object args) -> bool
|
|
3077
3075
|
end
|
|
3078
3076
|
|
|
3079
3077
|
# :not function
|
|
@@ -3238,7 +3236,7 @@ module Checkoff
|
|
|
3238
3236
|
# _@param_ `custom_fields`
|
|
3239
3237
|
#
|
|
3240
3238
|
# _@param_ `_kwargs`
|
|
3241
|
-
def initialize: (selector: (::Array[(Symbol | ::Array[untyped])] | Symbol), custom_fields: Checkoff::CustomFields,
|
|
3239
|
+
def initialize: (selector: (::Array[(Symbol | ::Array[untyped])] | Symbol), custom_fields: Checkoff::CustomFields, **untyped _kwargs) -> void
|
|
3242
3240
|
|
|
3243
3241
|
attr_reader selector: (::Array[(Symbol | ::Array[untyped])] | Symbol)
|
|
3244
3242
|
|
|
@@ -3310,7 +3308,7 @@ module Checkoff
|
|
|
3310
3308
|
projects: Checkoff::Projects,
|
|
3311
3309
|
portfolios: Checkoff::Portfolios,
|
|
3312
3310
|
workspaces: Checkoff::Workspaces,
|
|
3313
|
-
|
|
3311
|
+
**untyped _kwargs
|
|
3314
3312
|
) -> void
|
|
3315
3313
|
|
|
3316
3314
|
attr_reader selector: (::Array[(Symbol | ::Array[untyped])] | Symbol)
|
|
@@ -3361,7 +3359,7 @@ module Checkoff
|
|
|
3361
3359
|
selector: (::Array[(Symbol | ::Array[untyped])] | Symbol),
|
|
3362
3360
|
sections: Checkoff::Sections,
|
|
3363
3361
|
client: Asana::Client,
|
|
3364
|
-
|
|
3362
|
+
**untyped kwargs
|
|
3365
3363
|
) -> void
|
|
3366
3364
|
|
|
3367
3365
|
attr_reader selector: (::Array[(Symbol | ::Array[untyped])] | Symbol)
|
|
@@ -3386,7 +3384,7 @@ module Checkoff
|
|
|
3386
3384
|
# _@param_ `_task`
|
|
3387
3385
|
#
|
|
3388
3386
|
# _@param_ `_args`
|
|
3389
|
-
def evaluate: (Asana::Resources::Task _task,
|
|
3387
|
+
def evaluate: (Asana::Resources::Task _task, *Object _args) -> Object
|
|
3390
3388
|
|
|
3391
3389
|
# _@param_ `object`
|
|
3392
3390
|
#
|
|
@@ -3404,7 +3402,7 @@ module Checkoff
|
|
|
3404
3402
|
# _@param_ `selector`
|
|
3405
3403
|
#
|
|
3406
3404
|
# _@param_ `_kwargs`
|
|
3407
|
-
def initialize: (?selector: (Symbol | ::Array[untyped] | String)?,
|
|
3405
|
+
def initialize: (?selector: (Symbol | ::Array[untyped] | String)?, **untyped _kwargs) -> void
|
|
3408
3406
|
|
|
3409
3407
|
def logger: () -> ::Logger
|
|
3410
3408
|
|
|
@@ -3527,7 +3525,7 @@ module Checkoff
|
|
|
3527
3525
|
?projects: Checkoff::Projects,
|
|
3528
3526
|
?sections: Checkoff::Sections,
|
|
3529
3527
|
?custom_fields: Checkoff::CustomFields,
|
|
3530
|
-
|
|
3528
|
+
**untyped _kwargs
|
|
3531
3529
|
) -> void
|
|
3532
3530
|
|
|
3533
3531
|
def function_evaluators: () -> ::Array[singleton(Checkoff::SelectorClasses::Project::FunctionEvaluator)]
|
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.
|
|
4
|
+
version: 0.264.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: 2026-
|
|
11
|
+
date: 2026-09-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|