esvg 4.4.1 → 4.4.2

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
- SHA1:
3
- metadata.gz: 740a5624db183fb489724df93de30fb797f129e6
4
- data.tar.gz: 313e801368b139c1d5caffba2cd58f2cb5616fc3
2
+ SHA256:
3
+ metadata.gz: 790e8163f8fb60ea722fd1411e87eb09867c3805b3edc35db1e0e2bc33b240ea
4
+ data.tar.gz: 179e444090e5803f6a5ce5313a2abf5fd5f463188c6ffbabd3b197fc81f547b0
5
5
  SHA512:
6
- metadata.gz: 04235fff98a436b815afd0707ed83fde14e83639ee5560937caf2c870bdc7cb21f5a6390ab84e65a8cbab707920aa4c1d9e944b4a42eace9326f58422b8ed885
7
- data.tar.gz: c93bb74bb8ecca79bb20f97bbbe8d9cff75987ffdc697f7e2177c79e1e701fe0987aa88dced05036ca80429e6ef400f856e8a3ec5bae8fc007627cfc90975107
6
+ metadata.gz: e62591f803c9f79e1864838d09ecfa1ac09812d9ba8a3eb5ad7cfbe0655b9b1eb8bbc04d9a2285c16618e2d99cf44080ac43a13ebd11823b1ea32c6b26461ee9
7
+ data.tar.gz: 3229fecb426ea389a59fa5d565565e69c5fe059cdf9662ecc972b6b1b932d2abfc7eaf6676f7a612584928c015f5f5b40ff4bf5a3f1e4567b0512a7605919869
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ### 4.4.2 (2018-12-07)
4
+ - Fix: Strips out fill=none, because Firefox doesn't let fill properties override SVGs with fill=none
5
+
3
6
  ### 4.4.0 (2018-08-06)
4
7
  - New: Jekyll support. Just add esvg to the jekyll_plugins group in Gemfile and use {% esvg %} and {% use_svg %} as you'd expect.
5
8
 
@@ -229,7 +229,7 @@ module Esvg
229
229
  .gsub(/\n/m, ' ') # Remove endlines
230
230
  .gsub(/\s{2,}/, ' ') # Remove whitespace
231
231
  .gsub(/>\s+</, '><') # Remove whitespace between tags
232
- .gsub(/\s?fill="(#0{3,6}|black|rgba?\(0,0,0\))"/,'') # Strip black fill
232
+ .gsub(/\s?fill="(#0{3,6}|black|none|rgba?\(0,0,0\))"/,'') # Strip black fill
233
233
  end
234
234
 
235
235
  def post_optimize
@@ -1,3 +1,3 @@
1
1
  module Esvg
2
- VERSION = "4.4.1"
2
+ VERSION = "4.4.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: esvg
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.4.1
4
+ version: 4.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-08-29 00:00:00.000000000 Z
11
+ date: 2018-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -115,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
115
  version: '0'
116
116
  requirements: []
117
117
  rubyforge_project:
118
- rubygems_version: 2.4.5.1
118
+ rubygems_version: 2.7.6
119
119
  signing_key:
120
120
  specification_version: 4
121
121
  summary: Embed svgs in HTML or CSS