rspec-system 2.7.1 → 2.7.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ODI0ZWQ3MGQ3ZjM2MTRlZGI4Y2ExMGM1NjlhNTRjMzE3NmRkODBlMA==
4
+ ZWFkNDA1YWE4ZWU1NjZlZDY5YjM2YTI3MDY1YzRhMmQxNThjNGIxYw==
5
5
  data.tar.gz: !binary |-
6
- MTA1ZDZkZmZlMWQ4ZTViNDgxMzM1MTljYTg4ZjA4YmUzNWY0NTZhNA==
6
+ MGMxOGNjMzg5ZDdlZTk0ODE3ZTUxOGM1MTJiZWYwZTEyNzVlNGEzNg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YTBlNDZiOWJkMDQ2YzBkNjdkMzc1OGZjMGE3MWNkNzEwYTE1YmRhNDJjMmZl
10
- MDcxNTNkNTM2MWMzYTJjOGU1Y2RiNjQyM2JmN2NkNTI5NTRiNDQxNWYyOTNh
11
- YTYwZTdhMmEwNzg4NGM2YjAyYTZhZGFlNDQwYzE0MWNjYzFhMTk=
9
+ MjFmNjQ5NDE3OTkwYjFkYzkwYmM4ZGM4MDM5MmYwZGNhZjIxZDUzNDQyZDYz
10
+ ZjE2NzVhNWY0ZWUxNmQ3OGU2OWM1NzYyZDU2ZWZiMjc2YWFjNmEyZWJhOWQw
11
+ ZGMxNjhiNTU0YzlhZjJmNDMyM2RmODA4ODMzMDg2MzhhNzJlZWQ=
12
12
  data.tar.gz: !binary |-
13
- OTFiZTlhNGQyODc3Yzc4NTU5MGY0MTlhZmY0ZWM5NGEzYzAzN2RhNTVjOTVm
14
- OTYyMzZlM2UyNTI2MGRjZjYzYzczMGFjNjY4ZmRkNzcwNWIxMmNkNmY0MjZi
15
- ZTE4NWEzOTMxY2Y2MTBmMDU0ZWMwNTA4N2VhYmI1MjgyY2M4NDU=
13
+ MDhjNTNiNDZhMGJhMjFhMzA0MDNmMWIzMWYwY2YxOTBlYzI1Nzk3ZWNiMjlm
14
+ NDNlZTdjNjVmZmVhNDBkMjgwMDA2NDFjMzU4NjI0YmMxNmIxYzEwNDdjZmQ1
15
+ YmI3NTljYjFhMjFkNzk2ZmZhMzI3MzcxZmZjMmFiZTZhMDY4NzU=
@@ -1,3 +1,17 @@
1
+ 2.7.2
2
+ =====
3
+
4
+ This bug fixes ensures all SocketErrors for SSH are caught and retried.
5
+
6
+ It also fixes the last release whereby Net::SSH::Exception was accidentally
7
+ removed at release time.
8
+
9
+ #### Detailed Changes
10
+
11
+ * rescue and retry ssh on SocketError and Net::SSH::Exception (Johan Haals)
12
+
13
+ -------------------------------
14
+
1
15
  2.7.1
2
16
  =====
3
17
 
@@ -216,7 +216,7 @@ module RSpecSystem
216
216
  output << bold(color("localhost$", :green)) << " ssh -l #{opts[:user]} #{opts[:host]}\n"
217
217
  Net::SSH.start(opts[:host], opts[:user], opts[:net_ssh_options])
218
218
  end
219
- rescue Timeout::Error, SystemCallError => e
219
+ rescue Timeout::Error, SystemCallError, Net::SSH::Exception, SocketError => e
220
220
  tries += 1
221
221
  output << e.message << "\n"
222
222
  if tries < ssh_tries
@@ -2,7 +2,7 @@
2
2
  Gem::Specification.new do |s|
3
3
  # Metadata
4
4
  s.name = "rspec-system"
5
- s.version = "2.7.1"
5
+ s.version = "2.7.2"
6
6
  s.authors = ["Ken Barber"]
7
7
  s.email = ["info@puppetlabs.com"]
8
8
  s.homepage = "https://github.com/puppetlabs/rspec-system"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-system
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.1
4
+ version: 2.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Barber
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-08 00:00:00.000000000 Z
11
+ date: 2013-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec