class Jars::MavenFactory

def find_spec_via_rubygems(name, req)

def find_spec_via_rubygems(name, req)
  require 'rubygems/dependency'
  dep = Gem::Dependency.new(name, req)
  dep.matching_specs(true).last
end