fastlane-plugin-appicon 0.4.1 → 0.5.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: ec9aeec0d062d998dfb1bbb8f3b77535dec354c4
4
- data.tar.gz: 38faa12c18b0339344b6123c56d1ef4963bab4a6
3
+ metadata.gz: 4bf1fa83032493433db0007080e3a53f3b5d88a1
4
+ data.tar.gz: 3e1d4f204d629e3d4b875dabd2f950423e581bc2
5
5
  SHA512:
6
- metadata.gz: b34b304582966c9433a1aecfae846586dba64089fc45583c7761e959d72510831728186ea542f77b6462815ce5508054f4bfaea65c899cc2b9b974e0598352bf
7
- data.tar.gz: d20319ffacfbbd69cfbf39a3c78062e7374962c0bd65884e336da4e954f6a412ada5f8f159fa4e8505774544efe865ad2f6dec6b32ebd78f38683693334dee10
6
+ metadata.gz: 672d16fd379d1561cbc1aa0ec98eb387fe4a3efc2da49627d2a04bf5c991dceb53c2dd380070de9af5aabf580be99bc7cf48c8f0aaff3922949de715005c14ec
7
+ data.tar.gz: 3c7f36099d49da1f89bfce165b4cfaba827e5fbcb8772145ac192a79e1db94b422b9c1abe936e303da8e6783cb7f92de85d6ecd430038534367d2b7df6cc44b8
@@ -17,7 +17,7 @@ module Fastlane
17
17
  def self.run(params)
18
18
  fname = params[:appicon_image_file]
19
19
  basename = File.basename(fname, File.extname(fname))
20
- basepath = Pathname.new("#{params[:appicon_path]}/AppIcon.appiconset")
20
+ basepath = Pathname.new(File.join(params[:appicon_path], params[:appicon_name]))
21
21
 
22
22
  require 'mini_magick'
23
23
  image = MiniMagick::Image.open(fname)
@@ -89,6 +89,12 @@ module Fastlane
89
89
  env_name: "APPICON_PATH",
90
90
  default_value: 'Assets.xcassets',
91
91
  description: "Path to the Asset catalogue for the generated iconset",
92
+ optional: true,
93
+ type: String),
94
+ FastlaneCore::ConfigItem.new(key: :appicon_name,
95
+ env_name: "APPICON_NAME",
96
+ default_value: 'AppIcon.appiconset',
97
+ description: "Name of the appiconset inside the asset catalogue",
92
98
  optional: true,
93
99
  type: String)
94
100
  ]
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Appicon
3
- VERSION = "0.4.1"
3
+ VERSION = "0.5.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.4.1
4
+ version: 0.5.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-12-06 00:00:00.000000000 Z
11
+ date: 2017-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mini_magick
@@ -154,8 +154,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
154
  version: '0'
155
155
  requirements: []
156
156
  rubyforge_project:
157
- rubygems_version: 2.6.7
157
+ rubygems_version: 2.5.1
158
158
  signing_key:
159
159
  specification_version: 4
160
160
  summary: Generate required icon sizes and iconset from a master application icon.
161
161
  test_files: []
162
+ has_rdoc: