sass 3.5.2 → 3.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/VERSION_DATE +1 -1
- data/lib/sass/script/parser.rb +1 -0
- data/test/sass/source_map_test.rb +11 -0
- metadata +20 -22
- data/lib/test.css +0 -4
- data/lib/test.css.map +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a9a7e7eaf523795eb1a4d5b7975591340f6ee4f
|
4
|
+
data.tar.gz: 1ed58578bc0436fc6fec5388d26d6494aee867df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ea7239c454041a2370b7927f1d86face3e1cbabf6ad30a51afb1d3546e2c405ecd5bab125c0d4d90890f799bee2c89da6865f32ce931fc26a78cc6103396302
|
7
|
+
data.tar.gz: 6adf204bdf107345eca19827602b4749e9bcf02656206aafb825f70db012c49934ac881e43eab2b0af250d46310b6d21b271e5d886a0abd071a3d031e1b69820
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.5.
|
1
|
+
3.5.3
|
data/VERSION_DATE
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
27 October 2017 00:52:01 UTC
|
data/lib/sass/script/parser.rb
CHANGED
@@ -813,6 +813,17 @@ SCSS
|
|
813
813
|
assert_equal 38, list.source_range.end_pos.offset
|
814
814
|
end
|
815
815
|
|
816
|
+
def test_map_source_range
|
817
|
+
engine = Sass::Engine.new(<<-SCSS, :cache => false, :syntax => :scss)
|
818
|
+
$margins: (sm: 4px, md: 8px, lg: 16px);
|
819
|
+
SCSS
|
820
|
+
expr = engine.to_tree.children.first.expr
|
821
|
+
assert_equal 1, expr.source_range.start_pos.line
|
822
|
+
assert_equal 1, expr.source_range.end_pos.line
|
823
|
+
assert_equal 12, expr.source_range.start_pos.offset
|
824
|
+
assert_equal 38, expr.source_range.end_pos.offset
|
825
|
+
end
|
826
|
+
|
816
827
|
def test_sources_array_is_uri_escaped
|
817
828
|
map = Sass::Source::Map.new
|
818
829
|
importer = Sass::Importers::Filesystem.new('.')
|
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.5.
|
4
|
+
version: 3.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Natalie Weizenbaum
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2017-10-
|
13
|
+
date: 2017-10-27 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: sass-listen
|
@@ -227,8 +227,6 @@ files:
|
|
227
227
|
- lib/sass/util/subset_map.rb
|
228
228
|
- lib/sass/util/test.rb
|
229
229
|
- lib/sass/version.rb
|
230
|
-
- lib/test.css
|
231
|
-
- lib/test.css.map
|
232
230
|
- rails/init.rb
|
233
231
|
- test/sass-spec.yml
|
234
232
|
- test/sass/cache_test.rb
|
@@ -374,34 +372,34 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
374
372
|
version: '0'
|
375
373
|
requirements: []
|
376
374
|
rubyforge_project: sass
|
377
|
-
rubygems_version: 2.
|
375
|
+
rubygems_version: 2.4.8
|
378
376
|
signing_key:
|
379
377
|
specification_version: 4
|
380
378
|
summary: A powerful but elegant CSS compiler that makes CSS fun again.
|
381
379
|
test_files:
|
380
|
+
- test/sass/extend_test.rb
|
381
|
+
- test/sass/css2sass_test.rb
|
382
|
+
- test/sass/util_test.rb
|
383
|
+
- test/sass/superselector_test.rb
|
384
|
+
- test/sass/value_helpers_test.rb
|
382
385
|
- test/sass/plugin_test.rb
|
386
|
+
- test/sass/logger_test.rb
|
387
|
+
- test/sass/functions_test.rb
|
388
|
+
- test/sass/conversion_test.rb
|
389
|
+
- test/sass/source_map_test.rb
|
390
|
+
- test/sass/cache_test.rb
|
383
391
|
- test/sass/encoding_test.rb
|
384
|
-
- test/sass/
|
392
|
+
- test/sass/script_test.rb
|
385
393
|
- test/sass/callbacks_test.rb
|
394
|
+
- test/sass/script_conversion_test.rb
|
386
395
|
- test/sass/scss/css_test.rb
|
387
396
|
- test/sass/scss/rx_test.rb
|
388
397
|
- test/sass/scss/scss_test.rb
|
389
|
-
- test/sass/util/multibyte_string_scanner_test.rb
|
390
|
-
- test/sass/util/normalized_map_test.rb
|
391
|
-
- test/sass/util/subset_map_test.rb
|
392
|
-
- test/sass/functions_test.rb
|
393
|
-
- test/sass/util_test.rb
|
394
|
-
- test/sass/cache_test.rb
|
395
398
|
- test/sass/exec_test.rb
|
396
|
-
- test/sass/
|
397
|
-
- test/sass/conversion_test.rb
|
398
|
-
- test/sass/script_test.rb
|
399
|
-
- test/sass/logger_test.rb
|
400
|
-
- test/sass/compiler_test.rb
|
399
|
+
- test/sass/importer_test.rb
|
401
400
|
- test/sass/engine_test.rb
|
402
|
-
- test/sass/css2sass_test.rb
|
403
|
-
- test/sass/superselector_test.rb
|
404
|
-
- test/sass/script_conversion_test.rb
|
405
401
|
- test/sass/css_variable_test.rb
|
406
|
-
- test/sass/
|
407
|
-
- test/sass/
|
402
|
+
- test/sass/compiler_test.rb
|
403
|
+
- test/sass/util/subset_map_test.rb
|
404
|
+
- test/sass/util/normalized_map_test.rb
|
405
|
+
- test/sass/util/multibyte_string_scanner_test.rb
|
data/lib/test.css
DELETED