norad_spec_runner 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b22114397849061ca1037da2cbbb4b083cafdd26
4
- data.tar.gz: 7fb50759f4d67376cc203a0df306b923ea3d59a3
3
+ metadata.gz: 55e04a63541902d38d496d7f99857a06ddb258da
4
+ data.tar.gz: 9a82f686ad32f086e2a776de67f3606deeaad253
5
5
  SHA512:
6
- metadata.gz: bc917687dd6c48f3383a1268fcebd4d7d038c898765be7556cb1eaa42109b4f1cdf49b454feb7de01a77a2af4eb003ffb3b30c29eed2bec7acddd1cc4ad52a67
7
- data.tar.gz: c86933832c1e545327439bbb593a6408dbbc873b36e667c3a045e804f11d690d2ddae049af1ab3e1ba5734dcaacd5c28dbf42dbfb1179a81b1633474da1db267
6
+ metadata.gz: 997a6147aa6f5c7ddb9854dc2bc5681046b3d4532a86e797fa7aef7f931825d99bdfb1e4baa9cd75ef44076c7a72fdeb25da30788efeedd5cafc48154759cfdd
7
+ data.tar.gz: 4afafd4ec72a46b1ab6fc36dff7267aa847aaa8b1a4be7c8817364cb3c419424dd7a17026655fad6df5b83a70afd8fde1aafe7b938c1aa87b04320d8c9a63136
@@ -110,18 +110,18 @@ module NoradSpecRunner
110
110
  end
111
111
  !@platform.nil?
112
112
  end
113
- end
114
113
 
115
- # Check if given host/ip is reachable and we can ssh as root
116
- # If not, then create empty log file for that host and return false.
117
- def unable_to_ssh?
118
- session = start_ssh_session
119
- session.exec('ls')
120
- session.close()
121
- false
122
- rescue Net::SSH::AuthenticationFailed, Net::SSH::ConnectionTimeout, Net::SSH::Timeout, Net::SSH::Exception, Errno::ECONNREFUSED, Errno::EHOSTUNREACH => e
123
- p e
124
- write_error_to_results_file e.message
125
- true
114
+ # Check if given host/ip is reachable and we can ssh as root
115
+ # If not, then create empty log file for that host and return false.
116
+ def unable_to_ssh?
117
+ session = start_ssh_session
118
+ session.exec('ls')
119
+ session.close()
120
+ false
121
+ rescue Net::SSH::AuthenticationFailed, Net::SSH::ConnectionTimeout, Net::SSH::Timeout, Net::SSH::Exception, Errno::ECONNREFUSED, Errno::EHOSTUNREACH => e
122
+ p e
123
+ write_error_to_results_file e.message
124
+ true
125
+ end
126
126
  end
127
127
  end
@@ -1,3 +1,3 @@
1
1
  module NoradSpecRunner
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: norad_spec_runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Manifold