lib/generators/cream/helpers/gemfile_helper.rb in cream-0.8.9.2 vs lib/generators/cream/helpers/gemfile_helper.rb in cream-0.8.9.3

- old
+ new

@@ -1,27 +1,27 @@ module Cream module GeneratorHelper module Gemfile def add_gem_version name, version if !has_gem? name - logger.debug "Adding gem: #{name}, #{version}" + debug! "Adding gem: #{name}, #{version}" gem name, :version => version else - logger.debug "gem: #{name}, #{version} already in Gemfile" + debug! "gem: #{name}, #{version} already in Gemfile" end end def add_gem name, version = nil if version add_gem_version name, version return end if !has_gem? name - logger.debug "Adding gem: #{name}" + debug! "Adding gem: #{name}" gem name else - logger.debug "gem: #{name} already in Gemfile" + debug! "gem: #{name} already in Gemfile" end end end end end \ No newline at end of file