Update rubocop to version 1.80.2 (#36007)

This commit is contained in:
Matt Jankowski
2025-09-04 04:14:01 -04:00
committed by GitHub
parent 4c2a2c27c1
commit 27969c3077
3 changed files with 6 additions and 6 deletions

View File

@@ -182,9 +182,9 @@ module Paperclip
t += 1 if t.negative?
t -= 1 if t > 1
return (p + ((q - p) * 6 * t)) if t < 1 / 6.0
return p + ((q - p) * 6 * t) if t < 1 / 6.0
return q if t < 1 / 2.0
return (p + ((q - p) * ((2 / 3.0) - t) * 6)) if t < 2 / 3.0
return p + ((q - p) * ((2 / 3.0) - t) * 6) if t < 2 / 3.0
p
end