checkoff 0.231.0 → 0.233.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: d4fc11db31dd5ac1cac592423dda7e6d407f680752d9022dd522babfa73789b0
4
- data.tar.gz: 4fb7b05426816ca50981bf61c01de4580890678c965c27589dfab1bcc04637df
3
+ metadata.gz: 9218ef611b8c8112e754246e1eadd4bbb5c92397cf98ca8e834f8391a1ce8e4c
4
+ data.tar.gz: '082d8bdba278d67312003fca7ac6a3fef158b43f3b14a4762b40dae4c73867d6'
5
5
  SHA512:
6
- metadata.gz: a6c695ba41414d76e3747214f0885ad165a99d64b3b156c82572a2e6a42ed2b4a96f46f3c2bb1d3beb3efeadb47bdbb88862a9afe49ce8c4e1b7cc7393dba88c
7
- data.tar.gz: a7dd449f547d7732a6ec9032af747f4b529c9544cee0836dea18a2117b5913350a8824ce16f5f611e2bb55fecf23aea9de3457162950fad9364a258429b1baaf
6
+ metadata.gz: 8e06342012be266e5e1bae0002ea37bb980c7a37334640ddb0a32067dab2de2f23e35653c1d95eb3d967c8ec328e2bf6be0b96ac681f9c013409bd4d91b979ae
7
+ data.tar.gz: 99565139c87dd3ef0dbb4a3c577e3bbb367429505861115d0778c25b36ccf0e93efc73da11c8487d7aae9f31d053e24d6806bac93eecce149bc719abd1389dfa
@@ -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.231.0'
7
+ VERSION = '0.233.0'
8
8
  end
data/rbi/checkoff.rbi CHANGED
@@ -57,7 +57,7 @@ module Overcommit
57
57
  end
58
58
 
59
59
  module Checkoff
60
- VERSION = '0.231.0'
60
+ VERSION = '0.233.0'
61
61
 
62
62
  class Attachments
63
63
  include Logging
@@ -2397,7 +2397,7 @@ end
2397
2397
  # typed: ignore
2398
2398
  # Command-line and gem client for Asana (unofficial)
2399
2399
  module Checkoff
2400
- VERSION = T.let('0.231.0', T.untyped)
2400
+ VERSION = T.let('0.233.0', T.untyped)
2401
2401
 
2402
2402
  # Move tasks from one place to another
2403
2403
  class MvSubcommand
@@ -2595,10 +2595,8 @@ module Checkoff
2595
2595
  def run_on_task(workspace, project, section, task_name); end
2596
2596
 
2597
2597
  # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2598
- # sord warn - undefined is probably not a type, but using anyway
2599
- # sord warn - undefined wasn't able to be resolved to a constant in this project
2600
2598
  # _@param_ `task`
2601
- sig { params(task: Asana::Resources::Task).returns(T::Hash[Symbol, undefined]) }
2599
+ sig { params(task: Asana::Resources::Task).returns(T::Hash[Symbol, T.untyped]) }
2602
2600
  def task_to_hash(task); end
2603
2601
 
2604
2602
  # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
@@ -2767,7 +2765,7 @@ module Checkoff
2767
2765
  # https://github.com/Asana/ruby-asana/blob/master/lib/asana/resource_includes/response_helper.rb#L7
2768
2766
  #
2769
2767
  # _@param_ `response`
2770
- sig { params(response: Asana::HttpClient::Response).returns(T::Array[T.any(T::Hash[T.untyped, T.untyped], T::Hash[T.untyped, T.untyped])]) }
2768
+ sig { params(response: Asana::HttpClient::Response).returns(T::Array[T::Hash[T.untyped, T.untyped]]) }
2771
2769
  def parse(response); end
2772
2770
 
2773
2771
  sig { void }
@@ -3447,14 +3445,12 @@ module Checkoff
3447
3445
  sig { params(extra_fields: T::Array[String]).returns(T::Array[String]) }
3448
3446
  def task_fields(extra_fields: []); end
3449
3447
 
3450
- # sord warn - undefined is probably not a type, but using anyway
3451
- # sord warn - undefined wasn't able to be resolved to a constant in this project
3452
3448
  # Default options used in Asana API to pull tasks
3453
3449
  #
3454
3450
  # _@param_ `extra_fields`
3455
3451
  #
3456
3452
  # _@param_ `only_uncompleted`
3457
- sig { params(extra_fields: T::Array[String], only_uncompleted: T::Boolean).returns(T::Hash[Symbol, undefined]) }
3453
+ sig { params(extra_fields: T::Array[String], only_uncompleted: T::Boolean).returns(T::Hash[Symbol, T.untyped]) }
3458
3454
  def task_options(extra_fields: [], only_uncompleted: false); end
3459
3455
 
3460
3456
  # _@param_ `extra_project_fields`
@@ -3796,7 +3792,7 @@ module Checkoff
3796
3792
  # https://github.com/Asana/ruby-asana/blob/master/lib/asana/resource_includes/response_helper.rb#L7
3797
3793
  #
3798
3794
  # _@param_ `response`
3799
- sig { params(response: Asana::HttpClient::Response).returns(T::Array[T.any(T::Hash[T.untyped, T.untyped], T::Hash[T.untyped, T.untyped])]) }
3795
+ sig { params(response: Asana::HttpClient::Response).returns(T::Array[T::Hash[T.untyped, T.untyped]]) }
3800
3796
  def parse(response); end
3801
3797
 
3802
3798
  # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
@@ -4368,7 +4364,7 @@ module Checkoff
4368
4364
  # https://github.com/Asana/ruby-asana/blob/master/lib/asana/resource_includes/response_helper.rb#L7
4369
4365
  #
4370
4366
  # _@param_ `response`
4371
- sig { params(response: Asana::HttpClient::Response).returns(T::Array[T.any(T::Hash[T.untyped, T.untyped], T::Hash[T.untyped, T.untyped])]) }
4367
+ sig { params(response: Asana::HttpClient::Response).returns(T::Array[T::Hash[T.untyped, T.untyped]]) }
4372
4368
  def parse(response); end
4373
4369
 
4374
4370
  sig { void }
@@ -4642,12 +4638,10 @@ module Checkoff
4642
4638
  sig { params(api_params: T::Hash[String, Object], workspace_gid: String, extra_fields: T::Array[String]).returns(T::Enumerable[Asana::Resources::Task]) }
4643
4639
  def iterated_raw_task_search(api_params, workspace_gid:, extra_fields:); end
4644
4640
 
4645
- # sord warn - undefined is probably not a type, but using anyway
4646
- # sord warn - undefined wasn't able to be resolved to a constant in this project
4647
4641
  # @sg-ignore
4648
4642
  #
4649
4643
  # _@param_ `extra_fields`
4650
- sig { params(extra_fields: T::Array[String]).returns(T::Hash[Symbol, undefined]) }
4644
+ sig { params(extra_fields: T::Array[String]).returns(T::Hash[Symbol, T.untyped]) }
4651
4645
  def calculate_api_options(extra_fields); end
4652
4646
 
4653
4647
  sig { void }
@@ -5013,14 +5007,12 @@ module Checkoff
5013
5007
  # Use the provided config from a YAML file, and fall back to env
5014
5008
  # variable if it's not populated for a key'
5015
5009
  class EnvFallbackConfigLoader
5016
- # sord warn - undefined is probably not a type, but using anyway
5017
- # sord warn - undefined wasn't able to be resolved to a constant in this project
5018
5010
  # _@param_ `config`
5019
5011
  #
5020
5012
  # _@param_ `sym`
5021
5013
  #
5022
5014
  # _@param_ `yaml_filename`
5023
- sig { params(config: T::Hash[Symbol, undefined], sym: Symbol, yaml_filename: String).void }
5015
+ sig { params(config: T::Hash[Symbol, T.untyped], sym: Symbol, yaml_filename: String).void }
5024
5016
  def initialize(config, sym, yaml_filename); end
5025
5017
 
5026
5018
  # _@param_ `key`
@@ -5042,10 +5034,8 @@ module Checkoff
5042
5034
  sig { params(sym: Symbol).returns(EnvFallbackConfigLoader) }
5043
5035
  def self.load(sym); end
5044
5036
 
5045
- # sord warn - undefined is probably not a type, but using anyway
5046
- # sord warn - undefined wasn't able to be resolved to a constant in this project
5047
5037
  # _@param_ `sym`
5048
- sig { params(sym: Symbol).returns(T::Hash[Symbol, undefined]) }
5038
+ sig { params(sym: Symbol).returns(T::Hash[Symbol, T.untyped]) }
5049
5039
  def self.load_yaml_file(sym); end
5050
5040
 
5051
5041
  # _@param_ `sym`
data/sig/checkoff.rbs CHANGED
@@ -167,10 +167,8 @@ module Checkoff
167
167
  ) -> String
168
168
 
169
169
  # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
170
- # sord warn - undefined is probably not a type, but using anyway
171
- # sord warn - undefined wasn't able to be resolved to a constant in this project
172
170
  # _@param_ `task`
173
- def task_to_hash: (Asana::Resources::Task task) -> ::Hash[Symbol, undefined]
171
+ def task_to_hash: (Asana::Resources::Task task) -> ::Hash[Symbol, untyped]
174
172
 
175
173
  # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
176
174
  # _@param_ `tasks`
@@ -312,7 +310,7 @@ module Checkoff
312
310
  # https://github.com/Asana/ruby-asana/blob/master/lib/asana/resource_includes/response_helper.rb#L7
313
311
  #
314
312
  # _@param_ `response`
315
- def parse: (Asana::HttpClient::Response response) -> ::Array[(::Hash[untyped, untyped] | ::Hash[untyped, untyped])]
313
+ def parse: (Asana::HttpClient::Response response) -> ::Array[::Hash[untyped, untyped]]
316
314
 
