net-ssh-backports 6.3.1.backports → 6.3.3.backports

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 04e4fdd7ff8ce1cff9c1e59c9e84af4a214ab877596fdf962e337e6abf66c243
4
- data.tar.gz: e5b42f06e43634f297d56f1abb1201c1d030119ad814ad1832abee4a851d5af1
3
+ metadata.gz: 918c2ff0c3480a29680cb420ff7c17f3c09c1dfd77e825602fd2ed3cbe5d1eac
4
+ data.tar.gz: 56d4d76d1c08be13634ff811989ca3826acade09a1fe99910e3ff55f93557916
5
5
  SHA512:
6
- metadata.gz: ddf1e3e0384d96626e034df439e36ebb6bd2669d16e4b2d4e80d6dcc437622ce6c27bee9be1f4009ba2276689ceeb8a47120b6328628c3d9d9f31bb8d6b0d961
7
- data.tar.gz: 7d96712f721b26ac4ba50fed9fe8a27676b3813b0cb62555457f58b027858e269aae6c8538c20f84dbdd18fda1393b09105875ebd7ef14a7041f54e4c3d7b490
6
+ metadata.gz: 6f6d6b0478fc004842a2cb1c1d18d7ed8680884d6fe8fec4aa5960d5c1d2fe1490678b67a4798e4832a8143cc4de01cbc41c1a3edd66eb5ac8901c4ba7fea11a
7
+ data.tar.gz: 74b7797a3a061f980ce70ad183ed15670b101c1708fa6456d23d0418e02d759d78669d8c7fd4e768fdf935e251b36f9ca0877dacc712c0340179672f53673ff7
@@ -188,6 +188,7 @@ module Net
188
188
  default_files.keep_if do |path|
189
189
  File.expand_path(path)
190
190
  true
191
+ end
191
192
  rescue ArgumentError
192
193
  false
193
194
  end
@@ -143,12 +143,14 @@ module Net
143
143
  # add an entry for the given host and key to the first file it is able
144
144
  # to.
145
145
  def add(host, key, options={})
146
- hostfiles(options, :user).each do |file|
147
- KnownHosts.new(file).add(host, key)
148
- return
149
- rescue SystemCallError
150
- # try the next hostfile
151
- end
146
+ begin
147
+ hostfiles(options, :user).each do |file|
148
+ KnownHosts.new(file).add(host, key)
149
+ return
150
+ end
151
+ rescue SystemCallError
152
+ # try the next hostfile
153
+ end
152
154
  end
153
155
  end
154
156
 
@@ -52,7 +52,7 @@ module Net
52
52
  MINOR = 3
53
53
 
54
54
  # The tiny component of this version of the Net::SSH library
55
- TINY = 1
55
+ TINY = 3
56
56
 
57
57
  # The prerelease component of this version of the Net::SSH library
58
58
  # nil allowed
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: net-ssh-backports
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.3.1.backports
4
+ version: 6.3.3.backports
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamis Buck