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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 66714382244cadbf112104868d94ff8b131ac4cf007deacac52d726bee1a9f9a
4
- data.tar.gz: 8ac559b1fb982da00dfbef4188b3773d2a78637f4db26393aba7cf62287b7883
3
+ metadata.gz: f2dafcbcaaa6e1e5ecb45b092b2d997c799d02c1c06d90130989b45cc085452d
4
+ data.tar.gz: 1b5cfa1908355aa798b96ed3234e00ea26d3f4a8f36076a2f6ccdec840dfaa71
5
5
  SHA512:
6
- metadata.gz: ba75d2e879d80cb7c854889990fd190f5c1fb664ed96b3a47ad78614a257d2ed7acfc3ba453ea34e87612636512305089c1a73d081c8a1c729a854217b17613e
7
- data.tar.gz: ff49b36b1007ae8ce0ecbfd6a2e92536d16c46062898c0a3bae402bacdb731785d6e4b80b0d08e557fcf372f2b0da2d75629c471c8ed2ce59addd13629eda9b9
6
+ metadata.gz: a589901eab26c8b78d8b0c5eae5224f249ff6e30caa9021c41d583b5a530b4b926f7d3f57cefad6c7b340c9ea925cc44e6b7b86321f6cecfd27684921822b594
7
+ data.tar.gz: 60882d77d15847bab9aa70ebcfc788cf959580e61577e372badf1677aacee6958eae54e91e6db8ea6063a1cc9b627525a704adb13040b7be601608b69627b0d7
@@ -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', 'binary', invalid: :replace, undef: :replace, replace: ' ')
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
@@ -1,3 +1,3 @@
1
1
  module CssParser
2
- VERSION = "1.7.0".freeze
2
+ VERSION = "1.7.1".freeze
3
3
  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.7.0
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-02-11 00:00:00.000000000 Z
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
- rubyforge_project:
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.