mge_wholesale 3.1.0 → 3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mge_wholesale.rb +1 -0
- data/lib/mge_wholesale/base.rb +7 -2
- data/lib/mge_wholesale/version.rb +1 -1
- 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: 54bffed1bab8c51fa07cc900c0f2a35d0cff9d0c
|
4
|
+
data.tar.gz: 5752172334e12e402983baab47ef6447542ba93a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca0980f4ac686de3d796c707adc0924e97a8a502ab984a67f5775a8c323186e33ac2bae3e03dd3b8759a1d0b9c81633ad9b4b672ab007c4e8e6f8a2ebac54cf2
|
7
|
+
data.tar.gz: 3567afb109669346fb3f6d44ef4dd1c2e518152677726fa4c021645d595e7192ec19f45483c277adc68f689136b2e596e8ce617cdab22b6dbbc28a03bfa4a218
|
data/lib/mge_wholesale.rb
CHANGED
data/lib/mge_wholesale/base.rb
CHANGED
@@ -13,8 +13,13 @@ module MgeWholesale
|
|
13
13
|
ftp.close
|
14
14
|
end
|
15
15
|
end
|
16
|
-
rescue Net::FTPPermError
|
17
|
-
raise
|
16
|
+
rescue Net::FTPPermError => e
|
17
|
+
raise case
|
18
|
+
when e.message =~ /no such file or directory/i
|
19
|
+
MgeWholesale::FileOrDirectoryNotFound
|
20
|
+
else
|
21
|
+
MgeWholesale::NotAuthenticated
|
22
|
+
end
|
18
23
|
end
|
19
24
|
|
20
25
|
protected
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mge_wholesale
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ken Ebling
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|