cssminify2 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -0
  3. data/.travis.yml +7 -0
  4. data/CHANGES.md +17 -0
  5. data/Gemfile +4 -0
  6. data/LICENSE.md +23 -0
  7. data/README.md +71 -0
  8. data/cssminify2.gemspec +31 -0
  9. data/lib/cssminify2.rb +34 -0
  10. data/lib/cssminify2/cssmin.rb +394 -0
  11. data/lib/cssminify2/version.rb +5 -0
  12. data/spec/cssminify_spec.rb +321 -0
  13. data/spec/sample.css +141 -0
  14. data/spec/spec_helper.rb +4 -0
  15. data/spec/tests/background-position.css +2 -0
  16. data/spec/tests/background-position.css.min +1 -0
  17. data/spec/tests/border-none.css +5 -0
  18. data/spec/tests/border-none.css.min +1 -0
  19. data/spec/tests/box-model-hack.css +9 -0
  20. data/spec/tests/box-model-hack.css.min +1 -0
  21. data/spec/tests/bug2527974.css +10 -0
  22. data/spec/tests/bug2527974.css.min +1 -0
  23. data/spec/tests/bug2527991.css +19 -0
  24. data/spec/tests/bug2527991.css.min +1 -0
  25. data/spec/tests/bug2527998.css +4 -0
  26. data/spec/tests/bug2527998.css.min +1 -0
  27. data/spec/tests/bug2528034.css +5 -0
  28. data/spec/tests/bug2528034.css.min +1 -0
  29. data/spec/tests/bug2528093.css +3 -0
  30. data/spec/tests/bug2528093.css.min +1 -0
  31. data/spec/tests/charset-media.css +9 -0
  32. data/spec/tests/charset-media.css.min +1 -0
  33. data/spec/tests/color-simple.css +8 -0
  34. data/spec/tests/color-simple.css.min +1 -0
  35. data/spec/tests/color.css +46 -0
  36. data/spec/tests/color.css.min +1 -0
  37. data/spec/tests/comment.css +3 -0
  38. data/spec/tests/comment.css.min +1 -0
  39. data/spec/tests/concat-charset.css +15 -0
  40. data/spec/tests/concat-charset.css.min +1 -0
  41. data/spec/tests/dataurl-base64-doublequotes.css +23 -0
  42. data/spec/tests/dataurl-base64-doublequotes.css.min +1 -0
  43. data/spec/tests/dataurl-base64-eof.css +10 -0
  44. data/spec/tests/dataurl-base64-eof.css.min +1 -0
  45. data/spec/tests/dataurl-base64-linebreakindata.css +34 -0
  46. data/spec/tests/dataurl-base64-linebreakindata.css.min +1 -0
  47. data/spec/tests/dataurl-base64-noquotes.css +26 -0
  48. data/spec/tests/dataurl-base64-noquotes.css.min +1 -0
  49. data/spec/tests/dataurl-base64-singlequotes.css +23 -0
  50. data/spec/tests/dataurl-base64-singlequotes.css.min +1 -0
  51. data/spec/tests/dataurl-base64-twourls.css +27 -0
  52. data/spec/tests/dataurl-base64-twourls.css.min +1 -0
  53. data/spec/tests/dataurl-dbquote-font.css +30 -0
  54. data/spec/tests/dataurl-dbquote-font.css.min +5 -0
  55. data/spec/tests/dataurl-nonbase64-doublequotes.css +13 -0
  56. data/spec/tests/dataurl-nonbase64-doublequotes.css.min +1 -0
  57. data/spec/tests/dataurl-nonbase64-noquotes.css +11 -0
  58. data/spec/tests/dataurl-nonbase64-noquotes.css.min +1 -0
  59. data/spec/tests/dataurl-nonbase64-singlequotes.css +15 -0
  60. data/spec/tests/dataurl-nonbase64-singlequotes.css.min +2 -0
  61. data/spec/tests/dataurl-noquote-multiline-font.css +31 -0
  62. data/spec/tests/dataurl-noquote-multiline-font.css.min +3 -0
  63. data/spec/tests/dataurl-realdata-doublequotes.css +90 -0
  64. data/spec/tests/dataurl-realdata-doublequotes.css.min +1 -0
  65. data/spec/tests/dataurl-realdata-noquotes.css +90 -0
  66. data/spec/tests/dataurl-realdata-noquotes.css.min +1 -0
  67. data/spec/tests/dataurl-realdata-singlequotes.css +90 -0
  68. data/spec/tests/dataurl-realdata-singlequotes.css.min +1 -0
  69. data/spec/tests/dataurl-realdata-yuiapp.css +106 -0
  70. data/spec/tests/dataurl-realdata-yuiapp.css.min +1 -0
  71. data/spec/tests/dataurl-singlequote-font.css +30 -0
  72. data/spec/tests/dataurl-singlequote-font.css.min +3 -0
  73. data/spec/tests/decimals.css +3 -0
  74. data/spec/tests/decimals.css.min +1 -0
  75. data/spec/tests/dollar-header.css +7 -0
  76. data/spec/tests/dollar-header.css.min +3 -0
  77. data/spec/tests/font-face.css +6 -0
  78. data/spec/tests/font-face.css.min +1 -0
  79. data/spec/tests/ie5mac.css +5 -0
  80. data/spec/tests/ie5mac.css.min +1 -0
  81. data/spec/tests/issue221.css +7 -0
  82. data/spec/tests/issue221.css.min +1 -0
  83. data/spec/tests/issue222.css +3 -0
  84. data/spec/tests/issue222.css.min +1 -0
  85. data/spec/tests/keyframe.css +4 -0
  86. data/spec/tests/keyframe.css.min +1 -0
  87. data/spec/tests/media-empty-class.css +16 -0
  88. data/spec/tests/media-empty-class.css.min +1 -0
  89. data/spec/tests/media-multi.css +3 -0
  90. data/spec/tests/media-multi.css.min +1 -0
  91. data/spec/tests/media-test.css +3 -0
  92. data/spec/tests/media-test.css.min +1 -0
  93. data/spec/tests/opacity-filter.css +14 -0
  94. data/spec/tests/opacity-filter.css.min +1 -0
  95. data/spec/tests/preserve-case.css +15 -0
  96. data/spec/tests/preserve-case.css.min +1 -0
  97. data/spec/tests/preserve-new-line.css +6 -0
  98. data/spec/tests/preserve-new-line.css.min +3 -0
  99. data/spec/tests/preserve-strings.css +7 -0
  100. data/spec/tests/preserve-strings.css.min +1 -0
  101. data/spec/tests/pseudo-first.css +16 -0
  102. data/spec/tests/pseudo-first.css.min +1 -0
  103. data/spec/tests/pseudo.css +4 -0
  104. data/spec/tests/pseudo.css.min +1 -0
  105. data/spec/tests/special-comments.css +13 -0
  106. data/spec/tests/special-comments.css.min +9 -0
  107. data/spec/tests/star-underscore-hacks.css +5 -0
  108. data/spec/tests/star-underscore-hacks.css.min +1 -0
  109. data/spec/tests/string-in-comment.css +8 -0
  110. data/spec/tests/string-in-comment.css.min +1 -0
  111. data/spec/tests/webkit-transform.css +2 -0
  112. data/spec/tests/webkit-transform.css.min +1 -0
  113. data/spec/tests/zeros.css +12 -0
  114. data/spec/tests/zeros.css.min +1 -0
  115. metadata +278 -0
