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 +4 -4
- data/lib/checkoff/version.rb +1 -1
- data/rbi/checkoff.rbi +43 -2
- data/sig/checkoff.rbs +22 -0
- 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: 8e527558624aab2c9e02b922913ce52e69736a7b21d4b8bb6e94b584a8cd2c02
|
|
4
|
+
data.tar.gz: f31c0e0261c39128c34a4aa03dcc328cc3bf3800ef6413fdfe09eaaf53dc8fed
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9510e332a1579dfbc2c58d59d1e6ed98b8cf1525760e35c7c266510c20156fd21dcb5e5c5e6775bc12e7f69f546324731d5ac9f43daab23eda243f7c82c51ab4
|
|
7
|
+
data.tar.gz: 53415dbef70b417c6659bc994fe79fe2fd340653af682399a63aae053a3c9f1448db1eab94a9dad5b2be9ab327e3141c20d33d697a087286736548db7b25c899
|
data/lib/checkoff/version.rb
CHANGED
data/rbi/checkoff.rbi
CHANGED
|
@@ -75,7 +75,7 @@ module Overcommit
|
|
|
75
75
|
end
|
|
76
76
|
|
|
77
77
|
module Checkoff
|
|
78
|
-
VERSION = '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.
|
|
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.
|
|
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-
|
|
11
|
+
date: 2026-06-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|