multi_css 0.0.3 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. data/README.md +1 -2
  2. data/lib/multi_css.rb +4 -5
  3. data/lib/multi_css/version.rb +1 -1
  4. data/multi_css.gemspec +2 -1
  5. data/spec/multi_css_spec.rb +5 -10
  6. metadata +17 -116
  7. data/.gitmodules +0 -3
  8. data/lib/multi_css/adapters/vendored.rb +0 -9
  9. data/vendor/cssminify/.gitignore +0 -9
  10. data/vendor/cssminify/.travis.yml +0 -7
  11. data/vendor/cssminify/CHANGES.md +0 -12
  12. data/vendor/cssminify/Gemfile +0 -4
  13. data/vendor/cssminify/LICENSE.md +0 -22
  14. data/vendor/cssminify/README.md +0 -64
  15. data/vendor/cssminify/cssminify.gemspec +0 -30
  16. data/vendor/cssminify/lib/cssminify.rb +0 -34
  17. data/vendor/cssminify/lib/cssminify/cssmin.rb +0 -383
  18. data/vendor/cssminify/lib/cssminify/version.rb +0 -5
  19. data/vendor/cssminify/spec/cssminify_spec.rb +0 -257
  20. data/vendor/cssminify/spec/sample.css +0 -100
  21. data/vendor/cssminify/spec/spec_helper.rb +0 -4
  22. data/vendor/cssminify/spec/tests/background-position.css +0 -2
  23. data/vendor/cssminify/spec/tests/background-position.css.min +0 -1
  24. data/vendor/cssminify/spec/tests/border-none.css +0 -5
  25. data/vendor/cssminify/spec/tests/border-none.css.min +0 -1
  26. data/vendor/cssminify/spec/tests/box-model-hack.css +0 -9
  27. data/vendor/cssminify/spec/tests/box-model-hack.css.min +0 -1
  28. data/vendor/cssminify/spec/tests/bug2527974.css +0 -10
  29. data/vendor/cssminify/spec/tests/bug2527974.css.min +0 -1
  30. data/vendor/cssminify/spec/tests/bug2527991.css +0 -19
  31. data/vendor/cssminify/spec/tests/bug2527991.css.min +0 -1
  32. data/vendor/cssminify/spec/tests/bug2527998.css +0 -4
  33. data/vendor/cssminify/spec/tests/bug2527998.css.min +0 -1
  34. data/vendor/cssminify/spec/tests/bug2528034.css +0 -5
  35. data/vendor/cssminify/spec/tests/bug2528034.css.min +0 -1
  36. data/vendor/cssminify/spec/tests/bug2528093.css +0 -3
  37. data/vendor/cssminify/spec/tests/bug2528093.css.min +0 -1
  38. data/vendor/cssminify/spec/tests/charset-media.css +0 -9
  39. data/vendor/cssminify/spec/tests/charset-media.css.min +0 -1
  40. data/vendor/cssminify/spec/tests/color-simple.css +0 -8
  41. data/vendor/cssminify/spec/tests/color-simple.css.min +0 -1
  42. data/vendor/cssminify/spec/tests/color.css +0 -46
  43. data/vendor/cssminify/spec/tests/color.css.min +0 -1
  44. data/vendor/cssminify/spec/tests/comment.css +0 -3
  45. data/vendor/cssminify/spec/tests/comment.css.min +0 -1
  46. data/vendor/cssminify/spec/tests/concat-charset.css +0 -15
  47. data/vendor/cssminify/spec/tests/concat-charset.css.min +0 -1
  48. data/vendor/cssminify/spec/tests/dataurl-base64-doublequotes.css +0 -23
  49. data/vendor/cssminify/spec/tests/dataurl-base64-doublequotes.css.min +0 -1
  50. data/vendor/cssminify/spec/tests/dataurl-base64-eof.css +0 -10
  51. data/vendor/cssminify/spec/tests/dataurl-base64-eof.css.min +0 -1
  52. data/vendor/cssminify/spec/tests/dataurl-base64-linebreakindata.css +0 -34
  53. data/vendor/cssminify/spec/tests/dataurl-base64-linebreakindata.css.min +0 -1
  54. data/vendor/cssminify/spec/tests/dataurl-base64-noquotes.css +0 -26
  55. data/vendor/cssminify/spec/tests/dataurl-base64-noquotes.css.min +0 -1
  56. data/vendor/cssminify/spec/tests/dataurl-base64-singlequotes.css +0 -23
  57. data/vendor/cssminify/spec/tests/dataurl-base64-singlequotes.css.min +0 -1
  58. data/vendor/cssminify/spec/tests/dataurl-base64-twourls.css +0 -27
  59. data/vendor/cssminify/spec/tests/dataurl-base64-twourls.css.min +0 -1
  60. data/vendor/cssminify/spec/tests/dataurl-dbquote-font.css +0 -30
  61. data/vendor/cssminify/spec/tests/dataurl-dbquote-font.css.min +0 -5
  62. data/vendor/cssminify/spec/tests/dataurl-nonbase64-doublequotes.css +0 -13
  63. data/vendor/cssminify/spec/tests/dataurl-nonbase64-doublequotes.css.min +0 -1
  64. data/vendor/cssminify/spec/tests/dataurl-nonbase64-noquotes.css +0 -11
  65. data/vendor/cssminify/spec/tests/dataurl-nonbase64-noquotes.css.min +0 -1
  66. data/vendor/cssminify/spec/tests/dataurl-nonbase64-singlequotes.css +0 -15
  67. data/vendor/cssminify/spec/tests/dataurl-nonbase64-singlequotes.css.min +0 -2
  68. data/vendor/cssminify/spec/tests/dataurl-noquote-multiline-font.css +0 -31
  69. data/vendor/cssminify/spec/tests/dataurl-noquote-multiline-font.css.min +0 -3
  70. data/vendor/cssminify/spec/tests/dataurl-realdata-doublequotes.css +0 -90
  71. data/vendor/cssminify/spec/tests/dataurl-realdata-doublequotes.css.min +0 -1
  72. data/vendor/cssminify/spec/tests/dataurl-realdata-noquotes.css +0 -90
  73. data/vendor/cssminify/spec/tests/dataurl-realdata-noquotes.css.min +0 -1
  74. data/vendor/cssminify/spec/tests/dataurl-realdata-singlequotes.css +0 -90
  75. data/vendor/cssminify/spec/tests/dataurl-realdata-singlequotes.css.min +0 -1
  76. data/vendor/cssminify/spec/tests/dataurl-realdata-yuiapp.css +0 -106
  77. data/vendor/cssminify/spec/tests/dataurl-realdata-yuiapp.css.min +0 -1
  78. data/vendor/cssminify/spec/tests/dataurl-singlequote-font.css +0 -30
  79. data/vendor/cssminify/spec/tests/dataurl-singlequote-font.css.min +0 -3
  80. data/vendor/cssminify/spec/tests/decimals.css +0 -3
  81. data/vendor/cssminify/spec/tests/decimals.css.min +0 -1
  82. data/vendor/cssminify/spec/tests/dollar-header.css +0 -7
  83. data/vendor/cssminify/spec/tests/dollar-header.css.min +0 -3
  84. data/vendor/cssminify/spec/tests/font-face.css +0 -6
  85. data/vendor/cssminify/spec/tests/font-face.css.min +0 -1
  86. data/vendor/cssminify/spec/tests/ie5mac.css +0 -5
  87. data/vendor/cssminify/spec/tests/ie5mac.css.min +0 -1
  88. data/vendor/cssminify/spec/tests/media-empty-class.css +0 -16
  89. data/vendor/cssminify/spec/tests/media-empty-class.css.min +0 -1
  90. data/vendor/cssminify/spec/tests/media-multi.css +0 -3
  91. data/vendor/cssminify/spec/tests/media-multi.css.min +0 -1
  92. data/vendor/cssminify/spec/tests/media-test.css +0 -3
  93. data/vendor/cssminify/spec/tests/media-test.css.min +0 -1
  94. data/vendor/cssminify/spec/tests/opacity-filter.css +0 -14
  95. data/vendor/cssminify/spec/tests/opacity-filter.css.min +0 -1
  96. data/vendor/cssminify/spec/tests/preserve-case.css +0 -15
  97. data/vendor/cssminify/spec/tests/preserve-case.css.min +0 -1
  98. data/vendor/cssminify/spec/tests/preserve-new-line.css +0 -6
  99. data/vendor/cssminify/spec/tests/preserve-new-line.css.min +0 -3
  100. data/vendor/cssminify/spec/tests/preserve-strings.css +0 -7
  101. data/vendor/cssminify/spec/tests/preserve-strings.css.min +0 -1
  102. data/vendor/cssminify/spec/tests/pseudo-first.css +0 -16
  103. data/vendor/cssminify/spec/tests/pseudo-first.css.min +0 -1
  104. data/vendor/cssminify/spec/tests/pseudo.css +0 -4
  105. data/vendor/cssminify/spec/tests/pseudo.css.min +0 -1
  106. data/vendor/cssminify/spec/tests/special-comments.css +0 -13
  107. data/vendor/cssminify/spec/tests/special-comments.css.min +0 -9
  108. data/vendor/cssminify/spec/tests/star-underscore-hacks.css +0 -5
  109. data/vendor/cssminify/spec/tests/star-underscore-hacks.css.min +0 -1
  110. data/vendor/cssminify/spec/tests/string-in-comment.css +0 -8
  111. data/vendor/cssminify/spec/tests/string-in-comment.css.min +0 -1
  112. data/vendor/cssminify/spec/tests/webkit-transform.css +0 -2
  113. data/vendor/cssminify/spec/tests/webkit-transform.css.min +0 -1
  114. data/vendor/cssminify/spec/tests/zeros.css +0 -12
  115. data/vendor/cssminify/spec/tests/zeros.css.min +0 -1
