checkoff 0.260.0 → 0.261.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/project_hashes.rb +22 -1
- data/lib/checkoff/projects.rb +1 -1
- data/lib/checkoff/version.rb +1 -1
- data/rbi/checkoff.rbi +11 -4
- data/sig/checkoff.rbs +9 -2
- 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: c686b3cd1d9a92ada49d9d9586e42763fb5f042d520fc755ac9278f995ac606d
|
|
4
|
+
data.tar.gz: 1d7c3c943d5c310cf4eb17f04f3caa948f2bfa685ed9461dc7773afb11fab306
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 712db0ae7935e7d58e9fa54c4f8be6779b0f6e573c3c57def2089f285f660ec0372205ae32e0c6b4689c0ff6f65e34518b2587bf9b41f43c92d37853537c6205
|
|
7
|
+
data.tar.gz: 9198bbb230717c5aa4ce098f0c34d0fad6a675d1761e4450002ace6c467f3c3b2f39df04d4dbe00b5906b349d50e76ccd17a004cc897024b806a5df2f24c923a
|
|
@@ -9,11 +9,32 @@ module Checkoff
|
|
|
9
9
|
# @param _deps [Hash]
|
|
10
10
|
def initialize(_deps = {}); end
|
|
11
11
|
|
|
12
|
+
# The two custom_fields entries below hold the same records: the top-level
|
|
13
|
+
# array is what Asana returns, and unwrapped re-keys those records by name.
|
|
14
|
+
#
|
|
12
15
|
# @param project_obj [Asana::Resources::Project]
|
|
13
16
|
# @param project [String, :not_specified, :my_tasks, nil] - a String is a
|
|
14
17
|
# project name
|
|
15
18
|
#
|
|
16
|
-
# @return [Hash{
|
|
19
|
+
# @return [Hash{"project" => String, Symbol, nil} &
|
|
20
|
+
# Hash{"gid" => String} &
|
|
21
|
+
# Hash{"name" => String} &
|
|
22
|
+
# Hash{"custom_fields" => Array<
|
|
23
|
+
# Hash{"gid" => String} &
|
|
24
|
+
# Hash{"name" => String} &
|
|
25
|
+
# Hash{"display_value" => String, nil} &
|
|
26
|
+
# Hash{"number_value" => Float, Integer, nil} &
|
|
27
|
+
# Hash{"text_value" => String, nil} &
|
|
28
|
+
# Hash{"enum_value" => Hash{String => String}, nil}
|
|
29
|
+
# >, nil} &
|
|
30
|
+
# Hash{"unwrapped" => Hash{"custom_fields" => Hash{String =>
|
|
31
|
+
# Hash{"gid" => String} &
|
|
32
|
+
# Hash{"name" => String} &
|
|
33
|
+
# Hash{"display_value" => String, nil} &
|
|
34
|
+
# Hash{"number_value" => Float, Integer, nil} &
|
|
35
|
+
# Hash{"text_value" => String, nil} &
|
|
36
|
+
# Hash{"enum_value" => Hash{String => String}, nil}
|
|
37
|
+
# }}}]
|
|
17
38
|
def project_to_h(project_obj, project: :not_specified)
|
|
18
39
|
project = project_obj.name if project == :not_specified
|
|
19
40
|
project_hash = { **project_obj.to_h, 'project' => project }
|
data/lib/checkoff/projects.rb
CHANGED
|
@@ -212,7 +212,7 @@ module Checkoff
|
|
|
212
212
|
# @param project [String, :not_specified, :my_tasks, nil] - a String is a
|
|
213
213
|
# project name
|
|
214
214
|
#
|
|
215
|
-
# @return
|
|
215
|
+
# @return (see Checkoff::Internal::ProjectHashes#project_to_h)
|
|
216
216
|
def project_to_h(project_obj, project: :not_specified)
|
|
217
217
|
project_hashes.project_to_h(project_obj, project:)
|
|
218
218
|
end
|
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.261.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.261.0', T.untyped)
|
|
2489
2489
|
|
|
2490
2490
|
# Move tasks from one place to another
|
|
2491
2491
|
class MvSubcommand
|
|
@@ -3608,10 +3608,12 @@ module Checkoff
|
|
|
3608
3608
|
def projects_by_workspace_name(workspace_name, extra_fields: []); end
|
|
3609
3609
|
|
|
3610
3610
|
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
|
3611
|
+
# sord warn - "\"unwrapped\"" does not appear to be a type
|
|
3612
|
+
# sord warn - "Hash{\"custom_fields\" => Hash{String =" does not appear to be a type
|
|
3611
3613
|
# _@param_ `project_obj`
|
|
3612
3614
|
#
|
|
3613
3615
|
# _@param_ `project` — - a String is a project name
|
|
3614
|
-
sig { params(project_obj: Asana::Resources::Project, project: T.nilable(T.any(String, Symbol))).returns(T::Hash[
|
|
3616
|
+
sig { params(project_obj: Asana::Resources::Project, project: T.nilable(T.any(String, Symbol))).returns(T::Hash[T.untyped, T.untyped]) }
|
|
3615
3617
|
def project_to_h(project_obj, project: :not_specified); end
|
|
3616
3618
|
|
|
3617
3619
|
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
|
@@ -5110,10 +5112,15 @@ module Checkoff
|
|
|
5110
5112
|
def initialize(_deps = {}); end
|
|
5111
5113
|
|
|
5112
5114
|
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
|
5115
|
+
# sord warn - "\"unwrapped\"" does not appear to be a type
|
|
5116
|
+
# sord warn - "Hash{\"custom_fields\" => Hash{String =" does not appear to be a type
|
|
5117
|
+
# The two custom_fields entries below hold the same records: the top-level
|
|
5118
|
+
# array is what Asana returns, and unwrapped re-keys those records by name.
|
|
5119
|
+
#
|
|
5113
5120
|
# _@param_ `project_obj`
|
|
5114
5121
|
#
|
|
5115
5122
|
# _@param_ `project` — - a String is a project name
|
|
5116
|
-
sig { params(project_obj: Asana::Resources::Project, project: T.nilable(T.any(String, Symbol))).returns(T::Hash[
|
|
5123
|
+
sig { params(project_obj: Asana::Resources::Project, project: T.nilable(T.any(String, Symbol))).returns(T::Hash[T.untyped, T.untyped]) }
|
|
5117
5124
|
def project_to_h(project_obj, project: :not_specified); end
|
|
5118
5125
|
|
|
5119
5126
|
# _@param_ `project_hash`
|
data/sig/checkoff.rbs
CHANGED
|
@@ -941,10 +941,12 @@ module Checkoff
|
|
|
941
941
|
def projects_by_workspace_name: ((String | Symbol) workspace_name, ?extra_fields: ::Array[String]) -> ::Enumerable[Asana::Resources::Project]
|
|
942
942
|
|
|
943
943
|
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
|
944
|
+
# sord warn - "\"unwrapped\"" does not appear to be a type
|
|
945
|
+
# sord warn - "Hash{\"custom_fields\" => Hash{String =" does not appear to be a type
|
|
944
946
|
# _@param_ `project_obj`
|
|
945
947
|
#
|
|
946
948
|
# _@param_ `project` — - a String is a project name
|
|
947
|
-
def project_to_h: (Asana::Resources::Project project_obj, ?project: (String | Symbol)?) -> ::Hash[
|
|
949
|
+
def project_to_h: (Asana::Resources::Project project_obj, ?project: (String | Symbol)?) -> ::Hash[untyped, untyped]
|
|
948
950
|
|
|
949
951
|
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
|
950
952
|
# Indicates a project is ready for a person to work on it. This
|
|
@@ -2207,10 +2209,15 @@ module Checkoff
|
|
|
2207
2209
|
def initialize: (?::Hash[untyped, untyped] _deps) -> void
|
|
2208
2210
|
|
|
2209
2211
|
# sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
|
|
2212
|
+
# sord warn - "\"unwrapped\"" does not appear to be a type
|
|
2213
|
+
# sord warn - "Hash{\"custom_fields\" => Hash{String =" does not appear to be a type
|
|
2214
|
+
# The two custom_fields entries below hold the same records: the top-level
|
|
2215
|
+
# array is what Asana returns, and unwrapped re-keys those records by name.
|
|
2216
|
+
#
|
|
2210
2217
|
# _@param_ `project_obj`
|
|
2211
2218
|
#
|
|
2212
2219
|
# _@param_ `project` — - a String is a project name
|
|
2213
|
-
def project_to_h: (Asana::Resources::Project project_obj, ?project: (String | Symbol)?) -> ::Hash[
|
|
2220
|
+
def project_to_h: (Asana::Resources::Project project_obj, ?project: (String | Symbol)?) -> ::Hash[untyped, untyped]
|
|
2214
2221
|
|
|
2215
2222
|
# _@param_ `project_hash`
|
|
2216
2223
|
def unwrap_custom_fields: (::Hash[untyped, untyped] project_hash) -> void
|
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.261.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-08-
|
|
11
|
+
date: 2026-08-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|