spar 1.0.8 → 1.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/spar.rb +6 -0
  2. data/lib/spar/version.rb +1 -1
  3. metadata +49 -180
@@ -150,3 +150,9 @@ module Sprockets
150
150
  include Spar::Helpers
151
151
  end
152
152
  end
153
+
154
+ module Sass::Script::Functions
155
+ def generated_image_url(path, only_path = nil)
156
+ asset_url(path, Sass::Script::String.new("image"))
157
+ end
158
+ end
@@ -1,3 +1,3 @@
1
1
  module Spar
2
- VERSION = "1.0.8"
2
+ VERSION = "1.0.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spar
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-15 00:00:00.000000000 Z
12
+ date: 2012-10-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cucumber
16
- requirement: !ruby/object:Gem::Requirement
16
+ requirement: &70156687290020 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,15 +21,21 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
24
+ version_requirements: *70156687290020
25
+ - !ruby/object:Gem::Dependency
26
+ name: capybara
27
+ requirement: &70156687310900 !ruby/object:Gem::Requirement
25
28
  none: false
26
29
  requirements:
27
30
  - - ! '>='
28
31
  - !ruby/object:Gem::Version
29
32
  version: '0'
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: *70156687310900
30
36
  - !ruby/object:Gem::Dependency
31
37
  name: aruba
32
- requirement: !ruby/object:Gem::Requirement
38
+ requirement: &70156687310400 !ruby/object:Gem::Requirement
33
39
  none: false
34
40
  requirements:
35
41
  - - ! '>='
@@ -37,15 +43,10 @@ dependencies:
37
43
  version: '0'
38
44
  type: :development
39
45
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
46
+ version_requirements: *70156687310400
46
47
  - !ruby/object:Gem::Dependency
47
48
  name: rack
48
- requirement: !ruby/object:Gem::Requirement
49
+ requirement: &70156687309620 !ruby/object:Gem::Requirement
49
50
  none: false
50
51
  requirements:
51
52
  - - ~>
@@ -56,18 +57,10 @@ dependencies:
56
57
  version: 1.4.1
57
58
  type: :runtime
58
59
  prerelease: false
59
- version_requirements: !ruby/object:Gem::Requirement
60
- none: false
61
- requirements:
62
- - - ~>
63
- - !ruby/object:Gem::Version
64
- version: '1.4'
65
- - - ! '>='
66
- - !ruby/object:Gem::Version
67
- version: 1.4.1
60
+ version_requirements: *70156687309620
68
61
  - !ruby/object:Gem::Dependency
69
62
  name: sinatra
70
- requirement: !ruby/object:Gem::Requirement
63
+ requirement: &70156687308260 !ruby/object:Gem::Requirement
71
64
  none: false
72
65
  requirements:
73
66
  - - ~>
@@ -78,18 +71,10 @@ dependencies:
78
71
  version: 1.3.2
79
72
  type: :runtime
80
73
  prerelease: false
81
- version_requirements: !ruby/object:Gem::Requirement
82
- none: false
83
- requirements:
84
- - - ~>
85
- - !ruby/object:Gem::Version
86
- version: '1.3'
87
- - - ! '>='
88
- - !ruby/object:Gem::Version
89
- version: 1.3.2
74
+ version_requirements: *70156687308260
90
75
  - !ruby/object:Gem::Dependency
91
76
  name: sass
92
- requirement: !ruby/object:Gem::Requirement
77
+ requirement: &70156687307380 !ruby/object:Gem::Requirement
93
78
  none: false
94
79
  requirements:
95
80
  - - ~>
@@ -100,18 +85,10 @@ dependencies:
100
85
  version: 3.1.10
101
86
  type: :runtime
102
87
  prerelease: false
103
- version_requirements: !ruby/object:Gem::Requirement
104
- none: false
105
- requirements:
106
- - - ~>
107
- - !ruby/object:Gem::Version
108
- version: '3.1'
109
- - - ! '>='
110
- - !ruby/object:Gem::Version
111
- version: 3.1.10
88
+ version_requirements: *70156687307380
112
89
  - !ruby/object:Gem::Dependency
