summaryrefslogtreecommitdiff
path: root/lib/rubygems/requirement.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-09-23 21:59:35 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-09-23 22:01:44 +0900
commitb717f73402dc6f2d6ba6a1d72d9c8543a4f2cd27 (patch)
tree9d4a4c198aa124592552c66e2a3e6d130b6486eb /lib/rubygems/requirement.rb
parenta46841612c846f00f31ff63d886620d66cdea5b3 (diff)
Revert "Manually merged from https://github.com/rubygems/rubygems/pull/2636"
31a6eaabc165d8a222e176f2c809d90622d88ec2 is obsoleted with https://github.com/rubygems/rubygems/pull/3820
Diffstat (limited to 'lib/rubygems/requirement.rb')
-rw-r--r--lib/rubygems/requirement.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/rubygems/requirement.rb b/lib/rubygems/requirement.rb
index 3272d59708..d9d7c2fbad 100644
--- a/lib/rubygems/requirement.rb
+++ b/lib/rubygems/requirement.rb
@@ -9,7 +9,6 @@ require "rubygems/deprecate"
# together in RubyGems.
class Gem::Requirement
-
OPS = { #:nodoc:
"=" => lambda {|v, r| v == r },
"!=" => lambda {|v, r| v != r },
@@ -299,14 +298,11 @@ class Gem::Requirement
end
end
end
-
end
class Gem::Version
-
# This is needed for compatibility with older yaml
# gemspecs.
Requirement = Gem::Requirement # :nodoc:
-
end