class Gem::Specification

Constants

PLATFORM_CROSS_TARGETS

Public Instance Methods

old_validate()
Alias for: validate
validate() click to toggle source
   # File lib/echoe/rubygems.rb
10 def validate
11   begin
12     old_validate
13   rescue Gem::InvalidSpecificationException
14     if platform =~ /(#{PLATFORM_CROSS_TARGETS.join("|")})/i
15       true
16     else
17       raise Gem::InvalidSpecificationException, "Unknown package target \"#{platform}\"."
18     end
19   end
20 end
Also aliased as: old_validate