nera 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/Rakefile +1 -1
- data/lib/nera/nera_remote_connector.rb +20 -0
- data/lib/nera.rb +1 -1
- metadata +4 -4
data/History.txt
CHANGED
data/Rakefile
CHANGED
@@ -94,6 +94,10 @@ module NERA
|
|
94
94
|
$stderr.puts "failed"
|
95
95
|
@db_folders.logger.error(self.class.to_s) { Net::SSH::Exception }
|
96
96
|
return :connection_failed
|
97
|
+
rescue OpenSSL::PKey::RSAError => ex
|
98
|
+
$stderr.puts "failed"
|
99
|
+
@db_folders.logger.error(self.class.to_s) { Net::SSH::Exception }
|
100
|
+
return :connection_failed
|
97
101
|
end
|
98
102
|
$stderr.puts "done"
|
99
103
|
return str
|
@@ -162,6 +166,10 @@ module NERA
|
|
162
166
|
$stderr.puts "failed"
|
163
167
|
@db_folders.logger.error(self.class.to_s) { ex.inspect }
|
164
168
|
return :connection_failed
|
169
|
+
rescue OpenSSL::PKey::RSAError => ex
|
170
|
+
$stderr.puts "failed"
|
171
|
+
@db_folders.logger.error(self.class.to_s) { Net::SSH::Exception }
|
172
|
+
return :connection_failed
|
165
173
|
end
|
166
174
|
$stderr.puts "done"
|
167
175
|
}
|
@@ -241,6 +249,10 @@ module NERA
|
|
241
249
|
$stderr.puts "failed"
|
242
250
|
@db_folders.logger.error(self.class.to_s) { ex.inspect }
|
243
251
|
return :connection_failed
|
252
|
+
rescue OpenSSL::PKey::RSAError => ex
|
253
|
+
$stderr.puts "failed"
|
254
|
+
@db_folders.logger.error(self.class.to_s) { Net::SSH::Exception }
|
255
|
+
return :connection_failed
|
244
256
|
end
|
245
257
|
$stderr.puts "done"
|
246
258
|
}
|
@@ -279,6 +291,10 @@ module NERA
|
|
279
291
|
$stderr.puts "failed"
|
280
292
|
@db_folders.logger.error(self.class.to_s) { ex.to_s }
|
281
293
|
return :connection_failed
|
294
|
+
rescue OpenSSL::PKey::RSAError => ex
|
295
|
+
$stderr.puts "failed"
|
296
|
+
@db_folders.logger.error(self.class.to_s) { Net::SSH::Exception }
|
297
|
+
return :connection_failed
|
282
298
|
end
|
283
299
|
$stderr.puts "done"
|
284
300
|
return finished_list( ls_str)
|
@@ -368,6 +384,10 @@ module NERA
|
|
368
384
|
$stderr.puts "failed"
|
369
385
|
@db_folders.logger.error(self.class.to_s) { ex.inspect }
|
370
386
|
return :connection_failed
|
387
|
+
rescue OpenSSL::PKey::RSAError => ex
|
388
|
+
$stderr.puts "failed"
|
389
|
+
@db_folders.logger.error(self.class.to_s) { Net::SSH::Exception }
|
390
|
+
return :connection_failed
|
371
391
|
end
|
372
392
|
$stderr.puts "done"
|
373
393
|
|
data/lib/nera.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nera
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yohsuke Murase
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-08-
|
12
|
+
date: 2009-08-07 00:00:00 +09:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -38,7 +38,7 @@ dependencies:
|
|
38
38
|
version_requirement:
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
|
-
- - "
|
41
|
+
- - "="
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: 1.4.1
|
44
44
|
version:
|
@@ -137,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
137
137
|
requirements: []
|
138
138
|
|
139
139
|
rubyforge_project: nera
|
140
|
-
rubygems_version: 1.3.
|
140
|
+
rubygems_version: 1.3.5
|
141
141
|
signing_key:
|
142
142
|
specification_version: 3
|
143
143
|
summary: This is an application which helps you to manage a database for the Monte Carlo simulations
|