fastlane-plugin-appicon 0.1.0 → 0.2.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa5dea3b424a09966b8bcc7ba5691c1582f5f19d
|
4
|
+
data.tar.gz: c2efb4d94f62196c1d0480981f7520ff2b827314
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de13af6a69279ff154a1dbd48f0c4bde8ebea07f238d3d78dc100db9dc9cb07bd035311df4e2a197d78829b8713d93d43f0b8a12d008064761a497f6652633c5
|
7
|
+
data.tar.gz: 48c00d41b210e2ba9c7e3c4f31aabfa0c622edcbd0c383d7e2fc527c6af4edb642d0162560fa82362c8947d3e0c51c74dc285aa8e697ed584266f83e0f48ffa6
|
@@ -33,8 +33,8 @@ module Fastlane
|
|
33
33
|
params[:appicon_devices].each do |device|
|
34
34
|
self.needed_icons[device].each do |scale, sizes|
|
35
35
|
sizes.each do |size|
|
36
|
-
width, height = size.split('x').map { |v| v.
|
37
|
-
filename = "#{basename}-#{width}x#{height}.png"
|
36
|
+
width, height = size.split('x').map { |v| v.to_f * scale.to_i }
|
37
|
+
filename = "#{basename}-#{width.to_i}x#{height.to_i}.png"
|
38
38
|
|
39
39
|
image = MiniMagick::Image.open(fname)
|
40
40
|
image.format 'png'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-appicon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boris Bügling
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mini_magick
|