From 49c42b6012264890bedb572e5e0c6fc4750aaf9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Fri, 12 Jun 2020 17:16:37 +0200 Subject: [PATCH] Remove encoding magic comments They are no longer needed since ruby 2.0. --- lib/rubygems/package.rb | 1 - lib/rubygems/package/tar_header.rb | 1 - lib/rubygems/package/tar_reader.rb | 1 - lib/rubygems/package/tar_reader/entry.rb | 1 - lib/rubygems/package/tar_writer.rb | 1 - test/rubygems/specifications/bar-0.0.2.gemspec | 2 -- test/rubygems/specifications/rubyforge-0.0.1.gemspec | 2 -- test/rubygems/test_gem_commands_setup_command.rb | 1 - test/rubygems/test_gem_ext_ext_conf_builder.rb | 1 - test/rubygems/test_gem_package.rb | 1 - test/rubygems/test_gem_security_policy.rb | 1 - 11 files changed, 13 deletions(-) diff --git a/lib/rubygems/package.rb b/lib/rubygems/package.rb index 271c236523..d3d0345abc 100644 --- a/lib/rubygems/package.rb +++ b/lib/rubygems/package.rb @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # frozen_string_literal: true #-- # Copyright (C) 2004 Mauricio Julio Fernández Pradier diff --git a/lib/rubygems/package/tar_header.rb b/lib/rubygems/package/tar_header.rb index de51df1867..19927c0e27 100644 --- a/lib/rubygems/package/tar_header.rb +++ b/lib/rubygems/package/tar_header.rb @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # frozen_string_literal: true #-- # Copyright (C) 2004 Mauricio Julio Fernández Pradier diff --git a/lib/rubygems/package/tar_reader.rb b/lib/rubygems/package/tar_reader.rb index aa31ea27d4..b7b5e01e99 100644 --- a/lib/rubygems/package/tar_reader.rb +++ b/lib/rubygems/package/tar_reader.rb @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # frozen_string_literal: true #-- # Copyright (C) 2004 Mauricio Julio Fernández Pradier diff --git a/lib/rubygems/package/tar_reader/entry.rb b/lib/rubygems/package/tar_reader/entry.rb index 19054c1635..d9c67ed8f2 100644 --- a/lib/rubygems/package/tar_reader/entry.rb +++ b/lib/rubygems/package/tar_reader/entry.rb @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # frozen_string_literal: true #++ # Copyright (C) 2004 Mauricio Julio Fernández Pradier diff --git a/lib/rubygems/package/tar_writer.rb b/lib/rubygems/package/tar_writer.rb index 96d8184e8e..5289e6f1e6 100644 --- a/lib/rubygems/package/tar_writer.rb +++ b/lib/rubygems/package/tar_writer.rb @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # frozen_string_literal: true #-- # Copyright (C) 2004 Mauricio Julio Fernández Pradier diff --git a/test/rubygems/specifications/bar-0.0.2.gemspec b/test/rubygems/specifications/bar-0.0.2.gemspec index ceefa4ed16..37b6ea45da 100644 --- a/test/rubygems/specifications/bar-0.0.2.gemspec +++ b/test/rubygems/specifications/bar-0.0.2.gemspec @@ -1,5 +1,3 @@ -# -*- encoding: utf-8 -*- - Gem::Specification.new do |s| s.name = "bar" s.version = "0.0.2" diff --git a/test/rubygems/specifications/rubyforge-0.0.1.gemspec b/test/rubygems/specifications/rubyforge-0.0.1.gemspec index 0df2c4c379..c760a42073 100644 --- a/test/rubygems/specifications/rubyforge-0.0.1.gemspec +++ b/test/rubygems/specifications/rubyforge-0.0.1.gemspec @@ -1,5 +1,3 @@ -# -*- encoding: utf-8 -*- - Gem::Specification.new do |s| s.name = "rubyforge" s.version = "0.0.1" diff --git a/test/rubygems/test_gem_commands_setup_command.rb b/test/rubygems/test_gem_commands_setup_command.rb index e0711482f5..5c619840c7 100644 --- a/test/rubygems/test_gem_commands_setup_command.rb +++ b/test/rubygems/test_gem_commands_setup_command.rb @@ -1,4 +1,3 @@ -# coding: UTF-8 # frozen_string_literal: true require 'rubygems/test_case' diff --git a/test/rubygems/test_gem_ext_ext_conf_builder.rb b/test/rubygems/test_gem_ext_ext_conf_builder.rb index 556761c979..6eb7b67c2b 100644 --- a/test/rubygems/test_gem_ext_ext_conf_builder.rb +++ b/test/rubygems/test_gem_ext_ext_conf_builder.rb @@ -1,4 +1,3 @@ -# coding: UTF-8 # frozen_string_literal: true require 'rubygems/test_case' diff --git a/test/rubygems/test_gem_package.rb b/test/rubygems/test_gem_package.rb index a60817b742..1a0482cb1e 100644 --- a/test/rubygems/test_gem_package.rb +++ b/test/rubygems/test_gem_package.rb @@ -1,4 +1,3 @@ -# coding: utf-8 # frozen_string_literal: true require 'rubygems/package/tar_test_case' diff --git a/test/rubygems/test_gem_security_policy.rb b/test/rubygems/test_gem_security_policy.rb index 8a1676cd3c..e2dec7ce12 100644 --- a/test/rubygems/test_gem_security_policy.rb +++ b/test/rubygems/test_gem_security_policy.rb @@ -1,4 +1,3 @@ -# coding: utf-8 # frozen_string_literal: true require 'rubygems/test_case'