ruby-clean-css 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitmodules +3 -0
- data/EXAMPLE.md +25 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +30 -0
- data/LICENSE +19 -0
- data/README.md +106 -0
- data/lib/javascript/clean-css/.gitignore +4 -0
- data/lib/javascript/clean-css/.jshintignore +3 -0
- data/lib/javascript/clean-css/.jshintrc +14 -0
- data/lib/javascript/clean-css/.travis.yml +11 -0
- data/lib/javascript/clean-css/History.md +556 -0
- data/lib/javascript/clean-css/LICENSE +19 -0
- data/lib/javascript/clean-css/README.md +218 -0
- data/lib/javascript/clean-css/bin/cleancss +157 -0
- data/lib/javascript/clean-css/index.js +1 -0
- data/lib/javascript/clean-css/lib/clean.js +426 -0
- data/lib/javascript/clean-css/lib/colors/hsl-to-hex.js +64 -0
- data/lib/javascript/clean-css/lib/colors/long-to-short-hex.js +12 -0
- data/lib/javascript/clean-css/lib/colors/rgb-to-hex.js +14 -0
- data/lib/javascript/clean-css/lib/colors/shortener.js +174 -0
- data/lib/javascript/clean-css/lib/images/url-rebase.js +32 -0
- data/lib/javascript/clean-css/lib/images/url-rewriter.js +60 -0
- data/lib/javascript/clean-css/lib/imports/inliner.js +319 -0
- data/lib/javascript/clean-css/lib/properties/optimizer.js +276 -0
- data/lib/javascript/clean-css/lib/properties/override-compactor.js +116 -0
- data/lib/javascript/clean-css/lib/properties/processable.js +859 -0
- data/lib/javascript/clean-css/lib/properties/scanner.js +20 -0
- data/lib/javascript/clean-css/lib/properties/shorthand-compactor.js +244 -0
- data/lib/javascript/clean-css/lib/properties/token.js +184 -0
- data/lib/javascript/clean-css/lib/properties/validator.js +140 -0
- data/lib/javascript/clean-css/lib/selectors/empty-removal.js +30 -0
- data/lib/javascript/clean-css/lib/selectors/optimizer.js +341 -0
- data/lib/javascript/clean-css/lib/selectors/tokenizer.js +168 -0
- data/lib/javascript/clean-css/lib/text/comments.js +83 -0
- data/lib/javascript/clean-css/lib/text/escape-store.js +32 -0
- data/lib/javascript/clean-css/lib/text/expressions.js +73 -0
- data/lib/javascript/clean-css/lib/text/free.js +26 -0
- data/lib/javascript/clean-css/lib/text/name-quotes.js +37 -0
- data/lib/javascript/clean-css/lib/text/quote-scanner.js +91 -0
- data/lib/javascript/clean-css/lib/text/splitter.js +35 -0
- data/lib/javascript/clean-css/lib/text/urls.js +41 -0
- data/lib/javascript/clean-css/package.json +50 -0
- data/lib/javascript/clean-css/test/batch-test.js +56 -0
- data/lib/javascript/clean-css/test/bench.js +11 -0
- data/lib/javascript/clean-css/test/binary-test.js +323 -0
- data/lib/javascript/clean-css/test/data-bench/_partial.css +1 -0
- data/lib/javascript/clean-css/test/data-bench/complex.css +4 -0
- data/lib/javascript/clean-css/test/data/129-assets/assets/ui.css +2 -0
- data/lib/javascript/clean-css/test/data/129-assets/components/bootstrap/css/bootstrap.css +3 -0
- data/lib/javascript/clean-css/test/data/129-assets/components/bootstrap/images/glyphs.gif +0 -0
- data/lib/javascript/clean-css/test/data/129-assets/components/jquery-ui/css/style.css +6 -0
- data/lib/javascript/clean-css/test/data/129-assets/components/jquery-ui/images/next.gif +0 -0
- data/lib/javascript/clean-css/test/data/129-assets/components/jquery-ui/images/prev.gif +0 -0
- data/lib/javascript/clean-css/test/data/960-min.css +125 -0
- data/lib/javascript/clean-css/test/data/960.css +602 -0
- data/lib/javascript/clean-css/test/data/big-min.css +2984 -0
- data/lib/javascript/clean-css/test/data/big.css +13794 -0
- data/lib/javascript/clean-css/test/data/blueprint-min.css +245 -0
- data/lib/javascript/clean-css/test/data/blueprint.css +556 -0
- data/lib/javascript/clean-css/test/data/charset-mixed-with-fonts-min.css +3 -0
- data/lib/javascript/clean-css/test/data/charset-mixed-with-fonts.css +14 -0
- data/lib/javascript/clean-css/test/data/font-awesome-ie7-min.css +392 -0
- data/lib/javascript/clean-css/test/data/font-awesome-ie7.css +1203 -0
- data/lib/javascript/clean-css/test/data/font-awesome-min.css +319 -0
- data/lib/javascript/clean-css/test/data/font-awesome.css +540 -0
- data/lib/javascript/clean-css/test/data/imports-min.css +5 -0
- data/lib/javascript/clean-css/test/data/imports.css +4 -0
- data/lib/javascript/clean-css/test/data/issue-117-snippet-min.css +3 -0
- data/lib/javascript/clean-css/test/data/issue-117-snippet.css +19 -0
- data/lib/javascript/clean-css/test/data/issue-159-snippet-min.css +7 -0
- data/lib/javascript/clean-css/test/data/issue-159-snippet.css +7 -0
- data/lib/javascript/clean-css/test/data/issue-192-min.css +1 -0
- data/lib/javascript/clean-css/test/data/issue-192.css +8 -0
- data/lib/javascript/clean-css/test/data/issue-198-min.css +3 -0
- data/lib/javascript/clean-css/test/data/issue-198.css +4 -0
- data/lib/javascript/clean-css/test/data/issue-232-min.css +2 -0
- data/lib/javascript/clean-css/test/data/issue-232.css +17 -0
- data/lib/javascript/clean-css/test/data/issue-241-min.css +2 -0
- data/lib/javascript/clean-css/test/data/issue-241.css +2 -0
- data/lib/javascript/clean-css/test/data/issue-304-min.css +1 -0
- data/lib/javascript/clean-css/test/data/issue-304.css +4 -0
- data/lib/javascript/clean-css/test/data/issue-305-min.css +1 -0
- data/lib/javascript/clean-css/test/data/issue-305.css +3 -0
- data/lib/javascript/clean-css/test/data/issue-308-min.css +1 -0
- data/lib/javascript/clean-css/test/data/issue-308.css +5 -0
- data/lib/javascript/clean-css/test/data/issue-312-min.css +1 -0
- data/lib/javascript/clean-css/test/data/issue-312.css +7 -0
- data/lib/javascript/clean-css/test/data/issue-337-min.css +1 -0
- data/lib/javascript/clean-css/test/data/issue-337.css +4 -0
- data/lib/javascript/clean-css/test/data/line-breaks-in-attributes-min.css +2 -0
- data/lib/javascript/clean-css/test/data/line-breaks-in-attributes.css +8 -0
- data/lib/javascript/clean-css/test/data/partials-absolute/base.css +3 -0
- data/lib/javascript/clean-css/test/data/partials-absolute/base2.css +1 -0
- data/lib/javascript/clean-css/test/data/partials-absolute/extra/sub.css +3 -0
- data/lib/javascript/clean-css/test/data/partials-relative/base.css +3 -0
- data/lib/javascript/clean-css/test/data/partials-relative/extra/included.css +1 -0
- data/lib/javascript/clean-css/test/data/partials/comment.css +2 -0
- data/lib/javascript/clean-css/test/data/partials/extra/down.gif +0 -0
- data/lib/javascript/clean-css/test/data/partials/extra/four.css +3 -0
- data/lib/javascript/clean-css/test/data/partials/extra/three.css +1 -0
- data/lib/javascript/clean-css/test/data/partials/five.css +1 -0
- data/lib/javascript/clean-css/test/data/partials/four.css +1 -0
- data/lib/javascript/clean-css/test/data/partials/one.css +1 -0
- data/lib/javascript/clean-css/test/data/partials/three.css +1 -0
- data/lib/javascript/clean-css/test/data/partials/two.css +5 -0
- data/lib/javascript/clean-css/test/data/reset-min.css +12 -0
- data/lib/javascript/clean-css/test/data/reset.css +64 -0
- data/lib/javascript/clean-css/test/data/sample1-min.css +4 -0
- data/lib/javascript/clean-css/test/data/sample1.css +12 -0
- data/lib/javascript/clean-css/test/data/unsupported/selectors-ie7.css +20 -0
- data/lib/javascript/clean-css/test/data/unsupported/selectors-ie8.css +17 -0
- data/lib/javascript/clean-css/test/module-test.js +185 -0
- data/lib/javascript/clean-css/test/protocol-imports-test.js +409 -0
- data/lib/javascript/clean-css/test/text/splitter-test.js +20 -0
- data/lib/javascript/clean-css/test/unit-test.js +2071 -0
- data/lib/ruby-clean-css.rb +6 -0
- data/lib/ruby-clean-css/compressor.rb +142 -0
- data/lib/ruby-clean-css/exports.rb +258 -0
- data/lib/ruby-clean-css/railtie.rb +27 -0
- data/lib/ruby-clean-css/sprockets.rb +19 -0
- data/lib/ruby-clean-css/version.rb +5 -0
- data/ruby-clean-css.gemspec +30 -0
- data/test/test_compressor.rb +84 -0
- metadata +203 -0
@@ -0,0 +1,30 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
require File.expand_path('../lib/ruby-clean-css/version', __FILE__)
|
3
|
+
|
4
|
+
Gem::Specification.new do |gem|
|
5
|
+
gem.authors = ['Joseph Pearson']
|
6
|
+
gem.email = ['jpearson@overdrive.com']
|
7
|
+
gem.description = 'A Ruby interface to the Clean-CSS minifier for Node.'
|
8
|
+
gem.summary = 'Clean-CSS for Ruby.'
|
9
|
+
gem.homepage = 'https://github.com/joseph/ruby-clean-css'
|
10
|
+
gem.files = `git ls-files`.split($\)
|
11
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
12
|
+
gem.test_files = gem.files.grep(%r{^test/})
|
13
|
+
gem.name = 'ruby-clean-css'
|
14
|
+
gem.require_paths = ['lib']
|
15
|
+
gem.version = RubyCleanCSS::VERSION
|
16
|
+
gem.add_dependency('therubyracer')
|
17
|
+
gem.add_dependency('commonjs')
|
18
|
+
gem.add_development_dependency('webmock')
|
19
|
+
|
20
|
+
# Append all submodule files to the list of gem files.
|
21
|
+
gem_dir = File.expand_path(File.dirname(__FILE__)) + "/"
|
22
|
+
`git submodule --quiet foreach pwd`.split($\).each { |submodule_path|
|
23
|
+
Dir.chdir(submodule_path) {
|
24
|
+
submodule_relative_path = submodule_path.sub gem_dir, ""
|
25
|
+
`git ls-files`.split($\).each { |filename|
|
26
|
+
gem.files << "#{submodule_relative_path}/#{filename}"
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
end
|
@@ -0,0 +1,84 @@
|
|
1
|
+
require('test/unit')
|
2
|
+
require('webmock/minitest')
|
3
|
+
require('ruby-clean-css')
|
4
|
+
|
5
|
+
class RubyCleanCSS::TestCompressor < Test::Unit::TestCase
|
6
|
+
|
7
|
+
def test_compression
|
8
|
+
assert_equal('a{color:#7fff00}', compress('a { color: chartreuse; }'))
|
9
|
+
end
|
10
|
+
|
11
|
+
|
12
|
+
def test_option_to_keep_breaks
|
13
|
+
# Confirm that breaks aren't kept by default
|
14
|
+
parts = ['a{color:#7fff00}','b{font-weight:900}']
|
15
|
+
assert_equal(
|
16
|
+
parts.join,
|
17
|
+
compress(parts.join("\n"))
|
18
|
+
)
|
19
|
+
|
20
|
+
# ... then confirm that breaks are kept when the option is set to true.
|
21
|
+
parts = ['a{color:#7fff00}','b{font-weight:900}']
|
22
|
+
assert_equal(
|
23
|
+
parts.join("\n"),
|
24
|
+
compress(parts.join("\n"), :keep_breaks => true)
|
25
|
+
)
|
26
|
+
end
|
27
|
+
|
28
|
+
|
29
|
+
def test_local_import_processing
|
30
|
+
local_path = 'test/foo.css'
|
31
|
+
File.open(local_path, 'w') { |f|
|
32
|
+
f << 'b { font-weight: 900; }'
|
33
|
+
}
|
34
|
+
assert_equal(
|
35
|
+
'b{font-weight:900}a{color:#7fff00}',
|
36
|
+
compress(%Q`
|
37
|
+
@import url(#{local_path});
|
38
|
+
|
39
|
+
a {
|
40
|
+
color: chartreuse;
|
41
|
+
}
|
42
|
+
`)
|
43
|
+
)
|
44
|
+
File.unlink(local_path)
|
45
|
+
end
|
46
|
+
|
47
|
+
|
48
|
+
def test_remote_import_processing
|
49
|
+
url = 'http://ruby-clean-css.test/foo.css'
|
50
|
+
stub_request(:get, url).to_return(:body => 'a { color: chartreuse; }')
|
51
|
+
assert_equal(
|
52
|
+
'a{color:#7fff00}',
|
53
|
+
compress("@import url(#{url});")
|
54
|
+
)
|
55
|
+
end
|
56
|
+
|
57
|
+
|
58
|
+
def test_url_rebasing
|
59
|
+
local_import_path = 'test/foo.css'
|
60
|
+
local_image_path = '../images/lenna.jpg'
|
61
|
+
File.open(local_import_path, 'w') { |f|
|
62
|
+
f << "div { background-image: url(#{local_image_path}); }"
|
63
|
+
}
|
64
|
+
assert_equal(
|
65
|
+
'div{background-image:url(images/lenna.jpg)}',
|
66
|
+
compress("@import url(#{local_import_path});")
|
67
|
+
)
|
68
|
+
File.unlink(local_import_path)
|
69
|
+
end
|
70
|
+
|
71
|
+
|
72
|
+
def compress(str, options = {})
|
73
|
+
c = RubyCleanCSS::Compressor.new(options)
|
74
|
+
c.compress(str)
|
75
|
+
if c.last_result[:errors].any?
|
76
|
+
STDERR.puts(c.last_result[:errors].join("\n"))
|
77
|
+
end
|
78
|
+
if c.last_result[:warnings].any?
|
79
|
+
STDERR.puts(c.last_result[:errors].join("\n"))
|
80
|
+
end
|
81
|
+
c.last_result[:min]
|
82
|
+
end
|
83
|
+
|
84
|
+
end
|
metadata
ADDED
@@ -0,0 +1,203 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ruby-clean-css
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Joseph Pearson
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2014-08-19 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: therubyracer
|
16
|
+
requirement: &6025560 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *6025560
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: commonjs
|
27
|
+
requirement: &6024460 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *6024460
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: webmock
|
38
|
+
requirement: &6023840 !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: *6023840
|
47
|
+
description: A Ruby interface to the Clean-CSS minifier for Node.
|
48
|
+
email:
|
49
|
+
- jpearson@overdrive.com
|
50
|
+
executables: []
|
51
|
+
extensions: []
|
52
|
+
extra_rdoc_files: []
|
53
|
+
files:
|
54
|
+
- .gitmodules
|
55
|
+
- EXAMPLE.md
|
56
|
+
- Gemfile
|
57
|
+
- Gemfile.lock
|
58
|
+
- LICENSE
|
59
|
+
- README.md
|
60
|
+
- lib/ruby-clean-css.rb
|
61
|
+
- lib/ruby-clean-css/compressor.rb
|
62
|
+
- lib/ruby-clean-css/exports.rb
|
63
|
+
- lib/ruby-clean-css/railtie.rb
|
64
|
+
- lib/ruby-clean-css/sprockets.rb
|
65
|
+
- lib/ruby-clean-css/version.rb
|
66
|
+
- ruby-clean-css.gemspec
|
67
|
+
- test/test_compressor.rb
|
68
|
+
- lib/javascript/clean-css/.gitignore
|
69
|
+
- lib/javascript/clean-css/.jshintignore
|
70
|
+
- lib/javascript/clean-css/.jshintrc
|
71
|
+
- lib/javascript/clean-css/.travis.yml
|
72
|
+
- lib/javascript/clean-css/History.md
|
73
|
+
- lib/javascript/clean-css/LICENSE
|
74
|
+
- lib/javascript/clean-css/README.md
|
75
|
+
- lib/javascript/clean-css/bin/cleancss
|
76
|
+
- lib/javascript/clean-css/index.js
|
77
|
+
- lib/javascript/clean-css/lib/clean.js
|
78
|
+
- lib/javascript/clean-css/lib/colors/hsl-to-hex.js
|
79
|
+
- lib/javascript/clean-css/lib/colors/long-to-short-hex.js
|
80
|
+
- lib/javascript/clean-css/lib/colors/rgb-to-hex.js
|
81
|
+
- lib/javascript/clean-css/lib/colors/shortener.js
|
82
|
+
- lib/javascript/clean-css/lib/images/url-rebase.js
|
83
|
+
- lib/javascript/clean-css/lib/images/url-rewriter.js
|
84
|
+
- lib/javascript/clean-css/lib/imports/inliner.js
|
85
|
+
- lib/javascript/clean-css/lib/properties/optimizer.js
|
86
|
+
- lib/javascript/clean-css/lib/properties/override-compactor.js
|
87
|
+
- lib/javascript/clean-css/lib/properties/processable.js
|
88
|
+
- lib/javascript/clean-css/lib/properties/scanner.js
|
89
|
+
- lib/javascript/clean-css/lib/properties/shorthand-compactor.js
|
90
|
+
- lib/javascript/clean-css/lib/properties/token.js
|
91
|
+
- lib/javascript/clean-css/lib/properties/validator.js
|
92
|
+
- lib/javascript/clean-css/lib/selectors/empty-removal.js
|
93
|
+
- lib/javascript/clean-css/lib/selectors/optimizer.js
|
94
|
+
- lib/javascript/clean-css/lib/selectors/tokenizer.js
|
95
|
+
- lib/javascript/clean-css/lib/text/comments.js
|
96
|
+
- lib/javascript/clean-css/lib/text/escape-store.js
|
97
|
+
- lib/javascript/clean-css/lib/text/expressions.js
|
98
|
+
- lib/javascript/clean-css/lib/text/free.js
|
99
|
+
- lib/javascript/clean-css/lib/text/name-quotes.js
|
100
|
+
- lib/javascript/clean-css/lib/text/quote-scanner.js
|
101
|
+
- lib/javascript/clean-css/lib/text/splitter.js
|
102
|
+
- lib/javascript/clean-css/lib/text/urls.js
|
103
|
+
- lib/javascript/clean-css/package.json
|
104
|
+
- lib/javascript/clean-css/test/batch-test.js
|
105
|
+
- lib/javascript/clean-css/test/bench.js
|
106
|
+
- lib/javascript/clean-css/test/binary-test.js
|
107
|
+
- lib/javascript/clean-css/test/data-bench/_partial.css
|
108
|
+
- lib/javascript/clean-css/test/data-bench/complex.css
|
109
|
+
- lib/javascript/clean-css/test/data/129-assets/assets/ui.css
|
110
|
+
- lib/javascript/clean-css/test/data/129-assets/components/bootstrap/css/bootstrap.css
|
111
|
+
- lib/javascript/clean-css/test/data/129-assets/components/bootstrap/images/glyphs.gif
|
112
|
+
- lib/javascript/clean-css/test/data/129-assets/components/jquery-ui/css/style.css
|
113
|
+
- lib/javascript/clean-css/test/data/129-assets/components/jquery-ui/images/next.gif
|
114
|
+
- lib/javascript/clean-css/test/data/129-assets/components/jquery-ui/images/prev.gif
|
115
|
+
- lib/javascript/clean-css/test/data/960-min.css
|
116
|
+
- lib/javascript/clean-css/test/data/960.css
|
117
|
+
- lib/javascript/clean-css/test/data/big-min.css
|
118
|
+
- lib/javascript/clean-css/test/data/big.css
|
119
|
+
- lib/javascript/clean-css/test/data/blueprint-min.css
|
120
|
+
- lib/javascript/clean-css/test/data/blueprint.css
|
121
|
+
- lib/javascript/clean-css/test/data/charset-mixed-with-fonts-min.css
|
122
|
+
- lib/javascript/clean-css/test/data/charset-mixed-with-fonts.css
|
123
|
+
- lib/javascript/clean-css/test/data/font-awesome-ie7-min.css
|
124
|
+
- lib/javascript/clean-css/test/data/font-awesome-ie7.css
|
125
|
+
- lib/javascript/clean-css/test/data/font-awesome-min.css
|
126
|
+
- lib/javascript/clean-css/test/data/font-awesome.css
|
127
|
+
- lib/javascript/clean-css/test/data/imports-min.css
|
128
|
+
- lib/javascript/clean-css/test/data/imports.css
|
129
|
+
- lib/javascript/clean-css/test/data/issue-117-snippet-min.css
|
130
|
+
- lib/javascript/clean-css/test/data/issue-117-snippet.css
|
131
|
+
- lib/javascript/clean-css/test/data/issue-159-snippet-min.css
|
132
|
+
- lib/javascript/clean-css/test/data/issue-159-snippet.css
|
133
|
+
- lib/javascript/clean-css/test/data/issue-192-min.css
|
134
|
+
- lib/javascript/clean-css/test/data/issue-192.css
|
135
|
+
- lib/javascript/clean-css/test/data/issue-198-min.css
|
136
|
+
- lib/javascript/clean-css/test/data/issue-198.css
|
137
|
+
- lib/javascript/clean-css/test/data/issue-232-min.css
|
138
|
+
- lib/javascript/clean-css/test/data/issue-232.css
|
139
|
+
- lib/javascript/clean-css/test/data/issue-241-min.css
|
140
|
+
- lib/javascript/clean-css/test/data/issue-241.css
|
141
|
+
- lib/javascript/clean-css/test/data/issue-304-min.css
|
142
|
+
- lib/javascript/clean-css/test/data/issue-304.css
|
143
|
+
- lib/javascript/clean-css/test/data/issue-305-min.css
|
144
|
+
- lib/javascript/clean-css/test/data/issue-305.css
|
145
|
+
- lib/javascript/clean-css/test/data/issue-308-min.css
|
146
|
+
- lib/javascript/clean-css/test/data/issue-308.css
|
147
|
+
- lib/javascript/clean-css/test/data/issue-312-min.css
|
148
|
+
- lib/javascript/clean-css/test/data/issue-312.css
|
149
|
+
- lib/javascript/clean-css/test/data/issue-337-min.css
|
150
|
+
- lib/javascript/clean-css/test/data/issue-337.css
|
151
|
+
- lib/javascript/clean-css/test/data/line-breaks-in-attributes-min.css
|
152
|
+
- lib/javascript/clean-css/test/data/line-breaks-in-attributes.css
|
153
|
+
- lib/javascript/clean-css/test/data/partials-absolute/base.css
|
154
|
+
- lib/javascript/clean-css/test/data/partials-absolute/base2.css
|
155
|
+
- lib/javascript/clean-css/test/data/partials-absolute/extra/sub.css
|
156
|
+
- lib/javascript/clean-css/test/data/partials-relative/base.css
|
157
|
+
- lib/javascript/clean-css/test/data/partials-relative/extra/included.css
|
158
|
+
- lib/javascript/clean-css/test/data/partials/comment.css
|
159
|
+
- lib/javascript/clean-css/test/data/partials/extra/down.gif
|
160
|
+
- lib/javascript/clean-css/test/data/partials/extra/four.css
|
161
|
+
- lib/javascript/clean-css/test/data/partials/extra/three.css
|
162
|
+
- lib/javascript/clean-css/test/data/partials/five.css
|
163
|
+
- lib/javascript/clean-css/test/data/partials/four.css
|
164
|
+
- lib/javascript/clean-css/test/data/partials/one.css
|
165
|
+
- lib/javascript/clean-css/test/data/partials/three.css
|
166
|
+
- lib/javascript/clean-css/test/data/partials/two.css
|
167
|
+
- lib/javascript/clean-css/test/data/reset-min.css
|
168
|
+
- lib/javascript/clean-css/test/data/reset.css
|
169
|
+
- lib/javascript/clean-css/test/data/sample1-min.css
|
170
|
+
- lib/javascript/clean-css/test/data/sample1.css
|
171
|
+
- lib/javascript/clean-css/test/data/unsupported/selectors-ie7.css
|
172
|
+
- lib/javascript/clean-css/test/data/unsupported/selectors-ie8.css
|
173
|
+
- lib/javascript/clean-css/test/module-test.js
|
174
|
+
- lib/javascript/clean-css/test/protocol-imports-test.js
|
175
|
+
- lib/javascript/clean-css/test/text/splitter-test.js
|
176
|
+
- lib/javascript/clean-css/test/unit-test.js
|
177
|
+
homepage: https://github.com/joseph/ruby-clean-css
|
178
|
+
licenses: []
|
179
|
+
post_install_message:
|
180
|
+
rdoc_options: []
|
181
|
+
require_paths:
|
182
|
+
- lib
|
183
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
184
|
+
none: false
|
185
|
+
requirements:
|
186
|
+
- - ! '>='
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: '0'
|
189
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
190
|
+
none: false
|
191
|
+
requirements:
|
192
|
+
- - ! '>='
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
requirements: []
|
196
|
+
rubyforge_project:
|
197
|
+
rubygems_version: 1.8.11
|
198
|
+
signing_key:
|
199
|
+
specification_version: 3
|
200
|
+
summary: Clean-CSS for Ruby.
|
201
|
+
test_files:
|
202
|
+
- test/test_compressor.rb
|
203
|
+
has_rdoc:
|