fastlane-plugin-ftps 0.1.23 → 0.1.25

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: bf2380f1252f732ab5390d3c269975d383fbd14c8b709900e9199cc124eec50b
4
- data.tar.gz: 126f9b207852b8211fe54d2bcecf03beb0f3043f6f26715fdf14e78b5b9cf7c7
3
+ metadata.gz: 0231eab3cd95daf236273b852afb1818b90f771f9b13e8904324646c4ac15859
4
+ data.tar.gz: e58b678ca5fe5e38d5be5dff6334dede153e322747a971730a426bd5294f4313
5
5
  SHA512:
6
- metadata.gz: 244877fc79738e519967e22982af622e305e88fcc53927e7acec7f9575d4f81a5c642698411d62a911f3fa1c5becc229c1cfbefc3b1592cf050d84adeedc96ac
7
- data.tar.gz: d0f0e0f8dbcdd821a8756a46d9c1b29e4824e8c5af3c9f7f577ef3080cba20f899a91fcc9a8f11ac01db60a18267283f0ef6678bd96fa3268c9991e05b1c2948
6
+ metadata.gz: 06caea950f19932fc421fbe574d2ff5b86868693531e82d25b1c1defad9e7a2dac73a26b0663139e4243e8313dbde19b804256bea1b8452cba86c42790dff9cc
7
+ data.tar.gz: 41c96b6e4cbbbe3616ab437ca7315c6caa7af1e65d23363938b374a9c1427ac1345c12b4707b0142ab1956010d63c7431929f583cc31efa6f98dedd84209641e
@@ -73,7 +73,8 @@ module Fastlane
73
73
  base_file_path = params[:upload_multiple][:base_file_path]
74
74
  file_paths = params[:upload_multiple][:src]
75
75
 
76
- ensure_remote_path(ftp, params[:upload_multiple][:dest])
76
+ remote_base = params[:upload_multiple][:dest]
77
+ ensure_remote_path(ftp, remote_base)
77
78
 
78
79
  # total_size = file_paths.reduce(0) { |sum, file_path| sum + File.size(file_path) }
79
80
  # progressbar = ProgressBar.create(
@@ -83,6 +84,8 @@ module Fastlane
83
84
  # )
84
85
 
85
86
  file_paths.each do |local_file|
87
+ next unless File.file?(local_file)
88
+
86
89
  relative_path = local_file.sub(%r{\A#{Regexp.escape(base_file_path)}/?}, '')
87
90
  UI.success("Successfully download #{local_file} #{base_file_path} #{relative_path}")
88
91
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Ftps
3
- VERSION = '0.1.23'
3
+ VERSION = '0.1.25'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-ftps
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.23
4
+ version: 0.1.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rafał Dziuryk