closure-compiler 1.1.3 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.1.3":http://gemcutter.org/gems/closure-compiler*
5
+ Latest Version: *"1.1.4":http://gemcutter.org/gems/closure-compiler*
6
6
 
7
- The Closure Compiler's *2011-08-11* JAR-file is included with the gem.
7
+ The Closure Compiler's *2011-10-03* JAR-file is included with the gem.
8
8
 
9
9
  h2. Installation
10
10
 
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'closure-compiler'
3
- s.version = '1.1.3' # Keep version in sync with closure-compiler.rb
4
- s.date = '2011-08-12'
3
+ s.version = '1.1.4' # Keep version in sync with closure-compiler.rb
4
+ s.date = '2011-10-03'
5
5
 
6
6
  s.homepage = "http://github.com/documentcloud/closure-compiler/"
7
7
  s.summary = "Ruby Wrapper for the Google Closure Compiler"
@@ -1,8 +1,8 @@
1
1
  module Closure
2
2
 
3
- VERSION = "1.1.3"
3
+ VERSION = "1.1.4"
4
4
 
5
- COMPILER_VERSION = "20110811"
5
+ COMPILER_VERSION = "20111003"
6
6
 
7
7
  JAVA_COMMAND = 'java'
8
8
 
@@ -34,9 +34,9 @@ module Closure
34
34
  tempfile.flush
35
35
 
36
36
  begin
37
- result = `#{command} --js #{tempfile.path}`
37
+ result = `#{command} --js #{tempfile.path} 2>&1`
38
38
  rescue Exception
39
- raise Error, "compression failed"
39
+ raise Error, "compression failed: #{result}"
40
40
  ensure
41
41
  tempfile.close!
42
42
  end
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: 21
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 3
10
- version: 1.1.3
9
+ - 4
10
+ version: 1.1.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jeremy Ashkenas
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-08-12 00:00:00 Z
19
+ date: 2011-10-03 00:00:00 Z
20
20
  dependencies: []
21
21
 
22
22
  description: " A Ruby Wrapper for the Google Closure Compiler.\n"
@@ -29,8 +29,7 @@ extra_rdoc_files: []
29
29
 
30
30
  files:
31
31
  - lib/closure/compiler.rb
32
- - lib/closure-compiler-20110322.jar
33
- - lib/closure-compiler-20110811.jar
32
+ - lib/closure-compiler-20111003.jar
34
33
  - lib/closure-compiler.rb
35
34
  - closure-compiler.gemspec
36
35
  - README.textile