lib/bitters/generator.rb in bitters-0.9.5 vs lib/bitters/generator.rb in bitters-0.10.0

- old
+ new

@@ -14,11 +14,11 @@ def install if bitters_files_already_exist? puts "Bitters files already installed, doing nothing." else install_files - puts "Bitters files installed to #{install_path}/bitters" + puts "Bitters files installed to #{install_path}/base" end end desc 'reset', 'Reset Bitters' def update @@ -51,19 +51,19 @@ def bitters_files_already_exist? File.directory?(install_path) end def install_path - Pathname.new(options[:path].to_s).join('bitters') + Pathname.new(options[:path].to_s).join('base') end def install_files FileUtils.mkdir_p(install_path) FileUtils.cp_r(all_stylesheets, install_path) end def remove_bitters_directory - FileUtils.rm_rf("bitters") + FileUtils.rm_rf("base") end def all_stylesheets Dir["#{stylesheets_directory}/*"] end