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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e08117848a46a27ffee42a7936ada4febefdda2c2d9a44ae0160dcdfa89989b8
4
- data.tar.gz: a8573c8961ab241c73425008c5c9a44f03c6038a4a3ad791b3154b505cd4ee22
3
+ metadata.gz: c686b3cd1d9a92ada49d9d9586e42763fb5f042d520fc755ac9278f995ac606d
4
+ data.tar.gz: 1d7c3c943d5c310cf4eb17f04f3caa948f2bfa685ed9461dc7773afb11fab306
5
5
  SHA512:
6
- metadata.gz: 43b8c4f4ff4d1fcd48a98d0fe2b7fdc6332ab29e83b81f2dad3a9a9ec3628f3c106c4ea518ae81b0e9edc882bf9618396b547c099e6dc1fb22f76d5c91ed6cd5
7
- data.tar.gz: 2da763b8482d3e7a6f7e8fe8b912ef2c8175d6843da3019fc10a7aae9ea94d3978a9ed789763f5fee8d7755200f80bd04268b332ab74b2865fd6303823c99e34
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{String => Object}]
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 }
@@ -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 [Hash{String => Object}]
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
@@ -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.260.0'
7
+ VERSION = '0.261.0'
8
8
  end
data/rbi/checkoff.rbi CHANGED
@@ -82,7 +82,7 @@ module Overcommit
82
82
  end
83
83
 
84
84
  module Checkoff
85
- VERSION = '0.260.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.260.0', T.untyped)
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[String, Object]) }
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[String, Object]) }
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[String, Object]
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[String, Object]
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.260.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-18 00:00:00.000000000 Z
11
+ date: 2026-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport