checkoff 0.261.0 → 0.262.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: c686b3cd1d9a92ada49d9d9586e42763fb5f042d520fc755ac9278f995ac606d
4
- data.tar.gz: 1d7c3c943d5c310cf4eb17f04f3caa948f2bfa685ed9461dc7773afb11fab306
3
+ metadata.gz: 700a469f6a34a1ce215ca1ad78fe33b0272c5556caa73e3320194ddef626514f
4
+ data.tar.gz: 87dc70ff2180cb98b24e295d50e3dd0b461cf9edc0d055ba03033267e21923f4
5
5
  SHA512:
6
- metadata.gz: 712db0ae7935e7d58e9fa54c4f8be6779b0f6e573c3c57def2089f285f660ec0372205ae32e0c6b4689c0ff6f65e34518b2587bf9b41f43c92d37853537c6205
7
- data.tar.gz: 9198bbb230717c5aa4ce098f0c34d0fad6a675d1761e4450002ace6c467f3c3b2f39df04d4dbe00b5906b349d50e76ccd17a004cc897024b806a5df2f24c923a
6
+ metadata.gz: 22f9404829ad573b2b4df9b5e2ce3c3f965200d0e5ffcea04d75b71a0e57dc16982bd3b890a9abb51fe264c1bd26c2bbab02dd07594c9e269ac1796bfdc18c47
7
+ data.tar.gz: 7591f1792fbaeb5a6d3328679f55ffb7158180703c7cb1371fd88d23b97c1b9a54777af999c10acc5d0b725f17ae7bc8d8f97336d9d87225ed271600c5bf4e72
@@ -87,8 +87,6 @@ module Checkoff
87
87
  out = nil
88
88
  host = uri.host || raise("URI has no host: #{uri}")
89
89
  Net::HTTP.start(host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:) do |http|
90
- # @sg-ignore tool-limitation:pr-1290-follow-up
91
- # https://github.com/castwide/solargraph/pull/1290#issuecomment-5272957964
92
90
  http.request(Net::HTTP::Get.new(uri)) do |response|
93
91
  raise("Unexpected response code: #{response.code}") unless response.code == '200'
94
92
 
@@ -58,8 +58,7 @@ module Logging
58
58
 
59
59
  # @return [Symbol]
60
60
  def log_level
61
- # rubocop:disable Style/RedundantFetchBlock
61
+ # rubocop:disable-next Style/RedundantFetchBlock
62
62
  ENV.fetch('LOG_LEVEL') { 'INFO' }.downcase.to_sym
63
- # rubocop:enable Style/RedundantFetchBlock
64
63
  end
65
64
  end
@@ -163,11 +163,10 @@ module Checkoff
163
163
  # @param period [Symbol] - :now_or_before or :this_week
164
164
  # @param ignore_dependencies [Boolean]
165
165
  # @return [Boolean]
166
- # rubocop:disable Style/OptionalBooleanParameter
166
+ # rubocop:disable-next Style/OptionalBooleanParameter
167
167
  def evaluate(task, period = :now_or_before, ignore_dependencies = false)
168
168
  tasks.task_ready?(task, period:, ignore_dependencies:)
169
169
  end
170
- # rubocop:enable Style/OptionalBooleanParameter
171
170
  end
172
171
 
173
172
  # :in_period? function
@@ -83,6 +83,9 @@ module Checkoff
83
83
  #
84
84
  # @return [Hash{Symbol => undefined}]
85
85
  def task_options(extra_fields: [], only_uncompleted: false)
86
+ # @type [Hash{:per_page => Integer} &
87
+ # Hash{:options => Hash{Symbol => Array<String>}} &
88
+ # Hash{:completed_since => String}]
86
89
  options = {
87
90
  per_page: 100,
88
91
  options: {
@@ -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.261.0'
7
+ VERSION = '0.262.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.261.0'
85
+ VERSION = '0.262.0'
86
86
 
87
87
  class Attachments
88
88
  include Logging
@@ -2485,7 +2485,7 @@ end
2485
2485
  # typed: ignore
2486
2486
  # Command-line and gem client for Asana (unofficial)
2487
2487
  module Checkoff
2488
- VERSION = T.let('0.261.0', T.untyped)
2488
+ VERSION = T.let('0.262.0', T.untyped)
2489
2489
 
2490
2490
  # Move tasks from one place to another
2491
2491
  class MvSubcommand
@@ -5936,7 +5936,7 @@ module Checkoff
5936
5936
  def evaluate_arg?(_index); end
5937
5937
 
5938
5938
  # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
5939
- # rubocop:disable Style/OptionalBooleanParameter
5939
+ # rubocop:disable-next Style/OptionalBooleanParameter
5940
5940
  #
5941
5941
  # _@param_ `task`
5942
5942
  #
@@ -6008,6 +6008,11 @@ module Checkoff
6008
6008
  # _@param_ `excluding_resource_subtypes`
6009
6009
  sig { params(task: Asana::Resources::Task, num_days: Integer, excluding_resource_subtypes: T::Array[String]).returns(T::Boolean) }
6010
6010
  def evaluate(task, num_days, excluding_resource_subtypes); end
6011
+
6012
+ # sord warn - Asana::Resources::Story wasn't able to be resolved to a constant in this project
6013
+ # _@param_ `story`
6014
+ sig { params(story: Asana::Resources::Story).returns(Time) }
6015
+ def created_at_for(story); end
6011
6016
  end
6012
6017
 
6013
6018
  # :estimate_exceeds_duration?
data/sig/checkoff.rbs CHANGED
@@ -2864,7 +2864,7 @@ module Checkoff
2864
2864
  def evaluate_arg?: (Integer _index) -> bool
2865
2865
 
2866
2866
  # sord warn - Asana::Resources::Task wasn't able to be resolved to a constant in this project
2867
- # rubocop:disable Style/OptionalBooleanParameter
2867
+ # rubocop:disable-next Style/OptionalBooleanParameter
2868
2868
  #
2869
2869
  # _@param_ `task`
2870
2870
  #
@@ -2925,6 +2925,10 @@ module Checkoff
2925
2925
  #
2926
2926
  # _@param_ `excluding_resource_subtypes`
2927
2927
  def evaluate: (Asana::Resources::Task task, Integer num_days, ::Array[String] excluding_resource_subtypes) -> bool
2928
+
2929
+ # sord warn - Asana::Resources::Story wasn't able to be resolved to a constant in this project
2930
+ # _@param_ `story`
2931
+ def created_at_for: (Asana::Resources::Story story) -> Time
2928
2932
  end
2929
2933
 
2930
2934
  # :estimate_exceeds_duration?
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.261.0
4
+ version: 0.262.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-08-19 00:00:00.000000000 Z
11
+ date: 2026-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport