提交 d352e0df 编写于 作者: X Xavier Noria

checked all .rb files in the project tree for missing magic comments, one was missing

Came with this one-liner for this:

    find . -name '*.rb' | \
    xargs chardet | \
    grep -v ascii | \
    cut -d: -f1 -s | \
    xargs -n1 ruby -0777 -ne 'puts $FILENAME if $_ !~ /#.*coding:\s*utf/i'

Welcome $_.
上级 4d8aaff4
# encoding: utf-8
require 'active_support/core_ext/big_decimal/conversions'
require 'active_support/core_ext/float/rounding'
require 'active_support/core_ext/object/blank'
......
# encoding: UTF-8
# encoding: utf-8
require 'abstract_unit'
require 'active_support/json'
require 'active_support/time'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册