esvg 2.4.2 → 2.4.3

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
  SHA1:
3
- metadata.gz: 6b087a02dc8dc7a7441b1e1947004e94ec92c0da
4
- data.tar.gz: 6493260130cb04bbb057919c7fd73ab905794105
3
+ metadata.gz: 5759805f4218312b94e22a42bca5979fcbb71beb
4
+ data.tar.gz: 03a197b995bbdf9c420cf3f36dcacec8687e97b3
5
5
  SHA512:
6
- metadata.gz: dd65cb5d99def4eb3100975670c760e7f4bfed24bd7117844844d3c813d4e5dca289246e45d7cc3c439b0d80be8d73fe3329f3b3d0e3b8417f4ee7bab837c7f4
7
- data.tar.gz: cd900bbfd5310726d2b946eb82c6f694cf7f947fd2b9a663105a09014364b1876c48f40228b2a0577ed2e795d399a026271e5047196d1c78d00b248c3127ead6
6
+ metadata.gz: 20adcf07e79c3d4a0e8bc5cb020642eec7e6d27aef4dcbe79d5d1e3e1e93eea2cccd58435bd8b9f1c822ab11a21b97399cfa7ab5c74da0179c49def4156dda3d
7
+ data.tar.gz: 3821641bc24bae405219de5b391a6abc09a204a0397dad2739ca13055d13dc65c948ba8c53b72bfbf9ddfea03fd1536ec44c8bdec48d98692ff6e67fb891750c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ### 2.4.2 (2015-10-27)
4
+ - Fix: Use proper svgo command when svgo is available.
5
+
3
6
  ### 2.4.2 (2015-10-26)
4
7
  - Fix: Improved reliability and speed of optimization with svgo, by writing a temp file to the file system.
5
8
 
data/lib/esvg/svg.rb CHANGED
@@ -264,7 +264,7 @@ module Esvg
264
264
  def optimize(svg)
265
265
  if config[:optimize] && svgo?
266
266
  path = write_svg(svg)
267
- svg = `svgo '#{path}' -o -`
267
+ svg = `#{@svgo} '#{path}' -o -`
268
268
  FileUtils.rm(path)
269
269
  end
270
270
 
data/lib/esvg/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Esvg
2
- VERSION = "2.4.2"
2
+ VERSION = "2.4.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: esvg
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.2
4
+ version: 2.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis