cssminify 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.md +8 -4
- data/README.md +1 -1
- data/cssminify.gemspec +2 -4
- data/lib/cssminify/version.rb +1 -1
- data/spec/tests/bug2528093.css +3 -0
- data/spec/tests/bug2528093.css.min +1 -0
- metadata +10 -19
- data/Rakefile +0 -1
data/CHANGES.md
CHANGED
@@ -1,8 +1,12 @@
|
|
1
|
-
### 1.0.
|
1
|
+
### 1.0.2 (30 June 2012)
|
2
2
|
|
3
|
-
|
4
|
-
Updated tests
|
3
|
+
* Removed unnecessary Bundler dependency
|
5
4
|
|
6
|
-
|
5
|
+
### 1.0.1 (30 June 2012)
|
6
|
+
|
7
|
+
* Updated cssmin.rb to 1.0.1
|
8
|
+
* Updated tests
|
9
|
+
|
10
|
+
## 1.0.0 (29 June 2012)
|
7
11
|
|
8
12
|
First release
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# CSSminify
|
2
2
|
CSS minification with YUI compressor, but as native Ruby port.
|
3
3
|
|
4
|
-
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](https://github.com/matthiassiegel/cssmin) of the CSS engine. Therefore this gem has no dependencies
|
4
|
+
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](https://github.com/matthiassiegel/cssmin) of the CSS engine. Therefore this gem has no dependencies.
|
5
5
|
|
6
6
|
In basic benchmarks the Ruby version performed about as good as the Java jar. It currently passes all CSS test cases included with the YUI compressor Java source code.
|
7
7
|
|
data/cssminify.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.homepage = "https://github.com/matthiassiegel/cssminify"
|
11
11
|
s.summary = "CSS minification with YUI compressor, but as native Ruby port."
|
12
12
|
s.description = <<-EOF
|
13
|
-
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
|
13
|
+
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.
|
14
14
|
EOF
|
15
15
|
|
16
16
|
s.extra_rdoc_files = [
|
@@ -26,7 +26,5 @@ Gem::Specification.new do |s|
|
|
26
26
|
s.test_files = `git ls-files -- spec/*`.split("\n")
|
27
27
|
s.require_paths = ["lib"]
|
28
28
|
|
29
|
-
s.add_development_dependency "rspec"
|
30
|
-
|
31
|
-
s.add_runtime_dependency "bundler", "~> 1.0"
|
29
|
+
s.add_development_dependency "rspec", "~> 2.7"
|
32
30
|
end
|
data/lib/cssminify/version.rb
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
.test{background-image:-moz-linear-gradient(left,#fff 10%,#f0f0f0 90%)}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cssminify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,30 +13,18 @@ date: 2012-06-30 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement: &
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ! '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '0'
|
22
|
-
type: :development
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: *2161788620
|
25
|
-
- !ruby/object:Gem::Dependency
|
26
|
-
name: bundler
|
27
|
-
requirement: &2161787120 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &2157485620 !ruby/object:Gem::Requirement
|
28
17
|
none: false
|
29
18
|
requirements:
|
30
19
|
- - ~>
|
31
20
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
33
|
-
type: :
|
21
|
+
version: '2.7'
|
22
|
+
type: :development
|
34
23
|
prerelease: false
|
35
|
-
version_requirements: *
|
24
|
+
version_requirements: *2157485620
|
36
25
|
description: ! ' The CSSminify gem provides CSS compression using YUI compressor.
|
37
26
|
Instead of wrapping around the Java or Javascript version of YUI compressor it uses
|
38
|
-
a native Ruby port of the CSS engine. Therefore this gem has no dependencies
|
39
|
-
Bundler.
|
27
|
+
a native Ruby port of the CSS engine. Therefore this gem has no dependencies.
|
40
28
|
|
41
29
|
'
|
42
30
|
email: matthias.siegel@gmail.com
|
@@ -52,7 +40,6 @@ files:
|
|
52
40
|
- Gemfile
|
53
41
|
- LICENSE.md
|
54
42
|
- README.md
|
55
|
-
- Rakefile
|
56
43
|
- cssminify.gemspec
|
57
44
|
- lib/cssminify.rb
|
58
45
|
- lib/cssminify/cssmin.rb
|
@@ -74,6 +61,8 @@ files:
|
|
74
61
|
- spec/tests/bug2527998.css.min
|
75
62
|
- spec/tests/bug2528034.css
|
76
63
|
- spec/tests/bug2528034.css.min
|
64
|
+
- spec/tests/bug2528093.css
|
65
|
+
- spec/tests/bug2528093.css.min
|
77
66
|
- spec/tests/charset-media.css
|
78
67
|
- spec/tests/charset-media.css.min
|
79
68
|
- spec/tests/color-simple.css
|
@@ -195,6 +184,8 @@ test_files:
|
|
195
184
|
- spec/tests/bug2527998.css.min
|
196
185
|
- spec/tests/bug2528034.css
|
197
186
|
- spec/tests/bug2528034.css.min
|
187
|
+
- spec/tests/bug2528093.css
|
188
|
+
- spec/tests/bug2528093.css.min
|
198
189
|
- spec/tests/charset-media.css
|
199
190
|
- spec/tests/charset-media.css.min
|
200
191
|
- spec/tests/color-simple.css
|
data/Rakefile
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
require "bundler/gem_tasks"
|