113
90
  name: haml
114
- requirement: !ruby/object:Gem::Requirement
91
+ requirement: &70156687306260 !ruby/object:Gem::Requirement
115
92
  none: false
116
93
  requirements:
117
94
  - - ~>
@@ -122,18 +99,10 @@ dependencies:
122
99
  version: 3.1.4
123
100
  type: :runtime
124
101
  prerelease: false
125
- version_requirements: !ruby/object:Gem::Requirement
126
- none: false
127
- requirements:
128
- - - ~>
129
- - !ruby/object:Gem::Version
130
- version: '3.1'
131
- - - ! '>='
132
- - !ruby/object:Gem::Version
133
- version: 3.1.4
102
+ version_requirements: *70156687306260
134
103
  - !ruby/object:Gem::Dependency
135
104
  name: coffee-script
136
- requirement: !ruby/object:Gem::Requirement
105
+ requirement: &70156687305420 !ruby/object:Gem::Requirement
137
106
  none: false
138
107
  requirements:
139
108
  - - ~>
@@ -144,18 +113,10 @@ dependencies:
144
113
  version: 2.2.0
145
114
  type: :runtime
146
115
  prerelease: false
147
- version_requirements: !ruby/object:Gem::Requirement
148
- none: false
149
- requirements:
150
- - - ~>
151
- - !ruby/object:Gem::Version
152
- version: '2.2'
153
- - - ! '>='
154
- - !ruby/object:Gem::Version
155
- version: 2.2.0
116
+ version_requirements: *70156687305420
156
117
  - !ruby/object:Gem::Dependency
157
118
  name: uglifier
158
- requirement: !ruby/object:Gem::Requirement
119
+ requirement: &70156687304520 !ruby/object:Gem::Requirement
159
120
  none: false
160
121
  requirements:
161
122
  - - ~>
@@ -166,18 +127,10 @@ dependencies:
166
127
  version: 1.0.3
167
128
  type: :runtime
168
129
  prerelease: false
169
- version_requirements: !ruby/object:Gem::Requirement
170
- none: false
171
- requirements:
172
- - - ~>
173
- - !ruby/object:Gem::Version
174
- version: '1.0'
175
- - - ! '>='
176
- - !ruby/object:Gem::Version
177
- version: 1.0.3
130
+ version_requirements: *70156687304520
178
131
  - !ruby/object:Gem::Dependency
179
132
  name: sprockets
180
- requirement: !ruby/object:Gem::Requirement
133
+ requirement: &70156687303480 !ruby/object:Gem::Requirement
181
134
  none: false
182
135
  requirements:
183
136
  - - ~>
@@ -188,18 +141,10 @@ dependencies:
188
141
  version: 2.6.0
189
142
  type: :runtime
190
143
  prerelease: false
191
- version_requirements: !ruby/object:Gem::Requirement
192
- none: false
193
- requirements:
194
- - - ~>
195
- - !ruby/object:Gem::Version
196
- version: '2.6'
197
- - - ! '>='
198
- - !ruby/object:Gem::Version
199
- version: 2.6.0
144
+ version_requirements: *70156687303480
200
145
  - !ruby/object:Gem::Dependency
201
146
  name: sprockets-sass
202
- requirement: !ruby/object:Gem::Requirement
147
+ requirement: &70156687061520 !ruby/object:Gem::Requirement
203
148
  none: false
204
149
  requirements:
205
150
  - - ~>
@@ -210,18 +155,10 @@ dependencies:
210
155
  version: 0.9.1
211
156
  type: :runtime
212
157
  prerelease: false
213
- version_requirements: !ruby/object:Gem::Requirement
214
- none: false
215
- requirements:
216
- - - ~>
217
- - !ruby/object:Gem::Version
218
- version: '0.9'
219
- - - ! '>='
220
- - !ruby/object:Gem::Version
221
- version: 0.9.1
158
+ version_requirements: *70156687061520
222
159
  - !ruby/object:Gem::Dependency
223
160
  name: compass
224
- requirement: !ruby/object:Gem::Requirement
161
+ requirement: &70156687060760 !ruby/object:Gem::Requirement
225
162
  none: false
226
163
  requirements:
227
164
  - - ~>
@@ -232,18 +169,10 @@ dependencies:
232
169
  version: 0.12.2
233
170
  type: :runtime
234
171
  prerelease: false
235
- version_requirements: !ruby/object:Gem::Requirement
236
- none: false
237
- requirements:
238
- - - ~>
239
- - !ruby/object:Gem::Version
240
- version: '0.12'
241
- - - ! '>='
242
- - !ruby/object:Gem::Version
243
- version: 0.12.2
172
+ version_requirements: *70156687060760
244
173
  - !ruby/object:Gem::Dependency
245
174
  name: haml_coffee_assets
246
- requirement: !ruby/object:Gem::Requirement
175
+ requirement: &70156687060000 !ruby/object:Gem::Requirement
247
176
  none: false
248
177
  requirements:
249
178
  - - ~>
@@ -254,18 +183,10 @@ dependencies:
254
183
  version: 1.5.1
255
184
  type: :runtime
256
185
  prerelease: false
257
- version_requirements: !ruby/object:Gem::Requirement
258
- none: false
259
- requirements:
260
- - - ~>
261
- - !ruby/object:Gem::Version
262
- version: '1.5'
263
- - - ! '>='
264
- - !ruby/object:Gem::Version
265
- version: 1.5.1
186
+ version_requirements: *70156687060000
266
187
  - !ruby/object:Gem::Dependency
267
188
  name: bundler
268
- requirement: !ruby/object:Gem::Requirement
189
+ requirement: &70156687059260 !ruby/object:Gem::Requirement
269
190
  none: false
270
191
  requirements:
271
192
  - - ~>
@@ -276,18 +197,10 @@ dependencies:
276
197
  version: 1.0.18
277
198
  type: :runtime
278
199
  prerelease: false
279
- version_requirements: !ruby/object:Gem::Requirement
280
- none: false
281
- requirements:
282
- - - ~>
283
- - !ruby/object:Gem::Version
284
- version: '1.0'
285
- - - ! '>='
286
- - !ruby/object:Gem::Version
287
- version: 1.0.18
200
+ version_requirements: *70156687059260
288
201
  - !ruby/object:Gem::Dependency
289
202
  name: thor
290
- requirement: !ruby/object:Gem::Requirement
203
+ requirement: &70156687058480 !ruby/object:Gem::Requirement
291
204
  none: false
292
205
  requirements:
293
206
  - - ~>
@@ -298,18 +211,10 @@ dependencies:
298
211
  version: 0.15.2
299
212
  type: :runtime
300
213
  prerelease: false
301
- version_requirements: !ruby/object:Gem::Requirement
302
- none: false
303
- requirements:
304
- - - ~>
305
- - !ruby/object:Gem::Version
306
- version: '0.15'
307
- - - ! '>='
308
- - !ruby/object:Gem::Version
309
- version: 0.15.2
214
+ version_requirements: *70156687058480
310
215
  - !ruby/object:Gem::Dependency
311
216
  name: rake
312
- requirement: !ruby/object:Gem::Requirement
217
+ requirement: &70156687057620 !ruby/object:Gem::Requirement
313
218
  none: false
314
219
  requirements:
315
220
  - - ~>
@@ -320,18 +225,10 @@ dependencies:
320
225
  version: 0.9.2
321
226
  type: :runtime
322
227
  prerelease: false
323
- version_requirements: !ruby/object:Gem::Requirement
324
- none: false
325
- requirements:
326
- - - ~>
327
- - !ruby/object:Gem::Version
328
- version: '0.9'
329
- - - ! '>='
330
- - !ruby/object:Gem::Version
331
- version: 0.9.2
228
+ version_requirements: *70156687057620
332
229
  - !ruby/object:Gem::Dependency
333
230
  name: listen
