sass 3.3.0.alpha.369 → 3.3.0.alpha.370

Sign up to get free protection for your applications and to get access to all the features.
data/REVISION CHANGED
@@ -1 +1 @@
1
- da95ceeed652f28309ed53519113914945473558
1
+ cc1787dbfd5db4c5ecb498d6be100336c8e23ef0
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.3.0.alpha.369
1
+ 3.3.0.alpha.370
@@ -1 +1 @@
1
- 08 October 2013 21:16:33 GMT
1
+ 08 October 2013 21:30:40 GMT
@@ -103,7 +103,7 @@ module Sass
103
103
  # @return [Selector::CommaSequence?] The current selector, with any
104
104
  # nesting fully resolved.
105
105
  def selector
106
- parent_selector = caller ? caller.selector : (@parent && @parent.selector)
106
+ parent_selector = @caller ? @caller.selector : (@parent && @parent.selector)
107
107
  return parent_selector unless @selector
108
108
  return @selector.resolve_parent_refs(parent_selector) if parent_selector
109
109
  @selector
@@ -2105,6 +2105,23 @@ CSS
2105
2105
  SCSS
2106
2106
  end
2107
2107
 
2108
+ def test_at_root_with_at_root_through_mixin
2109
+ assert_equal(<<CSS, render(<<SCSS))
2110
+ .bar-baz {
2111
+ a: b; }
2112
+ CSS
2113
+ @mixin foo {
2114
+ .bar {
2115
+ @at-root \#{&}-baz {
2116
+ a: b;
2117
+ }
2118
+ }
2119
+ }
2120
+
2121
+ @include foo;
2122
+ SCSS
2123
+ end
2124
+
2108
2125
  ## Errors
2109
2126
 
2110
2127
  def test_nested_mixin_def_is_scoped
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: 592302575
4
+ hash: 592302569
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 3
8
8
  - 3
9
9
  - 0
10
10
  - alpha
11
- - 369
12
- version: 3.3.0.alpha.369
11
+ - 370
12
+ version: 3.3.0.alpha.370
13
13
  platform: ruby
14
14
  authors:
15
15
  - Nathan Weizenbaum
@@ -209,6 +209,7 @@ files:
209
209
  - bin/sass-convert
210
210
  - bin/scss
211
211
  - test/Gemfile.lock
212
+ - test/test_helper.rb
212
213
  - test/sass/cache_test.rb
213
214
  - test/sass/callbacks_test.rb
214
215
  - test/sass/conversion_test.rb
@@ -328,7 +329,6 @@ files:
328
329
  - test/sass/util/subset_map_test.rb
329
330
  - test/sass/source_map_test.rb
330
331
  - test/sass/value_helpers_test.rb
331
- - test/test_helper.rb
332
332
  - extra/update_watch.rb
333
333
  - Rakefile
334
334
  - init.rb