fastlane-plugin-ftps 0.1.18 → 0.1.19

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: c8cc54750dc7922e2dee8b6dc8f25b417250cc80c33a988c2d692baa21e43ec9
4
- data.tar.gz: 65417e5e8270174856bae91a86709909ce3de5295d7887a969bb5fba3171e9d8
3
+ metadata.gz: f6253efd8bec0590c0eaa8ca180bcb948c321b2d07f00f6f153e9c624bd49fe1
4
+ data.tar.gz: 76244498cccbaea80fae6278694afd75135aae7c41b7f385960a57478e33735d
5
5
  SHA512:
6
- metadata.gz: 9c8d54fc23afb7d24e2bf18474e04bb01a08e540df682bbaa0646cf9930e3aa912c918a469184df8bb3793670c070c723d436dc6d33e5dfebd19703641e7365c
7
- data.tar.gz: 79cc80aa9c3e048b7f5bf611ad9e1d919a562b084185a19f0f3aaa5439d613874e5fcbf1c446cb8297cb16f39ab121c38919cb488e9de5e372c13f360c9db6e4
6
+ metadata.gz: 353c993df725fcb5673f58b8bbf02b46b222634a0a924a9c782f1f139fd0a33d9b1e06a8397a150876e247eb31354ed092ad4e65905442f5a23d7fe3f34184f3
7
+ data.tar.gz: 7e27a728fca7ec07f851e4f2830195e12a4a0c82de90395ebfdf9fbfb4de7c814ba0ff01132a3ab042184423d5c19c06b78a116336460d8361d38f51822d6335
@@ -36,7 +36,7 @@ module Fastlane
36
36
 
37
37
  def self.put(params)
38
38
  ftp = connect_ftp(params)
39
- ensure_remote_path(params[:upload][:dest], folder)
39
+ ensure_remote_path(ftp, params[:upload][:dest])
40
40
  ftp.chdir(params[:upload][:dest])
41
41
  filesize = File.size(params[:upload][:src])
42
42
  progressbar.total = filesize
@@ -60,8 +60,10 @@ module Fastlane
60
60
  ftp = connect_ftp(params)
61
61
 
62
62
  # Upewniamy się, że ścieżka (folder) do której wgrywamy istnieje.
63
- base_file_path= params[:upload][:base_file_path]
64
- file_paths = params[:upload][:src]
63
+ base_file_path = params[:upload_multiple][:base_file_path]
64
+ file_paths = params[:upload_multiple][:src]
65
+
66
+ ensure_remote_path(ftp, params[:upload_multiple][:dest])
65
67
 
66
68
  total_size = file_paths.reduce(0) { |sum, file_path| sum + File.size(file_path) }
67
69
  progressbar = ProgressBar.create(
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Ftps
3
- VERSION = "0.1.18"
3
+ VERSION = "0.1.19"
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.18
4
+ version: 0.1.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rafał Dziuryk