lib/bently/recipe/haml-rails.rb in bently-0.1.0 vs lib/bently/recipe/haml-rails.rb in bently-1.0.0
- old
+ new
@@ -1,11 +1,16 @@
module Bently
-
class HamlRails < RailsRecipe
- step :add_gem, "gem 'haml'"
- step :add_gem, "gem 'haml-rails'"
- step :shell, 'bundle install'
+ name 'haml-rails'
+ category 'gem'
+ description 'downloads and installs haml Ruby gem with haml-rails Ruby gem'
+ homepage 'https://github.com/haml/haml/blob/master/README.md'
- end
+ def initialize
+ gem 'haml'
+ gem 'haml-rails'
+ bundle
+ end
+ end
end