css_parser 1.7.0 → 1.7.1
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/parser.rb +1 -1
- data/lib/css_parser/version.rb +1 -1
- metadata +7 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2dafcbcaaa6e1e5ecb45b092b2d997c799d02c1c06d90130989b45cc085452d
|
4
|
+
data.tar.gz: 1b5cfa1908355aa798b96ed3234e00ea26d3f4a8f36076a2f6ccdec840dfaa71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a589901eab26c8b78d8b0c5eae5224f249ff6e30caa9021c41d583b5a530b4b926f7d3f57cefad6c7b340c9ea925cc44e6b7b86321f6cecfd27684921822b594
|
7
|
+
data.tar.gz: 60882d77d15847bab9aa70ebcfc788cf959580e61577e372badf1677aacee6958eae54e91e6db8ea6063a1cc9b627525a704adb13040b7be601608b69627b0d7
|
data/lib/css_parser/parser.rb
CHANGED
@@ -533,7 +533,7 @@ module CssParser
|
|
533
533
|
# Returns a string.
|
534
534
|
def cleanup_block(block, options = {}) # :nodoc:
|
535
535
|
# Strip CSS comments
|
536
|
-
utf8_block = block.encode('UTF-8', '
|
536
|
+
utf8_block = block.encode('UTF-8', 'UTF-8', invalid: :replace, undef: :replace, replace: ' ')
|
537
537
|
utf8_block = ignore_pattern(utf8_block, STRIP_CSS_COMMENTS_RX, options)
|
538
538
|
|
539
539
|
# Strip HTML comments - they shouldn't really be in here but
|
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.7.
|
4
|
+
version: 1.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Dunae
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -39,7 +39,10 @@ files:
|
|
39
39
|
homepage: https://github.com/premailer/css_parser
|
40
40
|
licenses:
|
41
41
|
- MIT
|
42
|
-
metadata:
|
42
|
+
metadata:
|
43
|
+
changelog_uri: https://github.com/premailer/css_parser/blob/master/CHANGELOG.md
|
44
|
+
source_code_uri: https://github.com/premailer/css_parser
|
45
|
+
bug_tracker_uri: https://github.com/premailer/css_parser/issues
|
43
46
|
post_install_message:
|
44
47
|
rdoc_options: []
|
45
48
|
require_paths:
|
@@ -55,8 +58,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
55
58
|
- !ruby/object:Gem::Version
|
56
59
|
version: '0'
|
57
60
|
requirements: []
|
58
|
-
|
59
|
-
rubygems_version: 2.7.6
|
61
|
+
rubygems_version: 3.0.3
|
60
62
|
signing_key:
|
61
63
|
specification_version: 4
|
62
64
|
summary: Ruby CSS parser.
|