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