aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems/stub_specification.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/stub_specification.rb
parenta46841612c846f00f31ff63d886620d66cdea5b3 (diff)
downloadruby-b717f73402dc6f2d6ba6a1d72d9c8543a4f2cd27.tar.gz
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/stub_specification.rb')
-rw-r--r--lib/rubygems/stub_specification.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/rubygems/stub_specification.rb b/lib/rubygems/stub_specification.rb
index 959030fd54..5d4d761953 100644
--- a/lib/rubygems/stub_specification.rb
+++ b/lib/rubygems/stub_specification.rb
@@ -5,7 +5,6 @@
# information.
class Gem::StubSpecification < Gem::BasicSpecification
-
# :nodoc:
PREFIX = "# stub: ".freeze
@@ -13,7 +12,6 @@ class Gem::StubSpecification < Gem::BasicSpecification
OPEN_MODE = 'r:UTF-8:-'.freeze
class StubLine # :nodoc: all
-
attr_reader :name, :version, :platform, :require_paths, :extensions,
:full_name
@@ -56,7 +54,6 @@ class Gem::StubSpecification < Gem::BasicSpecification
REQUIRE_PATHS[x] || x
end
end
-
end
def self.default_gemspec_stub(filename, base_dir, gems_dir)
@@ -212,5 +209,4 @@ class Gem::StubSpecification < Gem::BasicSpecification
def stubbed?
data.is_a? StubLine
end
-
end