htmlcompressor 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. data/.gitignore +17 -0
  2. data/Gemfile +4 -0
  3. data/LICENSE +13 -0
  4. data/README.md +83 -0
  5. data/Rakefile +2 -0
  6. data/htmlcompressor.gemspec +21 -0
  7. data/lib/htmlcompressor.rb +6 -0
  8. data/lib/htmlcompressor/compressor.rb +785 -0
  9. data/lib/htmlcompressor/rack.rb +54 -0
  10. data/lib/htmlcompressor/version.rb +3 -0
  11. data/test/compressor_test.rb +254 -0
  12. data/test/resources/html/.svn/all-wcprops +275 -0
  13. data/test/resources/html/.svn/entries +1558 -0
  14. data/test/resources/html/.svn/prop-base/testRemoveHttpProtocol.html.svn-base +5 -0
  15. data/test/resources/html/.svn/prop-base/testRemoveHttpProtocolResult.html.svn-base +5 -0
  16. data/test/resources/html/.svn/prop-base/testRemoveHttpsProtocol.html.svn-base +5 -0
  17. data/test/resources/html/.svn/prop-base/testRemoveHttpsProtocolResult.html.svn-base +5 -0
  18. data/test/resources/html/.svn/prop-base/testRemoveSpacesInsideTags.html.svn-base +5 -0
  19. data/test/resources/html/.svn/prop-base/testRemoveSpacesInsideTagsResult.html.svn-base +5 -0
  20. data/test/resources/html/.svn/prop-base/testSurroundingSpaces.html.svn-base +5 -0
  21. data/test/resources/html/.svn/prop-base/testSurroundingSpacesResult.html.svn-base +5 -0
  22. data/test/resources/html/.svn/text-base/testCompress.html.svn-base +10 -0
  23. data/test/resources/html/.svn/text-base/testCompressCss.html.svn-base +11 -0
  24. data/test/resources/html/.svn/text-base/testCompressCssResult.html.svn-base +6 -0
  25. data/test/resources/html/.svn/text-base/testCompressJavaScript.html.svn-base +24 -0
  26. data/test/resources/html/.svn/text-base/testCompressJavaScriptClosureResult.html.svn-base +7 -0
  27. data/test/resources/html/.svn/text-base/testCompressJavaScriptYuiResult.html.svn-base +7 -0
  28. data/test/resources/html/.svn/text-base/testCompressResult.html.svn-base +1 -0
  29. data/test/resources/html/.svn/text-base/testEnabled.html.svn-base +1 -0
  30. data/test/resources/html/.svn/text-base/testEnabledResult.html.svn-base +1 -0
  31. data/test/resources/html/.svn/text-base/testPreserveLineBreaks.html.svn-base +11 -0
  32. data/test/resources/html/.svn/text-base/testPreserveLineBreaksResult.html.svn-base +5 -0
  33. data/test/resources/html/.svn/text-base/testPreservePatterns.html.svn-base +7 -0
  34. data/test/resources/html/.svn/text-base/testPreservePatternsResult.html.svn-base +1 -0
  35. data/test/resources/html/.svn/text-base/testRemoveComments.html.svn-base +17 -0
  36. data/test/resources/html/.svn/text-base/testRemoveCommentsResult.html.svn-base +4 -0
  37. data/test/resources/html/.svn/text-base/testRemoveFormAttributes.html.svn-base +1 -0
  38. data/test/resources/html/.svn/text-base/testRemoveFormAttributesResult.html.svn-base +1 -0
  39. data/test/resources/html/.svn/text-base/testRemoveHttpProtocol.html.svn-base +1 -0
  40. data/test/resources/html/.svn/text-base/testRemoveHttpProtocolResult.html.svn-base +1 -0
  41. data/test/resources/html/.svn/text-base/testRemoveHttpsProtocol.html.svn-base +1 -0
  42. data/test/resources/html/.svn/text-base/testRemoveHttpsProtocolResult.html.svn-base +1 -0
  43. data/test/resources/html/.svn/text-base/testRemoveInputAttributes.html.svn-base +1 -0
  44. data/test/resources/html/.svn/text-base/testRemoveInputAttributesResult.html.svn-base +1 -0
  45. data/test/resources/html/.svn/text-base/testRemoveIntertagSpaces.html.svn-base +5 -0
  46. data/test/resources/html/.svn/text-base/testRemoveIntertagSpacesResult.html.svn-base +1 -0
  47. data/test/resources/html/.svn/text-base/testRemoveJavaScriptProtocol.html.svn-base +1 -0
  48. data/test/resources/html/.svn/text-base/testRemoveJavaScriptProtocolResult.html.svn-base +1 -0
  49. data/test/resources/html/.svn/text-base/testRemoveLinkAttributes.html.svn-base +5 -0
  50. data/test/resources/html/.svn/text-base/testRemoveLinkAttributesResult.html.svn-base +1 -0
  51. data/test/resources/html/.svn/text-base/testRemoveMultiSpaces.html.svn-base +1 -0
  52. data/test/resources/html/.svn/text-base/testRemoveMultiSpacesResult.html.svn-base +1 -0
  53. data/test/resources/html/.svn/text-base/testRemoveQuotes.html.svn-base +7 -0
  54. data/test/resources/html/.svn/text-base/testRemoveQuotesResult.html.svn-base +1 -0
  55. data/test/resources/html/.svn/text-base/testRemoveScriptAttributes.html.svn-base +6 -0
  56. data/test/resources/html/.svn/text-base/testRemoveScriptAttributesResult.html.svn-base +1 -0
  57. data/test/resources/html/.svn/text-base/testRemoveSpacesInsideTags.html.svn-base +1 -0
  58. data/test/resources/html/.svn/text-base/testRemoveSpacesInsideTagsResult.html.svn-base +1 -0
  59. data/test/resources/html/.svn/text-base/testRemoveStyleAttributes.html.svn-base +3 -0
  60. data/test/resources/html/.svn/text-base/testRemoveStyleAttributesResult.html.svn-base +1 -0
  61. data/test/resources/html/.svn/text-base/testSimpleBooleanAttributes.html.svn-base +1 -0
  62. data/test/resources/html/.svn/text-base/testSimpleBooleanAttributesResult.html.svn-base +1 -0
  63. data/test/resources/html/.svn/text-base/testSimpleDoctype.html.svn-base +2 -0
  64. data/test/resources/html/.svn/text-base/testSimpleDoctypeResult.html.svn-base +1 -0
  65. data/test/resources/html/.svn/text-base/testSurroundingSpaces.html.svn-base +1 -0
  66. data/test/resources/html/.svn/text-base/testSurroundingSpacesResult.html.svn-base +1 -0
  67. data/test/resources/html/testCompress.html +10 -0
  68. data/test/resources/html/testCompressCss.html +11 -0
  69. data/test/resources/html/testCompressCssResult.html +6 -0
  70. data/test/resources/html/testCompressJavaScript.html +24 -0
  71. data/test/resources/html/testCompressJavaScriptClosureResult.html +7 -0
  72. data/test/resources/html/testCompressJavaScriptYuiResult.html +7 -0
  73. data/test/resources/html/testCompressResult.html +1 -0
  74. data/test/resources/html/testEnabled.html +1 -0
  75. data/test/resources/html/testEnabledResult.html +1 -0
  76. data/test/resources/html/testPreserveLineBreaks.html +11 -0
  77. data/test/resources/html/testPreserveLineBreaksResult.html +5 -0
  78. data/test/resources/html/testPreservePatterns.html +7 -0
  79. data/test/resources/html/testPreservePatternsResult.html +1 -0
  80. data/test/resources/html/testRemoveComments.html +17 -0
  81. data/test/resources/html/testRemoveCommentsResult.html +4 -0
  82. data/test/resources/html/testRemoveFormAttributes.html +1 -0
  83. data/test/resources/html/testRemoveFormAttributesResult.html +1 -0
  84. data/test/resources/html/testRemoveHttpProtocol.html +1 -0
  85. data/test/resources/html/testRemoveHttpProtocolResult.html +1 -0
  86. data/test/resources/html/testRemoveHttpsProtocol.html +1 -0
  87. data/test/resources/html/testRemoveHttpsProtocolResult.html +1 -0
  88. data/test/resources/html/testRemoveInputAttributes.html +1 -0
  89. data/test/resources/html/testRemoveInputAttributesResult.html +1 -0
  90. data/test/resources/html/testRemoveIntertagSpaces.html +5 -0
  91. data/test/resources/html/testRemoveIntertagSpacesResult.html +1 -0
  92. data/test/resources/html/testRemoveJavaScriptProtocol.html +1 -0
  93. data/test/resources/html/testRemoveJavaScriptProtocolResult.html +1 -0
  94. data/test/resources/html/testRemoveLinkAttributes.html +5 -0
  95. data/test/resources/html/testRemoveLinkAttributesResult.html +1 -0
  96. data/test/resources/html/testRemoveMultiSpaces.html +1 -0
  97. data/test/resources/html/testRemoveMultiSpacesResult.html +1 -0
  98. data/test/resources/html/testRemoveQuotes.html +7 -0
  99. data/test/resources/html/testRemoveQuotesResult.html +1 -0
  100. data/test/resources/html/testRemoveScriptAttributes.html +6 -0
  101. data/test/resources/html/testRemoveScriptAttributesResult.html +1 -0
  102. data/test/resources/html/testRemoveSpacesInsideTags.html +1 -0
  103. data/test/resources/html/testRemoveSpacesInsideTagsResult.html +1 -0
  104. data/test/resources/html/testRemoveStyleAttributes.html +3 -0
  105. data/test/resources/html/testRemoveStyleAttributesResult.html +1 -0
  106. data/test/resources/html/testSimpleBooleanAttributes.html +1 -0
  107. data/test/resources/html/testSimpleBooleanAttributesResult.html +1 -0
  108. data/test/resources/html/testSimpleDoctype.html +2 -0
  109. data/test/resources/html/testSimpleDoctypeResult.html +1 -0
  110. data/test/resources/html/testSurroundingSpaces.html +1 -0
  111. data/test/resources/html/testSurroundingSpacesResult.html +1 -0
  112. data/test/resources/xml/.svn/all-wcprops +53 -0
  113. data/test/resources/xml/.svn/entries +300 -0
  114. data/test/resources/xml/.svn/text-base/testCompress.xml.svn-base +11 -0
  115. data/test/resources/xml/.svn/text-base/testCompressResult.xml.svn-base +5 -0
  116. data/test/resources/xml/.svn/text-base/testEnabled.xml.svn-base +1 -0
  117. data/test/resources/xml/.svn/text-base/testEnabledResult.xml.svn-base +1 -0
  118. data/test/resources/xml/.svn/text-base/testRemoveComments.xml.svn-base +5 -0
  119. data/test/resources/xml/.svn/text-base/testRemoveCommentsResult.xml.svn-base +4 -0
  120. data/test/resources/xml/.svn/text-base/testRemoveIntertagSpaces.xml.svn-base +11 -0
  121. data/test/resources/xml/.svn/text-base/testRemoveIntertagSpacesResult.xml.svn-base +5 -0
  122. data/test/resources/xml/testCompress.xml +11 -0
  123. data/test/resources/xml/testCompressResult.xml +5 -0
  124. data/test/resources/xml/testEnabled.xml +1 -0
  125. data/test/resources/xml/testEnabledResult.xml +1 -0
  126. data/test/resources/xml/testRemoveComments.xml +5 -0
  127. data/test/resources/xml/testRemoveCommentsResult.xml +4 -0
  128. data/test/resources/xml/testRemoveIntertagSpaces.xml +11 -0
  129. data/test/resources/xml/testRemoveIntertagSpacesResult.xml +5 -0
  130. metadata +332 -0
