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 +5 -5
- data/CHANGELOG.md +3 -0
- data/lib/esvg/symbol.rb +1 -1
- data/lib/esvg/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 790e8163f8fb60ea722fd1411e87eb09867c3805b3edc35db1e0e2bc33b240ea
|
4
|
+
data.tar.gz: 179e444090e5803f6a5ce5313a2abf5fd5f463188c6ffbabd3b197fc81f547b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e62591f803c9f79e1864838d09ecfa1ac09812d9ba8a3eb5ad7cfbe0655b9b1eb8bbc04d9a2285c16618e2d99cf44080ac43a13ebd11823b1ea32c6b26461ee9
|
7
|
+
data.tar.gz: 3229fecb426ea389a59fa5d565565e69c5fe059cdf9662ecc972b6b1b932d2abfc7eaf6676f7a612584928c015f5f5b40ff4bf5a3f1e4567b0512a7605919869
|
data/CHANGELOG.md
CHANGED
@@ -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
|
|
data/lib/esvg/symbol.rb
CHANGED
@@ -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
|
data/lib/esvg/version.rb
CHANGED
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.
|
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-
|
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.
|
118
|
+
rubygems_version: 2.7.6
|
119
119
|
signing_key:
|
120
120
|
specification_version: 4
|
121
121
|
summary: Embed svgs in HTML or CSS
|