diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2022-02-14 13:56:43 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-14 13:56:43 +0900 |
commit | c8b5d7031ebd6bbc0f51582d51a4b47ccd9b0138 (patch) | |
tree | 19e17d093a3652614750c538c2ddfeef90ff98b4 /lib/rubygems | |
parent | 36fa57fca0d5ecb317de8dba616a2225f3cac27a (diff) |
Merge RubyGems-3.3.7 and Bundler-2.3.7 (#5543)
Diffstat (limited to 'lib/rubygems')
-rw-r--r-- | lib/rubygems/specification.rb | 2 | ||||
-rw-r--r-- | lib/rubygems/version.rb | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb index 43ab917d19..0d72cee51d 100644 --- a/lib/rubygems/specification.rb +++ b/lib/rubygems/specification.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true -# -*- coding: utf-8 -*- +# #-- # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others. # All rights reserved. diff --git a/lib/rubygems/version.rb b/lib/rubygems/version.rb index d8aeb6f278..c59501ad5d 100644 --- a/lib/rubygems/version.rb +++ b/lib/rubygems/version.rb @@ -1,4 +1,7 @@ # frozen_string_literal: true + +require_relative "deprecate" + ## # The Version class processes string versions into comparable # values. A version string should normally be a series of numbers @@ -149,8 +152,6 @@ # For the last example, single-digit versions are automatically extended with # a zero to give a sensible result. -require_relative "deprecate" - class Gem::Version autoload :Requirement, File.expand_path('requirement', __dir__) |