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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9bad6c42b4f2fbda14292b503c3f381ea4b3a9a4b77c74dd44da724866237901
4
- data.tar.gz: 0b47ed4ef7d197a5552af3a99db42b89a8937cca205c7b6cf865cfb930d2d265
3
+ metadata.gz: d2df40e5d5c5577f9d169da202eba4b59606058df7b18476026d95754422a640
4
+ data.tar.gz: 261a4963e02cf50e5b500bc14e631c811a255783779e6e648dddef11411706f7
5
5
  SHA512:
6
- metadata.gz: e91f481e093e423b873fcfd673bda8337645b066a7c278bea28175f8e11d94d9ac1dc401fc7defa1f8afca11d9125f7007aa8c12e1a4410351511f6e876bf593
7
- data.tar.gz: 0fd7db359a459575bc2b7f08b5d6f86d5d78c58247af82db87884e5a1e10e768f9f3f0247abf2d491ebf30c9df8ec623fd65c8c51bf089fa29eba9cf75a9d9ac
6
+ metadata.gz: b8b58b2c6a4424930f2f36c8f4229fbf821d75bab540ff12800c31174c6782f8886800ac27e42ade7897a75bdb7fcf06873ba35764e8434cf6d24ea606ac409f
7
+ data.tar.gz: 94cf8917f88be81207061ec178ee2920306275f79d74fb019b25647b67deae4745f791a1c30efada0edbe8885be27c1dc0c345cac88f48f6ee5568d243884734
@@ -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*(.+?)(?:;?\s*\Z)/i))
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]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CssParser
4
- VERSION = '1.13.0'.freeze
4
+ VERSION = '1.14.0'.freeze
5
5
  end
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.13.0
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: 2022-12-29 00:00:00.000000000 Z
11
+ date: 2023-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable