juicer 1.0.17 → 1.0.18

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- juicer (1.0.16)
4
+ juicer (1.0.17)
5
5
  cmdparse
6
6
  nokogiri (>= 1.5.0)
7
7
  rubyzip
@@ -1,3 +1,6 @@
1
+ == 1.0.18 / 2012-11-16
2
+ * Download YUI Compressor via GitHub's CDN
3
+
1
4
  == 1.0.17 / 2012-10-15
2
5
  * YUI Compressor moved to GitHub
3
6
 
@@ -156,29 +156,23 @@ stylesheets like this:
156
156
 
157
157
  <head>
158
158
  ...
159
- <!--[if !IE]>-->
159
+ <!--[if gte IE 8]><!-->
160
160
  <link rel="stylesheet" type="text/css" href="master.embedded.css" />
161
161
  <!--<![endif]-->
162
- <!--[if gte IE 8]>
163
- <link rel="stylesheet" type="text/css" href="master.embedded.css" />
164
- <![endif]-->
165
162
  <!--[if lte IE 7]>
166
163
  <link rel="stylesheet" type="text/css" href="master.normal.css" />
167
164
  <![endif]-->
168
165
  ...
169
166
  </head>
170
167
 
171
- The first conditional comemnt allows only non-IE browsers to fetch the
172
- <code>master.embedded.css</code> stylesheet.
173
-
174
- The second conditional comment allows only IE8+ browsers to fetch the
168
+ The first conditional comemnt allows only non-IE and IE8+ browsers to fetch the
175
169
  <code>master.embedded.css</code> stylesheet.
176
170
 
177
- The last conditional comment allows only IE7 and lower to fetch the
171
+ The second conditional comment allows only IE7 and lower to fetch the
178
172
  <code>master.normal.css</code> stylesheet.
179
-
180
- Unfortunately, you will need to use three conditional comments, or you will end
181
- up with an unsightly "-->" displayed at the top of your pages in IE.
173
+
174
+ Be ware that if you embed images over 32kb IE8 will not show them.
175
+ In this case bump the version numers up by one in both conditional comments.
182
176
 
183
177
  ==== Browser support
184
178
  Windows Vista, Windows 2003, Windows 7
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.17
1
+ 1.0.18
@@ -3,7 +3,7 @@ require "logger"
3
3
  module Juicer
4
4
 
5
5
  # :stopdoc:
6
- VERSION = "1.0.17"
6
+ VERSION = "1.0.18"
7
7
  LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
8
8
  PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR
9
9
  LOGGER = Logger.new(STDOUT)
@@ -15,6 +15,7 @@ module Juicer
15
15
  @latest = nil
16
16
  @href = nil
17
17
  @website = 'https://github.com/yui/yuicompressor/downloads'
18
+ @cdn = 'http://cloud.github.com'
18
19
  end
19
20
 
20
21
  #
@@ -29,7 +30,7 @@ module Juicer
29
30
  def install(version = nil)
30
31
  version = super(version)
31
32
  base = "yuicompressor-#{version}"
32
- filename = download(@href)
33
+ filename = download(@cdn+@href)
33
34
  target = File.join(@install_dir, path)
34
35
 
35
36
  Zip::ZipFile.open(filename) do |file|
metadata CHANGED
@@ -1,284 +1,280 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: juicer
3
- version: !ruby/object:Gem::Version
4
- hash: 53
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.18
5
5
  prerelease:
6
- segments:
7
- - 1
8
- - 0
9
- - 17
10
- version: 1.0.17
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Christian Johansen
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-05-03 00:00:00 +02:00
19
- default_executable: juicer
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
12
+ date: 2012-05-03 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
22
15
  name: shoulda
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 35
30
- segments:
31
- - 2
32
- - 10
33
- - 2
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
34
21
  version: 2.10.2
35
22
  type: :development
36
- version_requirements: *id001
37
- - !ruby/object:Gem::Dependency
38
- name: mocha
39
23
  prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- hash: 43
46
- segments:
47
- - 0
48
- - 9
49
- - 8
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 2.10.2
30
+ - !ruby/object:Gem::Dependency
31
+ name: mocha
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
50
37
  version: 0.9.8
51
38
  type: :development
52
- version_requirements: *id002
53
- - !ruby/object:Gem::Dependency
54
- name: fakefs
55
39
  prerelease: false
