fastlane-plugin-ftps 0.1.22 → 0.1.24

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: 6b4706fd9df654fc7546125d88af5baa2b84182605849e027d40974abb64995f
4
- data.tar.gz: 97b4fd28d32452fb85429e2620f64afd4eb91136853c7232f5ef55d230668e7c
3
+ metadata.gz: 944dc3af6503f9feebb83f137d5de2c9bedd1afd9685898e350e13d1e88f851f
4
+ data.tar.gz: b3bddf780f3703fc09129f28e6c7615bc9774faab0b65a57b3073f47ee641c4a
5
5
  SHA512:
6
- metadata.gz: 3511691f826bf2a415a64ec998f14089f5768ef47c3d0fcd29b06d4eddcd072cc7cf9efd41beccc79d7ad5c6311956788c556878433ec2107ee15d8a70fda18d
7
- data.tar.gz: 934928de126bb6551db73c0ac5d921ddda8a3bdc47f30bae4da076034dc47357c753f1119e69c2fcc62e9707d1a63e2bfaaf229e8d26b1997ead077d9712d0e0
6
+ metadata.gz: a8d538fbae5831abbe06f0456d738fac4c9f8a6bed8aef308800fe33ed57a46e4c6b1271a44baa33abc71781506876d8312c9ec359a85094f411bac0e82451cf
7
+ data.tar.gz: 380093ba15ac459e6afb2fdbb41119c2f92af4cbfa8bad9838f3357fe3df1cee10b780b674b5e3de5f89e691a37990970c8cb77306883bd1b1cc44baed0679a9
@@ -73,17 +73,20 @@ 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
- 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
- )
79
+ # total_size = file_paths.reduce(0) { |sum, file_path| sum + File.size(file_path) }
80
+ # progressbar = ProgressBar.create(
81
+ # format: '%a |%b>>%i| %p%% %t',
82
+ # total: total_size,
83
+ # starting_at: 0
84
+ # )
84
85
 
85
86
  file_paths.each do |local_file|
86
87
  relative_path = local_file.sub(%r{\A#{Regexp.escape(base_file_path)}/?}, '')
88
+ UI.success("Successfully download #{local_file} #{base_file_path} #{relative_path}")
89
+
87
90
  dir_name = File.dirname(relative_path)
88
91
  file_name = File.basename(relative_path)
89
92
 
@@ -95,6 +98,7 @@ module Fastlane
95
98
  File.join(remote_base, dir_name)
96
99
  end
97
100
 
101
+ UI.success("Successfully ensure_remote_path #{remote_path}")
98
102
  ensure_remote_path(ftp, remote_path)
99
103
  ftp.chdir(remote_path)
100
104
  ftp.putbinaryfile(local_file, file_name)
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Ftps
3
- VERSION = '0.1.22'
3
+ VERSION = '0.1.24'
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.22
4
+ version: 0.1.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rafał Dziuryk