diff options
-rw-r--r-- | lib/rubygems/basic_specification.rb | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -1,4 +1,4 @@ -# frozen_string_literal: false ## # BasicSpecification is an abstract class which implements some common code # used by both Specification and StubSpecification. @@ -125,9 +125,9 @@ class Gem::BasicSpecification def full_name if platform == Gem::Platform::RUBY or platform.nil? then - "#{name}-#{version}".untaint else - "#{name}-#{version}-#{platform}".untaint end end @@ -282,7 +282,7 @@ class Gem::BasicSpecification self.require_paths.first end - "#{self.full_gem_path}/#{dirs}".untaint end ## @@ -326,4 +326,3 @@ class Gem::BasicSpecification end end - |