lib/pah/partials/_letter_opener.rb in pah-0.0.12 vs lib/pah/partials/_letter_opener.rb in pah-0.0.13

- old
+ new

@@ -1,7 +1,5 @@ -puts "Adding letter_opener... ".magenta - letter_opener_config = <<LETTER_OPENER # Letter openner config config.action_mailer.delivery_method = :letter_opener config.action_mailer.default_url_options = { :host => 'localhost:3000' } @@ -9,8 +7,7 @@ in_root do inject_into_file 'config/environments/development.rb', letter_opener_config, { before: /^end/, verbose: false } end -git :add => 'config/environments/development.rb' -git :commit => "-qm 'Adding letter_opener config.'" - +git add: 'config/environments/development.rb' +git_commit 'Add letter_opener config.'