@@ -0,0 +1 @@
1
+ html{background:#fff;color:#555;height:100%}#hd,#bd,#ft{padding:0 50px}#bd{padding-bottom:50px;border-bottom:1px solid #006e9c}#ft{background:transparent no-repeat 0 100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADcAAAAeCAMAAAC/pnaKAAAAwFBMVEUkXIAoYYQoYYQoYYQyao02bpE6cpQ6cpREe51LgqNUiqtUiqtUiqtZj7BckrNlmrtlmrtlmrtroMB3qsp3qsp3qsp+sdCHudiHudiHudiHudiPwN+YyOaYyOaYyOaf0O2g0O6n1vOn1vOn1vOn1vOw3vu45f245f245f3B7f7K9f7K9f7K9f7X/v7X/v7p//7p//79//79//4AAABhAGMAbwBzAC4AcwB0AHIAaQBuAGcAcwABAAAAwIwmGwEAAABQQKFUAAAAQHRSTlP///////////////////////////////////////////////////////////////////8A////////////////0pfSbwAAAdtJREFUOI2NlNGqgzAMhv/ClDlQQcFdKOx4McFCKcH3f7eTtLWr07mFiUvbzz9Nk2LZGRH5937qZTiGyEx0Cr5xQpEd6xzNueCGc9SzUmAzP8cplO1zgRRutBAlM9EhZwknWj1LKXkwbOVojTqMEpKZOfeUD3OnR24VWeJf1OOBTnTgw8zZr3LyOlbdrWrdGlpG6Alz4Ni3RcT4Ldm8wHpOo9Yo5CPsdngM6D3HmLlESrgHD+YvrtEuUeLeMf7x7j23GJVgbJoHs0/cI3B7TNkfON5btsEUrvSdY694U0P9nXMp2mDsdbLmY14CN8XDjtzgo9CuqpYnGoMscDUmn08qsbOn/3Lte6rgP1eM7qQ1YMP+yPhiTmx2laDQspytgJI1MbIzZ7yHfj2/hYYtZ1xMM4dc3iTukjgJyKsrUBEH4uqFXNUh3aXxtWjbC3DpH8LRVPJ8MXLoA8fsz51ue73Q+1z7RkTEF0dWa1o5a8001C6ZbGuzh0bSTo9iS8X+C/NWbfTW5uZ9Vu4QaL20Xv3uhgyrZUXVtI2NfS3fbzgP75dNek/YbrL+k/EykecuZf6ZOzDJYsf9PCV3xhFHq7043mw+H1ylW+5Ab5jpADuPM2Z1P3POLWnUG/sHnIDsqkOjlqoAAAAASUVORK5CYII=);padding:0 0 40px 0;margin:50px}#hd,#bd{background:#f9f9f9}body{margin:0;padding:0;font:12px "Helvetica Nueue",Arial,sans-serif}#hd{color:#fff;padding-top:50px;margin:0}#hd,h1,h2,p,.color{margin:auto}h1,h2,a{color:#006e9c}h1,h2{margin-top:0}h4 .title{font-weight:bold;letter-spacing:-2px;font-size:47px;text-shadow:0 1px 0 #369;background:#006e9d;color:#fff;padding:0 10px}h4{display:block;float:right;margin:0 0 0 20px}h4 .what{display:block;padding:4px;text-align:center;font-weight:normal}h4 .version{font-size:11px;color:#ccc}h2{font-size:40px;font-family:"HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",sans-serif;font-weight:300}h4,p{padding:6px 0 6px}#ft p.fine,#ft p.fine a{color:#999}#ft p.intro{font-size:12px}#bd{font-size:14px;color:#666}#ft p{font-size:11px}
@@ -0,0 +1,30 @@
1
+ /*csslint fontfamily: true*/
2
+
3
+ /**
4
+ * Foo
5
+ */
6
+
7
+ .y-ff-1 {
8
+ font-family:"Foo Bar",Helvetica,Arial;
9
+ text-rendering: optimizeLegibility;
10
+ }
11
+
12
+ .ua-op .y-ff-1 {
13
+ /* Some Comment */
14
+ font-family:Helvetica,Arial;
15
+ }
16
+
17
+ /*
18
+ Foo
19
+
20
+ Bar
21
+ */
22
+
23
+ @font-face {
24
+ font-family: "Foo Bar";
25
+ src: url('data:font/truetype;base64,gRbIUFAIrsQNGditEWbAUKwAA') format("truetype"),
26
+ url("http://yuilibrary.com/fonts/foo-bar.svg#webfontse22fewwr") format("svg");
27
+ font-weight: normal;
28
+ font-style: normal;
29
+ }
30
+
@@ -0,0 +1,3 @@
1
+ .y-ff-1{font-family:"Foo Bar",Helvetica,Arial;text-rendering:optimizeLegibility}.ua-op .y-ff-1{font-family:Helvetica,Arial}@font-face{font-family:"Foo Bar";src:url('data:font/truetype;base64,gRbIUFAIrsQNGditEWbAUKwAA') format("truetype"),url("http://yuilibrary.com/fonts/foo-bar.svg#webfontse22fewwr") format("svg");font-weight:normal;font-style:normal}
2
+
3
+
@@ -0,0 +1,3 @@
1
+ ::selection {
2
+ margin: 0.6px 0.333pt 1.2em 8.8cm;
3
+ }
@@ -0,0 +1 @@
1
+ ::selection{margin:.6px .333pt 1.2em 8.8cm}
@@ -0,0 +1,7 @@
1
+ /*!
2
+ $Header: /temp/dirname/filename.css 3 2/02/08 3:37p JSmith $
3
+ */
4
+
5
+ foo {
6
+ bar: baz
7
+ }
@@ -0,0 +1,3 @@
1
+ /*!
2
+ $Header: /temp/dirname/filename.css 3 2/02/08 3:37p JSmith $
3
+ */foo{bar:baz}
@@ -0,0 +1,6 @@
1
+ @font-face {
2
+ font-family: 'gzipper';
3
+ src: url(yanone.eot);
4
+ src: local('gzipper'),
5
+ url(yanone.ttf) format('truetype');
6
+ }
@@ -0,0 +1 @@
1
+ @font-face{font-family:'gzipper';src:url(yanone.eot);src:local('gzipper'),url(yanone.ttf) format('truetype')}
@@ -0,0 +1,5 @@
1
+ /* Ignore the next rule in IE mac \*/
2
+ .selector {
3
+ color: khaki;
4
+ }
5
+ /* Stop ignoring in IE mac */
@@ -0,0 +1 @@
1
+ /*\*/.selector{color:khaki}/**/
@@ -0,0 +1,7 @@
1
+ @font-face {
2
+ font-family: 'Quicksand';
3
+ font-style: normal;
4
+ font-weight: 400;
5
+ src: local('Quicksand Regular'), local('Quicksand-Regular'), url(https://fonts.gstatic.com/s/quicksand/v5/sKd0EMYPAh5PYCRKSryvW5Bw1xU1rKptJj_0jans920.woff2) format('woff2');
6
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
7
+ }
@@ -0,0 +1 @@
1
+ @font-face{font-family:'Quicksand';font-style:normal;font-weight:400;src:local('Quicksand Regular'),local('Quicksand-Regular'),url(https://fonts.gstatic.com/s/quicksand/v5/sKd0EMYPAh5PYCRKSryvW5Bw1xU1rKptJj_0jans920.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2212,U+2215,U+E0FF,U+EFFD,U+F000}
@@ -0,0 +1,3 @@
1
+ @media \0screen {
2
+ body { background: red; }
3
+ }
@@ -0,0 +1 @@
1
+ @media \0screen{body{background:red}}
@@ -0,0 +1,4 @@
1
+ @keyframe anim {
2
+ 0% { opacity: 0; }
3
+ 100% { opacity: 1; }
4
+ }
@@ -0,0 +1 @@
1
+ @keyframe anim{0%{opacity:0}100%{opacity:1}}
@@ -0,0 +1,16 @@
1
+ /*! preserved */
2
+ emptiness {}
3
+
4
+ @import "another.css";
5
+ /* I'm empty - delete me */
6
+ empty { ;}
7
+
8
+ @media print {
9
+ .noprint { display: none; }
10
+ }
11
+
12
+ @media screen {
13
+ /* this rule should be removed, not simply minified.*/
14
+ .breakme {}
15
+ .printonly { display: none; }
16
+ }
@@ -0,0 +1 @@
1
+ /*! preserved */@import "another.css";@media print{.noprint{display:none}}@media screen{.printonly{display:none}}
@@ -0,0 +1,3 @@
1
+ @media only all and (max-width:50em), only all and (max-device-width:800px), only all and (max-width:780px) {
2
+ some-css : here
3
+ }
@@ -0,0 +1 @@
1
+ @media only all and (max-width:50em),only all and (max-device-width:800px),only all and (max-width:780px){some-css:here}
@@ -0,0 +1,3 @@
1
+ @media screen and (-webkit-min-device-pixel-ratio:0) {
2
+ some-css : here
3
+ }
@@ -0,0 +1 @@
1
+ @media screen and (-webkit-min-device-pixel-ratio:0){some-css:here}
@@ -0,0 +1,14 @@
1
+ /* example from https://developer.mozilla.org/en/CSS/opacity */
2
+ pre { /* make the box translucent (80% opaque) */
3
+ border: solid red;
4
+ opacity: 0.8; /* Firefox, Safari(WebKit), Opera */
5
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; /* IE 8 */
6
+ filter: PROGID:DXImageTransform.Microsoft.Alpha(Opacity=80); /* IE 4-7 */
7
+ zoom: 1; /* set "zoom", "width" or "height" to trigger "hasLayout" in IE 7 and lower */
8
+ }
9
+
10
+ /** and again */
11
+ code {
12
+ -ms-filter: "PROGID:DXImageTransform.Microsoft.Alpha(Opacity=80)"; /* IE 8 */
13
+ filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80); /* IE 4-7 */
14
+ }
@@ -0,0 +1 @@
1
+ pre{border:solid red;opacity:.8;-ms-filter:"alpha(opacity=80)";filter:alpha(opacity=80);zoom:1}code{-ms-filter:"alpha(opacity=80)";filter:alpha(opacity=80)}
@@ -0,0 +1,15 @@
1
+ #AddAddressForm {
2
+ padding: 0;
3
+ }
4
+ #AddAddressForm .messageBoxNeutral {
5
+ padding: 0;
6
+ }
7
+ #FeedbackMailForm{
8
+ padding: 0;
9
+ }
10
+ #FeedbackMailForm .classe{
11
+ margin: 0;
12
+ }
13
+ .classes, #FeedBackMailForm {
14
+ margin: 0;
15
+ }
@@ -0,0 +1 @@
1
+ #AddAddressForm{padding:0}#AddAddressForm .messageBoxNeutral{padding:0}#FeedbackMailForm{padding:0}#FeedbackMailForm .classe{margin:0}.classes,#FeedBackMailForm{margin:0}
@@ -0,0 +1,6 @@
1
+ #sel-o {
2
+ content: "on\"ce upon \
3
+ a time";
4
+ content: 'once upon \
5
+ a ti\'me';
6
+ }
@@ -0,0 +1,3 @@
1
+ #sel-o{content:"on\"ce upon \
2
+ a time";content:'once upon \
3
+ a ti\'me'}
@@ -0,0 +1,7 @@
1
+ /* preserving strings */
2
+ .sele {
3
+ content: "\"keep \" me";
4
+ something: '\\\' . . ';
5
+ else: 'empty{}';
6
+ content: "/* test */"; /* <---- this is not a comment, should be be kept */
7
+ }
@@ -0,0 +1 @@
1
+ .sele{content:"\"keep \" me";something:'\\\' . . ';else:'empty{}';content:"/* test */"}
@@ -0,0 +1,16 @@
1
+ /*
2
+ because of IE6 first-letter and first-line
3
+ must be followed by a space
4
+ http://reference.sitepoint.com/css/pseudoelement-firstletter
5
+ Thanks: P.Sorokin comment at http://www.phpied.com/cssmin-js/
6
+ */
7
+ p:first-letter{
8
+ buh: hum;
9
+ }
10
+ p:first-line{
11
+ baa: 1;
12
+ }
13
+
14
+ p:first-line,a,p:first-letter,b{
15
+ color: red;
16
+ }
@@ -0,0 +1 @@
1
+ p:first-letter {buh:hum}p:first-line {baa:1}p:first-line ,a,p:first-letter ,b{color:red}
@@ -0,0 +1,4 @@
1
+ p :link {
2
+ ba:zinga;;;
3
+ foo: bar;;;
4
+ }
@@ -0,0 +1 @@
1
+ p :link{ba:zinga;foo:bar}
@@ -0,0 +1,13 @@
1
+ /*!************88****
2
+ Preserving comments
3
+ as they are
4
+ ********************
5
+ Keep the initial !
6
+ *******************/
7
+ #yo {
8
+ ma: "ma";
9
+ }
10
+ /*!
11
+ I said
12
+ pre-
13
+ serve! */
@@ -0,0 +1,9 @@
1
+ /*!************88****
2
+ Preserving comments
3
+ as they are
4
+ ********************
5
+ Keep the initial !
6
+ *******************/#yo{ma:"ma"}/*!
7
+ I said
8
+ pre-
9
+ serve! */
@@ -0,0 +1,5 @@
1
+ #elementarr {
2
+ width: 1px;
3
+ *width: 3pt;
4
+ _width: 2em;
5
+ }
@@ -0,0 +1 @@
1
+ #elementarr{width:1px;*width:3pt;_width:2em}
@@ -0,0 +1,8 @@
1
+ /* te " st */
2
+ a{a:1}
3
+ /*!"preserve" me*/
4
+ b{content: "/**/"}
5
+ /* quite " quote ' \' \" */
6
+ /* ie mac \*/
7
+ c {c : 3}
8
+ /* end hiding */
@@ -0,0 +1 @@
1
+ a{a:1}/*!"preserve" me*/b{content:"/**/"}/*\*/c{c:3}/**/
@@ -0,0 +1,2 @@
1
+ c {-webkit-transform-origin: 0 0;}
2
+ d {-MOZ-TRANSFORM-ORIGIN: 0 0 }
@@ -0,0 +1 @@
1
+ c{-webkit-transform-origin:0 0}d{-moz-transform-origin:0 0}
@@ -0,0 +1,12 @@
1
+ a {
2
+ margin: 0px 0pt 0em 0%;
3
+ _padding-top: 0ex;
4
+ background-position: 0 0;
5
+ padding: 0in 0cm 0mm 0pc;
6
+ transition: opacity .0s;
7
+ transition-delay: 0.0ms;
8
+ transform: rotate3d(0grad, 0rad, 0deg);
9
+ pitch: 0khz;
10
+ pitch:
11
+ 0hz /* intentionally on next line */;
12
+ }
@@ -0,0 +1 @@
1
+ a{margin:0;_padding-top:0;background-position:0 0;padding:0;transition:opacity 0;transition-delay:0;transform:rotate3d(0,0,0);pitch:0;pitch:0}
metadata ADDED
@@ -0,0 +1,278 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cssminify2
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Matt Spurrier
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-12-31 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rspec
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.7'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.7'
27
+ description: |2
28
+ The CSSminify gem provides CSS compression using YUI compressor. Instead of wrapping around the Java or Javascript version of YUI compressor it uses a native Ruby port of the CSS engine. Therefore this gem has no dependencies.
29
+ This package is a fork of the original (now unmaintained) version.
30
+ email: matthew@spurrier.com.au
31
+ executables: []
32
+ extensions: []
33
+ extra_rdoc_files:
34
+ - CHANGES.md
35
+ - LICENSE.md
36
+ - README.md
37
+ files:
38
+ - ".gitignore"
39
+ - ".travis.yml"
40
+ - CHANGES.md
41
+ - Gemfile
42
+ - LICENSE.md
43
+ - README.md
44
+ - cssminify2.gemspec
45
+ - lib/cssminify2.rb
46
+ - lib/cssminify2/cssmin.rb
47
+ - lib/cssminify2/version.rb
48
+ - spec/cssminify_spec.rb
49
+ - spec/sample.css
50
+ - spec/spec_helper.rb
51
+ - spec/tests/background-position.css
52
+ - spec/tests/background-position.css.min
53
+ - spec/tests/border-none.css
54
+ - spec/tests/border-none.css.min
55
+ - spec/tests/box-model-hack.css
56
+ - spec/tests/box-model-hack.css.min
57
+ - spec/tests/bug2527974.css
58
+ - spec/tests/bug2527974.css.min
59
+ - spec/tests/bug2527991.css
60
+ - spec/tests/bug2527991.css.min
61
+ - spec/tests/bug2527998.css
62
+ - spec/tests/bug2527998.css.min
63
+ - spec/tests/bug2528034.css
64
+ - spec/tests/bug2528034.css.min
65
+ - spec/tests/bug2528093.css
66
+ - spec/tests/bug2528093.css.min
67
+ - spec/tests/charset-media.css
68
+ - spec/tests/charset-media.css.min
69
+ - spec/tests/color-simple.css
70
+ - spec/tests/color-simple.css.min
71
+ - spec/tests/color.css
72
+ - spec/tests/color.css.min
73
+ - spec/tests/comment.css
74
+ - spec/tests/comment.css.min
75
+ - spec/tests/concat-charset.css
76
+ - spec/tests/concat-charset.css.min
77
+ - spec/tests/dataurl-base64-doublequotes.css
78
+ - spec/tests/dataurl-base64-doublequotes.css.min
79
+ - spec/tests/dataurl-base64-eof.css
80
+ - spec/tests/dataurl-base64-eof.css.min
81
+ - spec/tests/dataurl-base64-linebreakindata.css
82
+ - spec/tests/dataurl-base64-linebreakindata.css.min
83
+ - spec/tests/dataurl-base64-noquotes.css
84
+ - spec/tests/dataurl-base64-noquotes.css.min
85
+ - spec/tests/dataurl-base64-singlequotes.css
86
+ - spec/tests/dataurl-base64-singlequotes.css.min
87
+ - spec/tests/dataurl-base64-twourls.css
88
+ - spec/tests/dataurl-base64-twourls.css.min
89
+ - spec/tests/dataurl-dbquote-font.css
90
+ - spec/tests/dataurl-dbquote-font.css.min
91
+ - spec/tests/dataurl-nonbase64-doublequotes.css
92
+ - spec/tests/dataurl-nonbase64-doublequotes.css.min
93
+ - spec/tests/dataurl-nonbase64-noquotes.css
94
+ - spec/tests/dataurl-nonbase64-noquotes.css.min
95
+ - spec/tests/dataurl-nonbase64-singlequotes.css
96
+ - spec/tests/dataurl-nonbase64-singlequotes.css.min
97
+ - spec/tests/dataurl-noquote-multiline-font.css
98
+ - spec/tests/dataurl-noquote-multiline-font.css.min
99
+ - spec/tests/dataurl-realdata-doublequotes.css
100
+ - spec/tests/dataurl-realdata-doublequotes.css.min
101
+ - spec/tests/dataurl-realdata-noquotes.css
102
+ - spec/tests/dataurl-realdata-noquotes.css.min
103
+ - spec/tests/dataurl-realdata-singlequotes.css
104
+ - spec/tests/dataurl-realdata-singlequotes.css.min
105
+ - spec/tests/dataurl-realdata-yuiapp.css
106
+ - spec/tests/dataurl-realdata-yuiapp.css.min
107
+ - spec/tests/dataurl-singlequote-font.css
108
+ - spec/tests/dataurl-singlequote-font.css.min
109
+ - spec/tests/decimals.css
110
+ - spec/tests/decimals.css.min
111
+ - spec/tests/dollar-header.css
112
+ - spec/tests/dollar-header.css.min
113
+ - spec/tests/font-face.css
114
+ - spec/tests/font-face.css.min
115
+ - spec/tests/ie5mac.css
116
+ - spec/tests/ie5mac.css.min
117
+ - spec/tests/issue221.css
118
+ - spec/tests/issue221.css.min
119
+ - spec/tests/issue222.css
120
+ - spec/tests/issue222.css.min
121
+ - spec/tests/keyframe.css
122
+ - spec/tests/keyframe.css.min
123
+ - spec/tests/media-empty-class.css
124
+ - spec/tests/media-empty-class.css.min
125
+ - spec/tests/media-multi.css
126
+ - spec/tests/media-multi.css.min
127
+ - spec/tests/media-test.css
128
+ - spec/tests/media-test.css.min
129
+ - spec/tests/opacity-filter.css
130
+ - spec/tests/opacity-filter.css.min
131
+ - spec/tests/preserve-case.css
132
+ - spec/tests/preserve-case.css.min
133
+ - spec/tests/preserve-new-line.css
134
+ - spec/tests/preserve-new-line.css.min
135
+ - spec/tests/preserve-strings.css
136
+ - spec/tests/preserve-strings.css.min
137
+ - spec/tests/pseudo-first.css
138
+ - spec/tests/pseudo-first.css.min
139
+ - spec/tests/pseudo.css
140
+ - spec/tests/pseudo.css.min
141
+ - spec/tests/special-comments.css
142
+ - spec/tests/special-comments.css.min
143
+ - spec/tests/star-underscore-hacks.css
144
+ - spec/tests/star-underscore-hacks.css.min
145
+ - spec/tests/string-in-comment.css
146
+ - spec/tests/string-in-comment.css.min
147
+ - spec/tests/webkit-transform.css
148
+ - spec/tests/webkit-transform.css.min
149
+ - spec/tests/zeros.css
150
+ - spec/tests/zeros.css.min
151
+ homepage: https://github.com/digitalsparky/cssminify
152
+ licenses:
153
+ - MIT
154
+ metadata: {}
155
+ post_install_message:
156
+ rdoc_options: []
157
+ require_paths:
158
+ - lib
159
+ required_ruby_version: !ruby/object:Gem::Requirement
160
+ requirements:
161
+ - - ">="
162
+ - !ruby/object:Gem::Version
163
+ version: '0'
164
+ required_rubygems_version: !ruby/object:Gem::Requirement
165
+ requirements:
166
+ - - ">="
167
+ - !ruby/object:Gem::Version
168
+ version: '0'
169
+ requirements: []
170
+ rubyforge_project: cssminify2
171
+ rubygems_version: 2.5.1
172
+ signing_key:
173
+ specification_version: 4
174
+ summary: CSS minification with YUI compressor, but as native Ruby port.
175
+ test_files:
176
+ - spec/cssminify_spec.rb
177
+ - spec/sample.css
178
+ - spec/spec_helper.rb
179
+ - spec/tests/background-position.css
180
+ - spec/tests/background-position.css.min
181
+ - spec/tests/border-none.css
182
+ - spec/tests/border-none.css.min
183
+ - spec/tests/box-model-hack.css
184
+ - spec/tests/box-model-hack.css.min
185
+ - spec/tests/bug2527974.css
186
+ - spec/tests/bug2527974.css.min
187
+ - spec/tests/bug2527991.css
188
+ - spec/tests/bug2527991.css.min
189
+ - spec/tests/bug2527998.css
190
+ - spec/tests/bug2527998.css.min
191
+ - spec/tests/bug2528034.css
192
+ - spec/tests/bug2528034.css.min
193
+ - spec/tests/bug2528093.css
194
+ - spec/tests/bug2528093.css.min
195
+ - spec/tests/charset-media.css
196
+ - spec/tests/charset-media.css.min
197
+ - spec/tests/color-simple.css
198
+ - spec/tests/color-simple.css.min
199
+ - spec/tests/color.css
200
+ - spec/tests/color.css.min
201
+ - spec/tests/comment.css
202
+ - spec/tests/comment.css.min
203
+ - spec/tests/concat-charset.css
204
+ - spec/tests/concat-charset.css.min
205
+ - spec/tests/dataurl-base64-doublequotes.css
206
+ - spec/tests/dataurl-base64-doublequotes.css.min
207
+ - spec/tests/dataurl-base64-eof.css
208
+ - spec/tests/dataurl-base64-eof.css.min
209
+ - spec/tests/dataurl-base64-linebreakindata.css
210
+ - spec/tests/dataurl-base64-linebreakindata.css.min
211
+ - spec/tests/dataurl-base64-noquotes.css
212
+ - spec/tests/dataurl-base64-noquotes.css.min
213
+ - spec/tests/dataurl-base64-singlequotes.css
214
+ - spec/tests/dataurl-base64-singlequotes.css.min
215
+ - spec/tests/dataurl-base64-twourls.css
216
+ - spec/tests/dataurl-base64-twourls.css.min
217
+ - spec/tests/dataurl-dbquote-font.css
218
+ - spec/tests/dataurl-dbquote-font.css.min
219
+ - spec/tests/dataurl-nonbase64-doublequotes.css
220
+ - spec/tests/dataurl-nonbase64-doublequotes.css.min
221
+ - spec/tests/dataurl-nonbase64-noquotes.css
222
+ - spec/tests/dataurl-nonbase64-noquotes.css.min
223
+ - spec/tests/dataurl-nonbase64-singlequotes.css
224
+ - spec/tests/dataurl-nonbase64-singlequotes.css.min
225
+ - spec/tests/dataurl-noquote-multiline-font.css
226
+ - spec/tests/dataurl-noquote-multiline-font.css.min
227
+ - spec/tests/dataurl-realdata-doublequotes.css
228
+ - spec/tests/dataurl-realdata-doublequotes.css.min
229
+ - spec/tests/dataurl-realdata-noquotes.css
230
+ - spec/tests/dataurl-realdata-noquotes.css.min
231
+ - spec/tests/dataurl-realdata-singlequotes.css
232
+ - spec/tests/dataurl-realdata-singlequotes.css.min
233
+ - spec/tests/dataurl-realdata-yuiapp.css
234
+ - spec/tests/dataurl-realdata-yuiapp.css.min
235
+ - spec/tests/dataurl-singlequote-font.css
236
+ - spec/tests/dataurl-singlequote-font.css.min
237
+ - spec/tests/decimals.css
238
+ - spec/tests/decimals.css.min
239
+ - spec/tests/dollar-header.css
240
+ - spec/tests/dollar-header.css.min
241
+ - spec/tests/font-face.css
242
+ - spec/tests/font-face.css.min
243
+ - spec/tests/ie5mac.css
244
+ - spec/tests/ie5mac.css.min
245
+ - spec/tests/issue221.css
246
+ - spec/tests/issue221.css.min
247
+ - spec/tests/issue222.css
248
+ - spec/tests/issue222.css.min
249
+ - spec/tests/keyframe.css
250
+ - spec/tests/keyframe.css.min
251
+ - spec/tests/media-empty-class.css
252
+ - spec/tests/media-empty-class.css.min
253
+ - spec/tests/media-multi.css
254
+ - spec/tests/media-multi.css.min
255
+ - spec/tests/media-test.css
256
+ - spec/tests/media-test.css.min
257
+ - spec/tests/opacity-filter.css
258
+ - spec/tests/opacity-filter.css.min
259
+ - spec/tests/preserve-case.css
260
+ - spec/tests/preserve-case.css.min
261
+ - spec/tests/preserve-new-line.css
262
+ - spec/tests/preserve-new-line.css.min
263
+ - spec/tests/preserve-strings.css
264
+ - spec/tests/preserve-strings.css.min
265
+ - spec/tests/pseudo-first.css
266
+ - spec/tests/pseudo-first.css.min
267
+ - spec/tests/pseudo.css
268
+ - spec/tests/pseudo.css.min
269
+ - spec/tests/special-comments.css
270
+ - spec/tests/special-comments.css.min
271
+ - spec/tests/star-underscore-hacks.css
272
+ - spec/tests/star-underscore-hacks.css.min
273
+ - spec/tests/string-in-comment.css
274
+ - spec/tests/string-in-comment.css.min
275
+ - spec/tests/webkit-transform.css
276
+ - spec/tests/webkit-transform.css.min
277
+ - spec/tests/zeros.css
278
+ - spec/tests/zeros.css.min