eco-helpers 2.0.63 → 2.0.66
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +19 -3
- data/lib/eco/api/session/config/sftp.rb +1 -1
- data/lib/eco/api/usecases/default_cases/samples/sftp_case.rb +7 -2
- data/lib/eco/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e18955e051a52bf3b075eda58c3e4542cbaa47fad47a2c8be75531fc6ff7d60
|
4
|
+
data.tar.gz: f73bc2e84b1502c0d07d0930822b84ed1850f24023ee579bf893abc9c9d5a1be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 373f6a6a0895abd0894f2d394dbe2b9e25fa00fda3ad6a9d50fa638a7259e0326ee2e23619803807075f448a2c98984a7804e95c4c15fe9263e6acb510f0033b
|
7
|
+
data.tar.gz: 706933565f9eeafd437136ff9159bbe6feb201f07b5f3adf0775eb8c1dfe7069d6f3ca95d724b36fea75a9d355dd7679ded4e4693320455e177425c42b6c6154
|
data/CHANGELOG.md
CHANGED
@@ -1,13 +1,29 @@
|
|
1
1
|
# Change Log
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
|
4
|
-
## [2.0.
|
4
|
+
## [2.0.66] - 2022-08-11
|
5
5
|
|
6
6
|
### Added
|
7
7
|
### Changed
|
8
|
-
- `Eco::API::Session::Config::SFTP#remote_folder` to use native path builder
|
9
|
-
|
10
8
|
### Fixed
|
9
|
+
- `Eco::API::UseCases::DefaultCases::Samples::Sftp` manage exception when trying to access remote folder
|
10
|
+
|
11
|
+
## [2.0.65] - 2022-08-11
|
12
|
+
|
13
|
+
### Added
|
14
|
+
### Changed
|
15
|
+
### Fixed
|
16
|
+
- Typo of a fix
|
17
|
+
|
18
|
+
## [2.0.64] - 2022-08-11
|
19
|
+
|
20
|
+
### Changed
|
21
|
+
- Nothing
|
22
|
+
|
23
|
+
## [2.0.63] - 2022-08-11
|
24
|
+
|
25
|
+
### Changed
|
26
|
+
- `Eco::API::Session::Config::SFTP#remote_folder` to use native path builder
|
11
27
|
|
12
28
|
## [2.0.62] - 2022-07-15
|
13
29
|
|
@@ -36,8 +36,13 @@ class Eco::API::UseCases::DefaultCases::Samples::Sftp < Eco::API::Common::Loader
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def with_remote_files
|
39
|
-
|
40
|
-
|
39
|
+
begin
|
40
|
+
sftp.files(remote_folder, pattern: file_pattern).each do |remote_file|
|
41
|
+
yield(remote_file) if block_given?
|
42
|
+
end
|
43
|
+
rescue Net::SFTP::StatusException => e
|
44
|
+
logger.error("SFTP samplecase: There was an error trying to access the remote folder '#{remote_folder}'")
|
45
|
+
[]
|
41
46
|
end
|
42
47
|
end
|
43
48
|
|
data/lib/eco/version.rb
CHANGED