mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
File encoding is defaulted to utf-8 in Ruby >= 2.1
This commit is contained in:
parent
da737ba7b9
commit
dcecbb4234
19 changed files with 0 additions and 29 deletions
|
@ -1,5 +1,3 @@
|
|||
# encoding: utf-8
|
||||
|
||||
module ActionDispatch
|
||||
module Journey # :nodoc:
|
||||
module NFA # :nodoc:
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
# encoding: utf-8
|
||||
|
||||
module ActionDispatch
|
||||
module Journey # :nodoc:
|
||||
class Format
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
# encoding: UTF-8
|
||||
|
||||
module ActionDispatch
|
||||
# The routing module provides URL rewriting in native Ruby. It's a way to
|
||||
# redirect incoming requests to controllers and actions. This replaces
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: UTF-8
|
||||
require 'abstract_unit'
|
||||
|
||||
module ActionDispatch
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require "abstract_unit"
|
||||
|
||||
class NumberHelperTest < ActionView::TestCase
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
require 'active_support/core_ext/array/conversions'
|
||||
require 'active_support/core_ext/string/inflections'
|
||||
require 'active_support/core_ext/object/deep_dup'
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
module ActiveRecord
|
||||
module NullRelation # :nodoc:
|
||||
def exec_queries
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
require "arel/collectors/bind"
|
||||
|
||||
module ActiveRecord
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
require "cases/helper"
|
||||
require 'support/schema_dumping_helper'
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
require "cases/helper"
|
||||
require 'models/post'
|
||||
require 'models/author'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
require "cases/helper"
|
||||
require 'models/owner'
|
||||
require 'models/pet'
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
# encoding: utf-8
|
||||
|
||||
class Object
|
||||
# An object is blank if it's false, empty, or a whitespace string.
|
||||
# For example, +false+, '', ' ', +nil+, [], and {} are all blank.
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
# encoding: utf-8
|
||||
|
||||
require 'uri'
|
||||
str = "\xE6\x97\xA5\xE6\x9C\xAC\xE8\xAA\x9E" # Ni-ho-nn-go in UTF-8, means Japanese.
|
||||
parser = URI::Parser.new
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
# encoding: utf-8
|
||||
|
||||
require 'active_support/inflections'
|
||||
|
||||
module ActiveSupport
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'active_support/core_ext/string/multibyte'
|
||||
require 'active_support/i18n'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
require 'active_support/json'
|
||||
require 'active_support/core_ext/string/access'
|
||||
require 'active_support/core_ext/string/behavior'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# encoding: utf-8
|
||||
module ActiveSupport
|
||||
module Multibyte
|
||||
module Unicode
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
# encoding: utf-8
|
||||
|
||||
require 'redcarpet'
|
||||
require 'nokogiri'
|
||||
require 'rails_guides/markdown/renderer'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# coding:utf-8
|
||||
require "isolation/abstract_unit"
|
||||
require "active_support/core_ext/string/strip"
|
||||
|
||||
|
|
Loading…
Reference in a new issue