sass 3.1.0.alpha.252 → 3.1.0.alpha.253

Sign up to get free protection for your applications and to get access to all the features.
data/REVISION CHANGED
@@ -1 +1 @@
1
- 1d2ea6bb52c5582cecb0d3dac7221626891aa924
1
+ 02db3940e6d197d5b6cea590ae39dd509475f85a
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.1.0.alpha.252
1
+ 3.1.0.alpha.253
@@ -189,7 +189,7 @@ END
189
189
  if value
190
190
  value.perform(@environment)
191
191
  elsif kv = passed_keywords[var.underscored_name]
192
- kv.perform(env)
192
+ kv.perform(@environment)
193
193
  elsif default
194
194
  default.perform(env)
195
195
  end)
@@ -2157,6 +2157,23 @@ CSS
2157
2157
  SASS
2158
2158
  end
2159
2159
 
2160
+ def test_mixin_with_keyword_arg_variable_value
2161
+ assert_equal <<CSS, render(<<SASS)
2162
+ .mixed {
2163
+ required: foo;
2164
+ arg1: default-val1;
2165
+ arg2: a-value; }
2166
+ CSS
2167
+ =a-mixin($required, $arg1: default-val1, $arg2: default-val2)
2168
+ required: $required
2169
+ arg1: $arg1
2170
+ arg2: $arg2
2171
+ .mixed
2172
+ $a-value: a-value
2173
+ +a-mixin(foo, $arg2: $a-value)
2174
+ SASS
2175
+ end
2176
+
2160
2177
  def test_mixin_keyword_args_handle_variable_underscore_dash_equivalence
2161
2178
  assert_equal <<CSS, render(<<SASS)
2162
2179
  .mixed {
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.252
4
+ version: 3.1.0.alpha.253
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Weizenbaum
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2011-03-23 00:00:00 -04:00
14
+ date: 2011-04-10 00:00:00 -04:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency