uglifier 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of uglifier might be problematic. Click here for more details.
- checksums.yaml +7 -0
- data/.gitignore +43 -0
- data/.travis.yml +8 -12
- data/CHANGELOG.md +4 -0
- data/Gemfile +1 -21
- data/README.md +1 -1
- data/Rakefile +3 -12
- data/gemfiles/rubyracer +4 -0
- data/gemfiles/rubyrhino +4 -0
- data/lib/uglifier/version.rb +3 -0
- data/lib/uglifier.rb +2 -1
- data/lib/uglify.js +7 -7
- data/uglifier.gemspec +26 -68
- metadata +56 -66
data/uglifier.gemspec
CHANGED
@@ -1,75 +1,33 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'uglifier/version'
|
5
5
|
|
6
|
-
Gem::Specification.new do |
|
7
|
-
|
8
|
-
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "uglifier"
|
8
|
+
spec.version = Uglifier::VERSION
|
9
|
+
spec.authors = ["Ville Lautanala"]
|
10
|
+
spec.email = ["lautis@gmail.com"]
|
11
|
+
spec.homepage = "http://github.com/lautis/uglifier"
|
12
|
+
spec.summary = "Ruby wrapper for UglifyJS JavaScript compressor"
|
13
|
+
spec.description = "Uglifier minifies JavaScript files by wrapping UglifyJS to be accessible in Ruby"
|
14
|
+
spec.license = "MIT"
|
9
15
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
s.email = "lautis@gmail.com"
|
14
|
-
s.extra_rdoc_files = [
|
16
|
+
spec.required_ruby_version = '>= 1.8.7'
|
17
|
+
|
18
|
+
spec.extra_rdoc_files = [
|
15
19
|
"LICENSE.txt",
|
16
20
|
"README.md"
|
17
21
|
]
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
".rspec",
|
22
|
-
".travis.yml",
|
23
|
-
"CHANGELOG.md",
|
24
|
-
"CONTRIBUTING.md",
|
25
|
-
"Gemfile",
|
26
|
-
"LICENSE.txt",
|
27
|
-
"README.md",
|
28
|
-
"Rakefile",
|
29
|
-
"VERSION",
|
30
|
-
"lib/es5.js",
|
31
|
-
"lib/split.js",
|
32
|
-
"lib/uglifier.rb",
|
33
|
-
"lib/uglify.js",
|
34
|
-
"spec/source_map_spec.rb",
|
35
|
-
"spec/spec_helper.rb",
|
36
|
-
"spec/uglifier_spec.rb",
|
37
|
-
"uglifier.gemspec"
|
38
|
-
]
|
39
|
-
s.homepage = "http://github.com/lautis/uglifier"
|
40
|
-
s.licenses = ["MIT"]
|
41
|
-
s.require_paths = ["lib"]
|
42
|
-
s.rubygems_version = "1.8.23"
|
43
|
-
s.summary = "Ruby wrapper for UglifyJS JavaScript compressor"
|
22
|
+
spec.files = `git ls-files`.split($/)
|
23
|
+
spec.test_files = spec.files.grep(%r{^spec/})
|
24
|
+
spec.require_paths = ["lib"]
|
44
25
|
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
s.add_development_dependency(%q<bundler>, ["~> 1.0"])
|
53
|
-
s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
|
54
|
-
s.add_development_dependency(%q<rdoc>, [">= 3.11"])
|
55
|
-
s.add_development_dependency(%q<source_map>, [">= 0"])
|
56
|
-
else
|
57
|
-
s.add_dependency(%q<execjs>, [">= 0.3.0"])
|
58
|
-
s.add_dependency(%q<json>, [">= 1.8.0"])
|
59
|
-
s.add_dependency(%q<rspec>, ["~> 2.7"])
|
60
|
-
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
61
|
-
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
62
|
-
s.add_dependency(%q<rdoc>, [">= 3.11"])
|
63
|
-
s.add_dependency(%q<source_map>, [">= 0"])
|
64
|
-
end
|
65
|
-
else
|
66
|
-
s.add_dependency(%q<execjs>, [">= 0.3.0"])
|
67
|
-
s.add_dependency(%q<json>, [">= 1.8.0"])
|
68
|
-
s.add_dependency(%q<rspec>, ["~> 2.7"])
|
69
|
-
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
70
|
-
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
71
|
-
s.add_dependency(%q<rdoc>, [">= 3.11"])
|
72
|
-
s.add_dependency(%q<source_map>, [">= 0"])
|
73
|
-
end
|
26
|
+
spec.add_runtime_dependency "execjs", ">= 0.3.0"
|
27
|
+
spec.add_runtime_dependency "json", ">= 1.8.0"
|
28
|
+
spec.add_development_dependency "rspec", "~> 2.7"
|
29
|
+
spec.add_development_dependency "rake", "~> 10.1.0"
|
30
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
31
|
+
spec.add_development_dependency "rdoc", ">= 3.11"
|
32
|
+
spec.add_development_dependency "source_map", ">= 0"
|
74
33
|
end
|
75
|
-
|
metadata
CHANGED
@@ -1,130 +1,117 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uglifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
version: 2.3.0
|
4
|
+
version: 2.3.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Ville Lautanala
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-11-08 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
|
-
version_requirements: !ruby/object:Gem::Requirement
|
16
|
-
none: false
|
17
|
-
requirements:
|
18
|
-
- - ! '>='
|
19
|
-
- !ruby/object:Gem::Version
|
20
|
-
version: 0.3.0
|
21
14
|
name: execjs
|
22
|
-
prerelease: false
|
23
15
|
requirement: !ruby/object:Gem::Requirement
|
24
|
-
none: false
|
25
16
|
requirements:
|
26
|
-
- -
|
17
|
+
- - '>='
|
27
18
|
- !ruby/object:Gem::Version
|
28
19
|
version: 0.3.0
|
29
20
|
type: :runtime
|
30
|
-
|
21
|
+
prerelease: false
|
31
22
|
version_requirements: !ruby/object:Gem::Requirement
|
32
|
-
none: false
|
33
23
|
requirements:
|
34
|
-
- -
|
24
|
+
- - '>='
|
35
25
|
- !ruby/object:Gem::Version
|
36
|
-
version:
|
26
|
+
version: 0.3.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
37
28
|
name: json
|
38
|
-
prerelease: false
|
39
29
|
requirement: !ruby/object:Gem::Requirement
|
40
|
-
none: false
|
41
30
|
requirements:
|
42
|
-
- -
|
31
|
+
- - '>='
|
43
32
|
- !ruby/object:Gem::Version
|
44
33
|
version: 1.8.0
|
45
34
|
type: :runtime
|
46
|
-
|
35
|
+
prerelease: false
|
47
36
|
version_requirements: !ruby/object:Gem::Requirement
|
48
|
-
none: false
|
49
37
|
requirements:
|
50
|
-
- -
|
38
|
+
- - '>='
|
51
39
|
- !ruby/object:Gem::Version
|
52
|
-
version:
|
40
|
+
version: 1.8.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
53
42
|
name: rspec
|
54
|
-
prerelease: false
|
55
43
|
requirement: !ruby/object:Gem::Requirement
|
56
|
-
none: false
|
57
44
|
requirements:
|
58
45
|
- - ~>
|
59
46
|
- !ruby/object:Gem::Version
|
60
47
|
version: '2.7'
|
61
48
|
type: :development
|
62
|
-
|
49
|
+
prerelease: false
|
63
50
|
version_requirements: !ruby/object:Gem::Requirement
|
64
|
-
none: false
|
65
51
|
requirements:
|
66
52
|
- - ~>
|
67
53
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
69
|
-
|
70
|
-
|
54
|
+
version: '2.7'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
72
|
-
none: false
|
73
58
|
requirements:
|
74
59
|
- - ~>
|
75
60
|
- !ruby/object:Gem::Version
|
76
|
-
version:
|
61
|
+
version: 10.1.0
|
77
62
|
type: :development
|
78
|
-
|
63
|
+
prerelease: false
|
79
64
|
version_requirements: !ruby/object:Gem::Requirement
|
80
|
-
none: false
|
81
65
|
requirements:
|
82
66
|
- - ~>
|
83
67
|
- !ruby/object:Gem::Version
|
84
|
-
version: 1.
|
85
|
-
|
86
|
-
|
68
|
+
version: 10.1.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bundler
|
87
71
|
requirement: !ruby/object:Gem::Requirement
|
88
|
-
none: false
|
89
72
|
requirements:
|
90
73
|
- - ~>
|
91
74
|
- !ruby/object:Gem::Version
|
92
|
-
version: 1.
|
75
|
+
version: '1.3'
|
93
76
|
type: :development
|
94
|
-
|
77
|
+
prerelease: false
|
95
78
|
version_requirements: !ruby/object:Gem::Requirement
|
96
|
-
none: false
|
97
79
|
requirements:
|
98
|
-
- -
|
80
|
+
- - ~>
|
99
81
|
- !ruby/object:Gem::Version
|
100
|
-
version: '3
|
82
|
+
version: '1.3'
|
83
|
+
- !ruby/object:Gem::Dependency
|
101
84
|
name: rdoc
|
102
|
-
prerelease: false
|
103
85
|
requirement: !ruby/object:Gem::Requirement
|
104
|
-
none: false
|
105
86
|
requirements:
|
106
|
-
- -
|
87
|
+
- - '>='
|
107
88
|
- !ruby/object:Gem::Version
|
108
89
|
version: '3.11'
|
109
90
|
type: :development
|
110
|
-
|
91
|
+
prerelease: false
|
111
92
|
version_requirements: !ruby/object:Gem::Requirement
|
112
|
-
none: false
|
113
93
|
requirements:
|
114
|
-
- -
|
94
|
+
- - '>='
|
115
95
|
- !ruby/object:Gem::Version
|
116
|
-
version: '
|
96
|
+
version: '3.11'
|
97
|
+
- !ruby/object:Gem::Dependency
|
117
98
|
name: source_map
|
118
|
-
prerelease: false
|
119
99
|
requirement: !ruby/object:Gem::Requirement
|
120
|
-
none: false
|
121
100
|
requirements:
|
122
|
-
- -
|
101
|
+
- - '>='
|
123
102
|
- !ruby/object:Gem::Version
|
124
103
|
version: '0'
|
125
104
|
type: :development
|
126
|
-
|
127
|
-
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
description: Uglifier minifies JavaScript files by wrapping UglifyJS to be accessible
|
112
|
+
in Ruby
|
113
|
+
email:
|
114
|
+
- lautis@gmail.com
|
128
115
|
executables: []
|
129
116
|
extensions: []
|
130
117
|
extra_rdoc_files:
|
@@ -132,6 +119,7 @@ extra_rdoc_files:
|
|
132
119
|
- README.md
|
133
120
|
files:
|
134
121
|
- .document
|
122
|
+
- .gitignore
|
135
123
|
- .gitmodules
|
136
124
|
- .rspec
|
137
125
|
- .travis.yml
|
@@ -142,9 +130,12 @@ files:
|
|
142
130
|
- README.md
|
143
131
|
- Rakefile
|
144
132
|
- VERSION
|
133
|
+
- gemfiles/rubyracer
|
134
|
+
- gemfiles/rubyrhino
|
145
135
|
- lib/es5.js
|
146
136
|
- lib/split.js
|
147
137
|
- lib/uglifier.rb
|
138
|
+
- lib/uglifier/version.rb
|
148
139
|
- lib/uglify.js
|
149
140
|
- spec/source_map_spec.rb
|
150
141
|
- spec/spec_helper.rb
|
@@ -153,29 +144,28 @@ files:
|
|
153
144
|
homepage: http://github.com/lautis/uglifier
|
154
145
|
licenses:
|
155
146
|
- MIT
|
147
|
+
metadata: {}
|
156
148
|
post_install_message:
|
157
149
|
rdoc_options: []
|
158
150
|
require_paths:
|
159
151
|
- lib
|
160
152
|
required_ruby_version: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
153
|
requirements:
|
163
|
-
- -
|
154
|
+
- - '>='
|
164
155
|
- !ruby/object:Gem::Version
|
165
|
-
|
166
|
-
- 0
|
167
|
-
hash: 4559665843450366222
|
168
|
-
version: '0'
|
156
|
+
version: 1.8.7
|
169
157
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
170
|
-
none: false
|
171
158
|
requirements:
|
172
|
-
- -
|
159
|
+
- - '>='
|
173
160
|
- !ruby/object:Gem::Version
|
174
161
|
version: '0'
|
175
162
|
requirements: []
|
176
163
|
rubyforge_project:
|
177
|
-
rubygems_version:
|
164
|
+
rubygems_version: 2.0.3
|
178
165
|
signing_key:
|
179
|
-
specification_version:
|
166
|
+
specification_version: 4
|
180
167
|
summary: Ruby wrapper for UglifyJS JavaScript compressor
|
181
|
-
test_files:
|
168
|
+
test_files:
|
169
|
+
- spec/source_map_spec.rb
|
170
|
+
- spec/spec_helper.rb
|
171
|
+
- spec/uglifier_spec.rb
|