yui-compressor 0.11.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.rdoc +3 -3
- data/Rakefile +4 -4
- data/lib/yui/compressor.rb +2 -2
- data/lib/yuicompressor-2.4.8.jar +0 -0
- metadata +10 -12
- data/lib/yuicompressor-2.4.7.jar +0 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: d9b97c893c00c609838029f8a8611fd04f7177cf
|
4
|
+
data.tar.gz: 4aa379e225be91d06684d374baaf9d565b27db1c
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: c9bc26358a6156d278dfba4d515e55aa308f02651d37af2787260f440e136fb1b9f0abe7f18e268a0ae7ffae1bd91289982fe27ccba8095366b6f64a85b8fc8b
|
7
|
+
data.tar.gz: 860bdf77773af18d195c945f429fbdbc22ce26efdc1890c4e7bb4d976938823d2d54eac3fda6622f7ca958d264cdc74155e058f8809a72b0562e5aefd0e7ece4
|
data/README.rdoc
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Ruby-YUI Compressor provides a Ruby interface to the {YUI Compressor Java library}[http://developer.yahoo.com/yui/compressor/] for minifying JavaScript and CSS assets.
|
4
4
|
|
5
|
-
<b>Latest version:</b> 0.
|
5
|
+
<b>Latest version:</b> 0.12.0 (includes YUI Compressor 2.4.8)
|
6
6
|
|
7
7
|
* {API documentation}[http://yui.rubyforge.org/]
|
8
8
|
* {Source code}[http://github.com/sstephenson/ruby-yui-compressor/]
|
@@ -21,7 +21,7 @@ Ruby-YUI Compressor is distributed as a Ruby Gem (<tt>yui-compressor</tt>). Beca
|
|
21
21
|
|
22
22
|
You can also install Ruby-YUI Compressor with the {Rip package manager}[http://hellorip.com/]:
|
23
23
|
|
24
|
-
$ rip install git://github.com/sstephenson/ruby-yui-compressor.git 0.
|
24
|
+
$ rip install git://github.com/sstephenson/ruby-yui-compressor.git 0.12.0
|
25
25
|
$ irb -rrip
|
26
26
|
>> require "yui/compressor"
|
27
27
|
=> true
|
@@ -58,7 +58,7 @@ By default, YUI::Compressor looks for Java as the +java+ command in your path, a
|
|
58
58
|
|
59
59
|
YUI::JavaScriptCompressor.new(
|
60
60
|
:java => "/usr/bin/java",
|
61
|
-
:jar_file => "/path/to/my/yuicompressor-2.4.
|
61
|
+
:jar_file => "/path/to/my/yuicompressor-2.4.8.jar"
|
62
62
|
)
|
63
63
|
|
64
64
|
==== Additional compression options
|
data/Rakefile
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
require "rubygems"
|
2
|
-
require "
|
3
|
-
require "
|
2
|
+
require "rubygems/package_task"
|
3
|
+
require "rdoc/task"
|
4
4
|
require "rake/testtask"
|
5
5
|
|
6
6
|
task :default => :test
|
@@ -11,11 +11,11 @@ Rake::TestTask.new do |t|
|
|
11
11
|
t.verbose = true
|
12
12
|
end
|
13
13
|
|
14
|
-
|
14
|
+
RDoc::Task.new do |t|
|
15
15
|
t.rdoc_files.include("README.rdoc", "lib/**/*.rb")
|
16
16
|
end
|
17
17
|
|
18
|
-
|
18
|
+
Gem::PackageTask.new(eval(IO.read(File.join(File.dirname(__FILE__), "yui-compressor.gemspec")))) do |pkg|
|
19
19
|
pkg.need_zip = true
|
20
20
|
pkg.need_tar = true
|
21
21
|
end
|
data/lib/yui/compressor.rb
CHANGED
@@ -5,7 +5,7 @@ require "rbconfig"
|
|
5
5
|
|
6
6
|
module YUI #:nodoc:
|
7
7
|
class Compressor
|
8
|
-
VERSION = "0.
|
8
|
+
VERSION = "0.12.0"
|
9
9
|
|
10
10
|
class Error < StandardError; end
|
11
11
|
class OptionError < Error; end
|
@@ -131,7 +131,7 @@ module YUI #:nodoc:
|
|
131
131
|
end
|
132
132
|
|
133
133
|
def path_to_jar_file
|
134
|
-
options.delete(:jar_file) || File.join(File.dirname(__FILE__), *%w".. yuicompressor-2.4.
|
134
|
+
options.delete(:jar_file) || File.join(File.dirname(__FILE__), *%w".. yuicompressor-2.4.8.jar")
|
135
135
|
end
|
136
136
|
|
137
137
|
def streamify(stream_or_string)
|
Binary file
|
metadata
CHANGED
@@ -1,54 +1,52 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yui-compressor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.12.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Sam Stephenson
|
8
|
+
- Stephen Crosby
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-09-29 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: A Ruby interface to YUI Compressor for minifying JavaScript and CSS assets.
|
15
|
-
email:
|
15
|
+
email: stevecrozz@gmail.com
|
16
16
|
executables: []
|
17
17
|
extensions: []
|
18
18
|
extra_rdoc_files: []
|
19
19
|
files:
|
20
20
|
- README.rdoc
|
21
21
|
- Rakefile
|
22
|
+
- lib/yuicompressor-2.4.8.jar
|
22
23
|
- lib/yui/compressor.rb
|
23
|
-
- lib/yuicompressor-2.4.7.jar
|
24
24
|
- test/compressor_test.rb
|
25
25
|
homepage: http://github.com/sstephenson/ruby-yui-compressor/
|
26
26
|
licenses:
|
27
27
|
- MIT
|
28
28
|
- BSD-3-clause
|
29
29
|
- MPL
|
30
|
+
metadata: {}
|
30
31
|
post_install_message:
|
31
32
|
rdoc_options: []
|
32
33
|
require_paths:
|
33
34
|
- lib
|
34
35
|
required_ruby_version: !ruby/object:Gem::Requirement
|
35
|
-
none: false
|
36
36
|
requirements:
|
37
|
-
- -
|
37
|
+
- - '>='
|
38
38
|
- !ruby/object:Gem::Version
|
39
39
|
version: '0'
|
40
40
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
41
|
requirements:
|
43
|
-
- -
|
42
|
+
- - '>='
|
44
43
|
- !ruby/object:Gem::Version
|
45
44
|
version: '0'
|
46
45
|
requirements: []
|
47
46
|
rubyforge_project: yui
|
48
|
-
rubygems_version:
|
47
|
+
rubygems_version: 2.0.0
|
49
48
|
signing_key:
|
50
|
-
specification_version:
|
49
|
+
specification_version: 4
|
51
50
|
summary: JavaScript and CSS minification library
|
52
51
|
test_files:
|
53
52
|
- test/compressor_test.rb
|
54
|
-
has_rdoc: true
|
data/lib/yuicompressor-2.4.7.jar
DELETED
Binary file
|