Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

Upgraded to YUI Compressor 2.4.6 #22

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.rdoc
Expand Up @@ -2,7 +2,7 @@

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.

<b>Latest version:</b> 0.9.4 (includes YUI Compressor 2.4.4)
<b>Latest version:</b> 0.9.4 (includes YUI Compressor 2.4.6)

* {API documentation}[http://yui.rubyforge.org/]
* {Source code}[http://github.com/sstephenson/ruby-yui-compressor/]
Expand Down Expand Up @@ -58,7 +58,7 @@ By default, YUI::Compressor looks for Java as the +java+ command in your path, a

YUI::JavaScriptCompressor.new(
:java => "/usr/bin/java",
:jar_file => "/path/to/my/yuicompressor-2.4.4.jar"
:jar_file => "/path/to/my/yuicompressor-2.4.6.jar"
)

==== Additional compression options
Expand Down
2 changes: 1 addition & 1 deletion lib/yui/compressor.rb
Expand Up @@ -107,7 +107,7 @@ def path_to_java
end

def path_to_jar_file
options.delete(:jar_file) || File.join(File.dirname(__FILE__), *%w".. yuicompressor-2.4.4.jar")
options.delete(:jar_file) || File.join(File.dirname(__FILE__), *%w".. yuicompressor-2.4.6.jar")
end

def streamify(stream_or_string)
Expand Down
Binary file renamed lib/yuicompressor-2.4.4.jar → lib/yuicompressor-2.4.6.jar 100755 → 100644
Binary file not shown.