inline_css 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module InlineCss
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -8,7 +8,7 @@ module InlineCss
8
8
  html_code = capture(&block)
9
9
  options[:with_html_string] = true
10
10
 
11
- premailer = Premailer.new(html_code, options)
11
+ premailer = Premailer.new(html_code.encode('ASCII-8BIT'), options)
12
12
  inlined = premailer.to_inline_css
13
13
  inlined.html_safe
14
14
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inline_css
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
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: 2011-08-26 00:00:00.000000000Z
12
+ date: 2011-08-30 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
- requirement: &70262448329700 !ruby/object:Gem::Requirement
16
+ requirement: &70123230723000 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70262448329700
24
+ version_requirements: *70123230723000
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: premailer
27
- requirement: &70262448323740 !ruby/object:Gem::Requirement
27
+ requirement: &70123230717640 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: 1.5.4
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70262448323740
35
+ version_requirements: *70123230717640
36
36
  description: InlineCss provides the inline_css helper to inline css styles within
37
37
  a view. This is especially useful for ActionMailer templates. InlineCss makes use
38
38
  of the excellent Premailer gem to accomplish this task.
@@ -65,7 +65,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
65
65
  version: '0'
66
66
  segments:
67
67
  - 0
68
- hash: -2863777513684204161
68
+ hash: 2433280517709858047
69
69
  required_rubygems_version: !ruby/object:Gem::Requirement
70
70
  none: false
71
71
  requirements:
@@ -74,7 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
74
74
  version: '0'
75
75
  segments:
76
76
  - 0
77
- hash: -2863777513684204161
77
+ hash: 2433280517709858047
78
78
  requirements: []
79
79
  rubyforge_project: inline_css
80
80
  rubygems_version: 1.8.6