checkoff 0.247.0 → 0.249.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: 4a4767930eda52d13e8d437d7cd2aa33dd4af3f7e402ce12fb60d3371f955742
4
- data.tar.gz: c95a95f0a59e48fee37bc6a43a461a2c5a2b60f73314b1e799c23d3e466be6b1
3
+ metadata.gz: 8e527558624aab2c9e02b922913ce52e69736a7b21d4b8bb6e94b584a8cd2c02
4
+ data.tar.gz: f31c0e0261c39128c34a4aa03dcc328cc3bf3800ef6413fdfe09eaaf53dc8fed
5
5
  SHA512:
6
- metadata.gz: '098a082874fa5ea130e0fceadad00b1d5f0a6c78e66ee53d351f90bc9b5b014a5958ae440a26472483a0742affd97325e3365cd2780f4afb6f3507654278a910'
7
- data.tar.gz: 4a2c87a47f0f7767154d9b0ff1474892669832c1e99893d6f28b26d750a2e6a79854076e5b30d0d3daa819ec4d297d11167bea0349038d551f2a5d12211ce5ca
6
+ metadata.gz: 9510e332a1579dfbc2c58d59d1e6ed98b8cf1525760e35c7c266510c20156fd21dcb5e5c5e6775bc12e7f69f546324731d5ac9f43daab23eda243f7c82c51ab4
7
+ data.tar.gz: 53415dbef70b417c6659bc994fe79fe2fd340653af682399a63aae053a3c9f1448db1eab94a9dad5b2be9ab327e3141c20d33d697a087286736548db7b25c899
@@ -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.247.0'
7
+ VERSION = '0.249.0'
8
8
  end
data/rbi/checkoff.rbi CHANGED
@@ -75,7 +75,7 @@ module Overcommit
75
75
  end
76
76
 
77
77
  module Checkoff
78
- VERSION = '0.247.0'
78
+ VERSION = '0.249.0'
79
79
 
80
80
  class Attachments
81
81
  include Logging
@@ -2442,7 +2442,7 @@ end
2442
2442
  # typed: ignore
2443
2443
  # Command-line and gem client for Asana (unofficial)
2444
2444
  module Checkoff
2445
- VERSION = T.let('0.247.0', T.untyped)
2445
+ VERSION = T.let('0.249.0', T.untyped)
2446
2446
 
2447
2447
  # Move tasks from one place to another
2448
2448
  class MvSubcommand
@@ -6760,6 +6760,23 @@ end - [Checkoff::SelectorClasses::Section::FunctionEvaluator]).freeze, T.untyped
6760
6760
  sig { returns(Asana::Client) }
6761
6761
  attr_reader :client
6762
6762
  end
6763
+
6764
+ # Remove TIME_BY_PERIOD redeclarations Sord emits on BaseAsana test subclasses.
6765
+ module PruneRbiTestConstants
6766
+ SUBCLASSES = T.let(%w[TestTasks TestProjects TestSections TestWorkspaces].freeze, T.untyped)
6767
+
6768
+ # _@param_ `klass`
6769
+ sig { params(klass: String).returns(Regexp) }
6770
+ def self.pattern_for(klass); end
6771
+
6772
+ # _@param_ `path`
6773
+ sig { params(path: String).void }
6774
+ def self.call(path); end
6775
+
6776
+ # _@param_ `content`
6777
+ sig { params(content: String).returns(String) }
6778
+ def self.prune_subclasses(content); end
6779
+ end
6763
6780
  end
6764
6781
 
6765
6782
  # include this to add ability to log at different levels
@@ -9283,3 +9300,27 @@ class TestAsanaEventFilter < ClassTest
9283
9300
  sig { void }
9284
9301
  def respond_like; end
9285
9302
  end
9303
+
9304
+ class TestPruneCheckoffRbiTestConstants < Minitest::Test
9305
+ SAMPLE = T.let(<<~RBI, T.untyped)
9306
+ module TestDate
9307
+ TIME_BY_PERIOD = T.let({ a: '1' }.freeze, T.untyped)
9308
+ end
9309
+
9310
+ class TestTasks < BaseAsana
9311
+ extend Forwardable
9312
+ TIME_BY_PERIOD = T.let({
9313
+ two_am: '02:00:20',
9314
+ }.freeze, T.untyped)
9315
+
9316
+ sig { void }
9317
+ def foo; end
9318
+ end
9319
+ RBI
9320
+
9321
+ sig { returns(T.untyped) }
9322
+ def test_prunes_subclass_constant; end
9323
+
9324
+ sig { returns(T.untyped) }
9325
+ def test_noop_when_nothing_to_prune; end
9326
+ end
data/sig/checkoff.rbs CHANGED
@@ -3598,6 +3598,20 @@ module Checkoff
3598
3598
  # sord warn - Asana::Client wasn't able to be resolved to a constant in this project
3599
3599
  attr_reader client: Asana::Client
3600
3600
  end
3601
+
3602
+ # Remove TIME_BY_PERIOD redeclarations Sord emits on BaseAsana test subclasses.
3603
+ module PruneRbiTestConstants
3604
+ SUBCLASSES: untyped
3605
+
3606
+ # _@param_ `klass`
3607
+ def self.pattern_for: (String klass) -> Regexp
3608
+
3609
+ # _@param_ `path`
3610
+ def self.call: (String path) -> void
3611
+
3612
+ # _@param_ `content`
3613
+ def self.prune_subclasses: (String content) -> String
3614
+ end
3601
3615
  end
3602
3616
 
3603
3617
  # include this to add ability to log at different levels
@@ -5161,4 +5175,12 @@ class TestAsanaEventFilter < ClassTest
5161
5175
  def respond_like_instance_of: () -> void
5162
5176
 
5163
5177
  def respond_like: () -> void
5178
+ end
5179
+
5180
+ class TestPruneCheckoffRbiTestConstants < Minitest::Test
5181
+ SAMPLE: untyped
5182
+
5183
+ def test_prunes_subclass_constant: () -> untyped
5184
+
5185
+ def test_noop_when_nothing_to_prune: () -> untyped
5164
5186
  end
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.247.0
4
+ version: 0.249.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-05-25 00:00:00.000000000 Z
11
+ date: 2026-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport