sass 3.3.0.alpha.162 → 3.3.0.alpha.165
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.
- data/REVISION +1 -1
- data/VERSION +1 -1
- data/VERSION_DATE +1 -1
- data/lib/sass/engine.rb +0 -1
- data/lib/sass/scss/parser.rb +0 -1
- data/lib/sass/tree/visitors/convert.rb +0 -1
- data/test/sass/engine_test.rb +7 -8
- metadata +5 -5
data/REVISION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
959ac903776876458b8c6cfb5abe4af45a6359a9
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.3.0.alpha.
|
1
|
+
3.3.0.alpha.165
|
data/VERSION_DATE
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
03 June 2013 16:39:00 GMT
|
data/lib/sass/engine.rb
CHANGED
@@ -730,7 +730,6 @@ WARNING
|
|
730
730
|
else
|
731
731
|
value = self.class.parse_interp(
|
732
732
|
line.text, line.index, to_parser_offset(line.offset), :filename => @filename)
|
733
|
-
value[0].slice!(2) if loud # get rid of the "!"
|
734
733
|
end
|
735
734
|
value = with_extracted_values(value) do |str|
|
736
735
|
str = str.gsub(/^#{line.comment_tab_str}/m, '')[2..-1] # get rid of // or /*
|
data/lib/sass/scss/parser.rb
CHANGED
@@ -140,7 +140,6 @@ module Sass
|
|
140
140
|
value = [text.sub(/^\s*\/\//, '/*').gsub(/^\s*\/\//, ' *') + ' */']
|
141
141
|
else
|
142
142
|
value = Sass::Engine.parse_interp(text, line, @scanner.pos - text.size, :filename => @filename)
|
143
|
-
value[0].slice!(2) if loud # get rid of the "!"
|
144
143
|
value.unshift(@scanner.
|
145
144
|
string[0...@scanner.pos].
|
146
145
|
reverse[/.*?\*\/(.*?)($|\Z)/, 1].
|
data/test/sass/engine_test.rb
CHANGED
@@ -1843,7 +1843,7 @@ SASS
|
|
1843
1843
|
|
1844
1844
|
def test_loud_comment_in_compressed_mode
|
1845
1845
|
assert_equal <<CSS, render(<<SASS, :style => :compressed)
|
1846
|
-
foo{color:blue
|
1846
|
+
foo{color:blue;/*! foo
|
1847
1847
|
* bar
|
1848
1848
|
*/}
|
1849
1849
|
CSS
|
@@ -1857,10 +1857,9 @@ SASS
|
|
1857
1857
|
|
1858
1858
|
def test_loud_comment_is_evaluated
|
1859
1859
|
assert_equal <<CSS, render(<<SASS)
|
1860
|
-
|
1860
|
+
/*! Hue: 327.21649deg */
|
1861
1861
|
CSS
|
1862
|
-
/*!
|
1863
|
-
Hue: \#{hue(#f836a0)}
|
1862
|
+
/*! Hue: \#{hue(#f836a0)}
|
1864
1863
|
SASS
|
1865
1864
|
end
|
1866
1865
|
|
@@ -2538,15 +2537,15 @@ SASS
|
|
2538
2537
|
|
2539
2538
|
def test_interpolated_comment_in_mixin
|
2540
2539
|
assert_equal <<CSS, render(<<SASS)
|
2541
|
-
|
2540
|
+
/*! color: red */
|
2542
2541
|
.foo {
|
2543
2542
|
color: red; }
|
2544
2543
|
|
2545
|
-
|
2544
|
+
/*! color: blue */
|
2546
2545
|
.foo {
|
2547
2546
|
color: blue; }
|
2548
2547
|
|
2549
|
-
|
2548
|
+
/*! color: green */
|
2550
2549
|
.foo {
|
2551
2550
|
color: green; }
|
2552
2551
|
CSS
|
@@ -2841,7 +2840,7 @@ CSS
|
|
2841
2840
|
/* \\\#{foo}
|
2842
2841
|
SASS
|
2843
2842
|
assert_equal <<CSS, render(<<SASS)
|
2844
|
-
|
2843
|
+
/*! \#{foo} */
|
2845
2844
|
CSS
|
2846
2845
|
/*! \\\#{foo}
|
2847
2846
|
SASS
|
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:
|
4
|
+
hash: 592302663
|
5
5
|
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 3
|
9
9
|
- 0
|
10
10
|
- alpha
|
11
|
-
-
|
12
|
-
version: 3.3.0.alpha.
|
11
|
+
- 165
|
12
|
+
version: 3.3.0.alpha.165
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- Nathan Weizenbaum
|
@@ -19,7 +19,7 @@ autorequire:
|
|
19
19
|
bindir: bin
|
20
20
|
cert_chain: []
|
21
21
|
|
22
|
-
date: 2013-
|
22
|
+
date: 2013-06-03 00:00:00 -04:00
|
23
23
|
default_executable:
|
24
24
|
dependencies:
|
25
25
|
- !ruby/object:Gem::Dependency
|
@@ -151,8 +151,8 @@ files:
|
|
151
151
|
- lib/sass/selector/simple.rb
|
152
152
|
- lib/sass/selector/simple_sequence.rb
|
153
153
|
- lib/sass/shared.rb
|
154
|
-
- lib/sass/util.rb
|
155
154
|
- lib/sass/supports.rb
|
155
|
+
- lib/sass/util.rb
|
156
156
|
- lib/sass/tree/charset_node.rb
|
157
157
|
- lib/sass/tree/comment_node.rb
|
158
158
|
- lib/sass/tree/content_node.rb
|