sassc 1.11.3 → 1.11.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/sassc/script/value_conversion.rb +6 -1
- data/lib/sassc/version.rb +1 -1
- data/test/functions_test.rb +6 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b8c91d0c5dc17fd6a43d789d33f54b31519f223
|
4
|
+
data.tar.gz: cfef1f727e34adb7e08eb6c629627d399102d08b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e1fb2f173c4fdf6c5d30ab48892389c5733588fc9af4f84d8c52c6f4f80c7bb92ca3e31e838d23bd6fdbe930b59c799dff548fd409cacb63d93ce1ed2f596fd
|
7
|
+
data.tar.gz: 45c212c79867988fe3e2e34162a90c5029dda95e3914d6ae7d06caea099b6d660329ef9a76fbcabebfe45853d9c1ef5fe2f81e1e5d54a40dc9fe34b1e34854f6
|
data/README.md
CHANGED
@@ -48,6 +48,8 @@ This gem is maintained by [Ryan Boland](https://ryanboland.com)
|
|
48
48
|
and [awesome contributors](https://github.com/bolandrm/sassc-ruby/graphs/contributors).
|
49
49
|
|
50
50
|
## Changelog
|
51
|
+
- **1.11.4**
|
52
|
+
- Fix `Value::List` related issue with sass 3.5.0
|
51
53
|
- **1.11.3**
|
52
54
|
- [Require Sass::Deprecation module](https://github.com/sass/sassc-ruby/pull/68)
|
53
55
|
- **1.11.2**
|
@@ -47,7 +47,12 @@ module SassC
|
|
47
47
|
native_item = Native::list_get_value(native_value, index)
|
48
48
|
from_native(native_item, options)
|
49
49
|
end
|
50
|
-
|
50
|
+
|
51
|
+
if Gem.loaded_specs['sass'].version < Gem::Version.create('3.5')
|
52
|
+
Sass::Script::Value::List.new(items, :space)
|
53
|
+
else
|
54
|
+
Sass::Script::Value::List.new(items, separator: :space)
|
55
|
+
end
|
51
56
|
else
|
52
57
|
raise UnsupportedValue.new("Sass argument of type #{value_tag} unsupported")
|
53
58
|
end
|
data/lib/sassc/version.rb
CHANGED
data/test/functions_test.rb
CHANGED
@@ -290,7 +290,12 @@ module SassC
|
|
290
290
|
numbers = [10, 20, 30].map do |n|
|
291
291
|
Sass::Script::Value::Number.new(n, '')
|
292
292
|
end
|
293
|
-
|
293
|
+
|
294
|
+
if Gem.loaded_specs['sass'].version < Gem::Version.create('3.5')
|
295
|
+
Sass::Script::Value::List.new(numbers, :space)
|
296
|
+
else
|
297
|
+
Sass::Script::Value::List.new(numbers, separator: :space)
|
298
|
+
end
|
294
299
|
end
|
295
300
|
|
296
301
|
module Compass
|