htmlmin 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +11 -4
- data/lib/htmlmin.rb +5 -1
- data/lib/htmlmin/buffer.rb +11 -0
- data/lib/htmlmin/slot_machines.rb +2 -1
- data/lib/htmlmin/slot_machines/common.rb +12 -0
- data/lib/htmlmin/slot_machines/entity.rb +1140 -0
- data/lib/htmlmin/version.rb +1 -1
- data/test/input/entity_1.txt +5 -0
- data/test/options/comment_1.rb +1 -1
- data/test/options/doctype_3.rb +1 -1
- data/test/options/entity_1.rb +11 -0
- data/test/options/tag_2.rb +1 -1
- data/test/options/tag_3.rb +1 -1
- data/test/output/entity_1.txt +1 -0
- metadata +9 -2
data/lib/htmlmin/version.rb
CHANGED
data/test/options/comment_1.rb
CHANGED
data/test/options/doctype_3.rb
CHANGED
data/test/options/tag_2.rb
CHANGED
data/test/options/tag_3.rb
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
­ « ¡ ¢
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: htmlmin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-08-
|
12
|
+
date: 2011-08-28 00:00:00.000000000Z
|
13
13
|
dependencies: []
|
14
14
|
description: HTMLMin is a HTML-code minification tool implemented in Ruby. It works
|
15
15
|
like a slot machine.
|
@@ -31,6 +31,7 @@ files:
|
|
31
31
|
- lib/htmlmin/slot_machines/comment.rb
|
32
32
|
- lib/htmlmin/slot_machines/common.rb
|
33
33
|
- lib/htmlmin/slot_machines/doctype.rb
|
34
|
+
- lib/htmlmin/slot_machines/entity.rb
|
34
35
|
- lib/htmlmin/slot_machines/tag.rb
|
35
36
|
- lib/htmlmin/state.rb
|
36
37
|
- lib/htmlmin/version.rb
|
@@ -47,6 +48,7 @@ files:
|
|
47
48
|
- test/input/doctype_1.txt
|
48
49
|
- test/input/doctype_2.txt
|
49
50
|
- test/input/doctype_3.txt
|
51
|
+
- test/input/entity_1.txt
|
50
52
|
- test/input/line_length_1.txt
|
51
53
|
- test/input/line_length_2.txt
|
52
54
|
- test/input/line_length_3.txt
|
@@ -64,6 +66,7 @@ files:
|
|
64
66
|
- test/options/comment_7.rb
|
65
67
|
- test/options/comment_8.rb
|
66
68
|
- test/options/doctype_3.rb
|
69
|
+
- test/options/entity_1.rb
|
67
70
|
- test/options/line_length_1.rb
|
68
71
|
- test/options/line_length_2.rb
|
69
72
|
- test/options/line_length_3.rb
|
@@ -83,6 +86,7 @@ files:
|
|
83
86
|
- test/output/doctype_1.txt
|
84
87
|
- test/output/doctype_2.txt
|
85
88
|
- test/output/doctype_3.txt
|
89
|
+
- test/output/entity_1.txt
|
86
90
|
- test/output/line_length_1.txt
|
87
91
|
- test/output/line_length_2.txt
|
88
92
|
- test/output/line_length_3.txt
|
@@ -133,6 +137,7 @@ test_files:
|
|
133
137
|
- test/input/doctype_1.txt
|
134
138
|
- test/input/doctype_2.txt
|
135
139
|
- test/input/doctype_3.txt
|
140
|
+
- test/input/entity_1.txt
|
136
141
|
- test/input/line_length_1.txt
|
137
142
|
- test/input/line_length_2.txt
|
138
143
|
- test/input/line_length_3.txt
|
@@ -150,6 +155,7 @@ test_files:
|
|
150
155
|
- test/options/comment_7.rb
|
151
156
|
- test/options/comment_8.rb
|
152
157
|
- test/options/doctype_3.rb
|
158
|
+
- test/options/entity_1.rb
|
153
159
|
- test/options/line_length_1.rb
|
154
160
|
- test/options/line_length_2.rb
|
155
161
|
- test/options/line_length_3.rb
|
@@ -169,6 +175,7 @@ test_files:
|
|
169
175
|
- test/output/doctype_1.txt
|
170
176
|
- test/output/doctype_2.txt
|
171
177
|
- test/output/doctype_3.txt
|
178
|
+
- test/output/entity_1.txt
|
172
179
|
- test/output/line_length_1.txt
|
173
180
|
- test/output/line_length_2.txt
|
174
181
|
- test/output/line_length_3.txt
|