317
315
  def self.run: () -> void
318
316
 
@@ -878,14 +876,12 @@ module Checkoff
878
876
  # _@param_ `extra_fields`
879
877
  def task_fields: (?extra_fields: ::Array[String]) -> ::Array[String]
880
878
 
881
- # sord warn - undefined is probably not a type, but using anyway
882
- # sord warn - undefined wasn't able to be resolved to a constant in this project
883
879
  # Default options used in Asana API to pull tasks
884
880
  #
885
881
  # _@param_ `extra_fields`
886
882
  #
887
883
  # _@param_ `only_uncompleted`
888
- def task_options: (?extra_fields: ::Array[String], ?only_uncompleted: bool) -> ::Hash[Symbol, undefined]
884
+ def task_options: (?extra_fields: ::Array[String], ?only_uncompleted: bool) -> ::Hash[Symbol, untyped]
889
885
 
890
886
  # _@param_ `extra_project_fields`
891
887
  def project_fields: (?extra_project_fields: ::Array[String]) -> ::Array[String]
@@ -1175,7 +1171,7 @@ module Checkoff
1175
1171
  # https://github.com/Asana/ruby-asana/blob/master/lib/asana/resource_includes/response_helper.rb#L7
1176
1172
  #
1177
1173
  # _@param_ `response`
1178
- def parse: (Asana::HttpClient::Response response) -> ::Array[(::Hash[untyped, untyped] | ::Hash[untyped, untyped])]
1174
+ def parse: (Asana::HttpClient::Response response) -> ::Array[::Hash[untyped, untyped]]
1179
1175
 
1180
1176
  # sord warn - Asana::Resources::Project wasn't able to be resolved to a constant in this project
1181
1177
  # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
@@ -1666,7 +1662,7 @@ module Checkoff
1666
1662
  # https://github.com/Asana/ruby-asana/blob/master/lib/asana/resource_includes/response_helper.rb#L7
1667
1663
  #
1668
1664
  # _@param_ `response`
1669
- def parse: (Asana::HttpClient::Response response) -> ::Array[(::Hash[untyped, untyped] | ::Hash[untyped, untyped])]
1665
+ def parse: (Asana::HttpClient::Response response) -> ::Array[::Hash[untyped, untyped]]
1670
1666
 
1671
1667
  def self.run: () -> void
1672
1668
 
@@ -1903,12 +1899,10 @@ module Checkoff
1903
1899
  # _@param_ `extra_fields`
1904
1900
  def iterated_raw_task_search: (::Hash[String, Object] api_params, workspace_gid: String, extra_fields: ::Array[String]) -> ::Enumerable[Asana::Resources::Task]
1905
1901
 
1906
- # sord warn - undefined is probably not a type, but using anyway
1907
- # sord warn - undefined wasn't able to be resolved to a constant in this project
1908
1902
  # @sg-ignore
1909
1903
  #
1910
1904
  # _@param_ `extra_fields`
1911
- def calculate_api_options: (::Array[String] extra_fields) -> ::Hash[Symbol, undefined]
1905
+ def calculate_api_options: (::Array[String] extra_fields) -> ::Hash[Symbol, untyped]
1912
1906
 
1913
1907
  def self.run: () -> void
1914
1908
 
@@ -2209,14 +2203,12 @@ module Checkoff
2209
2203
  # Use the provided config from a YAML file, and fall back to env
2210
2204
  # variable if it's not populated for a key'
2211
2205
  class EnvFallbackConfigLoader
2212
- # sord warn - undefined is probably not a type, but using anyway
2213
- # sord warn - undefined wasn't able to be resolved to a constant in this project
2214
2206
  # _@param_ `config`
2215
2207
  #
2216
2208
  # _@param_ `sym`
2217
2209
  #
2218
2210
  # _@param_ `yaml_filename`
2219
- def initialize: (::Hash[Symbol, undefined] config, Symbol sym, String yaml_filename) -> void
2211
+ def initialize: (::Hash[Symbol, untyped] config, Symbol sym, String yaml_filename) -> void
2220
2212
 
2221
2213
  # _@param_ `key`
2222
2214
  def []: (Symbol key) -> Object
@@ -2233,10 +2225,8 @@ module Checkoff
2233
2225
  # _@param_ `sym`
2234
2226
  def self.load: (Symbol sym) -> EnvFallbackConfigLoader
2235
2227
 
2236
- # sord warn - undefined is probably not a type, but using anyway
2237
- # sord warn - undefined wasn't able to be resolved to a constant in this project
2238
2228
  # _@param_ `sym`
2239
- def self.load_yaml_file: (Symbol sym) -> ::Hash[Symbol, undefined]
2229
+ def self.load_yaml_file: (Symbol sym) -> ::Hash[Symbol, untyped]
2240
2230
 
2241
2231
  # _@param_ `sym`
2242
2232
  def self.yaml_filename: (Symbol sym) -> String
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.231.0
4
+ version: 0.233.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vince Broz