style: rubocop Style/Encoding

Fix Style/Encoding by rubocop

Signed-off-by: Cody Coder <cody.coder@gitcodebuddy.com>
This commit is contained in:
Ofir Petrushka 2020-10-07 11:58:06 +11:00
parent 67dcc81afe
commit 962088f59c
18 changed files with 0 additions and 33 deletions

View File

@ -1,5 +1,3 @@
# coding: utf-8
$build_start = Time.now
if Signal.list.key?('ALRM')

View File

@ -1,5 +1,3 @@
# coding: utf-8
require "shellwords"
$use_tempfile_for_run = defined?(RUBY_PLATFORM) && /mingw/i.match(RUBY_PLATFORM)

View File

@ -1,5 +1,3 @@
# coding: utf-8
module Mtx::Installer
def self.read_translation_file file_name
# Local Variables:

View File

@ -1,4 +1,3 @@
# coding: utf-8
#
# mkvtoolnix - programs for manipulating Matroska files
# Copyright © 2003…2016 Moritz Bunkus

View File

@ -1,5 +1,3 @@
# coding: utf-8
def format_string_for_po str
return '"' + str.gsub(/"/, '\"') + '"' unless /\\n./.match(str)

View File

@ -1,5 +1,3 @@
# coding: utf-8
module Mtx::SourceTests
def self.collect_header_files
ui_file_names = FileList["src/**/*.ui"]

View File

@ -1,6 +1,4 @@
#!/usr/bin/ruby -w
# -*- coding: utf-8 -*-
# T_426extract_write_bom_only_once
file = "data/mkv/complex.mkv"

View File

@ -1,6 +1,4 @@
#!/usr/bin/ruby -w
# -*- coding: utf-8 -*-
# T_440chapter_display_language_default_value
describe "mkvmerge / Default value for »language« element in chapter XML files"
test_merge "data/subtitles/srt/ven.srt", :args => "--chapters data/text/chaperts-no-language-element.xml"

View File

@ -1,6 +1,4 @@
#!/usr/bin/ruby -w
# coding: utf-8
file = "data/avi/v-h264-aac.avi"
# T_532chapter_generation_when_appending

View File

@ -1,6 +1,4 @@
#!/usr/bin/ruby -w
# coding: utf-8
file = "data/avi/v-h264-aac.avi"
# T_533chapter_generation_interval

View File

@ -1,6 +1,4 @@
#!/usr/bin/ruby -w
# coding: utf-8
file = "data/simple/v.mp3"
# T_534chapter_generation_when_appending_audio_only

View File

@ -1,6 +1,4 @@
#!/usr/bin/ruby -w
# coding: utf-8
file = "data/simple/v.mp3"
# T_535chapter_generation_interval_audio_only

View File

@ -1,6 +1,4 @@
#!/usr/bin/ruby -w
# coding: utf-8
base = "data/simple/Datei didödeldü "
# T_552chapter_generation_appending_file_name_variables

View File

@ -1,6 +1,4 @@
#!/usr/bin/ruby -w
# coding: utf-8
# T_671emojis
describe "mkvmerge / Emojis"

View File

@ -1,4 +1,3 @@
# coding: utf-8
class Controller
attr_accessor :test_failed, :test_new, :test_date_after, :teset_date_before, :update_failed, :num_failed, :record_duration
attr_reader :num_threads, :results

View File

@ -1,6 +1,4 @@
#!/usr/bin/env ruby
# coding: utf-8
require "fastimage"
require "fileutils"

View File

@ -1,4 +1,3 @@
# coding: utf-8
def parse_news file_name
news = []
current_line = []

View File

@ -1,6 +1,4 @@
#!/usr/bin/env ruby
# coding: utf-8
require "fileutils"
require "pathname"
require "rake"