ktheory-juicer 1.0.0.ktheory1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +30 -0
- data/Manifest.txt +58 -0
- data/Rakefile +96 -0
- data/Readme.rdoc +312 -0
- data/VERSION +1 -0
- data/bin/juicer +8 -0
- data/lib/juicer.rb +70 -0
- data/lib/juicer/asset/path.rb +275 -0
- data/lib/juicer/asset/path_resolver.rb +79 -0
- data/lib/juicer/binary.rb +171 -0
- data/lib/juicer/cache_buster.rb +130 -0
- data/lib/juicer/chainable.rb +106 -0
- data/lib/juicer/cli.rb +56 -0
- data/lib/juicer/command/install.rb +61 -0
- data/lib/juicer/command/list.rb +57 -0
- data/lib/juicer/command/merge.rb +205 -0
- data/lib/juicer/command/util.rb +32 -0
- data/lib/juicer/command/verify.rb +60 -0
- data/lib/juicer/css_cache_buster.rb +80 -0
- data/lib/juicer/datafy/datafy.rb +20 -0
- data/lib/juicer/dependency_resolver/css_dependency_resolver.rb +29 -0
- data/lib/juicer/dependency_resolver/dependency_resolver.rb +101 -0
- data/lib/juicer/dependency_resolver/javascript_dependency_resolver.rb +23 -0
- data/lib/juicer/ext/logger.rb +5 -0
- data/lib/juicer/ext/string.rb +47 -0
- data/lib/juicer/ext/symbol.rb +15 -0
- data/lib/juicer/image_embed.rb +136 -0
- data/lib/juicer/install/base.rb +186 -0
- data/lib/juicer/install/closure_compiler_installer.rb +69 -0
- data/lib/juicer/install/jslint_installer.rb +51 -0
- data/lib/juicer/install/rhino_installer.rb +53 -0
- data/lib/juicer/install/yui_compressor_installer.rb +67 -0
- data/lib/juicer/jslint.rb +90 -0
- data/lib/juicer/merger/base.rb +74 -0
- data/lib/juicer/merger/javascript_merger.rb +29 -0
- data/lib/juicer/merger/stylesheet_merger.rb +110 -0
- data/lib/juicer/minifyer/closure_compiler.rb +90 -0
- data/lib/juicer/minifyer/java_base.rb +77 -0
- data/lib/juicer/minifyer/yui_compressor.rb +96 -0
- data/test/bin/jslint-1.0.js +523 -0
- data/test/bin/jslint.js +523 -0
- data/test/bin/rhino1_7R1.zip +0 -0
- data/test/bin/rhino1_7R2-RC1.jar +0 -0
- data/test/bin/rhino1_7R2-RC1.zip +0 -0
- data/test/bin/yuicompressor +0 -0
- data/test/bin/yuicompressor-2.3.5.zip +0 -0
- data/test/bin/yuicompressor-2.4.2.jar +0 -0
- data/test/bin/yuicompressor-2.4.2.zip +0 -0
- data/test/data/Changelog.txt +10 -0
- data/test/data/a.css +3 -0
- data/test/data/a.js +5 -0
- data/test/data/a1.css +5 -0
- data/test/data/b.css +1 -0
- data/test/data/b.js +5 -0
- data/test/data/b1.css +5 -0
- data/test/data/c1.css +3 -0
- data/test/data/css/2.gif +1 -0
- data/test/data/css/test.css +11 -0
- data/test/data/css/test2.css +1 -0
- data/test/data/d1.css +3 -0
- data/test/data/images/1.png +1 -0
- data/test/data/my_app.js +2 -0
- data/test/data/not-ok.js +2 -0
- data/test/data/ok.js +3 -0
- data/test/data/path_test.css +5 -0
- data/test/data/path_test2.css +14 -0
- data/test/data/pkg/module/moda.js +2 -0
- data/test/data/pkg/module/modb.js +3 -0
- data/test/data/pkg/pkg.js +1 -0
- data/test/test_helper.rb +169 -0
- data/test/unit/juicer/asset/path_resolver_test.rb +76 -0
- data/test/unit/juicer/asset/path_test.rb +370 -0
- data/test/unit/juicer/cache_buster_test.rb +104 -0
- data/test/unit/juicer/chainable_test.rb +94 -0
- data/test/unit/juicer/command/install_test.rb +58 -0
- data/test/unit/juicer/command/list_test.rb +81 -0
- data/test/unit/juicer/command/merge_test.rb +162 -0
- data/test/unit/juicer/command/util_test.rb +58 -0
- data/test/unit/juicer/command/verify_test.rb +48 -0
- data/test/unit/juicer/css_cache_buster_test.rb +71 -0
- data/test/unit/juicer/datafy_test.rb +37 -0
- data/test/unit/juicer/dependency_resolver/css_dependency_resolver_test.rb +36 -0
- data/test/unit/juicer/dependency_resolver/javascript_dependency_resolver_test.rb +50 -0
- data/test/unit/juicer/ext/string_test.rb +59 -0
- data/test/unit/juicer/ext/symbol_test.rb +27 -0
- data/test/unit/juicer/image_embed_test.rb +271 -0
- data/test/unit/juicer/install/installer_base_test.rb +214 -0
- data/test/unit/juicer/install/jslint_installer_test.rb +54 -0
- data/test/unit/juicer/install/rhino_installer_test.rb +57 -0
- data/test/unit/juicer/install/yui_compressor_test.rb +56 -0
- data/test/unit/juicer/jslint_test.rb +60 -0
- data/test/unit/juicer/merger/base_test.rb +122 -0
- data/test/unit/juicer/merger/javascript_merger_test.rb +74 -0
- data/test/unit/juicer/merger/stylesheet_merger_test.rb +180 -0
- data/test/unit/juicer/minifyer/closure_compressor_test.rb +107 -0
- data/test/unit/juicer/minifyer/yui_compressor_test.rb +116 -0
- data/test/unit/juicer_test.rb +1 -0
- metadata +265 -0
@@ -0,0 +1 @@
|
|
1
|
+
require "test_helper"
|
metadata
ADDED
@@ -0,0 +1,265 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ktheory-juicer
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0.ktheory1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Christian Johansen
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2010-01-20 00:00:00 -05:00
|
13
|
+
default_executable: juicer
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: shoulda
|
17
|
+
type: :development
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 2.10.2
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: mocha
|
27
|
+
type: :development
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.9.8
|
34
|
+
version:
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: fakefs
|
37
|
+
type: :development
|
38
|
+
version_requirement:
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 0.2.1
|
44
|
+
version:
|
45
|
+
- !ruby/object:Gem::Dependency
|
46
|
+
name: jeweler
|
47
|
+
type: :development
|
48
|
+
version_requirement:
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 0.2.1
|
54
|
+
version:
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: redgreen
|
57
|
+
type: :development
|
58
|
+
version_requirement:
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 1.2.2
|
64
|
+
version:
|
65
|
+
- !ruby/object:Gem::Dependency
|
66
|
+
name: cmdparse
|
67
|
+
type: :runtime
|
68
|
+
version_requirement:
|
69
|
+
version_requirements: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: "0"
|
74
|
+
version:
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: nokogiri
|
77
|
+
type: :runtime
|
78
|
+
version_requirement:
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: "0"
|
84
|
+
version:
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: rubyzip
|
87
|
+
type: :runtime
|
88
|
+
version_requirement:
|
89
|
+
version_requirements: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - ">="
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: "0"
|
94
|
+
version:
|
95
|
+
description: Resolve dependencies, merge and minify CSS and JavaScript files with Juicer - the command line tool for frontend engineers
|
96
|
+
email: christian@cjohansen.no
|
97
|
+
executables:
|
98
|
+
- juicer
|
99
|
+
extensions: []
|
100
|
+
|
101
|
+
extra_rdoc_files: []
|
102
|
+
|
103
|
+
files:
|
104
|
+
- History.txt
|
105
|
+
- Manifest.txt
|
106
|
+
- Rakefile
|
107
|
+
- Readme.rdoc
|
108
|
+
- VERSION
|
109
|
+
- bin/juicer
|
110
|
+
- lib/juicer.rb
|
111
|
+
- lib/juicer/asset/path.rb
|
112
|
+
- lib/juicer/asset/path_resolver.rb
|
113
|
+
- lib/juicer/binary.rb
|
114
|
+
- lib/juicer/cache_buster.rb
|
115
|
+
- lib/juicer/chainable.rb
|
116
|
+
- lib/juicer/cli.rb
|
117
|
+
- lib/juicer/command/install.rb
|
118
|
+
- lib/juicer/command/list.rb
|
119
|
+
- lib/juicer/command/merge.rb
|
120
|
+
- lib/juicer/command/util.rb
|
121
|
+
- lib/juicer/command/verify.rb
|
122
|
+
- lib/juicer/css_cache_buster.rb
|
123
|
+
- lib/juicer/datafy/datafy.rb
|
124
|
+
- lib/juicer/dependency_resolver/css_dependency_resolver.rb
|
125
|
+
- lib/juicer/dependency_resolver/dependency_resolver.rb
|
126
|
+
- lib/juicer/dependency_resolver/javascript_dependency_resolver.rb
|
127
|
+
- lib/juicer/ext/logger.rb
|
128
|
+
- lib/juicer/ext/string.rb
|
129
|
+
- lib/juicer/ext/symbol.rb
|
130
|
+
- lib/juicer/image_embed.rb
|
131
|
+
- lib/juicer/install/base.rb
|
132
|
+
- lib/juicer/install/closure_compiler_installer.rb
|
133
|
+
- lib/juicer/install/jslint_installer.rb
|
134
|
+
- lib/juicer/install/rhino_installer.rb
|
135
|
+
- lib/juicer/install/yui_compressor_installer.rb
|
136
|
+
- lib/juicer/jslint.rb
|
137
|
+
- lib/juicer/merger/base.rb
|
138
|
+
- lib/juicer/merger/javascript_merger.rb
|
139
|
+
- lib/juicer/merger/stylesheet_merger.rb
|
140
|
+
- lib/juicer/minifyer/closure_compiler.rb
|
141
|
+
- lib/juicer/minifyer/java_base.rb
|
142
|
+
- lib/juicer/minifyer/yui_compressor.rb
|
143
|
+
- test/bin/jslint-1.0.js
|
144
|
+
- test/bin/jslint.js
|
145
|
+
- test/bin/rhino1_7R1.zip
|
146
|
+
- test/bin/rhino1_7R2-RC1.jar
|
147
|
+
- test/bin/rhino1_7R2-RC1.zip
|
148
|
+
- test/bin/yuicompressor
|
149
|
+
- test/bin/yuicompressor-2.3.5.zip
|
150
|
+
- test/bin/yuicompressor-2.4.2.jar
|
151
|
+
- test/bin/yuicompressor-2.4.2.zip
|
152
|
+
- test/data/Changelog.txt
|
153
|
+
- test/data/a.css
|
154
|
+
- test/data/a.js
|
155
|
+
- test/data/a1.css
|
156
|
+
- test/data/b.css
|
157
|
+
- test/data/b.js
|
158
|
+
- test/data/b1.css
|
159
|
+
- test/data/c1.css
|
160
|
+
- test/data/css/2.gif
|
161
|
+
- test/data/css/test.css
|
162
|
+
- test/data/css/test2.css
|
163
|
+
- test/data/d1.css
|
164
|
+
- test/data/images/1.png
|
165
|
+
- test/data/my_app.js
|
166
|
+
- test/data/not-ok.js
|
167
|
+
- test/data/ok.js
|
168
|
+
- test/data/path_test.css
|
169
|
+
- test/data/path_test2.css
|
170
|
+
- test/data/pkg/module/moda.js
|
171
|
+
- test/data/pkg/module/modb.js
|
172
|
+
- test/data/pkg/pkg.js
|
173
|
+
- test/test_helper.rb
|
174
|
+
- test/unit/juicer/asset/path_resolver_test.rb
|
175
|
+
- test/unit/juicer/asset/path_test.rb
|
176
|
+
- test/unit/juicer/cache_buster_test.rb
|
177
|
+
- test/unit/juicer/chainable_test.rb
|
178
|
+
- test/unit/juicer/command/install_test.rb
|
179
|
+
- test/unit/juicer/command/list_test.rb
|
180
|
+
- test/unit/juicer/command/merge_test.rb
|
181
|
+
- test/unit/juicer/command/util_test.rb
|
182
|
+
- test/unit/juicer/command/verify_test.rb
|
183
|
+
- test/unit/juicer/css_cache_buster_test.rb
|
184
|
+
- test/unit/juicer/datafy_test.rb
|
185
|
+
- test/unit/juicer/dependency_resolver/css_dependency_resolver_test.rb
|
186
|
+
- test/unit/juicer/dependency_resolver/javascript_dependency_resolver_test.rb
|
187
|
+
- test/unit/juicer/ext/string_test.rb
|
188
|
+
- test/unit/juicer/ext/symbol_test.rb
|
189
|
+
- test/unit/juicer/image_embed_test.rb
|
190
|
+
- test/unit/juicer/install/installer_base_test.rb
|
191
|
+
- test/unit/juicer/install/jslint_installer_test.rb
|
192
|
+
- test/unit/juicer/install/rhino_installer_test.rb
|
193
|
+
- test/unit/juicer/install/yui_compressor_test.rb
|
194
|
+
- test/unit/juicer/jslint_test.rb
|
195
|
+
- test/unit/juicer/merger/base_test.rb
|
196
|
+
- test/unit/juicer/merger/javascript_merger_test.rb
|
197
|
+
- test/unit/juicer/merger/stylesheet_merger_test.rb
|
198
|
+
- test/unit/juicer/minifyer/closure_compressor_test.rb
|
199
|
+
- test/unit/juicer/minifyer/yui_compressor_test.rb
|
200
|
+
- test/unit/juicer_test.rb
|
201
|
+
has_rdoc: true
|
202
|
+
homepage: http://github.com/cjohansen/juicer
|
203
|
+
licenses: []
|
204
|
+
|
205
|
+
post_install_message: |
|
206
|
+
Juicer does not ship with third party libraries. You probably want to install
|
207
|
+
Yui Compressor and JsLint now:
|
208
|
+
|
209
|
+
juicer install yui_compressor
|
210
|
+
juicer install jslint
|
211
|
+
|
212
|
+
Happy juicing!
|
213
|
+
|
214
|
+
rdoc_options:
|
215
|
+
- --charset=UTF-8
|
216
|
+
require_paths:
|
217
|
+
- lib
|
218
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: "0"
|
223
|
+
version:
|
224
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
225
|
+
requirements:
|
226
|
+
- - ">"
|
227
|
+
- !ruby/object:Gem::Version
|
228
|
+
version: 1.3.1
|
229
|
+
version:
|
230
|
+
requirements: []
|
231
|
+
|
232
|
+
rubyforge_project: juicer
|
233
|
+
rubygems_version: 1.3.5
|
234
|
+
signing_key:
|
235
|
+
specification_version: 3
|
236
|
+
summary: Command line tool for CSS and JavaScript developers
|
237
|
+
test_files:
|
238
|
+
- test/test_helper.rb
|
239
|
+
- test/unit/juicer/asset/path_resolver_test.rb
|
240
|
+
- test/unit/juicer/asset/path_test.rb
|
241
|
+
- test/unit/juicer/cache_buster_test.rb
|
242
|
+
- test/unit/juicer/chainable_test.rb
|
243
|
+
- test/unit/juicer/command/install_test.rb
|
244
|
+
- test/unit/juicer/command/list_test.rb
|
245
|
+
- test/unit/juicer/command/merge_test.rb
|
246
|
+
- test/unit/juicer/command/util_test.rb
|
247
|
+
- test/unit/juicer/command/verify_test.rb
|
248
|
+
- test/unit/juicer/css_cache_buster_test.rb
|
249
|
+
- test/unit/juicer/datafy_test.rb
|
250
|
+
- test/unit/juicer/dependency_resolver/css_dependency_resolver_test.rb
|
251
|
+
- test/unit/juicer/dependency_resolver/javascript_dependency_resolver_test.rb
|
252
|
+
- test/unit/juicer/ext/string_test.rb
|
253
|
+
- test/unit/juicer/ext/symbol_test.rb
|
254
|
+
- test/unit/juicer/image_embed_test.rb
|
255
|
+
- test/unit/juicer/install/installer_base_test.rb
|
256
|
+
- test/unit/juicer/install/jslint_installer_test.rb
|
257
|
+
- test/unit/juicer/install/rhino_installer_test.rb
|
258
|
+
- test/unit/juicer/install/yui_compressor_test.rb
|
259
|
+
- test/unit/juicer/jslint_test.rb
|
260
|
+
- test/unit/juicer/merger/base_test.rb
|
261
|
+
- test/unit/juicer/merger/javascript_merger_test.rb
|
262
|
+
- test/unit/juicer/merger/stylesheet_merger_test.rb
|
263
|
+
- test/unit/juicer/minifyer/closure_compressor_test.rb
|
264
|
+
- test/unit/juicer/minifyer/yui_compressor_test.rb
|
265
|
+
- test/unit/juicer_test.rb
|