compass-svg-sprites 0.0.3 → 0.0.4

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: 27ab345e95ebe998e06f84c1b451addfcbd0d103
4
- data.tar.gz: 3772c3d7685b0170b0890ab8f354c00ef521ff74
3
+ metadata.gz: b1654490e5a724def672bd2dcc0eadccf99cefe0
4
+ data.tar.gz: 9470e46e57041ee6033a1a1275983e4f22103c53
5
5
  SHA512:
6
- metadata.gz: e497d8ce4bbc3a673dca8742d95ddd292585fa7ff365cbfbc77bfe56a595d38cef4aca1aeea264f621bec55cb44c310943f5486f4f0ff97f315ea33830291e1d
7
- data.tar.gz: 5da8a0a8277f26805e8fcca924d2e9084c54d500aeed837185f1e310ea6fd47ea99d0f2542430ad1be752d89d421860498a36f04accb50cbbe3695535a9d2334
6
+ metadata.gz: 1de6a50f3e3b059feb762fdfe45cb4f80581be732e655bca723ac2b32e35fec29863a02ef088039fb7d27cbf60eeeea435330e7d565abe6afda32d7f105a9373
7
+ data.tar.gz: 48436871b8e11957a57cc73e369901f4ef7ce2a741d33a5ca42ed7dcdc93facc702fd1a482af931e555024717a3fdf7125aae0e1207e355700a5384041c01332
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "compass-svg-sprites"
7
- spec.version = "0.0.3"
7
+ spec.version = "0.0.4"
8
8
  spec.authors = ["Steve Hoeksema"]
9
9
  spec.email = ["steve@thefold.co.nz"]
10
10
  spec.summary = %q{Convert a folder of SVGs to PNGs}
@@ -30,7 +30,10 @@ module Sass::Script::Functions
30
30
  end
31
31
 
32
32
  image = MiniMagick::Image.open(svg_path)
33
- image.format "png"
33
+ image.format("png") do |c|
34
+ c.background "transparent"
35
+ c.antialias
36
+ end
34
37
  image.write png_path
35
38
  end
36
39
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compass-svg-sprites
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Hoeksema
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-03 00:00:00.000000000 Z
11
+ date: 2014-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler