lib/bently/recipe/guard-livereload.rb in bently-0.1.0 vs lib/bently/recipe/guard-livereload.rb in bently-1.0.0
- old
+ new
@@ -1,11 +1,17 @@
module Bently
class GuardLivereload < RailsRecipe
-
- step :add_gem, "gem 'guard-livereload', :group => :development"
- step :shell, 'bundle install'
- step :shell, 'guard init livereload'
+
+ homepage 'https://github.com/guard/guard-livereload/blob/master/README.md'
+
+ def initialize
+ gem_group :development do
+ gem 'guard-livereload'
+ end
+ bundle
+ run 'guard init livereload'
+ end
end
end