sass 3.3.0.alpha.377 → 3.3.0.alpha.378

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/REVISION +1 -1
  2. data/VERSION +1 -1
  3. data/VERSION_DATE +1 -1
  4. data/lib/sass/exec.rb +4 -0
  5. metadata +3 -3
data/REVISION CHANGED
@@ -1 +1 @@
1
- c146c57efbb2e1ebc61e84f5010d40dcd718263f
1
+ af904635d4da0719e029b715cd2acb9fa6446b0a
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.3.0.alpha.377
1
+ 3.3.0.alpha.378
data/VERSION_DATE CHANGED
@@ -1 +1 @@
1
- 11 October 2013 16:48:16 GMT
1
+ 11 October 2013 21:25:34 GMT
data/lib/sass/exec.rb CHANGED
@@ -367,6 +367,10 @@ END
367
367
  input.close if input.is_a?(File)
368
368
 
369
369
  if @options[:sourcemap]
370
+ unless @options[:sourcemap_filename]
371
+ raise "Can't generate a sourcemap for an input without a path."
372
+ end
373
+
370
374
  relative_sourcemap_path = Pathname.new(@options[:sourcemap_filename]).
371
375
  relative_path_from(Pathname.new(@options[:output_filename]).dirname)
372
376
  rendered, mapping = engine.render_with_sourcemap(relative_sourcemap_path.to_s)
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sass
3
3
  version: !ruby/object:Gem::Version
4
- hash: 592302591
4
+ hash: 592302585
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 3
8
8
  - 3
9
9
  - 0
10
10
  - alpha
11
- - 377
12
- version: 3.3.0.alpha.377
11
+ - 378
12
+ version: 3.3.0.alpha.378
13
13
  platform: ruby
14
14
  authors:
15
15
  - Nathan Weizenbaum