lib/grub/spec_finder.rb in grub-0.0.2 vs lib/grub/spec_finder.rb in grub-0.0.3
- old
+ new
@@ -10,9 +10,10 @@
end
def find_matching_specs_for(gem_lines)
gem_lines.each do |line|
matching_specs = Gem::Dependency.new(line.name).matching_specs
+ # need to find latest
line.spec = matching_specs.first if matching_specs.any?
end
end
def fetch_specs_for(gem_lines)