closure-compiler 1.1.11 → 1.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.textile +4 -4
- data/closure-compiler.gemspec +3 -2
- data/lib/{closure-compiler-20140730.jar → closure-compiler-20151015.jar} +0 -0
- data/lib/closure-compiler.rb +2 -2
- metadata +17 -15
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2ca97f07ce79cd2a17bf6995ca99f6bcc09c9416
|
|
4
|
+
data.tar.gz: 15686a323f2b0c2597a1ba0aba3b138379fe8a97
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: df02806fd408d0882571a34958f21d507b973c797de50881a80b116f0bd6f831b376efc433ac40d0f838836859a61f670cf2f04130ac21fd89e460ab58d90bcb
|
|
7
|
+
data.tar.gz: ff3d8d9f4d33c1a9ca345cf5d02fdde8b99988483dfcc4656bb0889ae3d7e720e58dd699aa3f64b9d92b03aaf7346d7fa923cf90669344669f404603205ecf0e
|
data/README.textile
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
h1. The Closure Compiler (as a Ruby Gem)
|
|
2
2
|
|
|
3
|
-
The *closure-compiler* gem is a svelte wrapper around the "Google Closure Compiler":
|
|
3
|
+
The *closure-compiler* gem is a svelte wrapper around the "Google Closure Compiler":https://developers.google.com/closure/compiler/ for JavaScript compression.
|
|
4
4
|
|
|
5
|
-
Latest Version: *"1.1.
|
|
5
|
+
Latest Version: *"1.1.12":https://rubygems.org/gems/closure-compiler*
|
|
6
6
|
|
|
7
|
-
The Closure Compiler's *
|
|
7
|
+
The Closure Compiler's *2015-10-15* JAR-file is included with the gem.
|
|
8
8
|
|
|
9
9
|
h2. Installation
|
|
10
10
|
|
|
@@ -34,7 +34,7 @@ Closure::Compiler.new.compile_files(['underscore.js', 'jasmine.js']))
|
|
|
34
34
|
=> "(function(){var j=this,m=j._;function i(a){......
|
|
35
35
|
</pre>
|
|
36
36
|
|
|
37
|
-
When creating a @Closure::Compiler@, you can pass "any options that the command-line compiler accepts":
|
|
37
|
+
When creating a @Closure::Compiler@, you can pass "any options that the command-line compiler accepts":https://developers.google.com/closure/compiler/docs/gettingstarted_app to the initializer and they'll be forwarded. For example, to raise the compilation level up a notch:
|
|
38
38
|
|
|
39
39
|
<pre>
|
|
40
40
|
closure = Closure::Compiler.new(:compilation_level => 'ADVANCED_OPTIMIZATIONS')
|
data/closure-compiler.gemspec
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'closure-compiler'
|
|
3
|
-
s.version = '1.1.
|
|
4
|
-
s.date = '
|
|
3
|
+
s.version = '1.1.12' # Keep version in sync with closure-compiler.rb
|
|
4
|
+
s.date = '2015-11-12'
|
|
5
|
+
s.license = 'Apache-2.0'
|
|
5
6
|
|
|
6
7
|
s.homepage = "http://github.com/documentcloud/closure-compiler/"
|
|
7
8
|
s.summary = "Ruby Wrapper for the Google Closure Compiler"
|
|
Binary file
|
data/lib/closure-compiler.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: closure-compiler
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.12
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jeremy Ashkenas
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2015-11-12 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description: |2
|
|
15
15
|
A Ruby Wrapper for the Google Closure Compiler.
|
|
@@ -18,39 +18,41 @@ executables: []
|
|
|
18
18
|
extensions: []
|
|
19
19
|
extra_rdoc_files: []
|
|
20
20
|
files:
|
|
21
|
-
- lib/closure/compiler.rb
|
|
22
|
-
- lib/closure-compiler-20140730.jar
|
|
23
|
-
- lib/closure-compiler.rb
|
|
24
|
-
- closure-compiler.gemspec
|
|
25
|
-
- README.textile
|
|
26
|
-
- LICENSE
|
|
27
21
|
- COPYING
|
|
22
|
+
- LICENSE
|
|
23
|
+
- README.textile
|
|
24
|
+
- closure-compiler.gemspec
|
|
25
|
+
- lib/closure-compiler-20151015.jar
|
|
26
|
+
- lib/closure-compiler.rb
|
|
27
|
+
- lib/closure/compiler.rb
|
|
28
28
|
homepage: http://github.com/documentcloud/closure-compiler/
|
|
29
|
-
licenses:
|
|
29
|
+
licenses:
|
|
30
|
+
- Apache-2.0
|
|
30
31
|
metadata: {}
|
|
31
32
|
post_install_message:
|
|
32
33
|
rdoc_options:
|
|
33
|
-
- --title
|
|
34
|
+
- "--title"
|
|
34
35
|
- Ruby Closure Compiler
|
|
35
|
-
- --exclude
|
|
36
|
+
- "--exclude"
|
|
36
37
|
- test
|
|
37
|
-
- --all
|
|
38
|
+
- "--all"
|
|
38
39
|
require_paths:
|
|
39
40
|
- lib
|
|
40
41
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
41
42
|
requirements:
|
|
42
|
-
- -
|
|
43
|
+
- - ">="
|
|
43
44
|
- !ruby/object:Gem::Version
|
|
44
45
|
version: '0'
|
|
45
46
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
46
47
|
requirements:
|
|
47
|
-
- -
|
|
48
|
+
- - ">="
|
|
48
49
|
- !ruby/object:Gem::Version
|
|
49
50
|
version: '0'
|
|
50
51
|
requirements: []
|
|
51
52
|
rubyforge_project: closure-compiler
|
|
52
|
-
rubygems_version: 2.
|
|
53
|
+
rubygems_version: 2.4.8
|
|
53
54
|
signing_key:
|
|
54
55
|
specification_version: 4
|
|
55
56
|
summary: Ruby Wrapper for the Google Closure Compiler
|
|
56
57
|
test_files: []
|
|
58
|
+
has_rdoc:
|