premailer-rails3 0.1 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2 @@
1
+ *.gem
2
+ doc/
@@ -3,4 +3,4 @@ require 'hpricot'
3
3
  require 'premailer-rails3/premailer'
4
4
  require 'premailer-rails3/hook'
5
5
 
6
- Mail.register_interceptor(PremailerRails::Hook)
6
+ ActionMailer::Base.register_interceptor(PremailerRails::Hook)
@@ -9,7 +9,7 @@ module PremailerRails
9
9
 
10
10
  super(html, :with_html_string => true,
11
11
  :adapter => :hpricot,
12
- :css => css_file)
12
+ :css => [css_file])
13
13
  end
14
14
 
15
15
  def load_html(string)
@@ -1,3 +1,3 @@
1
1
  module PremailerRails
2
- VERSION = "0.1"
2
+ VERSION = "0.2"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: premailer-rails3
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: "0.1"
5
+ version: "0.2"
6
6
  platform: ruby
7
7
  authors:
8
8
  - Philipe Fatio
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-05-21 00:00:00 +02:00
13
+ date: 2011-06-09 00:00:00 +02:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -49,6 +49,7 @@ extensions: []
49
49
  extra_rdoc_files: []
50
50
 
51
51
  files:
52
+ - .gitignore
52
53
  - Gemfile
53
54
  - README.md
54
55
  - Rakefile