closure-compiler 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
data/README.textile
CHANGED
@@ -2,9 +2,9 @@ h1. The Closure Compiler (as a Ruby Gem)
|
|
2
2
|
|
3
3
|
The *closure-compiler* gem is a svelte wrapper around the "Google Closure Compiler":http://code.google.com/closure/compiler/ for JavaScript compression.
|
4
4
|
|
5
|
-
Latest Version: *"1.
|
5
|
+
Latest Version: *"1.1.0":http://gemcutter.org/gems/closure-compiler*
|
6
6
|
|
7
|
-
The Closure Compiler's *2011-
|
7
|
+
The Closure Compiler's *2011-03-22* JAR-file is included with the gem.
|
8
8
|
|
9
9
|
h2. Installation
|
10
10
|
|
data/closure-compiler.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'closure-compiler'
|
3
|
-
s.version = '1.
|
3
|
+
s.version = '1.1.0' # Keep version in sync with closure-compiler.rb
|
4
4
|
s.date = '2011-1-19'
|
5
5
|
|
6
6
|
s.homepage = "http://github.com/documentcloud/closure-compiler/"
|
Binary file
|
data/lib/closure-compiler.rb
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
module Closure
|
2
2
|
|
3
|
-
VERSION = "1.
|
3
|
+
VERSION = "1.1.0"
|
4
4
|
|
5
|
-
COMPILER_VERSION = "
|
5
|
+
COMPILER_VERSION = "20110322"
|
6
6
|
|
7
7
|
JAVA_COMMAND = 'java'
|
8
8
|
|
9
9
|
COMPILER_ROOT = File.expand_path(File.dirname(__FILE__))
|
10
10
|
|
11
|
-
COMPILER_JAR = COMPILER_ROOT
|
11
|
+
COMPILER_JAR = File.join(COMPILER_ROOT, "closure-compiler-#{COMPILER_VERSION}.jar")
|
12
12
|
|
13
13
|
end
|
14
14
|
|
15
15
|
require 'stringio'
|
16
|
-
require Closure::COMPILER_ROOT
|
17
|
-
require Closure::COMPILER_ROOT
|
16
|
+
require File.join(Closure::COMPILER_ROOT, 'closure/popen')
|
17
|
+
require File.join(Closure::COMPILER_ROOT, 'closure/compiler')
|
data/lib/closure/compiler.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: closure-compiler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 19
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
+
- 1
|
8
9
|
- 0
|
9
|
-
|
10
|
-
version: 1.0.0
|
10
|
+
version: 1.1.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jeremy Ashkenas
|
@@ -31,8 +31,8 @@ extra_rdoc_files: []
|
|
31
31
|
files:
|
32
32
|
- lib/closure/compiler.rb
|
33
33
|
- lib/closure/popen.rb
|
34
|
+
- lib/closure-compiler-20110322.jar
|
34
35
|
- lib/closure-compiler.rb
|
35
|
-
- vendor/closure-compiler-20110119.jar
|
36
36
|
- closure-compiler.gemspec
|
37
37
|
- README.textile
|
38
38
|
- LICENSE
|
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements: []
|
72
72
|
|
73
73
|
rubyforge_project: closure-compiler
|
74
|
-
rubygems_version: 1.
|
74
|
+
rubygems_version: 1.6.2
|
75
75
|
signing_key:
|
76
76
|
specification_version: 3
|
77
77
|
summary: Ruby Wrapper for the Google Closure Compiler
|