334
- requirement: !ruby/object:Gem::Requirement
231
+ requirement: &70156687056700 !ruby/object:Gem::Requirement
335
232
  none: false
336
233
  requirements:
337
234
  - - ~>
@@ -342,18 +239,10 @@ dependencies:
342
239
  version: 0.4.2
343
240
  type: :runtime
344
241
  prerelease: false
345
- version_requirements: !ruby/object:Gem::Requirement
346
- none: false
347
- requirements:
348
- - - ~>
349
- - !ruby/object:Gem::Version
350
- version: '0.4'
351
- - - ! '>='
352
- - !ruby/object:Gem::Version
353
- version: 0.4.2
242
+ version_requirements: *70156687056700
354
243
  - !ruby/object:Gem::Dependency
355
244
  name: mime-types
356
- requirement: !ruby/object:Gem::Requirement
245
+ requirement: &70156687055520 !ruby/object:Gem::Requirement
357
246
  none: false
358
247
  requirements:
359
248
  - - ! '>='
@@ -361,15 +250,10 @@ dependencies:
361
250
  version: '0'
362
251
  type: :runtime
363
252
  prerelease: false
364
- version_requirements: !ruby/object:Gem::Requirement
365
- none: false
366
- requirements:
367
- - - ! '>='
368
- - !ruby/object:Gem::Version
369
- version: '0'
253
+ version_requirements: *70156687055520
370
254
  - !ruby/object:Gem::Dependency
371
255
  name: aws-sdk
372
- requirement: !ruby/object:Gem::Requirement
256
+ requirement: &70156687055020 !ruby/object:Gem::Requirement
373
257
  none: false
374
258
  requirements:
375
259
  - - ! '>='
@@ -377,15 +261,10 @@ dependencies:
377
261
  version: '0'
378
262
  type: :runtime
379
263
  prerelease: false
380
- version_requirements: !ruby/object:Gem::Requirement
381
- none: false
382
- requirements:
383
- - - ! '>='
384
- - !ruby/object:Gem::Version
385
- version: '0'
264
+ version_requirements: *70156687055020
386
265
  - !ruby/object:Gem::Dependency
387
266
  name: yui-compressor
388
- requirement: !ruby/object:Gem::Requirement
267
+ requirement: &70156687054600 !ruby/object:Gem::Requirement
389
268
  none: false
390
269
  requirements:
391
270
  - - ! '>='
@@ -393,15 +272,10 @@ dependencies:
393
272
  version: '0'
394
273
  type: :runtime
395
274
  prerelease: false
396
- version_requirements: !ruby/object:Gem::Requirement
397
- none: false
398
- requirements:
399
- - - ! '>='
400
- - !ruby/object:Gem::Version
401
- version: '0'
275
+ version_requirements: *70156687054600
402
276
  - !ruby/object:Gem::Dependency
403
277
  name: cloudfront-invalidator
404
- requirement: !ruby/object:Gem::Requirement
278
+ requirement: &70156687054040 !ruby/object:Gem::Requirement
405
279
  none: false
406
280
  requirements:
407
281
  - - ! '>='
@@ -409,12 +283,7 @@ dependencies:
409
283
  version: '0'
410
284
  type: :runtime
411
285
  prerelease: false
412
- version_requirements: !ruby/object:Gem::Requirement
413
- none: false
414
- requirements:
415
- - - ! '>='
416
- - !ruby/object:Gem::Version
417
- version: '0'
286
+ version_requirements: *70156687054040
418
287
  description: Spar uses Rack and Sprockets to provide an asset development environment
419
288
  very similar to the asset pipeline found in Rails. It also has built in deployment
420
289
  tasks for deploying your entire site to AWS S3 and Cloudfront.
@@ -476,7 +345,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
476
345
  version: '0'
477
346
  requirements: []
478
347
  rubyforge_project:
479
- rubygems_version: 1.8.23
348
+ rubygems_version: 1.8.10
480
349
  signing_key:
481
350
  specification_version: 3
482
351
  summary: A simple framework for developing single page web apps with support for haml,