css_parser 1.13.0 → 1.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/css_parser/rule_set.rb +1 -1
- data/lib/css_parser/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2df40e5d5c5577f9d169da202eba4b59606058df7b18476026d95754422a640
|
4
|
+
data.tar.gz: 261a4963e02cf50e5b500bc14e631c811a255783779e6e648dddef11411706f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8b58b2c6a4424930f2f36c8f4229fbf821d75bab540ff12800c31174c6782f8886800ac27e42ade7897a75bdb7fcf06873ba35764e8434cf6d24ea606ac409f
|
7
|
+
data.tar.gz: 94cf8917f88be81207061ec178ee2920306275f79d74fb019b25647b67deae4745f791a1c30efada0edbe8885be27c1dc0c345cac88f48f6ee5568d243884734
|
data/lib/css_parser/rule_set.rb
CHANGED
@@ -616,7 +616,7 @@ module CssParser
|
|
616
616
|
decs = (continuation ? continuation + decs : decs)
|
617
617
|
if decs =~ /\([^)]*\Z/ # if it has an unmatched parenthesis
|
618
618
|
continuation = "#{decs};"
|
619
|
-
elsif (matches = decs.match(/\s*(.[^:]*)\s*:\s*(
|
619
|
+
elsif (matches = decs.match(/\s*(.[^:]*)\s*:\s*(?m:(.+))(?:;?\s*\Z)/i))
|
620
620
|
# skip end_of_declaration
|
621
621
|
property = matches[1]
|
622
622
|
value = matches[2]
|
data/lib/css_parser/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: css_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Dunae
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|