fastlane-plugin-ftps 0.1.21 → 0.1.23

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: a02ea6c22ea4bc5911b711048a7c7d8bb6ded8cf2449398d5c87f8f35a4bd98d
4
- data.tar.gz: e6b101846d991725b14cd9202ac409348ebb7c431ccb842d68f6b0431f66ad98
3
+ metadata.gz: bf2380f1252f732ab5390d3c269975d383fbd14c8b709900e9199cc124eec50b
4
+ data.tar.gz: 126f9b207852b8211fe54d2bcecf03beb0f3043f6f26715fdf14e78b5b9cf7c7
5
5
  SHA512:
6
- metadata.gz: 35864cbb68b6c7a4f80b257f11f67e580bb3cbc46b195f44ed0c60ca00d32d227faaf116a6fae97ac3dbc4c9b8c2b0988cbba9657aaf9c047963e7ab483c3c17
7
- data.tar.gz: 182213b47348ad2b9bc86a92a475616c3691ca38d8a7885e3399c1d2c19fc2c6024f48d10b522619903ee1a4e48a3b47a08ffd67e634f59db2d0deacb2d2679d
6
+ metadata.gz: 244877fc79738e519967e22982af622e305e88fcc53927e7acec7f9575d4f81a5c642698411d62a911f3fa1c5becc229c1cfbefc3b1592cf050d84adeedc96ac
7
+ data.tar.gz: d0f0e0f8dbcdd821a8756a46d9c1b29e4824e8c5af3c9f7f577ef3080cba20f899a91fcc9a8f11ac01db60a18267283f0ef6678bd96fa3268c9991e05b1c2948
@@ -14,7 +14,7 @@ module Fastlane
14
14
  FtpsAction.get(params)
15
15
  end
16
16
 
17
- def ensure_remote_path(ftp, folder)
17
+ def self.ensure_remote_path(ftp, folder)
18
18
  parts = folder.split('/')
19
19
  current_path = ''
20
20
  parts.each do |part|
@@ -75,15 +75,17 @@ module Fastlane
75
75
 
76
76
  ensure_remote_path(ftp, params[:upload_multiple][:dest])
77
77
 
78
- total_size = file_paths.reduce(0) { |sum, file_path| sum + File.size(file_path) }
79
- progressbar = ProgressBar.create(
80
- format: '%a |%b>>%i| %p%% %t',
81
- total: total_size,
82
- starting_at: 0
83
- )
78
+ # total_size = file_paths.reduce(0) { |sum, file_path| sum + File.size(file_path) }
79
+ # progressbar = ProgressBar.create(
80
+ # format: '%a |%b>>%i| %p%% %t',
81
+ # total: total_size,
82
+ # starting_at: 0
83
+ # )
84
84
 
85
85
  file_paths.each do |local_file|
86
86
  relative_path = local_file.sub(%r{\A#{Regexp.escape(base_file_path)}/?}, '')
87
+ UI.success("Successfully download #{local_file} #{base_file_path} #{relative_path}")
88
+
87
89
  dir_name = File.dirname(relative_path)
88
90
  file_name = File.basename(relative_path)
89
91
 
@@ -95,6 +97,7 @@ module Fastlane
95
97
  File.join(remote_base, dir_name)
96
98
  end
97
99
 
100
+ UI.success("Successfully ensure_remote_path #{remote_path}")
98
101
  ensure_remote_path(ftp, remote_path)
99
102
  ftp.chdir(remote_path)
100
103
  ftp.putbinaryfile(local_file, file_name)
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Ftps
3
- VERSION = '0.1.21'
3
+ VERSION = '0.1.23'
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.21
4
+ version: 0.1.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rafał Dziuryk