sassc 1.11.3 → 1.11.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 06803a617a928c4c4379c0568ad1a8f65945574c
4
- data.tar.gz: 778d7df05c3d4dda04b1afe9971dd0ca1ca33698
3
+ metadata.gz: 3b8c91d0c5dc17fd6a43d789d33f54b31519f223
4
+ data.tar.gz: cfef1f727e34adb7e08eb6c629627d399102d08b
5
5
  SHA512:
6
- metadata.gz: a1cec6ea85a8aa9f4ff6e894ea1f753e732f64978ab6237f5b5e7f9b751e4637d02c1036390744258de171f944f30a40076cd6726e50b3700882b1505de420dd
7
- data.tar.gz: e1d4807cd2f337c5b8a4f56d509f7f83e14a4b605f95dfccd47400d009d54bde140ccb167a4b494acd5072382de06bdd6f51eecca2c490cd5fed5fe6a7b7dfad
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
- Sass::Script::Value::List.new(items, :space)
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
@@ -1,3 +1,3 @@
1
1
  module SassC
2
- VERSION = "1.11.3"
2
+ VERSION = "1.11.4"
3
3
  end
@@ -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
- Sass::Script::Value::List.new(numbers, :space)
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sassc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.3
4
+ version: 1.11.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Boland