util/rubocop -A --only Style/FrozenStringLiteralComment
This commit is contained in:
parent
50a03035ee
commit
4dd418f877
Notes:
git
2023-03-23 08:19:20 +00:00
1
bin/gem
1
bin/gem
@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env ruby
|
||||
# frozen_string_literal: true
|
||||
#--
|
||||
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
||||
# All rights reserved.
|
||||
|
@ -1,3 +1,4 @@
|
||||
# frozen_string_literal: true
|
||||
require "socket"
|
||||
|
||||
module CoreExtensions
|
||||
|
@ -1,3 +1,4 @@
|
||||
# frozen_string_literal: true
|
||||
# ) frozen_string_literal: true
|
||||
require_relative "parser"
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
# frozen_string_literal: true
|
||||
##
|
||||
# The SourceSet chooses the best available method to query a remote index.
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
# frozen_string_literal: true
|
||||
require_relative "openssl"
|
||||
|
||||
##
|
||||
@ -170,6 +171,6 @@ class Gem::S3URISigner
|
||||
end
|
||||
|
||||
BASE64_URI_TRANSLATE = { "+" => "%2B", "/" => "%2F", "=" => "%3D", "\n" => "" }.freeze
|
||||
EC2_IAM_INFO = "http://169.254.169.254/latest/meta-data/iam/info".freeze
|
||||
EC2_IAM_SECURITY_CREDENTIALS = "http://169.254.169.254/latest/meta-data/iam/security-credentials/".freeze
|
||||
EC2_IAM_INFO = "http://169.254.169.254/latest/meta-data/iam/info"
|
||||
EC2_IAM_SECURITY_CREDENTIALS = "http://169.254.169.254/latest/meta-data/iam/security-credentials/"
|
||||
end
|
||||
|
@ -1,3 +1,4 @@
|
||||
# frozen_string_literal: true
|
||||
module Gem
|
||||
###
|
||||
# This module is used for safely loading YAML specs from a gem. The
|
||||
|
@ -1,3 +1,4 @@
|
||||
# frozen_string_literal: true
|
||||
require_relative "user_interaction"
|
||||
|
||||
class Gem::SpecificationPolicy
|
||||
|
@ -1,3 +1,4 @@
|
||||
# frozen_string_literal: true
|
||||
require_relative "helper"
|
||||
|
||||
class TestBundlerGem < Gem::TestCase
|
||||
@ -376,7 +377,7 @@ You may need to `bundle install` to install missing gems
|
||||
private
|
||||
|
||||
def add_bundler_full_name(names)
|
||||
names << "bundler-#{Bundler::VERSION}".freeze
|
||||
names << "bundler-#{Bundler::VERSION}"
|
||||
names.sort!
|
||||
names
|
||||
end
|
||||
|
@ -1,3 +1,4 @@
|
||||
# frozen_string_literal: true
|
||||
Gem::Specification.new do |s|
|
||||
s.name = "bar"
|
||||
s.version = "0.0.2"
|
||||
|
@ -1,3 +1,4 @@
|
||||
# frozen_string_literal: true
|
||||
Gem::Specification.new do |s|
|
||||
s.name = "rubyforge"
|
||||
s.version = "0.0.1"
|
||||
|
@ -1,3 +1,4 @@
|
||||
# frozen_string_literal: true
|
||||
Gem::Specification.new do |s|
|
||||
s.name = "custom_name"
|
||||
s.version = "0.1.0"
|
||||
|
@ -1 +1,2 @@
|
||||
# frozen_string_literal: true
|
||||
require "custom_name_lib/custom_name_ext"
|
||||
|
@ -1,3 +1,4 @@
|
||||
# frozen_string_literal: true
|
||||
Gem::Specification.new do |s|
|
||||
s.name = "rust_ruby_example"
|
||||
s.version = "0.1.0"
|
||||
|
@ -1,3 +1,4 @@
|
||||
# frozen_string_literal: true
|
||||
require_relative "helper"
|
||||
require "rubygems/uri"
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
# frozen_string_literal: true
|
||||
require_relative "helper"
|
||||
|
||||
class GemTest < Gem::TestCase
|
||||
|
Loading…
x
Reference in New Issue
Block a user