Merge remote-tracking branch 'parent/main' into upstream-20240310
This commit is contained in:
commit
5979c0ea1d
345 changed files with 4304 additions and 2540 deletions
|
@ -16,7 +16,7 @@ class HashtagNormalizer
|
|||
end
|
||||
|
||||
def lowercase(str)
|
||||
str.mb_chars.downcase.to_s
|
||||
str.downcase.to_s
|
||||
end
|
||||
|
||||
def cjk_width(str)
|
||||
|
|
|
@ -12,7 +12,7 @@ class VideoMetadataExtractor
|
|||
rescue Terrapin::ExitStatusError, Oj::ParseError
|
||||
@invalid = true
|
||||
rescue Terrapin::CommandNotFoundError
|
||||
raise Paperclip::Errors::CommandNotFoundError, 'Could not run the `ffprobe` command. Please install ffmpeg.'
|
||||
raise Paperclip::Errors::CommandNotFoundError, 'Could not run the `ffprobe` command. Please install ffmpeg.' # rubocop:disable I18n/RailsI18n/DecorateString -- This error is not user-facing
|
||||
end
|
||||
|
||||
def valid?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue