checkoff 0.254.0 → 0.255.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/attachments.rb +4 -5
- data/lib/checkoff/clients.rb +1 -1
- data/lib/checkoff/custom_fields.rb +1 -1
- data/lib/checkoff/events.rb +1 -1
- data/lib/checkoff/internal/selector_classes/common.rb +2 -6
- data/lib/checkoff/internal/selector_classes/task.rb +2 -2
- data/lib/checkoff/portfolios.rb +1 -1
- data/lib/checkoff/project_selectors.rb +1 -1
- data/lib/checkoff/resources.rb +1 -1
- data/lib/checkoff/section_selectors.rb +1 -1
- data/lib/checkoff/tags.rb +1 -1
- data/lib/checkoff/task_searches.rb +1 -1
- data/lib/checkoff/task_selectors.rb +1 -1
- data/lib/checkoff/tasks.rb +2 -2
- data/lib/checkoff/timelines.rb +1 -1
- data/lib/checkoff/timing.rb +3 -3
- data/lib/checkoff/version.rb +1 -1
- data/lib/checkoff/workspaces.rb +1 -1
- data/rbi/checkoff.rbi +32 -32
- data/sig/checkoff.rbs +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 536fae3820ad36cda50e4dec1238d6339431cb9daee3b66cd517a22af4b35b55
|
|
4
|
+
data.tar.gz: e4e73d583bc781edbfaa069468065ce3323b840a06e88f413f394a9423f00279
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 740317a9021cdc37bcb82866839431586cdbacd7b50a5a9c46e6d9de4b4ef1398604d4eb44bf84d86a5463862fb9a71d7b4ae27395fb2007366f705531e5defc
|
|
7
|
+
data.tar.gz: fa6b09ab8d0fe41405db4b2070eb0ac548765a45fba7c15c3bb060d259ea686fe5d412f393ee3aa80d4b99d734646730dc6f63b85fa698324aae10d3bee32744
|
data/lib/checkoff/attachments.rb
CHANGED
|
@@ -34,7 +34,7 @@ module Checkoff
|
|
|
34
34
|
private_constant :HOUR
|
|
35
35
|
DAY = 24 * HOUR
|
|
36
36
|
private_constant :DAY
|
|
37
|
-
REALLY_LONG_CACHE_TIME = HOUR
|
|
37
|
+
REALLY_LONG_CACHE_TIME = HOUR
|
|
38
38
|
private_constant :REALLY_LONG_CACHE_TIME
|
|
39
39
|
LONG_CACHE_TIME = MINUTE * 15
|
|
40
40
|
private_constant :LONG_CACHE_TIME
|
|
@@ -104,20 +104,19 @@ module Checkoff
|
|
|
104
104
|
#
|
|
105
105
|
# @yields [IO]
|
|
106
106
|
#
|
|
107
|
-
# @return [
|
|
107
|
+
# @return [void]
|
|
108
108
|
def write_tempfile_from_response(response)
|
|
109
109
|
Tempfile.create('checkoff') do |tempfile|
|
|
110
|
-
# @sg-ignore
|
|
111
110
|
tempfile.binmode
|
|
112
|
-
# @sg-ignore
|
|
111
|
+
# @sg-ignore Unresolved call to read_body on #read_body
|
|
113
112
|
response.read_body do |chunk|
|
|
114
113
|
tempfile.write(chunk)
|
|
115
114
|
end
|
|
116
|
-
# @sg-ignore
|
|
117
115
|
tempfile.rewind
|
|
118
116
|
|
|
119
117
|
yield tempfile
|
|
120
118
|
end
|
|
119
|
+
nil
|
|
121
120
|
end
|
|
122
121
|
|
|
123
122
|
# @param url [String]
|
data/lib/checkoff/clients.rb
CHANGED
data/lib/checkoff/events.rb
CHANGED
|
@@ -26,7 +26,7 @@ module Checkoff
|
|
|
26
26
|
private_constant :HOUR
|
|
27
27
|
DAY = 24 * HOUR
|
|
28
28
|
private_constant :DAY
|
|
29
|
-
REALLY_LONG_CACHE_TIME = HOUR
|
|
29
|
+
REALLY_LONG_CACHE_TIME = HOUR
|
|
30
30
|
private_constant :REALLY_LONG_CACHE_TIME
|
|
31
31
|
LONG_CACHE_TIME = MINUTE * 15
|
|
32
32
|
private_constant :LONG_CACHE_TIME
|
|
@@ -163,9 +163,7 @@ module Checkoff
|
|
|
163
163
|
custom_field_gid)
|
|
164
164
|
|
|
165
165
|
# @sg-ignore
|
|
166
|
-
actual_custom_field_values_gids.
|
|
167
|
-
custom_field_values_gids.include?(custom_field_value)
|
|
168
|
-
end
|
|
166
|
+
actual_custom_field_values_gids.intersect?(custom_field_values_gids)
|
|
169
167
|
end
|
|
170
168
|
end
|
|
171
169
|
|
|
@@ -194,9 +192,7 @@ module Checkoff
|
|
|
194
192
|
custom_field_name)
|
|
195
193
|
|
|
196
194
|
# @sg-ignore
|
|
197
|
-
actual_custom_field_values_names.
|
|
198
|
-
custom_field_value_names.include?(custom_field_value)
|
|
199
|
-
end
|
|
195
|
+
actual_custom_field_values_names.intersect?(custom_field_value_names)
|
|
200
196
|
end
|
|
201
197
|
end
|
|
202
198
|
|
|
@@ -193,7 +193,7 @@ module Checkoff
|
|
|
193
193
|
# @sg-ignore Checkoff::SelectorClasses::Task::UnassignedPFunctionEvaluator#evaluate
|
|
194
194
|
# return type could not be inferred
|
|
195
195
|
def evaluate(task)
|
|
196
|
-
task.assignee.nil? == true
|
|
196
|
+
T.cast(task.assignee.nil? == true, T::Boolean)
|
|
197
197
|
end
|
|
198
198
|
end
|
|
199
199
|
|
|
@@ -210,7 +210,7 @@ module Checkoff
|
|
|
210
210
|
# @sg-ignore Checkoff::SelectorClasses::Task::DueDateSetPFunctionEvaluator#evaluate
|
|
211
211
|
# return type could not be inferred
|
|
212
212
|
def evaluate(task)
|
|
213
|
-
!(task.due_at.nil? && task.due_on.nil?)
|
|
213
|
+
T.cast(!(task.due_at.nil? && task.due_on.nil?), T::Boolean)
|
|
214
214
|
end
|
|
215
215
|
end
|
|
216
216
|
|
data/lib/checkoff/portfolios.rb
CHANGED
|
@@ -24,7 +24,7 @@ module Checkoff
|
|
|
24
24
|
MINUTE = 60
|
|
25
25
|
HOUR = T.let(MINUTE * 60, Numeric)
|
|
26
26
|
DAY = T.let(24 * HOUR, Numeric)
|
|
27
|
-
REALLY_LONG_CACHE_TIME = T.let(HOUR
|
|
27
|
+
REALLY_LONG_CACHE_TIME = T.let(HOUR, Numeric)
|
|
28
28
|
LONG_CACHE_TIME = T.let(MINUTE * 15, Numeric)
|
|
29
29
|
SHORT_CACHE_TIME = T.let(MINUTE, Numeric)
|
|
30
30
|
|
data/lib/checkoff/resources.rb
CHANGED
|
@@ -23,7 +23,7 @@ module Checkoff
|
|
|
23
23
|
private_constant :HOUR
|
|
24
24
|
DAY = 24 * HOUR
|
|
25
25
|
private_constant :DAY
|
|
26
|
-
REALLY_LONG_CACHE_TIME = HOUR
|
|
26
|
+
REALLY_LONG_CACHE_TIME = HOUR
|
|
27
27
|
private_constant :REALLY_LONG_CACHE_TIME
|
|
28
28
|
LONG_CACHE_TIME = MINUTE * 15
|
|
29
29
|
private_constant :LONG_CACHE_TIME
|
data/lib/checkoff/tags.rb
CHANGED
|
@@ -24,7 +24,7 @@ module Checkoff
|
|
|
24
24
|
MINUTE = 60
|
|
25
25
|
HOUR = T.let(MINUTE * 60, Numeric)
|
|
26
26
|
DAY = T.let(24 * HOUR, Numeric)
|
|
27
|
-
REALLY_LONG_CACHE_TIME = T.let(HOUR
|
|
27
|
+
REALLY_LONG_CACHE_TIME = T.let(HOUR, Numeric)
|
|
28
28
|
LONG_CACHE_TIME = T.let(MINUTE * 15, Numeric)
|
|
29
29
|
SHORT_CACHE_TIME = T.let(MINUTE, Numeric)
|
|
30
30
|
|
data/lib/checkoff/tasks.rb
CHANGED
|
@@ -301,11 +301,11 @@ module Checkoff
|
|
|
301
301
|
portfolio_name,
|
|
302
302
|
workspace_name: @workspaces.default_workspace.name)
|
|
303
303
|
portfolio_projects = @portfolios.projects_in_portfolio(workspace_name, portfolio_name)
|
|
304
|
-
task.memberships.any? do |membership|
|
|
304
|
+
T.cast(task.memberships.any? do |membership|
|
|
305
305
|
m = T.cast(membership, T::Hash[String, T.untyped])
|
|
306
306
|
project_gid = T.cast(m.fetch('project'), T::Hash[String, T.untyped]).fetch('gid')
|
|
307
307
|
portfolio_projects.any? { |portfolio_project| portfolio_project.gid == project_gid }
|
|
308
|
-
end
|
|
308
|
+
end, T::Boolean)
|
|
309
309
|
end
|
|
310
310
|
|
|
311
311
|
# True if the task is in a project which is in the given portfolio
|
data/lib/checkoff/timelines.rb
CHANGED
data/lib/checkoff/timing.rb
CHANGED
|
@@ -21,7 +21,7 @@ module Checkoff
|
|
|
21
21
|
MINUTE = 60
|
|
22
22
|
HOUR = MINUTE * 60
|
|
23
23
|
DAY = 24 * HOUR
|
|
24
|
-
REALLY_LONG_CACHE_TIME = HOUR
|
|
24
|
+
REALLY_LONG_CACHE_TIME = HOUR
|
|
25
25
|
LONG_CACHE_TIME = MINUTE * 15
|
|
26
26
|
SHORT_CACHE_TIME = MINUTE
|
|
27
27
|
|
|
@@ -178,9 +178,9 @@ module Checkoff
|
|
|
178
178
|
# @param num_days [Integer]
|
|
179
179
|
#
|
|
180
180
|
# @return [Date]
|
|
181
|
-
# @sg-ignore
|
|
181
|
+
# @sg-ignore Checkoff::Timing#n_days_from_today return type could not be inferred
|
|
182
182
|
def n_days_from_today(num_days)
|
|
183
|
-
@today_getter.today + num_days
|
|
183
|
+
T.cast(@today_getter.today + num_days, Date)
|
|
184
184
|
end
|
|
185
185
|
|
|
186
186
|
# @param date_or_time [Date,Time,nil]
|
data/lib/checkoff/version.rb
CHANGED
data/lib/checkoff/workspaces.rb
CHANGED
data/rbi/checkoff.rbi
CHANGED
|
@@ -82,14 +82,14 @@ module Overcommit
|
|
|
82
82
|
end
|
|
83
83
|
|
|
84
84
|
module Checkoff
|
|
85
|
-
VERSION = '0.
|
|
85
|
+
VERSION = '0.255.0'
|
|
86
86
|
|
|
87
87
|
class Attachments
|
|
88
88
|
include Logging
|
|
89
89
|
MINUTE = 60
|
|
90
90
|
HOUR = MINUTE * 60
|
|
91
91
|
DAY = 24 * HOUR
|
|
92
|
-
REALLY_LONG_CACHE_TIME = HOUR
|
|
92
|
+
REALLY_LONG_CACHE_TIME = HOUR
|
|
93
93
|
LONG_CACHE_TIME = MINUTE * 15
|
|
94
94
|
SHORT_CACHE_TIME = MINUTE
|
|
95
95
|
|
|
@@ -313,7 +313,7 @@ module Checkoff
|
|
|
313
313
|
MINUTE = 60
|
|
314
314
|
HOUR = MINUTE * 60
|
|
315
315
|
DAY = 24 * HOUR
|
|
316
|
-
REALLY_LONG_CACHE_TIME = HOUR
|
|
316
|
+
REALLY_LONG_CACHE_TIME = HOUR
|
|
317
317
|
LONG_CACHE_TIME = MINUTE * 15
|
|
318
318
|
SHORT_CACHE_TIME = MINUTE
|
|
319
319
|
|
|
@@ -331,7 +331,7 @@ module Checkoff
|
|
|
331
331
|
MINUTE = 60
|
|
332
332
|
HOUR = MINUTE * 60
|
|
333
333
|
DAY = 24 * HOUR
|
|
334
|
-
REALLY_LONG_CACHE_TIME = HOUR
|
|
334
|
+
REALLY_LONG_CACHE_TIME = HOUR
|
|
335
335
|
LONG_CACHE_TIME = MINUTE * 15
|
|
336
336
|
SHORT_CACHE_TIME = MINUTE
|
|
337
337
|
|
|
@@ -388,7 +388,7 @@ module Checkoff
|
|
|
388
388
|
MINUTE = 60
|
|
389
389
|
HOUR = MINUTE * 60
|
|
390
390
|
DAY = 24 * HOUR
|
|
391
|
-
REALLY_LONG_CACHE_TIME = HOUR
|
|
391
|
+
REALLY_LONG_CACHE_TIME = HOUR
|
|
392
392
|
LONG_CACHE_TIME = MINUTE * 15
|
|
393
393
|
SHORT_CACHE_TIME = MINUTE
|
|
394
394
|
|
|
@@ -614,7 +614,7 @@ module Checkoff
|
|
|
614
614
|
MINUTE = 60
|
|
615
615
|
HOUR = T.let(MINUTE * 60, Numeric)
|
|
616
616
|
DAY = T.let(24 * HOUR, Numeric)
|
|
617
|
-
REALLY_LONG_CACHE_TIME = T.let(HOUR
|
|
617
|
+
REALLY_LONG_CACHE_TIME = T.let(HOUR, Numeric)
|
|
618
618
|
LONG_CACHE_TIME = T.let(MINUTE * 15, Numeric)
|
|
619
619
|
SHORT_CACHE_TIME = T.let(MINUTE, Numeric)
|
|
620
620
|
|
|
@@ -661,7 +661,7 @@ module Checkoff
|
|
|
661
661
|
MINUTE = 60
|
|
662
662
|
HOUR = MINUTE * 60
|
|
663
663
|
DAY = 24 * HOUR
|
|
664
|
-
REALLY_LONG_CACHE_TIME = HOUR
|
|
664
|
+
REALLY_LONG_CACHE_TIME = HOUR
|
|
665
665
|
LONG_CACHE_TIME = MINUTE * 15
|
|
666
666
|
SHORT_CACHE_TIME = MINUTE
|
|
667
667
|
|
|
@@ -791,7 +791,7 @@ module Checkoff
|
|
|
791
791
|
MINUTE = 60
|
|
792
792
|
HOUR = MINUTE * 60
|
|
793
793
|
DAY = 24 * HOUR
|
|
794
|
-
REALLY_LONG_CACHE_TIME = HOUR
|
|
794
|
+
REALLY_LONG_CACHE_TIME = HOUR
|
|
795
795
|
LONG_CACHE_TIME = MINUTE * 15
|
|
796
796
|
SHORT_CACHE_TIME = MINUTE
|
|
797
797
|
|
|
@@ -843,7 +843,7 @@ module Checkoff
|
|
|
843
843
|
MINUTE = 60
|
|
844
844
|
HOUR = MINUTE * 60
|
|
845
845
|
DAY = 24 * HOUR
|
|
846
|
-
REALLY_LONG_CACHE_TIME = HOUR
|
|
846
|
+
REALLY_LONG_CACHE_TIME = HOUR
|
|
847
847
|
LONG_CACHE_TIME = MINUTE * 15
|
|
848
848
|
SHORT_CACHE_TIME = MINUTE
|
|
849
849
|
|
|
@@ -1034,7 +1034,7 @@ module Checkoff
|
|
|
1034
1034
|
MINUTE = 60
|
|
1035
1035
|
HOUR = T.let(MINUTE * 60, Numeric)
|
|
1036
1036
|
DAY = T.let(24 * HOUR, Numeric)
|
|
1037
|
-
REALLY_LONG_CACHE_TIME = T.let(HOUR
|
|
1037
|
+
REALLY_LONG_CACHE_TIME = T.let(HOUR, Numeric)
|
|
1038
1038
|
LONG_CACHE_TIME = T.let(MINUTE * 15, Numeric)
|
|
1039
1039
|
SHORT_CACHE_TIME = T.let(MINUTE, Numeric)
|
|
1040
1040
|
|
|
@@ -1100,7 +1100,7 @@ module Checkoff
|
|
|
1100
1100
|
MINUTE = 60
|
|
1101
1101
|
HOUR = MINUTE * 60
|
|
1102
1102
|
DAY = 24 * HOUR
|
|
1103
|
-
REALLY_LONG_CACHE_TIME = HOUR
|
|
1103
|
+
REALLY_LONG_CACHE_TIME = HOUR
|
|
1104
1104
|
LONG_CACHE_TIME = MINUTE * 15
|
|
1105
1105
|
SHORT_CACHE_TIME = MINUTE
|
|
1106
1106
|
|
|
@@ -1164,7 +1164,7 @@ module Checkoff
|
|
|
1164
1164
|
MINUTE = 60
|
|
1165
1165
|
HOUR = MINUTE * 60
|
|
1166
1166
|
DAY = 24 * HOUR
|
|
1167
|
-
REALLY_LONG_CACHE_TIME = HOUR
|
|
1167
|
+
REALLY_LONG_CACHE_TIME = HOUR
|
|
1168
1168
|
LONG_CACHE_TIME = MINUTE * 15
|
|
1169
1169
|
SHORT_CACHE_TIME = MINUTE
|
|
1170
1170
|
|
|
@@ -1334,7 +1334,7 @@ module Checkoff
|
|
|
1334
1334
|
MINUTE = 60
|
|
1335
1335
|
HOUR = MINUTE * 60
|
|
1336
1336
|
DAY = 24 * HOUR
|
|
1337
|
-
REALLY_LONG_CACHE_TIME = HOUR
|
|
1337
|
+
REALLY_LONG_CACHE_TIME = HOUR
|
|
1338
1338
|
LONG_CACHE_TIME = MINUTE * 15
|
|
1339
1339
|
SHORT_CACHE_TIME = MINUTE
|
|
1340
1340
|
|
|
@@ -1381,7 +1381,7 @@ module Checkoff
|
|
|
1381
1381
|
MINUTE = 60
|
|
1382
1382
|
HOUR = MINUTE * 60
|
|
1383
1383
|
DAY = 24 * HOUR
|
|
1384
|
-
REALLY_LONG_CACHE_TIME = HOUR
|
|
1384
|
+
REALLY_LONG_CACHE_TIME = HOUR
|
|
1385
1385
|
LONG_CACHE_TIME = MINUTE * 15
|
|
1386
1386
|
SHORT_CACHE_TIME = MINUTE
|
|
1387
1387
|
WDAY_FROM_DAY_OF_WEEK = {
|
|
@@ -1444,7 +1444,7 @@ module Checkoff
|
|
|
1444
1444
|
MINUTE = 60
|
|
1445
1445
|
HOUR = MINUTE * 60
|
|
1446
1446
|
DAY = 24 * HOUR
|
|
1447
|
-
REALLY_LONG_CACHE_TIME = HOUR
|
|
1447
|
+
REALLY_LONG_CACHE_TIME = HOUR
|
|
1448
1448
|
LONG_CACHE_TIME = MINUTE * 15
|
|
1449
1449
|
SHORT_CACHE_TIME = MINUTE
|
|
1450
1450
|
|
|
@@ -2449,7 +2449,7 @@ end
|
|
|
2449
2449
|
# typed: ignore
|
|
2450
2450
|
# Command-line and gem client for Asana (unofficial)
|
|
2451
2451
|
module Checkoff
|
|
2452
|
-
VERSION = T.let('0.
|
|
2452
|
+
VERSION = T.let('0.255.0', T.untyped)
|
|
2453
2453
|
|
|
2454
2454
|
# Move tasks from one place to another
|
|
2455
2455
|
class MvSubcommand
|
|
@@ -2730,7 +2730,7 @@ module Checkoff
|
|
|
2730
2730
|
MINUTE = T.let(60, T.untyped)
|
|
2731
2731
|
HOUR = T.let(T.let(MINUTE * 60, Numeric), T.untyped)
|
|
2732
2732
|
DAY = T.let(T.let(24 * HOUR, Numeric), T.untyped)
|
|
2733
|
-
REALLY_LONG_CACHE_TIME = T.let(T.let(HOUR
|
|
2733
|
+
REALLY_LONG_CACHE_TIME = T.let(T.let(HOUR, Numeric), T.untyped)
|
|
2734
2734
|
LONG_CACHE_TIME = T.let(T.let(MINUTE * 15, Numeric), T.untyped)
|
|
2735
2735
|
SHORT_CACHE_TIME = T.let(T.let(MINUTE, Numeric), T.untyped)
|
|
2736
2736
|
|
|
@@ -3137,7 +3137,7 @@ module Checkoff
|
|
|
3137
3137
|
MINUTE = T.let(60, T.untyped)
|
|
3138
3138
|
HOUR = T.let(MINUTE * 60, T.untyped)
|
|
3139
3139
|
DAY = T.let(24 * HOUR, T.untyped)
|
|
3140
|
-
REALLY_LONG_CACHE_TIME = T.let(HOUR
|
|
3140
|
+
REALLY_LONG_CACHE_TIME = T.let(HOUR, T.untyped)
|
|
3141
3141
|
LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
|
|
3142
3142
|
SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
|
|
3143
3143
|
|
|
@@ -3253,7 +3253,7 @@ module Checkoff
|
|
|
3253
3253
|
MINUTE = T.let(60, T.untyped)
|
|
3254
3254
|
HOUR = T.let(MINUTE * 60, T.untyped)
|
|
3255
3255
|
DAY = T.let(24 * HOUR, T.untyped)
|
|
3256
|
-
REALLY_LONG_CACHE_TIME = T.let(HOUR
|
|
3256
|
+
REALLY_LONG_CACHE_TIME = T.let(HOUR, T.untyped)
|
|
3257
3257
|
LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
|
|
3258
3258
|
SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
|
|
3259
3259
|
WDAY_FROM_DAY_OF_WEEK = T.let({
|
|
@@ -3324,7 +3324,7 @@ module Checkoff
|
|
|
3324
3324
|
sig { params(num_days: Integer).returns(ActiveSupport::TimeWithZone) }
|
|
3325
3325
|
def n_days_from_now(num_days); end
|
|
3326
3326
|
|
|
3327
|
-
# @sg-ignore
|
|
3327
|
+
# @sg-ignore Checkoff::Timing#n_days_from_today return type could not be inferred
|
|
3328
3328
|
#
|
|
3329
3329
|
# _@param_ `num_days`
|
|
3330
3330
|
sig { params(num_days: Integer).returns(Date) }
|
|
@@ -3382,7 +3382,7 @@ module Checkoff
|
|
|
3382
3382
|
MINUTE = T.let(60, T.untyped)
|
|
3383
3383
|
HOUR = T.let(MINUTE * 60, T.untyped)
|
|
3384
3384
|
DAY = T.let(24 * HOUR, T.untyped)
|
|
3385
|
-
REALLY_LONG_CACHE_TIME = T.let(HOUR
|
|
3385
|
+
REALLY_LONG_CACHE_TIME = T.let(HOUR, T.untyped)
|
|
3386
3386
|
LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
|
|
3387
3387
|
SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
|
|
3388
3388
|
|
|
@@ -4016,7 +4016,7 @@ module Checkoff
|
|
|
4016
4016
|
MINUTE = T.let(60, T.untyped)
|
|
4017
4017
|
HOUR = T.let(MINUTE * 60, T.untyped)
|
|
4018
4018
|
DAY = T.let(24 * HOUR, T.untyped)
|
|
4019
|
-
REALLY_LONG_CACHE_TIME = T.let(HOUR
|
|
4019
|
+
REALLY_LONG_CACHE_TIME = T.let(HOUR, T.untyped)
|
|
4020
4020
|
LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
|
|
4021
4021
|
SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
|
|
4022
4022
|
|
|
@@ -4101,7 +4101,7 @@ module Checkoff
|
|
|
4101
4101
|
MINUTE = T.let(60, T.untyped)
|
|
4102
4102
|
HOUR = T.let(MINUTE * 60, T.untyped)
|
|
4103
4103
|
DAY = T.let(24 * HOUR, T.untyped)
|
|
4104
|
-
REALLY_LONG_CACHE_TIME = T.let(HOUR
|
|
4104
|
+
REALLY_LONG_CACHE_TIME = T.let(HOUR, T.untyped)
|
|
4105
4105
|
LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
|
|
4106
4106
|
SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
|
|
4107
4107
|
|
|
@@ -4183,7 +4183,7 @@ module Checkoff
|
|
|
4183
4183
|
MINUTE = T.let(60, T.untyped)
|
|
4184
4184
|
HOUR = T.let(T.let(MINUTE * 60, Numeric), T.untyped)
|
|
4185
4185
|
DAY = T.let(T.let(24 * HOUR, Numeric), T.untyped)
|
|
4186
|
-
REALLY_LONG_CACHE_TIME = T.let(T.let(HOUR
|
|
4186
|
+
REALLY_LONG_CACHE_TIME = T.let(T.let(HOUR, Numeric), T.untyped)
|
|
4187
4187
|
LONG_CACHE_TIME = T.let(T.let(MINUTE * 15, Numeric), T.untyped)
|
|
4188
4188
|
SHORT_CACHE_TIME = T.let(T.let(MINUTE, Numeric), T.untyped)
|
|
4189
4189
|
|
|
@@ -4270,7 +4270,7 @@ module Checkoff
|
|
|
4270
4270
|
MINUTE = T.let(60, T.untyped)
|
|
4271
4271
|
HOUR = T.let(MINUTE * 60, T.untyped)
|
|
4272
4272
|
DAY = T.let(24 * HOUR, T.untyped)
|
|
4273
|
-
REALLY_LONG_CACHE_TIME = T.let(HOUR
|
|
4273
|
+
REALLY_LONG_CACHE_TIME = T.let(HOUR, T.untyped)
|
|
4274
4274
|
LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
|
|
4275
4275
|
SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
|
|
4276
4276
|
|
|
@@ -4318,7 +4318,7 @@ module Checkoff
|
|
|
4318
4318
|
MINUTE = T.let(60, T.untyped)
|
|
4319
4319
|
HOUR = T.let(MINUTE * 60, T.untyped)
|
|
4320
4320
|
DAY = T.let(24 * HOUR, T.untyped)
|
|
4321
|
-
REALLY_LONG_CACHE_TIME = T.let(HOUR
|
|
4321
|
+
REALLY_LONG_CACHE_TIME = T.let(HOUR, T.untyped)
|
|
4322
4322
|
LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
|
|
4323
4323
|
SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
|
|
4324
4324
|
|
|
@@ -4374,7 +4374,7 @@ module Checkoff
|
|
|
4374
4374
|
|
|
4375
4375
|
# sord duck - #read_body looks like a duck type, replacing with untyped
|
|
4376
4376
|
# _@param_ `response`
|
|
4377
|
-
sig { params(response: T.untyped).
|
|
4377
|
+
sig { params(response: T.untyped).void }
|
|
4378
4378
|
def write_tempfile_from_response(response); end
|
|
4379
4379
|
|
|
4380
4380
|
# sord warn - Asana::Resources::Attachment wasn't able to be resolved to a constant in this project
|
|
@@ -4459,7 +4459,7 @@ module Checkoff
|
|
|
4459
4459
|
MINUTE = T.let(60, T.untyped)
|
|
4460
4460
|
HOUR = T.let(MINUTE * 60, T.untyped)
|
|
4461
4461
|
DAY = T.let(24 * HOUR, T.untyped)
|
|
4462
|
-
REALLY_LONG_CACHE_TIME = T.let(HOUR
|
|
4462
|
+
REALLY_LONG_CACHE_TIME = T.let(HOUR, T.untyped)
|
|
4463
4463
|
LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
|
|
4464
4464
|
SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
|
|
4465
4465
|
|
|
@@ -4575,7 +4575,7 @@ module Checkoff
|
|
|
4575
4575
|
MINUTE = T.let(60, T.untyped)
|
|
4576
4576
|
HOUR = T.let(MINUTE * 60, T.untyped)
|
|
4577
4577
|
DAY = T.let(24 * HOUR, T.untyped)
|
|
4578
|
-
REALLY_LONG_CACHE_TIME = T.let(HOUR
|
|
4578
|
+
REALLY_LONG_CACHE_TIME = T.let(HOUR, T.untyped)
|
|
4579
4579
|
LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
|
|
4580
4580
|
SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
|
|
4581
4581
|
|
|
@@ -4744,7 +4744,7 @@ module Checkoff
|
|
|
4744
4744
|
MINUTE = T.let(60, T.untyped)
|
|
4745
4745
|
HOUR = T.let(MINUTE * 60, T.untyped)
|
|
4746
4746
|
DAY = T.let(24 * HOUR, T.untyped)
|
|
4747
|
-
REALLY_LONG_CACHE_TIME = T.let(HOUR
|
|
4747
|
+
REALLY_LONG_CACHE_TIME = T.let(HOUR, T.untyped)
|
|
4748
4748
|
LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
|
|
4749
4749
|
SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
|
|
4750
4750
|
|
|
@@ -4809,7 +4809,7 @@ module Checkoff
|
|
|
4809
4809
|
MINUTE = T.let(60, T.untyped)
|
|
4810
4810
|
HOUR = T.let(MINUTE * 60, T.untyped)
|
|
4811
4811
|
DAY = T.let(24 * HOUR, T.untyped)
|
|
4812
|
-
REALLY_LONG_CACHE_TIME = T.let(HOUR
|
|
4812
|
+
REALLY_LONG_CACHE_TIME = T.let(HOUR, T.untyped)
|
|
4813
4813
|
LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
|
|
4814
4814
|
SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
|
|
4815
4815
|
|
|
@@ -4872,7 +4872,7 @@ module Checkoff
|
|
|
4872
4872
|
MINUTE = T.let(60, T.untyped)
|
|
4873
4873
|
HOUR = T.let(MINUTE * 60, T.untyped)
|
|
4874
4874
|
DAY = T.let(24 * HOUR, T.untyped)
|
|
4875
|
-
REALLY_LONG_CACHE_TIME = T.let(HOUR
|
|
4875
|
+
REALLY_LONG_CACHE_TIME = T.let(HOUR, T.untyped)
|
|
4876
4876
|
LONG_CACHE_TIME = T.let(MINUTE * 15, T.untyped)
|
|
4877
4877
|
SHORT_CACHE_TIME = T.let(MINUTE, T.untyped)
|
|
4878
4878
|
|
data/sig/checkoff.rbs
CHANGED
|
@@ -729,7 +729,7 @@ module Checkoff
|
|
|
729
729
|
# _@param_ `num_days`
|
|
730
730
|
def n_days_from_now: (Integer num_days) -> ActiveSupport::TimeWithZone
|
|
731
731
|
|
|
732
|
-
# @sg-ignore
|
|
732
|
+
# @sg-ignore Checkoff::Timing#n_days_from_today return type could not be inferred
|
|
733
733
|
#
|
|
734
734
|
# _@param_ `num_days`
|
|
735
735
|
def n_days_from_today: (Integer num_days) -> Date
|
|
@@ -1626,7 +1626,7 @@ module Checkoff
|
|
|
1626
1626
|
|
|
1627
1627
|
# sord duck - #read_body looks like a duck type, replacing with untyped
|
|
1628
1628
|
# _@param_ `response`
|
|
1629
|
-
def write_tempfile_from_response: (untyped response) ->
|
|
1629
|
+
def write_tempfile_from_response: (untyped response) -> void
|
|
1630
1630
|
|
|
1631
1631
|
# sord warn - Asana::Resources::Attachment wasn't able to be resolved to a constant in this project
|
|
1632
1632
|
# _@param_ `url`
|