css_inliner 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +8 -0
- data/Gemfile +4 -0
- data/LICENSE +21 -0
- data/README +46 -0
- data/Rakefile +23 -0
- data/bin/css-inliner +27 -0
- data/bin/css-inliner-multifile +29 -0
- data/css_inliner.gemspec +29 -0
- data/lib/css_inliner.rb +15 -0
- data/lib/css_inliner/extractor.rb +58 -0
- data/lib/css_inliner/inliner.rb +42 -0
- data/lib/css_inliner/version.rb +3 -0
- data/setup.rb +1585 -0
- data/test/fixtures/sample1/CSSInliner.html +197 -0
- data/test/fixtures/sample1/created.rid +3 -0
- data/test/fixtures/sample1/images/brick.png +0 -0
- data/test/fixtures/sample1/images/brick_link.png +0 -0
- data/test/fixtures/sample1/images/bug.png +0 -0
- data/test/fixtures/sample1/images/bullet_black.png +0 -0
- data/test/fixtures/sample1/images/bullet_toggle_minus.png +0 -0
- data/test/fixtures/sample1/images/bullet_toggle_plus.png +0 -0
- data/test/fixtures/sample1/images/date.png +0 -0
- data/test/fixtures/sample1/images/find.png +0 -0
- data/test/fixtures/sample1/images/loadingAnimation.gif +0 -0
- data/test/fixtures/sample1/images/macFFBgHack.png +0 -0
- data/test/fixtures/sample1/images/package.png +0 -0
- data/test/fixtures/sample1/images/page_green.png +0 -0
- data/test/fixtures/sample1/images/page_white_text.png +0 -0
- data/test/fixtures/sample1/images/page_white_width.png +0 -0
- data/test/fixtures/sample1/images/plugin.png +0 -0
- data/test/fixtures/sample1/images/ruby.png +0 -0
- data/test/fixtures/sample1/images/tag_green.png +0 -0
- data/test/fixtures/sample1/images/wrench.png +0 -0
- data/test/fixtures/sample1/images/wrench_orange.png +0 -0
- data/test/fixtures/sample1/images/zoom.png +0 -0
- data/test/fixtures/sample1/index.html +51 -0
- data/test/fixtures/sample1/index.inlined.html +36 -0
- data/test/fixtures/sample1/js/darkfish.js +116 -0
- data/test/fixtures/sample1/js/jquery.js +32 -0
- data/test/fixtures/sample1/js/quicksearch.js +114 -0
- data/test/fixtures/sample1/js/thickbox-compressed.js +10 -0
- data/test/fixtures/sample1/lib/css_inliner/version_rb.html +52 -0
- data/test/fixtures/sample1/lib/css_inliner_rb.html +64 -0
- data/test/fixtures/sample1/rdoc.css +763 -0
- data/test/fixtures/sample2/CSSInliner.html +197 -0
- data/test/fixtures/sample2/created.rid +3 -0
- data/test/fixtures/sample2/images/brick.png +0 -0
- data/test/fixtures/sample2/images/brick_link.png +0 -0
- data/test/fixtures/sample2/images/bug.png +0 -0
- data/test/fixtures/sample2/images/bullet_black.png +0 -0
- data/test/fixtures/sample2/images/bullet_toggle_minus.png +0 -0
- data/test/fixtures/sample2/images/bullet_toggle_plus.png +0 -0
- data/test/fixtures/sample2/images/date.png +0 -0
- data/test/fixtures/sample2/images/find.png +0 -0
- data/test/fixtures/sample2/images/loadingAnimation.gif +0 -0
- data/test/fixtures/sample2/images/macFFBgHack.png +0 -0
- data/test/fixtures/sample2/images/package.png +0 -0
- data/test/fixtures/sample2/images/page_green.png +0 -0
- data/test/fixtures/sample2/images/page_white_text.png +0 -0
- data/test/fixtures/sample2/images/page_white_width.png +0 -0
- data/test/fixtures/sample2/images/plugin.png +0 -0
- data/test/fixtures/sample2/images/ruby.png +0 -0
- data/test/fixtures/sample2/images/tag_green.png +0 -0
- data/test/fixtures/sample2/images/wrench.png +0 -0
- data/test/fixtures/sample2/images/wrench_orange.png +0 -0
- data/test/fixtures/sample2/images/zoom.png +0 -0
- data/test/fixtures/sample2/index.html +51 -0
- data/test/fixtures/sample2/index.html~ +51 -0
- data/test/fixtures/sample2/index.inlined.html +36 -0
- data/test/fixtures/sample2/index.inlined.html~ +36 -0
- data/test/fixtures/sample2/js/darkfish.js +116 -0
- data/test/fixtures/sample2/js/jquery.js +32 -0
- data/test/fixtures/sample2/js/quicksearch.js +114 -0
- data/test/fixtures/sample2/js/thickbox-compressed.js +10 -0
- data/test/fixtures/sample2/lib/css_inliner/version_rb.html +52 -0
- data/test/fixtures/sample2/lib/css_inliner_rb.html +64 -0
- data/test/fixtures/sample2/rdoc.css +763 -0
- data/test/fixtures/sample3/CSSInliner.html +197 -0
- data/test/fixtures/sample3/created.rid +3 -0
- data/test/fixtures/sample3/images/brick.png +0 -0
- data/test/fixtures/sample3/images/brick_link.png +0 -0
- data/test/fixtures/sample3/images/bug.png +0 -0
- data/test/fixtures/sample3/images/bullet_black.png +0 -0
- data/test/fixtures/sample3/images/bullet_toggle_minus.png +0 -0
- data/test/fixtures/sample3/images/bullet_toggle_plus.png +0 -0
- data/test/fixtures/sample3/images/date.png +0 -0
- data/test/fixtures/sample3/images/find.png +0 -0
- data/test/fixtures/sample3/images/loadingAnimation.gif +0 -0
- data/test/fixtures/sample3/images/macFFBgHack.png +0 -0
- data/test/fixtures/sample3/images/package.png +0 -0
- data/test/fixtures/sample3/images/page_green.png +0 -0
- data/test/fixtures/sample3/images/page_white_text.png +0 -0
- data/test/fixtures/sample3/images/page_white_width.png +0 -0
- data/test/fixtures/sample3/images/plugin.png +0 -0
- data/test/fixtures/sample3/images/ruby.png +0 -0
- data/test/fixtures/sample3/images/tag_green.png +0 -0
- data/test/fixtures/sample3/images/wrench.png +0 -0
- data/test/fixtures/sample3/images/wrench_orange.png +0 -0
- data/test/fixtures/sample3/images/zoom.png +0 -0
- data/test/fixtures/sample3/index.html +55 -0
- data/test/fixtures/sample3/index.inlined.html +36 -0
- data/test/fixtures/sample3/js/darkfish.js +116 -0
- data/test/fixtures/sample3/js/jquery.js +32 -0
- data/test/fixtures/sample3/js/quicksearch.js +114 -0
- data/test/fixtures/sample3/js/thickbox-compressed.js +10 -0
- data/test/fixtures/sample3/lib/css_inliner/version_rb.html +52 -0
- data/test/fixtures/sample3/lib/css_inliner_rb.html +64 -0
- data/test/fixtures/sample3/rdoc.css +763 -0
- data/test/fixtures/sample4/CSSInliner.html +197 -0
- data/test/fixtures/sample4/created.rid +3 -0
- data/test/fixtures/sample4/images/brick.png +0 -0
- data/test/fixtures/sample4/images/brick_link.png +0 -0
- data/test/fixtures/sample4/images/bug.png +0 -0
- data/test/fixtures/sample4/images/bullet_black.png +0 -0
- data/test/fixtures/sample4/images/bullet_toggle_minus.png +0 -0
- data/test/fixtures/sample4/images/bullet_toggle_plus.png +0 -0
- data/test/fixtures/sample4/images/date.png +0 -0
- data/test/fixtures/sample4/images/find.png +0 -0
- data/test/fixtures/sample4/images/loadingAnimation.gif +0 -0
- data/test/fixtures/sample4/images/macFFBgHack.png +0 -0
- data/test/fixtures/sample4/images/package.png +0 -0
- data/test/fixtures/sample4/images/page_green.png +0 -0
- data/test/fixtures/sample4/images/page_white_text.png +0 -0
- data/test/fixtures/sample4/images/page_white_width.png +0 -0
- data/test/fixtures/sample4/images/plugin.png +0 -0
- data/test/fixtures/sample4/images/ruby.png +0 -0
- data/test/fixtures/sample4/images/tag_green.png +0 -0
- data/test/fixtures/sample4/images/wrench.png +0 -0
- data/test/fixtures/sample4/images/wrench_orange.png +0 -0
- data/test/fixtures/sample4/images/zoom.png +0 -0
- data/test/fixtures/sample4/index.html +55 -0
- data/test/fixtures/sample4/index.inlined.html +36 -0
- data/test/fixtures/sample4/js/darkfish.js +116 -0
- data/test/fixtures/sample4/js/jquery.js +32 -0
- data/test/fixtures/sample4/js/quicksearch.js +114 -0
- data/test/fixtures/sample4/js/thickbox-compressed.js +10 -0
- data/test/fixtures/sample4/lib/css_inliner/version_rb.html +52 -0
- data/test/fixtures/sample4/lib/css_inliner_rb.html +64 -0
- data/test/fixtures/sample4/rdoc.css +763 -0
- data/test/helper.rb +27 -0
- data/test/test_css_inliner.rb +22 -0
- data/test/test_extractor.rb +54 -0
- metadata +234 -0
data/test/helper.rb
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
require 'cover_me'
|
|
2
|
+
gem 'test-unit'
|
|
3
|
+
require 'test/unit'
|
|
4
|
+
require 'css_inliner'
|
|
5
|
+
|
|
6
|
+
class CSSInlinerTestCase < Test::Unit::TestCase
|
|
7
|
+
include CSSInliner
|
|
8
|
+
|
|
9
|
+
def setup
|
|
10
|
+
@fixtures_dir = File.join(File.dirname(__FILE__), 'fixtures')
|
|
11
|
+
|
|
12
|
+
@sample1_dir = File.join(@fixtures_dir, 'sample1')
|
|
13
|
+
@sample2_dir = File.join(@fixtures_dir, 'sample2')
|
|
14
|
+
@sample3_dir = File.join(@fixtures_dir, 'sample3')
|
|
15
|
+
@sample4_dir = File.join(@fixtures_dir, 'sample4')
|
|
16
|
+
|
|
17
|
+
@html1 = File.read(File.join(@sample1_dir, 'index.html'))
|
|
18
|
+
@html2 = File.read(File.join(@sample2_dir, 'index.html'))
|
|
19
|
+
@html3 = File.read(File.join(@sample3_dir, 'index.html'))
|
|
20
|
+
@html4 = File.read(File.join(@sample4_dir, 'index.html'))
|
|
21
|
+
|
|
22
|
+
@doc1 = Nokogiri.HTML @html1
|
|
23
|
+
@doc2 = Nokogiri.HTML @html2
|
|
24
|
+
@doc3 = Nokogiri.HTML @html3
|
|
25
|
+
@doc4 = Nokogiri.HTML @html4
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
require_relative 'helper'
|
|
2
|
+
require 'css_inliner'
|
|
3
|
+
|
|
4
|
+
class CSSInlinerTest < CSSInlinerTestCase
|
|
5
|
+
def setup
|
|
6
|
+
super
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
def test_process_without_inline_style
|
|
10
|
+
assert_equal *process(@sample1_dir)
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
def test_process_with_inline_style
|
|
14
|
+
assert_equal *process(@sample2_dir)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
def process(basedir)
|
|
18
|
+
source = File.read(File.join(basedir, 'index.html'))
|
|
19
|
+
inlined = File.read(File.join(basedir, 'index.inlined.html'))
|
|
20
|
+
[inlined, CSSInliner.process(source, basedir)]
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
require_relative 'helper'
|
|
2
|
+
require 'nokogiri'
|
|
3
|
+
|
|
4
|
+
class ExtractorTest < CSSInlinerTestCase
|
|
5
|
+
def setup
|
|
6
|
+
super
|
|
7
|
+
@extractor1 = Extractor.new @doc1, @sample1_dir
|
|
8
|
+
@extractor2 = Extractor.new @doc2, @sample2_dir
|
|
9
|
+
@extractor3 = Extractor.new @doc3, @sample3_dir
|
|
10
|
+
@extractor4 = Extractor.new @doc4, @sample4_dir
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
def test_extract_from_link_basic
|
|
14
|
+
expected = File.read(File.join(@sample1_dir, 'rdoc.css'))
|
|
15
|
+
actual = @extractor1.extract_from_link[0]
|
|
16
|
+
assert_equal expected, actual
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
def test_extract_from_link_remove_link_element_when_passed_true
|
|
20
|
+
@extractor1.extract_from_link(true)
|
|
21
|
+
assert_empty @doc1.css('link[rel="stylesheet"]')
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def test_extract_from_link_leave_link_element_when_passed_false
|
|
25
|
+
expected = @doc1.css('link[rel="stylesheet"]').to_s
|
|
26
|
+
@extractor1.extract_from_link(false)
|
|
27
|
+
assert_equal expected, @doc1.css('link[rel="stylesheet"]').to_s
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
def test_extract_from_style_basic
|
|
31
|
+
src = '
|
|
32
|
+
h2 {
|
|
33
|
+
color: gray ;
|
|
34
|
+
}
|
|
35
|
+
'
|
|
36
|
+
expected = CssParser::Parser.new
|
|
37
|
+
expected.add_block! src
|
|
38
|
+
actual = CssParser::Parser.new
|
|
39
|
+
actual.add_block! @extractor3.extract_from_style[0]
|
|
40
|
+
|
|
41
|
+
assert_equal expected.to_s, actual.to_s
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
def test_extract_from_style_remove_style_element_when_passed_true
|
|
45
|
+
@extractor3.extract_from_style(true)
|
|
46
|
+
assert_empty @doc3.css('style')
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
def test_extract_from_style_leave_style_element_when_passed_false
|
|
50
|
+
expected = @doc3.css('style').to_s
|
|
51
|
+
@extractor3.extract_from_style(false)
|
|
52
|
+
assert_equal expected, @doc3.css('style').to_s
|
|
53
|
+
end
|
|
54
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: css_inliner
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
prerelease:
|
|
6
|
+
platform: ruby
|
|
7
|
+
authors:
|
|
8
|
+
- KITAITI Makoto
|
|
9
|
+
autorequire:
|
|
10
|
+
bindir: bin
|
|
11
|
+
cert_chain: []
|
|
12
|
+
date: 2011-08-17 00:00:00.000000000Z
|
|
13
|
+
dependencies:
|
|
14
|
+
- !ruby/object:Gem::Dependency
|
|
15
|
+
name: nokogiri
|
|
16
|
+
requirement: &21093240 !ruby/object:Gem::Requirement
|
|
17
|
+
none: false
|
|
18
|
+
requirements:
|
|
19
|
+
- - ~>
|
|
20
|
+
- !ruby/object:Gem::Version
|
|
21
|
+
version: '1'
|
|
22
|
+
type: :runtime
|
|
23
|
+
prerelease: false
|
|
24
|
+
version_requirements: *21093240
|
|
25
|
+
- !ruby/object:Gem::Dependency
|
|
26
|
+
name: css_parser
|
|
27
|
+
requirement: &21092680 !ruby/object:Gem::Requirement
|
|
28
|
+
none: false
|
|
29
|
+
requirements:
|
|
30
|
+
- - ~>
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '1'
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: *21092680
|
|
36
|
+
- !ruby/object:Gem::Dependency
|
|
37
|
+
name: test-unit
|
|
38
|
+
requirement: &21092160 !ruby/object:Gem::Requirement
|
|
39
|
+
none: false
|
|
40
|
+
requirements:
|
|
41
|
+
- - ~>
|
|
42
|
+
- !ruby/object:Gem::Version
|
|
43
|
+
version: '2'
|
|
44
|
+
type: :development
|
|
45
|
+
prerelease: false
|
|
46
|
+
version_requirements: *21092160
|
|
47
|
+
- !ruby/object:Gem::Dependency
|
|
48
|
+
name: cover_me
|
|
49
|
+
requirement: &21091680 !ruby/object:Gem::Requirement
|
|
50
|
+
none: false
|
|
51
|
+
requirements:
|
|
52
|
+
- - ~>
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '1'
|
|
55
|
+
type: :development
|
|
56
|
+
prerelease: false
|
|
57
|
+
version_requirements: *21091680
|
|
58
|
+
description: ! "\n inline CSS from external file(s) and/or style elment(s) in head
|
|
59
|
+
element\n into style attibute of HTML elements\n "
|
|
60
|
+
email:
|
|
61
|
+
- KitaitiMakoto@gmail.com
|
|
62
|
+
executables:
|
|
63
|
+
- css-inliner
|
|
64
|
+
- css-inliner-multifile
|
|
65
|
+
extensions: []
|
|
66
|
+
extra_rdoc_files: []
|
|
67
|
+
files:
|
|
68
|
+
- .gitignore
|
|
69
|
+
- Gemfile
|
|
70
|
+
- LICENSE
|
|
71
|
+
- README
|
|
72
|
+
- Rakefile
|
|
73
|
+
- bin/css-inliner
|
|
74
|
+
- bin/css-inliner-multifile
|
|
75
|
+
- css_inliner.gemspec
|
|
76
|
+
- lib/css_inliner.rb
|
|
77
|
+
- lib/css_inliner/extractor.rb
|
|
78
|
+
- lib/css_inliner/inliner.rb
|
|
79
|
+
- lib/css_inliner/version.rb
|
|
80
|
+
- setup.rb
|
|
81
|
+
- test/fixtures/sample1/CSSInliner.html
|
|
82
|
+
- test/fixtures/sample1/created.rid
|
|
83
|
+
- test/fixtures/sample1/images/brick.png
|
|
84
|
+
- test/fixtures/sample1/images/brick_link.png
|
|
85
|
+
- test/fixtures/sample1/images/bug.png
|
|
86
|
+
- test/fixtures/sample1/images/bullet_black.png
|
|
87
|
+
- test/fixtures/sample1/images/bullet_toggle_minus.png
|
|
88
|
+
- test/fixtures/sample1/images/bullet_toggle_plus.png
|
|
89
|
+
- test/fixtures/sample1/images/date.png
|
|
90
|
+
- test/fixtures/sample1/images/find.png
|
|
91
|
+
- test/fixtures/sample1/images/loadingAnimation.gif
|
|
92
|
+
- test/fixtures/sample1/images/macFFBgHack.png
|
|
93
|
+
- test/fixtures/sample1/images/package.png
|
|
94
|
+
- test/fixtures/sample1/images/page_green.png
|
|
95
|
+
- test/fixtures/sample1/images/page_white_text.png
|
|
96
|
+
- test/fixtures/sample1/images/page_white_width.png
|
|
97
|
+
- test/fixtures/sample1/images/plugin.png
|
|
98
|
+
- test/fixtures/sample1/images/ruby.png
|
|
99
|
+
- test/fixtures/sample1/images/tag_green.png
|
|
100
|
+
- test/fixtures/sample1/images/wrench.png
|
|
101
|
+
- test/fixtures/sample1/images/wrench_orange.png
|
|
102
|
+
- test/fixtures/sample1/images/zoom.png
|
|
103
|
+
- test/fixtures/sample1/index.html
|
|
104
|
+
- test/fixtures/sample1/index.inlined.html
|
|
105
|
+
- test/fixtures/sample1/js/darkfish.js
|
|
106
|
+
- test/fixtures/sample1/js/jquery.js
|
|
107
|
+
- test/fixtures/sample1/js/quicksearch.js
|
|
108
|
+
- test/fixtures/sample1/js/thickbox-compressed.js
|
|
109
|
+
- test/fixtures/sample1/lib/css_inliner/version_rb.html
|
|
110
|
+
- test/fixtures/sample1/lib/css_inliner_rb.html
|
|
111
|
+
- test/fixtures/sample1/rdoc.css
|
|
112
|
+
- test/fixtures/sample2/CSSInliner.html
|
|
113
|
+
- test/fixtures/sample2/created.rid
|
|
114
|
+
- test/fixtures/sample2/images/brick.png
|
|
115
|
+
- test/fixtures/sample2/images/brick_link.png
|
|
116
|
+
- test/fixtures/sample2/images/bug.png
|
|
117
|
+
- test/fixtures/sample2/images/bullet_black.png
|
|
118
|
+
- test/fixtures/sample2/images/bullet_toggle_minus.png
|
|
119
|
+
- test/fixtures/sample2/images/bullet_toggle_plus.png
|
|
120
|
+
- test/fixtures/sample2/images/date.png
|
|
121
|
+
- test/fixtures/sample2/images/find.png
|
|
122
|
+
- test/fixtures/sample2/images/loadingAnimation.gif
|
|
123
|
+
- test/fixtures/sample2/images/macFFBgHack.png
|
|
124
|
+
- test/fixtures/sample2/images/package.png
|
|
125
|
+
- test/fixtures/sample2/images/page_green.png
|
|
126
|
+
- test/fixtures/sample2/images/page_white_text.png
|
|
127
|
+
- test/fixtures/sample2/images/page_white_width.png
|
|
128
|
+
- test/fixtures/sample2/images/plugin.png
|
|
129
|
+
- test/fixtures/sample2/images/ruby.png
|
|
130
|
+
- test/fixtures/sample2/images/tag_green.png
|
|
131
|
+
- test/fixtures/sample2/images/wrench.png
|
|
132
|
+
- test/fixtures/sample2/images/wrench_orange.png
|
|
133
|
+
- test/fixtures/sample2/images/zoom.png
|
|
134
|
+
- test/fixtures/sample2/index.html
|
|
135
|
+
- test/fixtures/sample2/index.html~
|
|
136
|
+
- test/fixtures/sample2/index.inlined.html
|
|
137
|
+
- test/fixtures/sample2/index.inlined.html~
|
|
138
|
+
- test/fixtures/sample2/js/darkfish.js
|
|
139
|
+
- test/fixtures/sample2/js/jquery.js
|
|
140
|
+
- test/fixtures/sample2/js/quicksearch.js
|
|
141
|
+
- test/fixtures/sample2/js/thickbox-compressed.js
|
|
142
|
+
- test/fixtures/sample2/lib/css_inliner/version_rb.html
|
|
143
|
+
- test/fixtures/sample2/lib/css_inliner_rb.html
|
|
144
|
+
- test/fixtures/sample2/rdoc.css
|
|
145
|
+
- test/fixtures/sample3/CSSInliner.html
|
|
146
|
+
- test/fixtures/sample3/created.rid
|
|
147
|
+
- test/fixtures/sample3/images/brick.png
|
|
148
|
+
- test/fixtures/sample3/images/brick_link.png
|
|
149
|
+
- test/fixtures/sample3/images/bug.png
|
|
150
|
+
- test/fixtures/sample3/images/bullet_black.png
|
|
151
|
+
- test/fixtures/sample3/images/bullet_toggle_minus.png
|
|
152
|
+
- test/fixtures/sample3/images/bullet_toggle_plus.png
|
|
153
|
+
- test/fixtures/sample3/images/date.png
|
|
154
|
+
- test/fixtures/sample3/images/find.png
|
|
155
|
+
- test/fixtures/sample3/images/loadingAnimation.gif
|
|
156
|
+
- test/fixtures/sample3/images/macFFBgHack.png
|
|
157
|
+
- test/fixtures/sample3/images/package.png
|
|
158
|
+
- test/fixtures/sample3/images/page_green.png
|
|
159
|
+
- test/fixtures/sample3/images/page_white_text.png
|
|
160
|
+
- test/fixtures/sample3/images/page_white_width.png
|
|
161
|
+
- test/fixtures/sample3/images/plugin.png
|
|
162
|
+
- test/fixtures/sample3/images/ruby.png
|
|
163
|
+
- test/fixtures/sample3/images/tag_green.png
|
|
164
|
+
- test/fixtures/sample3/images/wrench.png
|
|
165
|
+
- test/fixtures/sample3/images/wrench_orange.png
|
|
166
|
+
- test/fixtures/sample3/images/zoom.png
|
|
167
|
+
- test/fixtures/sample3/index.html
|
|
168
|
+
- test/fixtures/sample3/index.inlined.html
|
|
169
|
+
- test/fixtures/sample3/js/darkfish.js
|
|
170
|
+
- test/fixtures/sample3/js/jquery.js
|
|
171
|
+
- test/fixtures/sample3/js/quicksearch.js
|
|
172
|
+
- test/fixtures/sample3/js/thickbox-compressed.js
|
|
173
|
+
- test/fixtures/sample3/lib/css_inliner/version_rb.html
|
|
174
|
+
- test/fixtures/sample3/lib/css_inliner_rb.html
|
|
175
|
+
- test/fixtures/sample3/rdoc.css
|
|
176
|
+
- test/fixtures/sample4/CSSInliner.html
|
|
177
|
+
- test/fixtures/sample4/created.rid
|
|
178
|
+
- test/fixtures/sample4/images/brick.png
|
|
179
|
+
- test/fixtures/sample4/images/brick_link.png
|
|
180
|
+
- test/fixtures/sample4/images/bug.png
|
|
181
|
+
- test/fixtures/sample4/images/bullet_black.png
|
|
182
|
+
- test/fixtures/sample4/images/bullet_toggle_minus.png
|
|
183
|
+
- test/fixtures/sample4/images/bullet_toggle_plus.png
|
|
184
|
+
- test/fixtures/sample4/images/date.png
|
|
185
|
+
- test/fixtures/sample4/images/find.png
|
|
186
|
+
- test/fixtures/sample4/images/loadingAnimation.gif
|
|
187
|
+
- test/fixtures/sample4/images/macFFBgHack.png
|
|
188
|
+
- test/fixtures/sample4/images/package.png
|
|
189
|
+
- test/fixtures/sample4/images/page_green.png
|
|
190
|
+
- test/fixtures/sample4/images/page_white_text.png
|
|
191
|
+
- test/fixtures/sample4/images/page_white_width.png
|
|
192
|
+
- test/fixtures/sample4/images/plugin.png
|
|
193
|
+
- test/fixtures/sample4/images/ruby.png
|
|
194
|
+
- test/fixtures/sample4/images/tag_green.png
|
|
195
|
+
- test/fixtures/sample4/images/wrench.png
|
|
196
|
+
- test/fixtures/sample4/images/wrench_orange.png
|
|
197
|
+
- test/fixtures/sample4/images/zoom.png
|
|
198
|
+
- test/fixtures/sample4/index.html
|
|
199
|
+
- test/fixtures/sample4/index.inlined.html
|
|
200
|
+
- test/fixtures/sample4/js/darkfish.js
|
|
201
|
+
- test/fixtures/sample4/js/jquery.js
|
|
202
|
+
- test/fixtures/sample4/js/quicksearch.js
|
|
203
|
+
- test/fixtures/sample4/js/thickbox-compressed.js
|
|
204
|
+
- test/fixtures/sample4/lib/css_inliner/version_rb.html
|
|
205
|
+
- test/fixtures/sample4/lib/css_inliner_rb.html
|
|
206
|
+
- test/fixtures/sample4/rdoc.css
|
|
207
|
+
- test/helper.rb
|
|
208
|
+
- test/test_css_inliner.rb
|
|
209
|
+
- test/test_extractor.rb
|
|
210
|
+
homepage: https://gitorious.org/css_inliner
|
|
211
|
+
licenses: []
|
|
212
|
+
post_install_message:
|
|
213
|
+
rdoc_options: []
|
|
214
|
+
require_paths:
|
|
215
|
+
- lib
|
|
216
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
217
|
+
none: false
|
|
218
|
+
requirements:
|
|
219
|
+
- - ! '>='
|
|
220
|
+
- !ruby/object:Gem::Version
|
|
221
|
+
version: '0'
|
|
222
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
223
|
+
none: false
|
|
224
|
+
requirements:
|
|
225
|
+
- - ! '>='
|
|
226
|
+
- !ruby/object:Gem::Version
|
|
227
|
+
version: '0'
|
|
228
|
+
requirements: []
|
|
229
|
+
rubyforge_project:
|
|
230
|
+
rubygems_version: 1.8.8
|
|
231
|
+
signing_key:
|
|
232
|
+
specification_version: 3
|
|
233
|
+
summary: inline CSS into HTML attribute of elements
|
|
234
|
+
test_files: []
|