lib/gem_polish/cli/versioner.rb in gem_polish-0.0.5 vs lib/gem_polish/cli/versioner.rb in gem_polish-0.0.6
- old
+ new
@@ -58,10 +58,10 @@
def file_contents
File.read(file)
end
def file
- "lib/#{gem_name}/version.rb"
+ "lib/#{gem_name.sub('-', '/')}/version.rb"
end
def regexp
/VERSION = "(.*?)"/
end