lib/vim-flavor/flavor.rb in vim-flavor-1.1.0 vs lib/vim-flavor/flavor.rb in vim-flavor-1.1.1
- old
+ new
@@ -127,11 +127,11 @@
output.split(/[\r\n]/)
end
def versions_from_tags(tags)
tags.
- select {|t| t != '' && Gem::Version.correct?(t)}.
- map {|t| Gem::Version.create(t)}
+ select {|t| t != '' && Version.correct?(t)}.
+ map {|t| Version.create(t)}
end
def list_versions()
versions_from_tags(list_tags())
end