bin/larva in larva-0.6.3 vs bin/larva in larva-0.6.4
- old
+ new
@@ -51,10 +51,10 @@
def rename_file_contents
Dir.glob("#{@daemon_dir}/**/*").each do |path|
next unless File.file?(path)
contents = File.read(path)
File.open(path, 'w+') do |file|
- contents.gsub!("LarvaSpawn", @daemon_name.classify)
+ contents.gsub!("LarvaSpawn", @daemon_name.camelize)
contents.gsub!("larva_spawn", @daemon_name)
contents.gsub!("LARVA_SPAWN", @daemon_name.upcase)
file.write(contents)
end
end