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: 91d35ab5b5403cd52129a5513c960cef2182b4b9
4
- data.tar.gz: f25c0c5ed213413c46915bd1cad4d051fbd9df69
3
+ metadata.gz: aa5dea3b424a09966b8bcc7ba5691c1582f5f19d
4
+ data.tar.gz: c2efb4d94f62196c1d0480981f7520ff2b827314
5
5
  SHA512:
6
- metadata.gz: 36bccd9c40ca9c9448a6ae5b4feff0b7054c1e57c8a7cb02fcfc8e59646c9fd8fe24faf125a00483da6687f27afa9f869d7767f88d1d49c3366cba3d6135782c
7
- data.tar.gz: 76317b2cccd980e7bdcb3e9ec717eb77c0d0a1668585ca8252c59a02bf269f4c1ad86a2164875f6515d83b59ddd8ae169cb63cdee179286b14a5731a38fa15e0
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.to_i * scale.to_i }
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'
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Appicon
3
- VERSION = "0.1.0"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
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.1.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-01 00:00:00.000000000 Z
11
+ date: 2016-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mini_magick