56
- requirement: &id003 !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- hash: 21
62
- segments:
63
- - 0
64
- - 2
65
- - 1
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: 0.9.8
46
+ - !ruby/object:Gem::Dependency
47
+ name: fakefs
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
66
53
  version: 0.2.1
67
54
  type: :development
68
- version_requirements: *id003
69
- - !ruby/object:Gem::Dependency
70
- name: shoulda
71
55
  prerelease: false
72
- requirement: &id004 !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ">="
76
- - !ruby/object:Gem::Version
77
- hash: 35
78
- segments:
79
- - 2
80
- - 10
81
- - 2
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: 0.2.1
62
+ - !ruby/object:Gem::Dependency
63
+ name: shoulda
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
82
69
  version: 2.10.2
83
70
  type: :development
84
- version_requirements: *id004
85
- - !ruby/object:Gem::Dependency
86
- name: mocha
87
71
  prerelease: false
88
- requirement: &id005 !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ">="
92
- - !ruby/object:Gem::Version
93
- hash: 43
94
- segments:
95
- - 0
96
- - 9
97
- - 8
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: 2.10.2
78
+ - !ruby/object:Gem::Dependency
79
+ name: mocha
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
98
85
  version: 0.9.8
99
86
  type: :development
100
- version_requirements: *id005
101
- - !ruby/object:Gem::Dependency
102
- name: fakefs
103
87
  prerelease: false
104
- requirement: &id006 !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- hash: 21
110
- segments:
111
- - 0
112
- - 2
113
- - 1
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: 0.9.8
94
+ - !ruby/object:Gem::Dependency
95
+ name: fakefs
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
114
101
  version: 0.2.1
115
102
  type: :development
116
- version_requirements: *id006
117
- - !ruby/object:Gem::Dependency
118
- name: jeweler
119
103
  prerelease: false
120
- requirement: &id007 !ruby/object:Gem::Requirement
121
- none: false
122
- requirements:
123
- - - ">="
124
- - !ruby/object:Gem::Version
125
- hash: 21
126
- segments:
127
- - 0
128
- - 2
129
- - 1
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: 0.2.1
110
+ - !ruby/object:Gem::Dependency
111
+ name: jeweler
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
130
117
  version: 0.2.1
131
118
  type: :development
132
- version_requirements: *id007
133
- - !ruby/object:Gem::Dependency
134
- name: redgreen
135
119
  prerelease: false
136
- requirement: &id008 !ruby/object:Gem::Requirement
137
- none: false
138
- requirements:
139
- - - ">="
140
- - !ruby/object:Gem::Version
141
- hash: 27
142
- segments:
143
- - 1
144
- - 2
145
- - 2
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: 0.2.1
126
+ - !ruby/object:Gem::Dependency
127
+ name: redgreen
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
146
133
  version: 1.2.2
147
134
  type: :development
148
- version_requirements: *id008
149
- - !ruby/object:Gem::Dependency
150
- name: shoulda
151
135
  prerelease: false
152
- requirement: &id009 !ruby/object:Gem::Requirement
153
- none: false
154
- requirements:
155
- - - ">="
156
- - !ruby/object:Gem::Version
157
- hash: 35
158
- segments:
159
- - 2
160
- - 10
161
- - 2
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: 1.2.2
142
+ - !ruby/object:Gem::Dependency
143
+ name: shoulda
144
+ requirement: !ruby/object:Gem::Requirement
145
+ none: false
146
+ requirements:
147
+ - - ! '>='
148
+ - !ruby/object:Gem::Version
162
149
  version: 2.10.2
163
150
  type: :development
164
- version_requirements: *id009
165
- - !ruby/object:Gem::Dependency
166
- name: mocha
167
151
  prerelease: false
168
- requirement: &id010 !ruby/object:Gem::Requirement
169
- none: false
170
- requirements:
171
- - - ">="
172
- - !ruby/object:Gem::Version
173
- hash: 43
174
- segments:
175
- - 0
176
- - 9
177
- - 8
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ! '>='
156
+ - !ruby/object:Gem::Version
157
+ version: 2.10.2
158
+ - !ruby/object:Gem::Dependency
159
+ name: mocha
160
+ requirement: !ruby/object:Gem::Requirement
161
+ none: false
162
+ requirements:
163
+ - - ! '>='
164
+ - !ruby/object:Gem::Version
178
165
  version: 0.9.8
179
166
  type: :development
180
- version_requirements: *id010
181
- - !ruby/object:Gem::Dependency
182
- name: fakefs
183
167
  prerelease: false
184
- requirement: &id011 !ruby/object:Gem::Requirement
185
- none: false
186
- requirements:
187
- - - ">="
188
- - !ruby/object:Gem::Version
189
- hash: 21
190
- segments:
191
- - 0
192
- - 2
193
- - 1
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
170
+ requirements:
171
+ - - ! '>='
172
+ - !ruby/object:Gem::Version
173
+ version: 0.9.8
174
+ - !ruby/object:Gem::Dependency
175
+ name: fakefs
176
+ requirement: !ruby/object:Gem::Requirement
177
+ none: false
178
+ requirements:
179
+ - - ! '>='
180
+ - !ruby/object:Gem::Version
194
181
  version: 0.2.1
195
182
  type: :development
196
- version_requirements: *id011
197
- - !ruby/object:Gem::Dependency
198
- name: jeweler
199
183
  prerelease: false
200
- requirement: &id012 !ruby/object:Gem::Requirement
201
- none: false
202
- requirements:
203
- - - ">="
204
- - !ruby/object:Gem::Version
205
- hash: 21
206
- segments:
207
- - 0
208
- - 2
209
- - 1
184
+ version_requirements: !ruby/object:Gem::Requirement
185
+ none: false
186
+ requirements:
187
+ - - ! '>='
188
+ - !ruby/object:Gem::Version
189
+ version: 0.2.1
190
+ - !ruby/object:Gem::Dependency
191
+ name: jeweler
192
+ requirement: !ruby/object:Gem::Requirement
193
+ none: false
194
+ requirements:
195
+ - - ! '>='
196
+ - !ruby/object:Gem::Version
210
197
  version: 0.2.1
211
198
  type: :development
212
- version_requirements: *id012
213
- - !ruby/object:Gem::Dependency
214
- name: redgreen
215
199
  prerelease: false
216
- requirement: &id013 !ruby/object:Gem::Requirement
217
- none: false
218
- requirements:
219
- - - ">="
220
- - !ruby/object:Gem::Version
221
- hash: 27
222
- segments:
223
- - 1
224
- - 2
225
- - 2
200
+ version_requirements: !ruby/object:Gem::Requirement
201
+ none: false
202
+ requirements:
203
+ - - ! '>='
204
+ - !ruby/object:Gem::Version
205
+ version: 0.2.1
206
+ - !ruby/object:Gem::Dependency
207
+ name: redgreen
208
+ requirement: !ruby/object:Gem::Requirement
209
+ none: false
210
+ requirements:
211
+ - - ! '>='
212
+ - !ruby/object:Gem::Version
226
213
  version: 1.2.2
227
214
  type: :development
228
- version_requirements: *id013
229
- - !ruby/object:Gem::Dependency
230
- name: cmdparse
231
215
  prerelease: false
232
- requirement: &id014 !ruby/object:Gem::Requirement
233
- none: false
234
- requirements:
235
- - - ">="
236
- - !ruby/object:Gem::Version
237
- hash: 3
238
- segments:
239
- - 0
240
- version: "0"
216
+ version_requirements: !ruby/object:Gem::Requirement
217
+ none: false
218
+ requirements:
219
+ - - ! '>='
220
+ - !ruby/object:Gem::Version
221
+ version: 1.2.2
222
+ - !ruby/object:Gem::Dependency
223
+ name: cmdparse
224
+ requirement: !ruby/object:Gem::Requirement
225
+ none: false
226
+ requirements:
227
+ - - ! '>='
228
+ - !ruby/object:Gem::Version
229
+ version: '0'
241
230
  type: :runtime
242
- version_requirements: *id014
243
- - !ruby/object:Gem::Dependency
244
- name: nokogiri
245
231
  prerelease: false
246
- requirement: &id015 !ruby/object:Gem::Requirement
247
- none: false
248
- requirements:
249
- - - ">="
250
- - !ruby/object:Gem::Version
251
- hash: 3
252
- segments:
253
- - 1
254
- - 5
255
- - 0
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ none: false
234
+ requirements:
235
+ - - ! '>='
236
+ - !ruby/object:Gem::Version
237
+ version: '0'
238
+ - !ruby/object:Gem::Dependency
239
+ name: nokogiri
240
+ requirement: !ruby/object:Gem::Requirement
241
+ none: false
242
+ requirements:
243
+ - - ! '>='
244
+ - !ruby/object:Gem::Version
256
245
  version: 1.5.0
