yuicompressor 1.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,5 @@
1
1
  require 'java'
2
+ require 'stringio'
2
3
 
3
4
  module YUICompressor
4
5
  # This module contains methods specific to the JRuby platform and is
data/test/css_test.rb CHANGED
@@ -16,7 +16,7 @@ CODE
16
16
  if jruby?
17
17
  assert_equal([-1], args)
18
18
  else
19
- assert_equal(%w< --charset utf-8 >, args)
19
+ assert_equal([], args)
20
20
  end
21
21
  end
22
22
 
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 = command_arguments(default_js_options)
26
- assert_equal(%w< --charset utf-8 >, args)
26
+ assert_equal([], args)
27
27
  end
28
28
  end
29
29
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'yuicompressor'
3
- s.version = '1.0'
3
+ s.version = '1.0.1'
4
4
  s.date = '2010-08-02'
5
5
 
6
6
  s.summary = 'A YUI JavaScript and CSS compressor for Ruby and JRuby'
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
- - 1
8
- - 0
9
- version: "1.0"
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
- name: rake
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 0
31
- version: "0"
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/jruby.rb
44
- - lib/yuicompressor/shell.rb
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
- - !ruby/object:Gem::Version
71
- hash: 3
72
- segments:
73
- - 0
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
- - !ruby/object:Gem::Version
80
- hash: 3
81
- segments:
82
- - 0
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.7
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