htmlmin 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Htmlmin
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -0,0 +1,5 @@
1
+ ­
2
+  
3
+ «
4
+ ¡
5
+ ¢
@@ -1,6 +1,6 @@
1
1
  {
2
2
  :remove_comments => true,
3
- :preserve_conditional_comments => false,
3
+ :remove_conditional_comments => true,
4
4
 
5
5
  :max_line_len => 0,
6
6
  :minify_whitespaces => true,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  :remove_comments => true,
3
- :preserve_conditional_comments => false,
3
+ :remove_conditional_comments => true,
4
4
 
5
5
  :max_line_len => 0,
6
6
  :minify_whitespaces => true,
@@ -0,0 +1,11 @@
1
+ {
2
+ :minify_entities => true,
3
+ :entities_to_chars => true,
4
+
5
+ :remove_comments => true,
6
+ :remove_conditional_comments => true,
7
+ :minify_whitespaces => true,
8
+ :max_line_len => 0,
9
+
10
+ :debug => false
11
+ }
@@ -3,6 +3,6 @@
3
3
 
4
4
  :max_line_len => 0,
5
5
  :remove_comments => true,
6
- :preserve_conditional_comments => false,
6
+ :remove_conditional_comments => true,
7
7
  :debug => false
8
8
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  :remove_comments => true,
3
- :preserve_conditional_comments => false,
3
+ :remove_conditional_comments => true,
4
4
 
5
5
  :max_line_len => 0,
6
6
  :minify_whitespaces => true,
@@ -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
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-26 00:00:00.000000000Z
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