net-ftp 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/net/ftp.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cbc758bc303474886e8c40fc3acf98ca44e634f4c25c97e6963e13a2ad0cee71
4
- data.tar.gz: c9a574f98c3e4e9e6f917a67908df8d89d0c773b817995b60540212868e56a5b
3
+ metadata.gz: 4bdb62501e5bd663135f659619281d1723480af308380d93472dec43e0628814
4
+ data.tar.gz: 998189c1c9c3e31cfd0eeefae6ef927bc613a57ac6fd1715a87b1134b56c21f6
5
5
  SHA512:
6
- metadata.gz: 6cea95f58bdfa8fa8e35bbc6976bb786446da71e1b2931acc1619ee9a6d1a267ccc0e1cf1784c6f3520bd213fe7f056ddb09c6b9749023da65112b4f3bf34f0f
7
- data.tar.gz: 1c5140e079cb82af2705d0403dcf85c11fb61a848ceb7b284b07f5014210df67dab148df78ad5a3057f2f81762be7cab33c4de5db4eef718c96c32ead39028db
6
+ metadata.gz: fc3d71fed1b588a29759c6c5cca1158a61b962044da249befaab849fc20be7dafcb23487c7eedc9d109cf651cac9f7c1fa9d97ad2bfdca5460db9c36fb0bf6d3
7
+ data.tar.gz: 401e0f00b8e70ab5f54b9f63c51946d2af029992a7f114e4a08031619de922e75841d52cab3740468c9253135119df0846f4ba733a9df2a1e6a9ae4355c11a68
data/lib/net/ftp.rb CHANGED
@@ -85,7 +85,7 @@ module Net
85
85
  end
86
86
 
87
87
  # :stopdoc:
88
- VERSION = "0.3.1"
88
+ VERSION = "0.3.2"
89
89
  FTP_PORT = 21
90
90
  CRLF = "\r\n"
91
91
  DEFAULT_BLOCKSIZE = BufferedIO::BUFSIZE
@@ -577,7 +577,7 @@ module Net
577
577
  if !resp.start_with?("1")
578
578
  raise FTPReplyError, resp
579
579
  end
580
- rescue
580
+ rescue Exception
581
581
  conn&.close
582
582
  raise
583
583
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: net-ftp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shugo Maeda