summaryrefslogtreecommitdiff
path: root/lib/rubygems/basic_specification.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-01 08:19:06 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-01 08:19:06 +0000
commit8f87be4e22e61ca92c856ef977d0f6924974bdcf (patch)
tree1ed8dd47e10d06bd93c97206943e8bf3731adc0f /lib/rubygems/basic_specification.rb
parent3efb494a213df6393a6f9aa83297e06bd68faa5e (diff)
Revert r44778 #9375
It breaks test-all if all tests are in a single process git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@44786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems/basic_specification.rb')
-rw-r--r--lib/rubygems/basic_specification.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/rubygems/basic_specification.rb b/lib/rubygems/basic_specification.rb
index 470a6ebc8b..a52377ff22 100644
--- a/lib/rubygems/basic_specification.rb
+++ b/lib/rubygems/basic_specification.rb
@@ -207,24 +207,6 @@ class Gem::BasicSpecification
end
##
- # Returns the paths to the source files for use with analysis and
- # documentation tools. These paths are relative to full_gem_path.
-
- def source_paths
- paths = raw_require_paths.dup
-
- if @extensions then
- ext_dirs = @extensions.map do |extension|
- extension.split(File::SEPARATOR, 2).first
- end.uniq
-
- paths.concat ext_dirs
- end
-
- paths.uniq
- end
-
- ##
# Return a Gem::Specification from this gem
def to_spec