sass 3.7.2 → 3.7.3
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 +5 -5
- data/VERSION +1 -1
- data/VERSION_DATE +1 -1
- data/lib/sass/script/functions.rb +2 -2
- data/lib/sass/util.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: b501c91de5f5de2bfce1dc6e6989335cf88290b44505c413cd63e260a8a00b6f
|
|
4
|
+
data.tar.gz: 22a6b50234e93c4b8e20860a581d2475c9450dc5025230462a2f3609a77c8131
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5af587ac1b73b8c62c4ddc470e12bd71181ea8de4d0f690e81d5f05f2cb25142cbd5cd04935cd4ab35b91b0651199cddf55992b00394827e3521db14ad489077
|
|
7
|
+
data.tar.gz: 4dc3d9d1051fcaf67d10dcb51e57c33addfdfa6e43685376dc67cc13df71131e058b56869598d164236697d524d87154532189d9364c31fc0064de927aeadddc
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.7.
|
|
1
|
+
3.7.3
|
data/VERSION_DATE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
04 January 2019 19:29:42 UTC
|
|
@@ -2908,9 +2908,9 @@ WARNING
|
|
|
2908
2908
|
|
|
2909
2909
|
def percentage_or_unitless(number, max, name)
|
|
2910
2910
|
if number.unitless?
|
|
2911
|
-
|
|
2911
|
+
number.value
|
|
2912
2912
|
elsif number.is_unit?("%")
|
|
2913
|
-
|
|
2913
|
+
max * number.value / 100.0;
|
|
2914
2914
|
else
|
|
2915
2915
|
raise ArgumentError.new(
|
|
2916
2916
|
"$#{name}: Expected #{number} to have no units or \"%\"");
|
data/lib/sass/util.rb
CHANGED
|
@@ -269,7 +269,7 @@ module Sass
|
|
|
269
269
|
at_start = start && $1
|
|
270
270
|
char = escaped_char(s)
|
|
271
271
|
next char if char =~ (at_start ? Sass::SCSS::RX::NMSTART : Sass::SCSS::RX::NMCHAR)
|
|
272
|
-
if char =~ (at_start ? /[\x0-\
|
|
272
|
+
if char =~ (at_start ? /[\x0-\x1F\x7F0-9]/ : /[\x0-\x1F\x7F]/)
|
|
273
273
|
"\\#{char.ord.to_s(16)} "
|
|
274
274
|
else
|
|
275
275
|
"\\#{char}"
|
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.7.
|
|
4
|
+
version: 3.7.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:
|
|
13
|
+
date: 2019-01-04 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: sass-listen
|
|
@@ -276,7 +276,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
276
276
|
version: '0'
|
|
277
277
|
requirements: []
|
|
278
278
|
rubyforge_project: sass
|
|
279
|
-
rubygems_version: 2.
|
|
279
|
+
rubygems_version: 2.7.7
|
|
280
280
|
signing_key:
|
|
281
281
|
specification_version: 4
|
|
282
282
|
summary: A powerful but elegant CSS compiler that makes CSS fun again.
|