yuicompressor 1.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/yuicompressor/jruby.rb +1 -0
- data/test/css_test.rb +1 -1
- data/test/js_test.rb +3 -3
- data/yuicompressor.gemspec +1 -1
- metadata +47 -53
data/lib/yuicompressor/jruby.rb
CHANGED
data/test/css_test.rb
CHANGED
data/test/js_test.rb
CHANGED
|
@@ -18,12 +18,12 @@ Foo["bar"] = (function(baz) {
|
|
|
18
18
|
CODE
|
|
19
19
|
|
|
20
20
|
def test_default_command_arguments
|
|
21
|
+
args = command_arguments(default_js_options)
|
|
22
|
+
|
|
21
23
|
if jruby?
|
|
22
|
-
args = command_arguments(default_js_options)
|
|
23
24
|
assert_equal([-1], args)
|
|
24
25
|
else
|
|
25
|
-
args
|
|
26
|
-
assert_equal(%w< --charset utf-8 >, args)
|
|
26
|
+
assert_equal([], args)
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
data/yuicompressor.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yuicompressor
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash: 15
|
|
5
4
|
prerelease: false
|
|
6
5
|
segments:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
- 1
|
|
7
|
+
- 0
|
|
8
|
+
- 1
|
|
9
|
+
version: 1.0.1
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
|
-
- Michael Jackson
|
|
12
|
+
- Michael Jackson
|
|
13
13
|
autorequire:
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
@@ -17,20 +17,18 @@ cert_chain: []
|
|
|
17
17
|
date: 2010-08-02 00:00:00 -06:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
|
-
- !ruby/object:Gem::Dependency
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
type: :development
|
|
33
|
-
version_requirements: *id001
|
|
20
|
+
- !ruby/object:Gem::Dependency
|
|
21
|
+
name: rake
|
|
22
|
+
prerelease: false
|
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
|
24
|
+
requirements:
|
|
25
|
+
- - ">="
|
|
26
|
+
- !ruby/object:Gem::Version
|
|
27
|
+
segments:
|
|
28
|
+
- 0
|
|
29
|
+
version: "0"
|
|
30
|
+
type: :development
|
|
31
|
+
version_requirements: *id001
|
|
34
32
|
description: A YUI JavaScript and CSS compressor for Ruby and JRuby
|
|
35
33
|
email: mjijackson@gmail.com
|
|
36
34
|
executables: []
|
|
@@ -38,56 +36,52 @@ executables: []
|
|
|
38
36
|
extensions: []
|
|
39
37
|
|
|
40
38
|
extra_rdoc_files:
|
|
41
|
-
- README
|
|
39
|
+
- README
|
|
42
40
|
files:
|
|
43
|
-
- lib/yuicompressor
|
|
44
|
-
- lib/yuicompressor/
|
|
45
|
-
- lib/yuicompressor.rb
|
|
46
|
-
- test/css_test.rb
|
|
47
|
-
- test/helper.rb
|
|
48
|
-
- test/js_test.rb
|
|
49
|
-
- yuicompressor.gemspec
|
|
50
|
-
- Rakefile
|
|
51
|
-
- README
|
|
41
|
+
- lib/yuicompressor.rb
|
|
42
|
+
- lib/yuicompressor/jruby.rb
|
|
43
|
+
- lib/yuicompressor/shell.rb
|
|
44
|
+
- test/css_test.rb
|
|
45
|
+
- test/helper.rb
|
|
46
|
+
- test/js_test.rb
|
|
47
|
+
- yuicompressor.gemspec
|
|
48
|
+
- Rakefile
|
|
49
|
+
- README
|
|
52
50
|
has_rdoc: true
|
|
53
51
|
homepage: http://github.com/mjijackson/yuicompressor
|
|
54
52
|
licenses: []
|
|
55
53
|
|
|
56
54
|
post_install_message:
|
|
57
55
|
rdoc_options:
|
|
58
|
-
- --line-numbers
|
|
59
|
-
- --inline-source
|
|
60
|
-
- --title
|
|
61
|
-
- YUICompressor
|
|
62
|
-
- --main
|
|
63
|
-
- YUICompressor
|
|
56
|
+
- --line-numbers
|
|
57
|
+
- --inline-source
|
|
58
|
+
- --title
|
|
59
|
+
- YUICompressor
|
|
60
|
+
- --main
|
|
61
|
+
- YUICompressor
|
|
64
62
|
require_paths:
|
|
65
|
-
- lib
|
|
63
|
+
- lib
|
|
66
64
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
67
|
-
none: false
|
|
68
65
|
requirements:
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
version: "0"
|
|
66
|
+
- - ">="
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
segments:
|
|
69
|
+
- 0
|
|
70
|
+
version: "0"
|
|
75
71
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
|
-
none: false
|
|
77
72
|
requirements:
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
version: "0"
|
|
73
|
+
- - ">="
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
segments:
|
|
76
|
+
- 0
|
|
77
|
+
version: "0"
|
|
84
78
|
requirements: []
|
|
85
79
|
|
|
86
80
|
rubyforge_project:
|
|
87
|
-
rubygems_version: 1.3.
|
|
81
|
+
rubygems_version: 1.3.6
|
|
88
82
|
signing_key:
|
|
89
83
|
specification_version: 3
|
|
90
84
|
summary: A YUI JavaScript and CSS compressor for Ruby and JRuby
|
|
91
85
|
test_files:
|
|
92
|
-
- test/css_test.rb
|
|
93
|
-
- test/js_test.rb
|
|
86
|
+
- test/css_test.rb
|
|
87
|
+
- test/js_test.rb
|