sass 3.1.0.alpha.20 → 3.1.0.alpha.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- 3.1.0.alpha.20
1
+ 3.1.0.alpha.21
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.1.0.alpha.20
1
+ 3.1.0.alpha.21
@@ -154,7 +154,7 @@ module Sass
154
154
  end
155
155
 
156
156
  def handle_load_error(err)
157
- dep = err.message.scan(/^no such file to load -- (.*)/)[0]
157
+ dep = err.message[/^no such file to load -- (.*)/, 1]
158
158
  raise err if @options[:trace] || dep.nil? || dep.empty?
159
159
  $stderr.puts <<MESSAGE
160
160
  Required dependency #{dep} not found!
@@ -192,7 +192,7 @@ WARNING
192
192
  class Call
193
193
  def to_sass_tree
194
194
  return if hide_in_sass
195
- Sass::Tree::MixinNode.new(@mixin.name.gsub(/^\./, ''), @params.map {|v| v.to_sass_tree})
195
+ Sass::Tree::MixinNode.new(@mixin.name.gsub(/^\./, ''), @params.map {|v| v.to_sass_tree}, {})
196
196
  end
197
197
  end
198
198
 
@@ -325,7 +325,7 @@ WARNING
325
325
 
326
326
  class Function
327
327
  def to_sass_tree
328
- Sass::Script::Funcall.new(self, @args.map {|a| a.to_sass_tree})
328
+ Sass::Script::Funcall.new(self, @args.map {|a| a.to_sass_tree}, {})
329
329
  end
330
330
  end
331
331
 
@@ -14,7 +14,7 @@ module Sass::Script::Functions
14
14
  declare :only_var_args, [], :var_args => true
15
15
 
16
16
  def only_kw_args(kwargs)
17
- Sass::Script::String.new("only-kw-args(" + kwargs.keys.sort.join(", ") + ")")
17
+ Sass::Script::String.new("only-kw-args(" + kwargs.keys.map {|a| a.to_s}.sort.join(", ") + ")")
18
18
  end
19
19
  declare :only_kw_args, [], :var_kwargs => true
20
20
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sass
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0.alpha.20
4
+ version: 3.1.0.alpha.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Weizenbaum