Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
Remove magic comment
Browse files Browse the repository at this point in the history
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/
  • Loading branch information
hash52 authored and mike-burns committed May 18, 2018
1 parent f545610 commit 84d54da
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion lib/paperclip/attachment.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# encoding: utf-8
require 'uri'
require 'paperclip/url_generator'
require 'active_support/deprecation'
Expand Down
1 change: 0 additions & 1 deletion lib/paperclip/filename_cleaner.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# encoding: utf-8
module Paperclip
class FilenameCleaner
def initialize(invalid_character_regex)
Expand Down
1 change: 0 additions & 1 deletion lib/paperclip/style.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# encoding: utf-8
module Paperclip
# The Style class holds the definition of a thumbnail style, applying
# whatever processing is required to normalize the definition and delaying
Expand Down
1 change: 0 additions & 1 deletion spec/paperclip/attachment_processing_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# encoding: utf-8
require 'spec_helper'

describe 'Attachment Processing' do
Expand Down
1 change: 0 additions & 1 deletion spec/paperclip/attachment_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# encoding: utf-8
require 'spec_helper'

describe Paperclip::Attachment do
Expand Down
1 change: 0 additions & 1 deletion spec/paperclip/filename_cleaner_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# encoding: utf-8
require 'spec_helper'

describe Paperclip::FilenameCleaner do
Expand Down
1 change: 0 additions & 1 deletion spec/paperclip/integration_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# encoding: utf-8
require 'spec_helper'
require 'open-uri'

Expand Down
1 change: 0 additions & 1 deletion spec/paperclip/style_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# encoding: utf-8
require 'spec_helper'

describe Paperclip::Style do
Expand Down
1 change: 0 additions & 1 deletion spec/paperclip/url_generator_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# encoding: utf-8
require 'spec_helper'

describe Paperclip::UrlGenerator do
Expand Down

0 comments on commit 84d54da

Please sign in to comment.