closure-compiler 1.1.10 → 1.1.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
- ---
2
- SHA1:
3
- data.tar.gz: 3a5f75e9aa8c6320fa9c9bd594d2545d5cdb0ace
4
- metadata.gz: 8cd0299162f99a0a029a7316e2ca2cc650491ca6
5
- SHA512:
6
- data.tar.gz: 170a2a3b0e3521c44b8b7c62d4aea2084f5e92b414578fa1a1caec2ce27cc50c3d3142c792ce989a5beae76ab863693696a50e2d3a1a691b5b01c2ef8ffa351e
7
- metadata.gz: ab9df27bb577860adabf560e6f74aa9ab13e264ff3666097d33d76b83663539931ef82c3bc4f7239e016a68581c0491fa9d64c517c1b5cb7cbd6fb4093441fac
1
+ ---
2
+ SHA1:
3
+ metadata.gz: fd2657a8a34ce0dc45d830ebb163268da359ac28
4
+ data.tar.gz: 87df5dffb4fb1e1c96208788eef3c7bdd1802a44
5
+ SHA512:
6
+ metadata.gz: 9fec09d3622429d1c044bcac2432f64a72b61d12ad0caabf3c80e6e45f7a6dc6d186303dd8d6e58c9503836d533da76f647d2b7485978517e21138270b37d7ad
7
+ data.tar.gz: e49febb9e295666889f68b2aaedd8fb27ca4a121d02213c9861bef65707906ed2bc1fe82598e32f633f86681e13dc9436eb6307af4294b1e7dca5f24bacd42d0
@@ -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.8":http://rubygems.org/gems/closure-compiler*
5
+ Latest Version: *"1.1.11":http://rubygems.org/gems/closure-compiler*
6
6
 
7
- The Closure Compiler's *2012-12-12* JAR-file is included with the gem.
7
+ The Closure Compiler's *2014-07-30* 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.10' # Keep version in sync with closure-compiler.rb
4
- s.date = '2013-05-28'
3
+ s.version = '1.1.11' # Keep version in sync with closure-compiler.rb
4
+ s.date = '2014-07-30'
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.10"
3
+ VERSION = "1.1.11"
4
4
 
5
- COMPILER_VERSION = "20130411"
5
+ COMPILER_VERSION = "20140730"
6
6
 
7
7
  JAVA_COMMAND = 'java'
8
8
 
@@ -11,7 +11,7 @@ module Closure
11
11
  class Compiler
12
12
 
13
13
  attr_accessor :options
14
-
14
+
15
15
  DEFAULT_OPTIONS = {
16
16
  :warning_level => 'QUIET',
17
17
  :language_in => 'ECMASCRIPT5'
@@ -58,7 +58,8 @@ module Closure
58
58
  @options.merge!(:js => files)
59
59
 
60
60
  begin
61
- result = `#{command} 2>&1`
61
+ redirect_stderr = "2>&1" if !Gem.win_platform?
62
+ result = `#{command} #{redirect_stderr}`
62
63
  rescue Exception
63
64
  raise Error, "compression failed: #{result}"
64
65
  end
metadata CHANGED
@@ -1,29 +1,25 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: closure-compiler
3
- version: !ruby/object:Gem::Version
4
- version: 1.1.10
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.11
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - Jeremy Ashkenas
8
8
  - Jordan Brough
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2013-05-28 00:00:00 Z
12
+ date: 2014-07-30 00:00:00.000000000 Z
14
13
  dependencies: []
15
-
16
- description: " A Ruby Wrapper for the Google Closure Compiler.\n"
14
+ description: |2
15
+ A Ruby Wrapper for the Google Closure Compiler.
17
16
  email: opensource@documentcloud.org
18
17
  executables: []
19
-
20
18
  extensions: []
21
-
22
19
  extra_rdoc_files: []
23
-
24
- files:
20
+ files:
25
21
  - lib/closure/compiler.rb
26
- - lib/closure-compiler-20130411.jar
22
+ - lib/closure-compiler-20140730.jar
27
23
  - lib/closure-compiler.rb
28
24
  - closure-compiler.gemspec
29
25
  - README.textile
@@ -31,34 +27,30 @@ files:
31
27
  - COPYING
32
28
  homepage: http://github.com/documentcloud/closure-compiler/
33
29
  licenses: []
34
-
35
30
  metadata: {}
36
-
37
31
  post_install_message:
38
- rdoc_options:
32
+ rdoc_options:
39
33
  - --title
40
34
  - Ruby Closure Compiler
41
35
  - --exclude
42
36
  - test
43
37
  - --all
44
- require_paths:
38
+ require_paths:
45
39
  - lib
46
- required_ruby_version: !ruby/object:Gem::Requirement
47
- requirements:
48
- - &id001
49
- - ">="
50
- - !ruby/object:Gem::Version
51
- version: "0"
52
- required_rubygems_version: !ruby/object:Gem::Requirement
53
- requirements:
54
- - *id001
40
+ required_ruby_version: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
45
+ required_rubygems_version: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - '>='
48
+ - !ruby/object:Gem::Version
49
+ version: '0'
55
50
  requirements: []
56
-
57
51
  rubyforge_project: closure-compiler
58
- rubygems_version: 2.0.3
52
+ rubygems_version: 2.0.14
59
53
  signing_key:
60
54
  specification_version: 4
61
55
  summary: Ruby Wrapper for the Google Closure Compiler
62
56
  test_files: []
63
-
64
- has_rdoc: