fastlane-plugin-debug_file 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: 32d867b8c00c73dbc4c6c11bee6d330574e993acb58fea78ed93e1a84f32eb45
4
- data.tar.gz: d344092f370bdaca14b4aff2fd9061ece8f18d2a375807d19a0bc59cb9c5ebe3
3
+ metadata.gz: 95fe7394552b5dd55525ec8b8877bea26c813796dcaf766d6fc758541ba3187d
4
+ data.tar.gz: 821dcabcffa00f87ddbee2bc188c1f617d2783cd7c3c818de64b149a2544a781
5
5
  SHA512:
6
- metadata.gz: d7969e5a6c16ea58f817a404c7f34fed8dd470f3f1ad12ad4b5373f593845d6962c8aed097f3ce3f45d145b918d34a8793e74b14c60ba26898ac6e5efff77557
7
- data.tar.gz: 9c3230369026fa755edefcc26325a92c7815662986f1be9198a9acde734c2e06c7d5ccb59a6cdf7df581fa393fe1f935c7908b68a98656a7ea2fa4918df6b011
6
+ metadata.gz: 358f041fa3750ce46f4f2272a6568f27c02c20ee909d8f5995235a6ecf9ea6f52ac256bfea58d3a70e088d53189b5a0e71c63c682f0a024ad724d13093fcff35
7
+ data.tar.gz: '0280f0d169433438a4a57651a982fb3151b3175a0dc6c63a91a52f230bd10bde20259c2b42c0c3437349b3610ee0f918d87b7ac99f47041dc405eca959c5427c'
@@ -12,7 +12,15 @@ module Fastlane
12
12
  FileUtils.mkdir_p output_path unless Dir.exist?(output_path)
13
13
  ::Zip::File.open(desc_file, ::Zip::File::CREATE) do |zipfile|
14
14
  src_files.each do |file|
15
- zipfile.add File.basename(file), file
15
+ if File.file?(file)
16
+ zipfile.add File.basename(file), file
17
+ else
18
+ root_path = "#{File.dirname(file)}/"
19
+ Dir[File.join(file, '**', '*')].each do |path|
20
+ zip_path = path.sub(root_path, '')
21
+ zipfile.add(zip_path, path)
22
+ end
23
+ end
16
24
  end
17
25
  end
18
26
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module DebugFile
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-debug_file
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - icyleaf
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-03 00:00:00.000000000 Z
11
+ date: 2020-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry