Skip to content

Commit

Permalink
util/rubocop -A --only Style/AsciiComments
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Mar 23, 2023
1 parent f24a86d commit acf12b6
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 12 deletions.
6 changes: 4 additions & 2 deletions 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"
Expand Down
6 changes: 4 additions & 2 deletions 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

##
#--
Expand Down
6 changes: 4 additions & 2 deletions 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
Expand Down
6 changes: 4 additions & 2 deletions 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
Expand Down
6 changes: 4 additions & 2 deletions 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
Expand Down
4 changes: 2 additions & 2 deletions lib/rubygems/specification.rb
Expand Up @@ -575,7 +575,7 @@ def add_runtime_dependency(gem, *requirements)
##
# Executables included in the gem.
#
# For example, the rake gem has rake as an executable. You dont 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.
Expand All @@ -596,7 +596,7 @@ def executables
# 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 users machine.
# whatever) code to be compiled on the user's machine.
#
# Usage:
#
Expand Down

0 comments on commit acf12b6

Please sign in to comment.