@@ -0,0 +1,11 @@
1
+ <a q = "qqq" w = 'ww"w"w' >
2
+ <b>
3
+ <c>
4
+ <![CDATA[
5
+ <a> <b> <!-- comment --> <c>
6
+ ]]>
7
+ </c>
8
+ </b>
9
+ <a>
10
+ <x />
11
+ <y> aaa bbbb </y>
@@ -0,0 +1,5 @@
1
+ <a q="qqq" w='ww"w"w'><b><c>
2
+ <![CDATA[
3
+ <a> <b> <!-- comment --> <c>
4
+ ]]>
5
+ </c></b><a><x/><y> aaa bbbb </y>
@@ -0,0 +1 @@
1
+ <a> <b> <!-- comment -->
@@ -0,0 +1 @@
1
+ <a> <b> <!-- comment -->
@@ -0,0 +1,5 @@
1
+ <a> <b> <!-- comment --> <c>
2
+ <![CDATA[
3
+ <a> <b> <!-- comment --> <c>
4
+ ]]>
5
+
@@ -0,0 +1,4 @@
1
+ <a><b><c>
2
+ <![CDATA[
3
+ <a> <b> <!-- comment --> <c>
4
+ ]]>
@@ -0,0 +1,11 @@
1
+ <a q = "qqq" w = 'ww"w"w' >
2
+ <b>
3
+ <c>
4
+ <![CDATA[
5
+ <a> <b> <!-- comment --> <c>
6
+ ]]>
7
+ </c>
8
+ </b>
9
+ <a>
10
+ <x />
11
+ <y> aaa bbbb </y>
@@ -0,0 +1,5 @@
1
+ <a q="qqq" w='ww"w"w'><b><c>
2
+ <![CDATA[
3
+ <a> <b> <!-- comment --> <c>
4
+ ]]>
5
+ </c></b><a><x/><y> aaa bbbb </y>
@@ -0,0 +1,11 @@
1
+ <a q = "qqq" w = 'ww"w"w' >
2
+ <b>
3
+ <c>
4
+ <![CDATA[
5
+ <a> <b> <!-- comment --> <c>
6
+ ]]>
7
+ </c>
8
+ </b>
9
+ <a>
10
+ <x />
11
+ <y> aaa bbbb </y>
@@ -0,0 +1,5 @@
1
+ <a q="qqq" w='ww"w"w'><b><c>
2
+ <![CDATA[
3
+ <a> <b> <!-- comment --> <c>
4
+ ]]>
5
+ </c></b><a><x/><y> aaa bbbb </y>
@@ -0,0 +1 @@
1
+ <a> <b> <!-- comment -->
@@ -0,0 +1 @@
1
+ <a> <b> <!-- comment -->
@@ -0,0 +1,5 @@
1
+ <a> <b> <!-- comment --> <c>
2
+ <![CDATA[
3
+ <a> <b> <!-- comment --> <c>
4
+ ]]>
5
+
@@ -0,0 +1,4 @@
1
+ <a><b><c>
2
+ <![CDATA[
3
+ <a> <b> <!-- comment --> <c>
4
+ ]]>
@@ -0,0 +1,11 @@
1
+ <a q = "qqq" w = 'ww"w"w' >
2
+ <b>
3
+ <c>
4
+ <![CDATA[
5
+ <a> <b> <!-- comment --> <c>
6
+ ]]>
7
+ </c>
8
+ </b>
9
+ <a>
10
+ <x />
11
+ <y> aaa bbbb </y>
@@ -0,0 +1,5 @@
1
+ <a q="qqq" w='ww"w"w'><b><c>
2
+ <![CDATA[
3
+ <a> <b> <!-- comment --> <c>
4
+ ]]>
5
+ </c></b><a><x/><y> aaa bbbb </y>
metadata ADDED
@@ -0,0 +1,332 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: htmlcompressor
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Paolo Chiodi
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-05-11 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: yui-compressor
16
+ requirement: &2161817380 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 0.9.6
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *2161817380
25
+ - !ruby/object:Gem::Dependency
26
+ name: closure-compiler
27
+ requirement: &2161816880 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ~>
31
+ - !ruby/object:Gem::Version
32
+ version: 1.1.5
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: *2161816880
36
+ - !ruby/object:Gem::Dependency
37
+ name: rake
38
+ requirement: &2161832860 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ type: :development
45
+ prerelease: false
46
+ version_requirements: *2161832860
47
+ description: Put your html on a diet
48
+ email:
49
+ - chiodi84@gmail.com
50
+ executables: []
51
+ extensions: []
52
+ extra_rdoc_files: []
53
+ files:
54
+ - .gitignore
55
+ - Gemfile
56
+ - LICENSE
57
+ - README.md
58
+ - Rakefile
59
+ - htmlcompressor.gemspec
60
+ - lib/htmlcompressor.rb
61
+ - lib/htmlcompressor/compressor.rb
62
+ - lib/htmlcompressor/rack.rb
63
+ - lib/htmlcompressor/version.rb
64
+ - test/compressor_test.rb
65
+ - test/resources/html/.svn/all-wcprops
66
+ - test/resources/html/.svn/entries
67
+ - test/resources/html/.svn/prop-base/testRemoveHttpProtocol.html.svn-base
68
+ - test/resources/html/.svn/prop-base/testRemoveHttpProtocolResult.html.svn-base
69
+ - test/resources/html/.svn/prop-base/testRemoveHttpsProtocol.html.svn-base
70
+ - test/resources/html/.svn/prop-base/testRemoveHttpsProtocolResult.html.svn-base
71
+ - test/resources/html/.svn/prop-base/testRemoveSpacesInsideTags.html.svn-base
72
+ - test/resources/html/.svn/prop-base/testRemoveSpacesInsideTagsResult.html.svn-base
73
+ - test/resources/html/.svn/prop-base/testSurroundingSpaces.html.svn-base
74
+ - test/resources/html/.svn/prop-base/testSurroundingSpacesResult.html.svn-base
75
+ - test/resources/html/.svn/text-base/testCompress.html.svn-base
76
+ - test/resources/html/.svn/text-base/testCompressCss.html.svn-base
77
+ - test/resources/html/.svn/text-base/testCompressCssResult.html.svn-base
78
+ - test/resources/html/.svn/text-base/testCompressJavaScript.html.svn-base
79
+ - test/resources/html/.svn/text-base/testCompressJavaScriptClosureResult.html.svn-base
80
+ - test/resources/html/.svn/text-base/testCompressJavaScriptYuiResult.html.svn-base
81
+ - test/resources/html/.svn/text-base/testCompressResult.html.svn-base
82
+ - test/resources/html/.svn/text-base/testEnabled.html.svn-base
83
+ - test/resources/html/.svn/text-base/testEnabledResult.html.svn-base
84
+ - test/resources/html/.svn/text-base/testPreserveLineBreaks.html.svn-base
85
+ - test/resources/html/.svn/text-base/testPreserveLineBreaksResult.html.svn-base
86
+ - test/resources/html/.svn/text-base/testPreservePatterns.html.svn-base
87
+ - test/resources/html/.svn/text-base/testPreservePatternsResult.html.svn-base
88
+ - test/resources/html/.svn/text-base/testRemoveComments.html.svn-base
89
+ - test/resources/html/.svn/text-base/testRemoveCommentsResult.html.svn-base
90
+ - test/resources/html/.svn/text-base/testRemoveFormAttributes.html.svn-base
91
+ - test/resources/html/.svn/text-base/testRemoveFormAttributesResult.html.svn-base
92
+ - test/resources/html/.svn/text-base/testRemoveHttpProtocol.html.svn-base
93
+ - test/resources/html/.svn/text-base/testRemoveHttpProtocolResult.html.svn-base
94
+ - test/resources/html/.svn/text-base/testRemoveHttpsProtocol.html.svn-base
95
+ - test/resources/html/.svn/text-base/testRemoveHttpsProtocolResult.html.svn-base
96
+ - test/resources/html/.svn/text-base/testRemoveInputAttributes.html.svn-base
97
+ - test/resources/html/.svn/text-base/testRemoveInputAttributesResult.html.svn-base
98
+ - test/resources/html/.svn/text-base/testRemoveIntertagSpaces.html.svn-base
99
+ - test/resources/html/.svn/text-base/testRemoveIntertagSpacesResult.html.svn-base
100
+ - test/resources/html/.svn/text-base/testRemoveJavaScriptProtocol.html.svn-base
101
+ - test/resources/html/.svn/text-base/testRemoveJavaScriptProtocolResult.html.svn-base
102
+ - test/resources/html/.svn/text-base/testRemoveLinkAttributes.html.svn-base
103
+ - test/resources/html/.svn/text-base/testRemoveLinkAttributesResult.html.svn-base
104
+ - test/resources/html/.svn/text-base/testRemoveMultiSpaces.html.svn-base
105
+ - test/resources/html/.svn/text-base/testRemoveMultiSpacesResult.html.svn-base
106
+ - test/resources/html/.svn/text-base/testRemoveQuotes.html.svn-base
107
+ - test/resources/html/.svn/text-base/testRemoveQuotesResult.html.svn-base
108
+ - test/resources/html/.svn/text-base/testRemoveScriptAttributes.html.svn-base
109
+ - test/resources/html/.svn/text-base/testRemoveScriptAttributesResult.html.svn-base
110
+ - test/resources/html/.svn/text-base/testRemoveSpacesInsideTags.html.svn-base
111
+ - test/resources/html/.svn/text-base/testRemoveSpacesInsideTagsResult.html.svn-base
112
+ - test/resources/html/.svn/text-base/testRemoveStyleAttributes.html.svn-base
113
+ - test/resources/html/.svn/text-base/testRemoveStyleAttributesResult.html.svn-base
114
+ - test/resources/html/.svn/text-base/testSimpleBooleanAttributes.html.svn-base
115
+ - test/resources/html/.svn/text-base/testSimpleBooleanAttributesResult.html.svn-base
116
+ - test/resources/html/.svn/text-base/testSimpleDoctype.html.svn-base
117
+ - test/resources/html/.svn/text-base/testSimpleDoctypeResult.html.svn-base
118
+ - test/resources/html/.svn/text-base/testSurroundingSpaces.html.svn-base
119
+ - test/resources/html/.svn/text-base/testSurroundingSpacesResult.html.svn-base
120
+ - test/resources/html/testCompress.html
121
+ - test/resources/html/testCompressCss.html
122
+ - test/resources/html/testCompressCssResult.html
123
+ - test/resources/html/testCompressJavaScript.html
124
+ - test/resources/html/testCompressJavaScriptClosureResult.html
125
+ - test/resources/html/testCompressJavaScriptYuiResult.html
126
+ - test/resources/html/testCompressResult.html
127
+ - test/resources/html/testEnabled.html
128
+ - test/resources/html/testEnabledResult.html
129
+ - test/resources/html/testPreserveLineBreaks.html
130
+ - test/resources/html/testPreserveLineBreaksResult.html
131
+ - test/resources/html/testPreservePatterns.html
132
+ - test/resources/html/testPreservePatternsResult.html
133
+ - test/resources/html/testRemoveComments.html
134
+ - test/resources/html/testRemoveCommentsResult.html
135
+ - test/resources/html/testRemoveFormAttributes.html
136
+ - test/resources/html/testRemoveFormAttributesResult.html
137
+ - test/resources/html/testRemoveHttpProtocol.html
138
+ - test/resources/html/testRemoveHttpProtocolResult.html
139
+ - test/resources/html/testRemoveHttpsProtocol.html
140
+ - test/resources/html/testRemoveHttpsProtocolResult.html
141
+ - test/resources/html/testRemoveInputAttributes.html
142
+ - test/resources/html/testRemoveInputAttributesResult.html
143
+ - test/resources/html/testRemoveIntertagSpaces.html
144
+ - test/resources/html/testRemoveIntertagSpacesResult.html
145
+ - test/resources/html/testRemoveJavaScriptProtocol.html
146
+ - test/resources/html/testRemoveJavaScriptProtocolResult.html
147
+ - test/resources/html/testRemoveLinkAttributes.html
148
+ - test/resources/html/testRemoveLinkAttributesResult.html
149
+ - test/resources/html/testRemoveMultiSpaces.html
150
+ - test/resources/html/testRemoveMultiSpacesResult.html
151
+ - test/resources/html/testRemoveQuotes.html
152
+ - test/resources/html/testRemoveQuotesResult.html
153
+ - test/resources/html/testRemoveScriptAttributes.html
154
+ - test/resources/html/testRemoveScriptAttributesResult.html
155
+ - test/resources/html/testRemoveSpacesInsideTags.html
156
+ - test/resources/html/testRemoveSpacesInsideTagsResult.html
157
+ - test/resources/html/testRemoveStyleAttributes.html
158
+ - test/resources/html/testRemoveStyleAttributesResult.html
159
+ - test/resources/html/testSimpleBooleanAttributes.html
160
+ - test/resources/html/testSimpleBooleanAttributesResult.html
161
+ - test/resources/html/testSimpleDoctype.html
162
+ - test/resources/html/testSimpleDoctypeResult.html
163
+ - test/resources/html/testSurroundingSpaces.html
164
+ - test/resources/html/testSurroundingSpacesResult.html
165
+ - test/resources/xml/.svn/all-wcprops
166
+ - test/resources/xml/.svn/entries
167
+ - test/resources/xml/.svn/text-base/testCompress.xml.svn-base
168
+ - test/resources/xml/.svn/text-base/testCompressResult.xml.svn-base
169
+ - test/resources/xml/.svn/text-base/testEnabled.xml.svn-base
170
+ - test/resources/xml/.svn/text-base/testEnabledResult.xml.svn-base
171
+ - test/resources/xml/.svn/text-base/testRemoveComments.xml.svn-base
172
+ - test/resources/xml/.svn/text-base/testRemoveCommentsResult.xml.svn-base
173
+ - test/resources/xml/.svn/text-base/testRemoveIntertagSpaces.xml.svn-base
174
+ - test/resources/xml/.svn/text-base/testRemoveIntertagSpacesResult.xml.svn-base
175
+ - test/resources/xml/testCompress.xml
176
+ - test/resources/xml/testCompressResult.xml
177
+ - test/resources/xml/testEnabled.xml
178
+ - test/resources/xml/testEnabledResult.xml
179
+ - test/resources/xml/testRemoveComments.xml
180
+ - test/resources/xml/testRemoveCommentsResult.xml
181
+ - test/resources/xml/testRemoveIntertagSpaces.xml
182
+ - test/resources/xml/testRemoveIntertagSpacesResult.xml
183
+ homepage: ''
184
+ licenses: []
185
+ post_install_message:
186
+ rdoc_options: []
187
+ require_paths:
188
+ - lib
189
+ required_ruby_version: !ruby/object:Gem::Requirement
190
+ none: false
191
+ requirements:
192
+ - - ! '>='
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
195
+ segments:
196
+ - 0
197
+ hash: -2490724316612321871
198
+ required_rubygems_version: !ruby/object:Gem::Requirement
199
+ none: false
200
+ requirements:
201
+ - - ! '>='
202
+ - !ruby/object:Gem::Version
203
+ version: '0'
204
+ segments:
205
+ - 0
206
+ hash: -2490724316612321871
207
+ requirements: []
208
+ rubyforge_project:
209
+ rubygems_version: 1.8.15
210
+ signing_key:
211
+ specification_version: 3
212
+ summary: htmlcompressor provides a class and a rack middleware to minify html pages
213
+ test_files:
214
+ - test/compressor_test.rb
215
+ - test/resources/html/.svn/all-wcprops
216
+ - test/resources/html/.svn/entries
217
+ - test/resources/html/.svn/prop-base/testRemoveHttpProtocol.html.svn-base
218
+ - test/resources/html/.svn/prop-base/testRemoveHttpProtocolResult.html.svn-base
219
+ - test/resources/html/.svn/prop-base/testRemoveHttpsProtocol.html.svn-base
220
+ - test/resources/html/.svn/prop-base/testRemoveHttpsProtocolResult.html.svn-base
221
+ - test/resources/html/.svn/prop-base/testRemoveSpacesInsideTags.html.svn-base
222
+ - test/resources/html/.svn/prop-base/testRemoveSpacesInsideTagsResult.html.svn-base
223
+ - test/resources/html/.svn/prop-base/testSurroundingSpaces.html.svn-base
224
+ - test/resources/html/.svn/prop-base/testSurroundingSpacesResult.html.svn-base
225
+ - test/resources/html/.svn/text-base/testCompress.html.svn-base
226
+ - test/resources/html/.svn/text-base/testCompressCss.html.svn-base
227
+ - test/resources/html/.svn/text-base/testCompressCssResult.html.svn-base
228
+ - test/resources/html/.svn/text-base/testCompressJavaScript.html.svn-base
229
+ - test/resources/html/.svn/text-base/testCompressJavaScriptClosureResult.html.svn-base
230
+ - test/resources/html/.svn/text-base/testCompressJavaScriptYuiResult.html.svn-base
231
+ - test/resources/html/.svn/text-base/testCompressResult.html.svn-base
232
+ - test/resources/html/.svn/text-base/testEnabled.html.svn-base
233
+ - test/resources/html/.svn/text-base/testEnabledResult.html.svn-base
234
+ - test/resources/html/.svn/text-base/testPreserveLineBreaks.html.svn-base
235
+ - test/resources/html/.svn/text-base/testPreserveLineBreaksResult.html.svn-base
236
+ - test/resources/html/.svn/text-base/testPreservePatterns.html.svn-base
237
+ - test/resources/html/.svn/text-base/testPreservePatternsResult.html.svn-base
238
+ - test/resources/html/.svn/text-base/testRemoveComments.html.svn-base
239
+ - test/resources/html/.svn/text-base/testRemoveCommentsResult.html.svn-base
240
+ - test/resources/html/.svn/text-base/testRemoveFormAttributes.html.svn-base
241
+ - test/resources/html/.svn/text-base/testRemoveFormAttributesResult.html.svn-base
242
+ - test/resources/html/.svn/text-base/testRemoveHttpProtocol.html.svn-base
243
+ - test/resources/html/.svn/text-base/testRemoveHttpProtocolResult.html.svn-base
244
+ - test/resources/html/.svn/text-base/testRemoveHttpsProtocol.html.svn-base
245
+ - test/resources/html/.svn/text-base/testRemoveHttpsProtocolResult.html.svn-base
246
+ - test/resources/html/.svn/text-base/testRemoveInputAttributes.html.svn-base
247
+ - test/resources/html/.svn/text-base/testRemoveInputAttributesResult.html.svn-base
248
+ - test/resources/html/.svn/text-base/testRemoveIntertagSpaces.html.svn-base
249
+ - test/resources/html/.svn/text-base/testRemoveIntertagSpacesResult.html.svn-base
250
+ - test/resources/html/.svn/text-base/testRemoveJavaScriptProtocol.html.svn-base
251
+ - test/resources/html/.svn/text-base/testRemoveJavaScriptProtocolResult.html.svn-base
252
+ - test/resources/html/.svn/text-base/testRemoveLinkAttributes.html.svn-base
253
+ - test/resources/html/.svn/text-base/testRemoveLinkAttributesResult.html.svn-base
254
+ - test/resources/html/.svn/text-base/testRemoveMultiSpaces.html.svn-base
255
+ - test/resources/html/.svn/text-base/testRemoveMultiSpacesResult.html.svn-base
256
+ - test/resources/html/.svn/text-base/testRemoveQuotes.html.svn-base
257
+ - test/resources/html/.svn/text-base/testRemoveQuotesResult.html.svn-base
258
+ - test/resources/html/.svn/text-base/testRemoveScriptAttributes.html.svn-base
259
+ - test/resources/html/.svn/text-base/testRemoveScriptAttributesResult.html.svn-base
260
+ - test/resources/html/.svn/text-base/testRemoveSpacesInsideTags.html.svn-base
261
+ - test/resources/html/.svn/text-base/testRemoveSpacesInsideTagsResult.html.svn-base
262
+ - test/resources/html/.svn/text-base/testRemoveStyleAttributes.html.svn-base
263
+ - test/resources/html/.svn/text-base/testRemoveStyleAttributesResult.html.svn-base
264
+ - test/resources/html/.svn/text-base/testSimpleBooleanAttributes.html.svn-base
265
+ - test/resources/html/.svn/text-base/testSimpleBooleanAttributesResult.html.svn-base
266
+ - test/resources/html/.svn/text-base/testSimpleDoctype.html.svn-base
267
+ - test/resources/html/.svn/text-base/testSimpleDoctypeResult.html.svn-base
268
+ - test/resources/html/.svn/text-base/testSurroundingSpaces.html.svn-base
269
+ - test/resources/html/.svn/text-base/testSurroundingSpacesResult.html.svn-base
270
+ - test/resources/html/testCompress.html
271
+ - test/resources/html/testCompressCss.html
272
+ - test/resources/html/testCompressCssResult.html
273
+ - test/resources/html/testCompressJavaScript.html
274
+ - test/resources/html/testCompressJavaScriptClosureResult.html
275
+ - test/resources/html/testCompressJavaScriptYuiResult.html
276
+ - test/resources/html/testCompressResult.html
277
+ - test/resources/html/testEnabled.html
278
+ - test/resources/html/testEnabledResult.html
279
+ - test/resources/html/testPreserveLineBreaks.html
280
+ - test/resources/html/testPreserveLineBreaksResult.html
281
+ - test/resources/html/testPreservePatterns.html
282
+ - test/resources/html/testPreservePatternsResult.html
283
+ - test/resources/html/testRemoveComments.html
284
+ - test/resources/html/testRemoveCommentsResult.html
285
+ - test/resources/html/testRemoveFormAttributes.html
286
+ - test/resources/html/testRemoveFormAttributesResult.html
287
+ - test/resources/html/testRemoveHttpProtocol.html
288
+ - test/resources/html/testRemoveHttpProtocolResult.html
289
+ - test/resources/html/testRemoveHttpsProtocol.html
290
+ - test/resources/html/testRemoveHttpsProtocolResult.html
291
+ - test/resources/html/testRemoveInputAttributes.html
292
+ - test/resources/html/testRemoveInputAttributesResult.html
293
+ - test/resources/html/testRemoveIntertagSpaces.html
294
+ - test/resources/html/testRemoveIntertagSpacesResult.html
295
+ - test/resources/html/testRemoveJavaScriptProtocol.html
296
+ - test/resources/html/testRemoveJavaScriptProtocolResult.html
297
+ - test/resources/html/testRemoveLinkAttributes.html
298
+ - test/resources/html/testRemoveLinkAttributesResult.html
299
+ - test/resources/html/testRemoveMultiSpaces.html
300
+ - test/resources/html/testRemoveMultiSpacesResult.html
301
+ - test/resources/html/testRemoveQuotes.html
302
+ - test/resources/html/testRemoveQuotesResult.html
303
+ - test/resources/html/testRemoveScriptAttributes.html
304
+ - test/resources/html/testRemoveScriptAttributesResult.html
305
+ - test/resources/html/testRemoveSpacesInsideTags.html
306
+ - test/resources/html/testRemoveSpacesInsideTagsResult.html
307
+ - test/resources/html/testRemoveStyleAttributes.html
308
+ - test/resources/html/testRemoveStyleAttributesResult.html
309
+ - test/resources/html/testSimpleBooleanAttributes.html
310
+ - test/resources/html/testSimpleBooleanAttributesResult.html
311
+ - test/resources/html/testSimpleDoctype.html
312
+ - test/resources/html/testSimpleDoctypeResult.html
313
+ - test/resources/html/testSurroundingSpaces.html
314
+ - test/resources/html/testSurroundingSpacesResult.html
315
+ - test/resources/xml/.svn/all-wcprops
316
+ - test/resources/xml/.svn/entries
317
+ - test/resources/xml/.svn/text-base/testCompress.xml.svn-base
318
+ - test/resources/xml/.svn/text-base/testCompressResult.xml.svn-base
319
+ - test/resources/xml/.svn/text-base/testEnabled.xml.svn-base
320
+ - test/resources/xml/.svn/text-base/testEnabledResult.xml.svn-base
321
+ - test/resources/xml/.svn/text-base/testRemoveComments.xml.svn-base
322
+ - test/resources/xml/.svn/text-base/testRemoveCommentsResult.xml.svn-base
323
+ - test/resources/xml/.svn/text-base/testRemoveIntertagSpaces.xml.svn-base
324
+ - test/resources/xml/.svn/text-base/testRemoveIntertagSpacesResult.xml.svn-base
325
+ - test/resources/xml/testCompress.xml
326
+ - test/resources/xml/testCompressResult.xml
327
+ - test/resources/xml/testEnabled.xml
328
+ - test/resources/xml/testEnabledResult.xml
329
+ - test/resources/xml/testRemoveComments.xml
330
+ - test/resources/xml/testRemoveCommentsResult.xml
331
+ - test/resources/xml/testRemoveIntertagSpaces.xml
332
+ - test/resources/xml/testRemoveIntertagSpacesResult.xml