diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-04-26 13:26:21 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-04-28 11:07:45 +0900 |
commit | d0a54673202458455244f79ed212a97727f0c7c7 (patch) | |
tree | 4d984b9e2675d906b3e336c7f951f03b11316546 /lib/rubygems/version.rb | |
parent | a15f7dd1fb1148c3d586238ee6907875f2e40379 (diff) | |
download | ruby-d0a54673202458455244f79ed212a97727f0c7c7.tar.gz |
Update rubygems with latest upstream changes
Closes: https://github.com/ruby/ruby/pull/2154
Diffstat (limited to 'lib/rubygems/version.rb')
-rw-r--r-- | lib/rubygems/version.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rubygems/version.rb b/lib/rubygems/version.rb index c23b157708..86a23509d6 100644 --- a/lib/rubygems/version.rb +++ b/lib/rubygems/version.rb @@ -344,8 +344,8 @@ class Gem::Version return unless Gem::Version === other return 0 if @version == other._version || canonical_segments == other.canonical_segments - lhsegments = _segments - rhsegments = other._segments + lhsegments = canonical_segments + rhsegments = other.canonical_segments lhsize = lhsegments.size rhsize = rhsegments.size |