summaryrefslogtreecommitdiff
path: root/lib/rubygems/package
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-02-02 00:11:34 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-02-02 00:11:34 +0000
commit4e8b8c10dd7950ccb4683b343923b1b3ba44d538 (patch)
tree194361f6345386603b959a51b6bad669e4facd64 /lib/rubygems/package
parenta8bf0f71e4511130df6e17515adc75eca86e60d4 (diff)
downloadruby-4e8b8c10dd7950ccb4683b343923b1b3ba44d538.tar.gz
* lib/rubygems/specification.rb: `coding` is affect only first line except
shebang. * lib/rubygems/package.rb, lib/rubygems/package/*: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems/package')
-rw-r--r--lib/rubygems/package/tar_header.rb3
-rw-r--r--lib/rubygems/package/tar_reader.rb3
-rw-r--r--lib/rubygems/package/tar_reader/entry.rb2
-rw-r--r--lib/rubygems/package/tar_writer.rb2
4 files changed, 4 insertions, 6 deletions
diff --git a/lib/rubygems/package/tar_header.rb b/lib/rubygems/package/tar_header.rb
index 4aa45d78d7..c54bd14d57 100644
--- a/lib/rubygems/package/tar_header.rb
+++ b/lib/rubygems/package/tar_header.rb
@@ -1,5 +1,5 @@
-# frozen_string_literal: true
# -*- coding: utf-8 -*-
+# frozen_string_literal: true
#--
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
# See LICENSE.txt for additional licensing information.
@@ -227,4 +227,3 @@ class Gem::Package::TarHeader
end
end
-
diff --git a/lib/rubygems/package/tar_reader.rb b/lib/rubygems/package/tar_reader.rb
index d11bbe45f1..1098336e36 100644
--- a/lib/rubygems/package/tar_reader.rb
+++ b/lib/rubygems/package/tar_reader.rb
@@ -1,5 +1,5 @@
-# frozen_string_literal: true
# -*- coding: utf-8 -*-
+# frozen_string_literal: true
#--
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
# See LICENSE.txt for additional licensing information.
@@ -121,4 +121,3 @@ class Gem::Package::TarReader
end
require 'rubygems/package/tar_reader/entry'
-
diff --git a/lib/rubygems/package/tar_reader/entry.rb b/lib/rubygems/package/tar_reader/entry.rb
index 3c4f52747a..5f958edc2f 100644
--- a/lib/rubygems/package/tar_reader/entry.rb
+++ b/lib/rubygems/package/tar_reader/entry.rb
@@ -1,5 +1,5 @@
-# frozen_string_literal: true
# -*- coding: utf-8 -*-
+# frozen_string_literal: true
#++
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
# See LICENSE.txt for additional licensing information.
diff --git a/lib/rubygems/package/tar_writer.rb b/lib/rubygems/package/tar_writer.rb
index 43a6e01d22..ab0313c9f8 100644
--- a/lib/rubygems/package/tar_writer.rb
+++ b/lib/rubygems/package/tar_writer.rb
@@ -1,5 +1,5 @@
-# frozen_string_literal: true
# -*- coding: utf-8 -*-
+# frozen_string_literal: true
#--
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
# See LICENSE.txt for additional licensing information.