@@ -1 +0,0 @@
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}
@@ -1,30 +0,0 @@
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
-
@@ -1,3 +0,0 @@
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
-
@@ -1,3 +0,0 @@
1
- ::selection {
2
- margin: 0.6px 0.333pt 1.2em 8.8cm;
3
- }
@@ -1 +0,0 @@
1
- ::selection{margin:.6px .333pt 1.2em 8.8cm}
@@ -1,7 +0,0 @@
1
- /*!
2
- $Header: /temp/dirname/filename.css 3 2/02/08 3:37p JSmith $
3
- */
4
-
5
- foo {
6
- bar: baz
7
- }
@@ -1,3 +0,0 @@
1
- /*!
2
- $Header: /temp/dirname/filename.css 3 2/02/08 3:37p JSmith $
3
- */foo{bar:baz}
@@ -1,6 +0,0 @@
1
- @font-face {
2
- font-family: 'gzipper';
3
- src: url(yanone.eot);
4
- src: local('gzipper'),
5
- url(yanone.ttf) format('truetype');
6
- }
@@ -1 +0,0 @@
1
- @font-face{font-family:'gzipper';src:url(yanone.eot);src:local('gzipper'),url(yanone.ttf) format('truetype')}
@@ -1,5 +0,0 @@
1
- /* Ignore the next rule in IE mac \*/
2
- .selector {
3
- color: khaki;
4
- }
5
- /* Stop ignoring in IE mac */
@@ -1 +0,0 @@
1
- /*\*/.selector{color:khaki}/**/
@@ -1,16 +0,0 @@
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
- }
@@ -1 +0,0 @@
1
- /*! preserved */@import "another.css";@media print{.noprint{display:none}}@media screen{.printonly{display:none}}
@@ -1,3 +0,0 @@
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
- }
@@ -1 +0,0 @@
1
- @media only all and (max-width:50em),only all and (max-device-width:800px),only all and (max-width:780px){some-css:here}
@@ -1,3 +0,0 @@
1
- @media screen and (-webkit-min-device-pixel-ratio:0) {
2
- some-css : here
3
- }
@@ -1 +0,0 @@
1
- @media screen and (-webkit-min-device-pixel-ratio:0){some-css:here}
@@ -1,14 +0,0 @@
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
- }
@@ -1 +0,0 @@
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)}
@@ -1,15 +0,0 @@
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
- }
@@ -1 +0,0 @@
1
- #AddAddressForm{padding:0}#AddAddressForm .messageBoxNeutral{padding:0}#FeedbackMailForm{padding:0}#FeedbackMailForm .classe{margin:0}.classes,#FeedBackMailForm{margin:0}
@@ -1,6 +0,0 @@
1
- #sel-o {
2
- content: "on\"ce upon \
3
- a time";
4
- content: 'once upon \
5
- a ti\'me';
6
- }
@@ -1,3 +0,0 @@
1
- #sel-o{content:"on\"ce upon \
2
- a time";content:'once upon \
3
- a ti\'me'}
@@ -1,7 +0,0 @@
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
- }
@@ -1 +0,0 @@
1
- .sele{content:"\"keep \" me";something:'\\\' . . ';else:'empty{}';content:"/* test */"}
@@ -1,16 +0,0 @@
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
- }
@@ -1 +0,0 @@
1
- p:first-letter {buh:hum}p:first-line {baa:1}p:first-line ,a,p:first-letter ,b{color:red}
@@ -1,4 +0,0 @@
1
- p :link {
2
- ba:zinga;;;
3
- foo: bar;;;
4
- }
@@ -1 +0,0 @@
1
- p :link{ba:zinga;foo:bar}
@@ -1,13 +0,0 @@
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! */
@@ -1,9 +0,0 @@
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! */
@@ -1,5 +0,0 @@
1
- #elementarr {
2
- width: 1px;
3
- *width: 3pt;
4
- _width: 2em;
5
- }
@@ -1 +0,0 @@
1
- #elementarr{width:1px;*width:3pt;_width:2em}
@@ -1,8 +0,0 @@
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 */
@@ -1 +0,0 @@
1
- a{a:1}/*!"preserve" me*/b{content:"/**/"}/*\*/c{c:3}/**/
@@ -1,2 +0,0 @@
1
- c {-webkit-transform-origin: 0 0;}
2
- d {-MOZ-TRANSFORM-ORIGIN: 0 0 }
@@ -1 +0,0 @@
1
- c{-webkit-transform-origin:0 0}d{-moz-transform-origin:0 0}
@@ -1,12 +0,0 @@
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
- }
@@ -1 +0,0 @@
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}