inline_css 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/inline_css/version.rb +1 -1
- data/lib/inline_css/view_helpers.rb +1 -1
- metadata +7 -7
data/lib/inline_css/version.rb
CHANGED
@@ -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
|
11
|
+
premailer = Premailer.new(html_code, 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.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2011-08-30 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
16
|
-
requirement: &
|
16
|
+
requirement: &70175074935460 !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: *
|
24
|
+
version_requirements: *70175074935460
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: premailer
|
27
|
-
requirement: &
|
27
|
+
requirement: &70175074934960 !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: *
|
35
|
+
version_requirements: *70175074934960
|
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:
|
68
|
+
hash: 2256116537749030980
|
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:
|
77
|
+
hash: 2256116537749030980
|
78
78
|
requirements: []
|
79
79
|
rubyforge_project: inline_css
|
80
80
|
rubygems_version: 1.8.6
|