actionmailer_inline_css 1.5.1 → 1.5.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "actionmailer_inline_css"
3
- s.version = "1.5.1"
3
+ s.version = "1.5.2"
4
4
  s.date = Time.now.strftime('%Y-%m-%d')
5
5
  s.summary = "Always send HTML e-mails with inline CSS, using the 'premailer' gem"
6
6
  s.email = "nathan.f77@gmail.com"
@@ -24,13 +24,13 @@ module ActionMailer
24
24
 
25
25
  # Add an HTML part with CSS inlined.
26
26
  message.html_part do
27
- content_type "text/plain; charset=#{charset}"
27
+ content_type "text/html; charset=#{msg_charset}"
28
28
  body premailer.to_inline_css
29
29
  end
30
30
 
31
31
  # Add a text part with either the pre-existing text part, or one generated with premailer.
32
32
  message.text_part do
33
- content_type "text/plain; charset=#{charset}"
33
+ content_type "text/plain; charset=#{msg_charset}"
34
34
  body existing_text_part || premailer.to_plain_text
35
35
  end
36
36
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actionmailer_inline_css
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.5.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-07 00:00:00.000000000Z
12
+ date: 2012-01-08 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionmailer
16
- requirement: &83824600 !ruby/object:Gem::Requirement
16
+ requirement: &19144080 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.0.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *83824600
24
+ version_requirements: *19144080
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: premailer
27
- requirement: &83824360 !ruby/object:Gem::Requirement
27
+ requirement: &19143300 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.7.1
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *83824360
35
+ version_requirements: *19143300
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: nokogiri
38
- requirement: &83824130 !ruby/object:Gem::Requirement
38
+ requirement: &19142740 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 1.4.4
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *83824130
46
+ version_requirements: *19142740
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: mocha
49
- requirement: &83823900 !ruby/object:Gem::Requirement
49
+ requirement: &19142140 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: 0.10.0
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *83823900
57
+ version_requirements: *19142140
58
58
  description: Module for ActionMailer to improve the rendering of HTML emails by using
59
59
  the 'premailer' gem, which inlines CSS and makes relative links absolute.
60
60
  email: nathan.f77@gmail.com
@@ -95,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
95
95
  version: '0'
96
96
  requirements: []
97
97
  rubyforge_project:
98
- rubygems_version: 1.8.10
98
+ rubygems_version: 1.8.8
99
99
  signing_key:
100
100
  specification_version: 3
101
101
  summary: Always send HTML e-mails with inline CSS, using the 'premailer' gem