thecore_ftp_helpers 1.1.25 → 1.1.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/thecore_ftp_helpers/version.rb +1 -1
- data/lib/thecore_ftp_helpers.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86f3f808de7c9614e09b8f5b8ad5eca82a84fd37
|
4
|
+
data.tar.gz: 0d74a48950ba89609c1a8a3b80e5a0d678bac9fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0a5cefefdd8401111ee7ab31679bbca5f8a4aa3a5fdac63e69051a81fd10b4aacfdc8aaff5fcedce105c5e64d051f7e43f3342871e8ac6b3bf9b48c18764640
|
7
|
+
data.tar.gz: b88488c200f3969f66aab1d63932d29aaefb808bd5c816913d1ebb0e441b716c91c389b51a5e3addea28d8af31bda6a35f5e5d0a067c12991448f763b5675246
|
data/lib/thecore_ftp_helpers.rb
CHANGED
@@ -15,12 +15,12 @@ module ThecoreFtpHelpers
|
|
15
15
|
ftp.chdir(directory)
|
16
16
|
puts "Listing all files which respond to this pattern: #{pattern}"
|
17
17
|
begin
|
18
|
-
files = ftp.
|
18
|
+
files = ftp.nlst(pattern)
|
19
19
|
rescue => exception
|
20
20
|
# If we are here, maybe it's beacause of passive mode and the network too secure
|
21
21
|
# let's switch to active mode and try again
|
22
22
|
ftp.passive = false
|
23
|
-
files = ftp.
|
23
|
+
files = ftp.nlst(pattern)
|
24
24
|
end
|
25
25
|
|
26
26
|
puts "Last import time: #{from.strftime('%Y-%m-%d %H:%M:%S.%N')}"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thecore_ftp_helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriele Tassoni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thecore_servers
|