From acf12b6dfdd94ce1da55eaf2dfacc75135385c2a Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 22 Mar 2023 14:18:10 +0900 Subject: util/rubocop -A --only Style/AsciiComments --- lib/rubygems/package.rb | 6 ++++-- lib/rubygems/package/tar_header.rb | 6 ++++-- lib/rubygems/package/tar_reader.rb | 6 ++++-- lib/rubygems/package/tar_reader/entry.rb | 6 ++++-- lib/rubygems/package/tar_writer.rb | 6 ++++-- lib/rubygems/specification.rb | 4 ++-- 6 files changed, 22 insertions(+), 12 deletions(-) diff --git a/lib/rubygems/package.rb b/lib/rubygems/package.rb index 01591fb880..7cea01610f 100644 --- a/lib/rubygems/package.rb +++ b/lib/rubygems/package.rb @@ -1,9 +1,11 @@ # frozen_string_literal: true -#-- +# rubocop:disable Style/AsciiComments + # Copyright (C) 2004 Mauricio Julio Fernández Pradier # See LICENSE.txt for additional licensing information. -#++ + +# rubocop:enable Style/AsciiComments require_relative "../rubygems" require_relative "security" diff --git a/lib/rubygems/package/tar_header.rb b/lib/rubygems/package/tar_header.rb index d0c40806fc..06e0cbd5a4 100644 --- a/lib/rubygems/package/tar_header.rb +++ b/lib/rubygems/package/tar_header.rb @@ -1,9 +1,11 @@ # frozen_string_literal: true -#-- +# rubocop:disable Style/AsciiComments + # Copyright (C) 2004 Mauricio Julio Fernández Pradier # See LICENSE.txt for additional licensing information. -#++ + +# rubocop:enable Style/AsciiComments ## #-- diff --git a/lib/rubygems/package/tar_reader.rb b/lib/rubygems/package/tar_reader.rb index 57c21d3f3a..b12e83a703 100644 --- a/lib/rubygems/package/tar_reader.rb +++ b/lib/rubygems/package/tar_reader.rb @@ -1,9 +1,11 @@ # frozen_string_literal: true -#-- +# rubocop:disable Style/AsciiComments + # Copyright (C) 2004 Mauricio Julio Fernández Pradier # See LICENSE.txt for additional licensing information. -#++ + +# rubocop:enable Style/AsciiComments ## # TarReader reads tar files and allows iteration over their items diff --git a/lib/rubygems/package/tar_reader/entry.rb b/lib/rubygems/package/tar_reader/entry.rb index c869da581e..e22efa95b3 100644 --- a/lib/rubygems/package/tar_reader/entry.rb +++ b/lib/rubygems/package/tar_reader/entry.rb @@ -1,9 +1,11 @@ # frozen_string_literal: true -#++ +# rubocop:disable Style/AsciiComments + # Copyright (C) 2004 Mauricio Julio Fernández Pradier # See LICENSE.txt for additional licensing information. -#-- + +# rubocop:enable Style/AsciiComments ## # Class for reading entries out of a tar file diff --git a/lib/rubygems/package/tar_writer.rb b/lib/rubygems/package/tar_writer.rb index a8b80205f2..30880d893c 100644 --- a/lib/rubygems/package/tar_writer.rb +++ b/lib/rubygems/package/tar_writer.rb @@ -1,9 +1,11 @@ # frozen_string_literal: true -#-- +# rubocop:disable Style/AsciiComments + # Copyright (C) 2004 Mauricio Julio Fernández Pradier # See LICENSE.txt for additional licensing information. -#++ + +# rubocop:enable Style/AsciiComments ## # Allows writing of tar files diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb index b8a835ce67..8ad95cc3fe 100644 --- a/lib/rubygems/specification.rb +++ b/lib/rubygems/specification.rb @@ -575,7 +575,7 @@ class Gem::Specification < Gem::BasicSpecification ## # Executables included in the gem. # - # For example, the rake gem has rake as an executable. You don’t specify the + # For example, the rake gem has rake as an executable. You don't specify the # full path (as in bin/rake); all application-style files are expected to be # found in bindir. These files must be executable Ruby files. Files that # use bash or other interpreters will not work. @@ -596,7 +596,7 @@ class Gem::Specification < Gem::BasicSpecification # extconf.rb-style files used to compile extensions. # # These files will be run when the gem is installed, causing the C (or - # whatever) code to be compiled on the user’s machine. + # whatever) code to be compiled on the user's machine. # # Usage: # -- cgit v1.2.3