Project

General

Profile

« Previous | Next » 

Revision 38074

  • lib/rubygems/command.rb (Gem::Command#get_all_gem_names_and_versions):
    who assumes that the pathname of a gem never contains ':' ?
    yes, on Unixen pathnames can contain ':', and on Windows they almost
    certainly contain ':'. see [ruby-core:50388].

  • lib/rubygems/requirement.rb (Gem::Requirement::PATTERN_RAW): extract
    the regexp to match the version specifier from PATTERN to use in
    above method.