Fix rubocop offenses - Requires Ruby 3.1+

This commit is contained in:
Sebastian Serth
2022-11-25 10:53:14 +01:00
parent bdf474e684
commit 574e99eddd
93 changed files with 315 additions and 315 deletions

View File

@@ -293,7 +293,7 @@ class MigrateTestruns < ActiveRecord::Migration[6.1]
# Using the string keys by design. Otherwise, we would need to call #symbolize_keys!
message = {
testrun: testrun,
testrun:,
cmd: json['cmd'],
# We cannot infer any timestamp and thus use arbitrary, distinct millisecond values (1s = 1000ms)
timestamp: ActiveSupport::Duration.build(order / 1000.0),