checkoff 0.281.0 → 0.282.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: 2e40ee8d21c716a72afc0d414168b438fc360e5100d0a5f1d3de44f2af6c67b8
4
- data.tar.gz: de2d39a04cde9dee6e193239a9cef2ad3d9b60376b5278f27c3236c9e22c891b
3
+ metadata.gz: 2a47253fe135417e08d79c0c3ab6ec0507a3443c3bdaa1ec2dca0380df52e587
4
+ data.tar.gz: ae8f92f1b7c892f57f5edccc98aac6ca17c4a08726559af15035466581195d9d
5
5
  SHA512:
6
- metadata.gz: 758556c581d5a7148f2e3b9abb703a3860a3511f638dc11c83df238c79fc8d02cb918b8d1b39585b33beade1c06fd3dc683a3d4da1dd8237fbfeb90e1cbcaa1d
7
- data.tar.gz: '082e085a622c932d9c60b5e5434c4d9d7a2ad96f20ff4a7f6cb675588ef0cce12546f8709720871cba404fa7eedcbbb778a262e01bbff0c83b8bcf69148e1f93'
6
+ metadata.gz: c94865bad3fdf0cc3eb3502252f1ab1ef1616a5531b8e89bdff95f32e8d9dad421804f4c055b60abff664c52ebdb7e08532ba956fe8d3c7823d12afe55f6f3f4
7
+ data.tar.gz: ff70bbf07ba95619e5ee055bf90175833bccd7a5c877f2a8141f0f599c9ef27d5bc0ebb50f889ec2b2adb7a4c417093814ecbbcb2fe4593f0ac096ce7f60ed6d
@@ -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.281.0'
7
+ VERSION = '0.282.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.281.0'
85
+ VERSION = '0.282.0'
86
86
 
87
87
  class Attachments
88
88
  include Logging
@@ -2642,7 +2642,7 @@ end
2642
2642
  # typed: ignore
2643
2643
  # Command-line and gem client for Asana (unofficial)
2644
2644
  module Checkoff
2645
- VERSION = T.let('0.281.0', T.untyped)
2645
+ VERSION = T.let('0.282.0', T.untyped)
2646
2646
 
2647
2647
  # Move tasks from one place to another
2648
2648
  class MvSubcommand
@@ -6870,6 +6870,7 @@ end - [Checkoff::SelectorClasses::Section::FunctionEvaluator]).freeze, T.untyped
6870
6870
  # and/or marks it complete
6871
6871
  class UpdateSubcommand
6872
6872
  TIME_ZONE = T.let('America/New_York', T.untyped)
6873
+ TASK_URL = T.let(%r{\Ahttps://app\.asana\.com/(?:0/\d+|1/\d+(?:/project/\d+)?/task)/(\d+)(?:/f)?/?(?:[?#].*)?\z}, T.untyped)
6873
6874
 
6874
6875
  # _@param_ `task_gid`
6875
6876
  #
@@ -6913,8 +6914,21 @@ end - [Checkoff::SelectorClasses::Section::FunctionEvaluator]).freeze, T.untyped
6913
6914
  sig { returns(T.nilable(ActiveSupport::TimeWithZone)) }
6914
6915
  def due_at_time; end
6915
6916
 
6916
- # Returns the value of attribute task_gid.
6917
- sig { returns(T.untyped) }
6917
+ sig { returns(String) }
6918
+ def gid_from_names; end
6919
+
6920
+ sig { returns(String) }
6921
+ def gid_from_url; end
6922
+
6923
+ # _@param_ `project_arg` — a name, or e.g. :my_tasks
6924
+ sig { params(project_arg: String).returns(T.any(String, Symbol)) }
6925
+ def project_name(project_arg); end
6926
+
6927
+ # _@param_ `section_arg` — '' for the whole project
6928
+ sig { params(section_arg: String).returns(T.nilable(String)) }
6929
+ def section_name(section_arg); end
6930
+
6931
+ sig { returns(String) }
6918
6932
  attr_reader :task_gid
6919
6933
 
6920
6934
  # Returns the value of attribute due_on.
@@ -6936,6 +6950,14 @@ end - [Checkoff::SelectorClasses::Section::FunctionEvaluator]).freeze, T.untyped
6936
6950
  # Returns the value of attribute now.
6937
6951
  sig { returns(T.untyped) }
6938
6952
  attr_reader :now
6953
+
6954
+ # Returns the value of attribute task_args.
6955
+ sig { returns(T.untyped) }
6956
+ attr_reader :task_args
6957
+
6958
+ # Returns the value of attribute url.
6959
+ sig { returns(T.untyped) }
6960
+ attr_reader :url
6939
6961
  end
6940
6962
  end
6941
6963
 
data/sig/checkoff.rbs CHANGED
@@ -3468,6 +3468,7 @@ module Checkoff
3468
3468
  # and/or marks it complete
3469
3469
  class UpdateSubcommand
3470
3470
  TIME_ZONE: untyped
3471
+ TASK_URL: untyped
3471
3472
 
3472
3473
  # _@param_ `task_gid`
3473
3474
  #
@@ -3503,8 +3504,17 @@ module Checkoff
3503
3504
 
3504
3505
  def due_at_time: () -> ActiveSupport::TimeWithZone?
3505
3506
 
3506
- # Returns the value of attribute task_gid.
3507
- attr_reader task_gid: untyped
3507
+ def gid_from_names: () -> String
3508
+
3509
+ def gid_from_url: () -> String
3510
+
3511
+ # _@param_ `project_arg` — a name, or e.g. :my_tasks
3512
+ def project_name: (String project_arg) -> (String | Symbol)
3513
+
3514
+ # _@param_ `section_arg` — '' for the whole project
3515
+ def section_name: (String section_arg) -> String?
3516
+
3517
+ attr_reader task_gid: String
3508
3518
 
3509
3519
  # Returns the value of attribute due_on.
3510
3520
  attr_reader due_on: untyped
@@ -3520,6 +3530,12 @@ module Checkoff
3520
3530
 
3521
3531
  # Returns the value of attribute now.
3522
3532
  attr_reader now: untyped
3533
+
3534
+ # Returns the value of attribute task_args.
3535
+ attr_reader task_args: untyped
3536
+
3537
+ # Returns the value of attribute url.
3538
+ attr_reader url: untyped
3523
3539
  end
3524
3540
  end
3525
3541
 
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.281.0
4
+ version: 0.282.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-12-02 00:00:00.000000000 Z
11
+ date: 2026-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport