lib/bently/recipe/gitignore-rails.rb in bently-1.0.0 vs lib/bently/recipe/gitignore-rails.rb in bently-1.0.1
- old
+ new
@@ -3,33 +3,10 @@
class GitignoreRails < Recipe
homepage 'https://github.com/github/gitignore/blob/master/Rails.gitignore'
def initialize
- append '.gitignore', gitignore
- end
-
- protected
-
- def gitignore
-%{*.rbc
-*.sassc
-.sass-cache
-capybara-*.html
-.rspec
-.rvmrc
-/.bundle
-/vendor/bundle
-/log/*
-/tmp/*
-/db/*.sqlite3
-/public/system/*
-/coverage/
-/spec/tmp/*
-**.orig
-rerun.txt
-pickle-email-*.html
-.project}
+ append '.gitignore', template('.gitignore')
end
end
end