Commit 84d54dac by hash52 Committed by Mike Burns

Remove magic comment

Since the support version is Ruby 2.0 or later, magic comment is unnecessary.

> The UTF-8 default encoding, which make many magic comments omissible

https://www.ruby-lang.org/en/news/2013/02/24/ruby-2-0-0-p0-is-released/
parent f5456100
# encoding: utf-8
require 'uri' require 'uri'
require 'paperclip/url_generator' require 'paperclip/url_generator'
require 'active_support/deprecation' require 'active_support/deprecation'
......
# encoding: utf-8
module Paperclip module Paperclip
class FilenameCleaner class FilenameCleaner
def initialize(invalid_character_regex) def initialize(invalid_character_regex)
......
# encoding: utf-8
module Paperclip module Paperclip
# The Style class holds the definition of a thumbnail style, applying # The Style class holds the definition of a thumbnail style, applying
# whatever processing is required to normalize the definition and delaying # whatever processing is required to normalize the definition and delaying
......
# encoding: utf-8
require 'spec_helper' require 'spec_helper'
describe 'Attachment Processing' do describe 'Attachment Processing' do
......
# encoding: utf-8
require 'spec_helper' require 'spec_helper'
describe Paperclip::Attachment do describe Paperclip::Attachment do
......
# encoding: utf-8
require 'spec_helper' require 'spec_helper'
describe Paperclip::FilenameCleaner do describe Paperclip::FilenameCleaner do
......
# encoding: utf-8
require 'spec_helper' require 'spec_helper'
require 'open-uri' require 'open-uri'
......
# encoding: utf-8
require 'spec_helper' require 'spec_helper'
describe Paperclip::Style do describe Paperclip::Style do
......
# encoding: utf-8
require 'spec_helper' require 'spec_helper'
describe Paperclip::UrlGenerator do describe Paperclip::UrlGenerator do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment