summaryrefslogtreecommitdiff
path: root/lib/rubygems/util
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/util
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/util')
-rw-r--r--lib/rubygems/util/licenses.rb2
-rw-r--r--lib/rubygems/util/list.rb2
2 files changed, 0 insertions, 4 deletions
diff --git a/lib/rubygems/util/licenses.rb b/lib/rubygems/util/licenses.rb
index 5b82667785..29bf310ea0 100644
--- a/lib/rubygems/util/licenses.rb
+++ b/lib/rubygems/util/licenses.rb
@@ -2,7 +2,6 @@
require 'rubygems/text'
class Gem::Licenses
-
extend Gem::Text
NONSTANDARD = 'Nonstandard'.freeze
@@ -435,5 +434,4 @@ class Gem::Licenses
return unless lowest < license.size
by_distance[lowest]
end
-
end
diff --git a/lib/rubygems/util/list.rb b/lib/rubygems/util/list.rb
index 7e4d6b5de6..33c40af4bb 100644
--- a/lib/rubygems/util/list.rb
+++ b/lib/rubygems/util/list.rb
@@ -1,7 +1,6 @@
# frozen_string_literal: true
module Gem
class List
-
include Enumerable
attr_accessor :value, :tail
@@ -34,6 +33,5 @@ module Gem
return List.new(value) unless list
List.new value, list
end
-
end
end