Skip to content

Commit ec402c9

Browse files
committed
TargetRubyVersion for rubocop
Layout/LineLength: Line is too long. [153/120] (https://rubystyle.guide#max-line-length)
1 parent ca35f96 commit ec402c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ AllCops:
2222
- "node_modules/**/*"
2323
ExtraDetails: true
2424
NewCops: enable
25-
TargetRubyVersion: 3.1
25+
TargetRubyVersion: 3.4
2626

2727
# readability is Actually Good
2828
Layout/EmptyLinesAroundClassBody:

lib/tasks/digitization_batch_ingest.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ namespace :digitization do
4141
# - Give `title` 80 characters of space.
4242
# - `processing` should be the longest `status`
4343
# - batch `size` should be pretty small to ensure that the jobs can finish in a timely manner
44-
puts format '%38s,%80s,%12s,%7s', 'id', 'title', 'status', 'size'
44+
puts format '%38s,%80s,%12s,%7d', 'id', 'title', 'status', 'size'
4545
Digitization::BatchMetadataIngest.order(created_at: :desc).limit(limit).each do |batch_ingest|
4646
puts format '%38s,%80s,%12s,%7d', batch_ingest.id, batch_ingest.title, batch_ingest.status,
4747
batch_ingest.books.count

0 commit comments

Comments
 (0)