lib/couch/generators/base.rb in couch-0.1.0 vs lib/couch/generators/base.rb in couch-0.1.1
- old
+ new
@@ -1,6 +1,5 @@
-require 'rubygems'
require 'thor/group'
require 'active_support/inflector'
module Couch
module Generators
@@ -59,14 +58,9 @@
if generator = name.to_s.split('::').last
generator.sub!(/Generator$/, '')
generator.underscore
end
end
- end
-
- def empty_directory_with_gitkeep(destination, config = {})
- empty_directory(destination, config)
- create_file("#{destination}/.gitkeep") unless options[:skip_git]
end
end
end
end