psyho_juicer 1.0.0

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