mirror of https://github.com/rails/rails
Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 onwards.
This commit is contained in:
parent
186418724c
commit
6eced6a1fe
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'abstract_unit'
|
||||
require 'set'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'abstract_unit'
|
||||
require 'active_job'
|
||||
require 'minitest/mock'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'abstract_unit'
|
||||
|
||||
class TestHelperMailer < ActionMailer::Base
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'abstract_unit'
|
||||
require 'controller/fake_controllers'
|
||||
require 'active_support/core_ext/object/with_options'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'abstract_unit'
|
||||
|
||||
module TestFileUtils
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'abstract_unit'
|
||||
require 'controller/fake_controllers'
|
||||
require 'active_support/core_ext/object/with_options'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'abstract_unit'
|
||||
|
||||
class MultipartParamsParsingTest < ActionDispatch::IntegrationTest
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'abstract_unit'
|
||||
require 'zlib'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# coding: utf-8
|
||||
require 'abstract_unit'
|
||||
|
||||
module ActionDispatch
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
|
||||
require 'active_support/core_ext/hash/keys'
|
||||
require 'active_support/core_ext/string/output_safety'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
|
||||
require 'abstract_unit'
|
||||
require 'action_view/dependency_tracker'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'abstract_unit'
|
||||
require 'controller/fake_models'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'abstract_unit'
|
||||
|
||||
class TestController < ActionController::Base
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'abstract_unit'
|
||||
|
||||
class TextHelperTest < ActionView::TestCase
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'abstract_unit'
|
||||
require 'minitest/mock'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'cases/helper'
|
||||
require 'models/topic'
|
||||
require 'models/person'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'cases/helper'
|
||||
|
||||
require 'models/topic'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'cases/helper'
|
||||
|
||||
class Dog
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'cases/helper'
|
||||
|
||||
require 'models/topic'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'cases/helper'
|
||||
|
||||
require 'models/topic'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'cases/helper'
|
||||
|
||||
require 'models/topic'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'cases/helper'
|
||||
|
||||
require 'models/topic'
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
require "cases/helper"
|
||||
require 'models/person'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'cases/helper'
|
||||
require 'active_support/all'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'cases/helper'
|
||||
|
||||
require 'models/topic'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'cases/helper'
|
||||
|
||||
require 'models/topic'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'cases/helper'
|
||||
|
||||
require 'models/topic'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'cases/helper'
|
||||
require 'models/person'
|
||||
require 'models/topic'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'cases/helper'
|
||||
|
||||
require 'models/topic'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'cases/helper'
|
||||
|
||||
require 'models/topic'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'cases/helper'
|
||||
|
||||
require 'models/topic'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
|
||||
require "cases/helper"
|
||||
require 'support/ddl_helper'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require "cases/helper"
|
||||
require 'support/schema_dumping_helper'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
require "cases/helper"
|
||||
require 'support/connection_helper'
|
||||
require 'support/schema_dumping_helper'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require "cases/helper"
|
||||
|
||||
class PostgresqlByteaTest < ActiveRecord::TestCase
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'cases/helper'
|
||||
require 'support/schema_dumping_helper'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
require "cases/helper"
|
||||
require 'support/connection_helper'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
require "cases/helper"
|
||||
require 'support/connection_helper'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
require "cases/helper"
|
||||
require 'support/connection_helper'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require "cases/helper"
|
||||
require 'support/schema_dumping_helper'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
require "cases/helper"
|
||||
require 'support/connection_helper'
|
||||
require 'support/schema_dumping_helper'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require "cases/helper"
|
||||
require 'support/schema_dumping_helper'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require "cases/helper"
|
||||
require 'support/schema_dumping_helper'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require "cases/helper"
|
||||
require 'support/schema_dumping_helper'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require "cases/helper"
|
||||
require 'support/schema_dumping_helper'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require "cases/helper"
|
||||
require 'support/schema_dumping_helper'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require "cases/helper"
|
||||
require 'support/ddl_helper'
|
||||
require 'support/connection_helper'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require "cases/helper"
|
||||
require 'support/schema_dumping_helper'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'cases/helper'
|
||||
require 'support/schema_dumping_helper'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require "cases/helper"
|
||||
require 'models/owner'
|
||||
require 'tempfile'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require "cases/helper"
|
||||
require 'models/owner'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
|
||||
require "cases/helper"
|
||||
require 'active_support/concurrency/latch'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require "cases/helper"
|
||||
|
||||
# Without using prepared statements, it makes no sense to test
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
|
||||
require 'cases/helper'
|
||||
require 'models/company'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
require "cases/helper"
|
||||
require 'models/owner'
|
||||
require 'models/pet'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require "cases/helper"
|
||||
require 'models/man'
|
||||
require 'models/face'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require "cases/helper"
|
||||
require 'models/topic'
|
||||
require 'models/reply'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require "cases/helper"
|
||||
require 'models/topic'
|
||||
require 'models/reply'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
|
||||
ActiveRecord::Schema.define do
|
||||
def except(adapter_names_to_exclude)
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'active_support/multibyte'
|
||||
|
||||
class String
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
|
||||
require 'abstract_unit'
|
||||
require 'active_support/core_ext/object/blank'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'date'
|
||||
require 'abstract_unit'
|
||||
require 'inflector_test_cases'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'abstract_unit'
|
||||
require 'uri'
|
||||
require 'active_support/core_ext/uri'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
|
||||
module InflectorTestCases
|
||||
SingularToPlural = {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'abstract_unit'
|
||||
require 'active_support/json'
|
||||
require 'active_support/time'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'securerandom'
|
||||
require 'abstract_unit'
|
||||
require 'active_support/core_ext/string/inflections'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'abstract_unit'
|
||||
require 'multibyte_test_helpers'
|
||||
require 'active_support/core_ext/string/multibyte'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
|
||||
require 'abstract_unit'
|
||||
require 'multibyte_test_helpers'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
|
||||
require 'abstract_unit'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
|
||||
module MultibyteTestHelpers
|
||||
UNICODE_STRING = 'こにちわ'.freeze
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'abstract_unit'
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'abstract_unit'
|
||||
require 'active_support/inflector/transliterate'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
require 'isolation/abstract_unit'
|
||||
require 'rack/test'
|
||||
require 'active_support/json'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'isolation/abstract_unit'
|
||||
require 'rack/test'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'isolation/abstract_unit'
|
||||
require 'rack/test'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'isolation/abstract_unit'
|
||||
require 'rack/test'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'abstract_unit'
|
||||
require 'active_support/core_ext/object/with_options'
|
||||
require 'active_support/core_ext/object/json'
|
||||
|
|
Loading…
Reference in New Issue