257
246
  type: :runtime
258
- version_requirements: *id015
259
- - !ruby/object:Gem::Dependency
260
- name: rubyzip
261
247
  prerelease: false
262
- requirement: &id016 !ruby/object:Gem::Requirement
263
- none: false
264
- requirements:
265
- - - ">="
266
- - !ruby/object:Gem::Version
267
- hash: 3
268
- segments:
269
- - 0
270
- version: "0"
248
+ version_requirements: !ruby/object:Gem::Requirement
249
+ none: false
250
+ requirements:
251
+ - - ! '>='
252
+ - !ruby/object:Gem::Version
253
+ version: 1.5.0
254
+ - !ruby/object:Gem::Dependency
255
+ name: rubyzip
256
+ requirement: !ruby/object:Gem::Requirement
257
+ none: false
258
+ requirements:
259
+ - - ! '>='
260
+ - !ruby/object:Gem::Version
261
+ version: '0'
271
262
  type: :runtime
272
- version_requirements: *id016
273
- description: Resolve dependencies, merge and minify CSS and JavaScript files with Juicer - the command line tool for frontend engineers
263
+ prerelease: false
264
+ version_requirements: !ruby/object:Gem::Requirement
265
+ none: false
266
+ requirements:
267
+ - - ! '>='
268
+ - !ruby/object:Gem::Version
269
+ version: '0'
270
+ description: Resolve dependencies, merge and minify CSS and JavaScript files with
271
+ Juicer - the command line tool for frontend engineers
274
272
  email: christian@cjohansen.no
275
- executables:
273
+ executables:
276
274
  - juicer
277
275
  extensions: []
278
-
279
276
  extra_rdoc_files: []
280
-
281
- files:
277
+ files:
282
278
  - Gemfile
283
279
  - Gemfile.lock
284
280
  - History.txt
@@ -322,47 +318,41 @@ files:
322
318
  - lib/juicer/minifyer/closure_compiler.rb
323
319
  - lib/juicer/minifyer/java_base.rb
324
320
  - lib/juicer/minifyer/yui_compressor.rb
325
- has_rdoc: true
326
321
  homepage: http://github.com/cjohansen/juicer
327
322
  licenses: []
323
+ post_install_message: ! 'Juicer does not ship with third party libraries. You probably
324
+ want to install
328
325
 
329
- post_install_message: |
330
- Juicer does not ship with third party libraries. You probably want to install
331
326
  Yui Compressor and JsLint now:
332
-
327
+
328
+
333
329
  juicer install yui_compressor
330
+
334
331
  juicer install jslint
335
-
332
+
333
+
336
334
  Happy juicing!
337
335
 
336
+ '
338
337
  rdoc_options: []
339
-
340
- require_paths:
338
+ require_paths:
341
339
  - lib
342
- required_ruby_version: !ruby/object:Gem::Requirement
340
+ required_ruby_version: !ruby/object:Gem::Requirement
343
341
  none: false
344
- requirements:
345
- - - ">="
346
- - !ruby/object:Gem::Version
347
- hash: 3
348
- segments:
349
- - 0
350
- version: "0"
351
- required_rubygems_version: !ruby/object:Gem::Requirement
342
+ requirements:
343
+ - - ! '>='
344
+ - !ruby/object:Gem::Version
345
+ version: '0'
346
+ required_rubygems_version: !ruby/object:Gem::Requirement
352
347
  none: false
353
- requirements:
354
- - - ">="
355
- - !ruby/object:Gem::Version
356
- hash: 3
357
- segments:
358
- - 0
359
- version: "0"
348
+ requirements:
349
+ - - ! '>='
350
+ - !ruby/object:Gem::Version
351
+ version: '0'
360
352
  requirements: []
361
-
362
353
  rubyforge_project: juicer
363
- rubygems_version: 1.4.2
354
+ rubygems_version: 1.8.23
364
355
  signing_key:
365
356
  specification_version: 3
366
357
  summary: Command line tool for CSS and JavaScript developers
367
358
  test_files: []
368
-