checkoff 0.241.0 → 0.242.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/internal/selector_classes/task.rb +1 -3
- data/lib/checkoff/version.rb +1 -1
- data/rbi/checkoff.rbi +8 -2
- data/sig/checkoff.rbs +4 -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: 490b716e841198c5e1fa22982fc8ce076377eae813acd6d2c163dca90cb40bef
|
|
4
|
+
data.tar.gz: 3046b5d1734f89ac3006917ff62f18df7a9ee2b614c5dc13f78e3e9cbd77201a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e35cf12c1b8f4be0cbbf2880a91f9602d339be6a13dea20dca5712b7c4a4e8a117da49d4d2bdecfd11bfa0d01945997f81afd7b5f109779734703b2edfb6ed97
|
|
7
|
+
data.tar.gz: 17136e9720f9bdf85a854323a5b31b6a094d3e15247cb52f8b85124ca56a2caeba6a89058c8e8b4ff9c9a921cf3e0886b9d78c4d9c671908ae359c80c44f2bea
|
|
@@ -72,9 +72,7 @@ module Checkoff
|
|
|
72
72
|
# @return [Boolean]
|
|
73
73
|
def evaluate(task, section_name)
|
|
74
74
|
task_data = @tasks.task_to_h(task)
|
|
75
|
-
task_data.fetch('unwrapped').fetch('membership_by_section_name').keys.any?
|
|
76
|
-
actual_section_name == section_name
|
|
77
|
-
end
|
|
75
|
+
task_data.fetch('unwrapped').fetch('membership_by_section_name').keys.any?(section_name)
|
|
78
76
|
end
|
|
79
77
|
end
|
|
80
78
|
|
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.242.0'
|
|
79
79
|
|
|
80
80
|
class Attachments
|
|
81
81
|
include Logging
|
|
@@ -2433,7 +2433,7 @@ end
|
|
|
2433
2433
|
# typed: ignore
|
|
2434
2434
|
# Command-line and gem client for Asana (unofficial)
|
|
2435
2435
|
module Checkoff
|
|
2436
|
-
VERSION = T.let('0.
|
|
2436
|
+
VERSION = T.let('0.242.0', T.untyped)
|
|
2437
2437
|
|
|
2438
2438
|
# Move tasks from one place to another
|
|
2439
2439
|
class MvSubcommand
|
|
@@ -8534,6 +8534,12 @@ class TestTaskSelectors < ClassTest
|
|
|
8534
8534
|
|
|
8535
8535
|
sig { returns(T.class_of(Checkoff::TaskSelectors)) }
|
|
8536
8536
|
def class_under_test; end
|
|
8537
|
+
|
|
8538
|
+
sig { returns(T.untyped) }
|
|
8539
|
+
def test_filter_via_task_selector_in_section_named_false; end
|
|
8540
|
+
|
|
8541
|
+
sig { returns(T.untyped) }
|
|
8542
|
+
def test_filter_via_task_selector_in_section_named_true; end
|
|
8537
8543
|
end
|
|
8538
8544
|
|
|
8539
8545
|
class TestLogging < Minitest::Test
|
data/sig/checkoff.rbs
CHANGED
|
@@ -4777,6 +4777,10 @@ class TestTaskSelectors < ClassTest
|
|
|
4777
4777
|
def respond_like: () -> untyped
|
|
4778
4778
|
|
|
4779
4779
|
def class_under_test: () -> singleton(Checkoff::TaskSelectors)
|
|
4780
|
+
|
|
4781
|
+
def test_filter_via_task_selector_in_section_named_false: () -> untyped
|
|
4782
|
+
|
|
4783
|
+
def test_filter_via_task_selector_in_section_named_true: () -> untyped
|
|
4780
4784
|
end
|
|
4781
4785
|
|
|
4782
4786
|
class TestLogging < Minitest::Test
|
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.242.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-
|
|
11
|
+
date: 2026-05-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|