Skip to content

Commit

Permalink
Add coveralls back
Browse files Browse the repository at this point in the history
  • Loading branch information
fphilipe committed Nov 16, 2013
1 parent 946e775 commit 68d9f39
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
[![Gem Version](https://badge.fury.io/rb/premailer-rails.png)](http://badge.fury.io/rb/premailer-rails)
[![Dependency Status](https://gemnasium.com/fphilipe/premailer-rails.png)](https://gemnasium.com/fphilipe/premailer-rails)
[![Code Climate](https://codeclimate.com/github/fphilipe/premailer-rails.png)](https://codeclimate.com/github/fphilipe/premailer-rails)
[![Coverage Status](https://coveralls.io/repos/fphilipe/premailer-rails/badge.png?branch=master)](https://coveralls.io/r/fphilipe/premailer-rails)

This gem is a no config solution for the wonderful [Premailer gem](https://github.com/alexdunae/premailer) to be used with Rails.
It uses interceptors which were introduced in Rails 3 and tweaks all mails which are `deliver`ed and adds a plain text part to them and inlines all CSS rules into the HTML part.
Expand Down
1 change: 1 addition & 0 deletions premailer-rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ Gem::Specification.new do |s|
s.add_development_dependency 'rspec', '>= 3.0.0.beta1'
s.add_development_dependency 'nokogiri'
s.add_development_dependency 'hpricot' unless RUBY_PLATFORM == 'java'
s.add_development_dependency 'coveralls'
end
6 changes: 6 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
require 'coveralls'
Coveralls::Output.silent = true
Coveralls.wear! do
add_filter 'spec/'
end

require 'premailer/rails'

require 'stubs/action_mailer'
Expand Down

0 comments on commit 68d9f39

Please sign in to comment.