fastlane-plugin-droidicon 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2c05943d57462fe803262fd6866073a6294cc407c1d2b73209b29cd276adaa8a
4
- data.tar.gz: a5e86c34780ecb1f0cbb30ae76f8f114dac9f3d6dc7537faa86410365aa05e01
3
+ metadata.gz: c6fd04011af8c72453f3ff99ebdcf40410421906eb91b86759c94dc51d275ae0
4
+ data.tar.gz: eca8114a6de2d4b4eb261803c7ba93878a71fcc724fc521eacd0e46c5e86246f
5
5
  SHA512:
6
- metadata.gz: 54f0cd24faf2d1a3148775ead26c65846b2ed88eb86df205c94bdd4ebe56485ee3f96de1e07555ef51642a5a7c607e5108082b5971e2f29974f599ff8624765c
7
- data.tar.gz: 27b0996d6edfba23bd03c2b8c43ba19688e30bd256bf470bfafb302f699bfee377274bb9e941f6bd98d94cc7e4cb11826d676c37ac14630c75a68682667c8f78
6
+ metadata.gz: 384bf4379af4d9fc32ae370c47c84434902c8763984ccb8c127bf479bdc635571870f9e99d474482e2cf44cf318f2af4c41f270f07ee3fa1e881e70f83e4fad8
7
+ data.tar.gz: 2677d79c745e4623e0e5893607ec59bc1151523aa505e296c18da992a3d1e8e54b76e75c10c32ce0cf1831c7871f67e2f84898a0b21a66ab9997b8af95ccd921
@@ -13,6 +13,7 @@ module Fastlane
13
13
  }
14
14
  end
15
15
  def self.run(params)
16
+ UI.message('====== run DroidiconAction ======')
16
17
  fname = params[:appicon_image_file]
17
18
  basepath = Pathname.new("#{params[:res_path]}")
18
19
 
@@ -37,12 +38,15 @@ module Fastlane
37
38
 
38
39
  if params[:size]
39
40
  process.call(params[:size], basepath)
40
- else
41
+ end
42
+
43
+ if basepath.to_s == available_options[2].code_gen_default_value
41
44
  self.needed_icons[:android].each do |scale, size|
42
- process.call(size, File.join(basepath, scale))
45
+ destinaiton = File.join(basepath, scale)
46
+ UI.message("processing: #{scale}, #{size}, to #{destinaiton}")
47
+ process.call(size, destinaiton)
43
48
  end
44
49
  end
45
-
46
50
  UI.success("Successfully stored app icon at '#{basepath}'")
47
51
  end
48
52
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Droidicon
3
- VERSION = "0.2.2"
3
+ VERSION = "0.2.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-droidicon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - "@chrhsmt"
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-05 00:00:00.000000000 Z
11
+ date: 2020-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mini_magick