From 04817ae6d3e1d898d6fbf09ad146850d26d2b404 Mon Sep 17 00:00:00 2001 From: drbrain Date: Mon, 25 Nov 2013 19:14:49 +0000 Subject: * lib/rubygems: Update to RubyGems master 612f85a. Notable changes: Fixed installation and activation of git: and path: gems via Gem.use_gemdeps Improved documentation coverage * test/rubygems: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rubygems/resolver/api_specification.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/rubygems/resolver/api_specification.rb') diff --git a/lib/rubygems/resolver/api_specification.rb b/lib/rubygems/resolver/api_specification.rb index 0ab8e830c6..67052af82e 100644 --- a/lib/rubygems/resolver/api_specification.rb +++ b/lib/rubygems/resolver/api_specification.rb @@ -34,6 +34,10 @@ class Gem::Resolver::APISpecification < Gem::Resolver::Specification @dependencies == other.dependencies end + def installable_platform? # :nodoc: + Gem::Platform.match @platform + end + def pretty_print q # :nodoc: q.group 2, '[APISpecification', ']' do q.breakable -- cgit v1.2.3