eac_launcher 0.6.7 → 0.6.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/eac_launcher/git/publish_base.rb +5 -5
- data/lib/eac_launcher/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ad0aa8774e1df1d7021fd0378efb380e010d62ef1e512133a804d482661f9dc
|
4
|
+
data.tar.gz: e59ccce20cf0e91123a8c50c83273b8190dd7bf1f86ca9d5679a37521c8cb58a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78962bf298d9f2ee7f0dbff6685996a7041d339237b2c39355bf5ebd90e98437a70b171f8b81e5b639b1e5b698606c5a771d0af6cf2480636af2734d3e61e740
|
7
|
+
data.tar.gz: 371cd735e19e5aa369a5666dbf064e20cf0837b9cfab14e542612f60aececd280654406904b2cdb0151251654c88c6984643a94b3892cd0fba16ba0dd9eb0c7b
|
@@ -13,7 +13,7 @@ module EacLauncher
|
|
13
13
|
CHECKERS = %w[remote_url remote_fetch publish_remote_no_exist remote_equal remote_following
|
14
14
|
local_following].freeze
|
15
15
|
|
16
|
-
REMOTE_UNAVAILABLE_MESSAGES = ['could not resolve
|
16
|
+
REMOTE_UNAVAILABLE_MESSAGES = ['could not resolve host', 'connection timed out',
|
17
17
|
'no route to host'].map(&:downcase).freeze
|
18
18
|
|
19
19
|
protected
|
@@ -24,6 +24,10 @@ module EacLauncher
|
|
24
24
|
return result if result
|
25
25
|
end
|
26
26
|
divergent_result_check_result
|
27
|
+
rescue ::StandardError => e
|
28
|
+
raise e unless remote_unavailable_error?(e)
|
29
|
+
|
30
|
+
::EacLauncher::Publish::CheckResult.blocked(e.message)
|
27
31
|
end
|
28
32
|
|
29
33
|
private
|
@@ -38,10 +42,6 @@ module EacLauncher
|
|
38
42
|
def remote_fetch_check_result
|
39
43
|
remote_fetch
|
40
44
|
nil
|
41
|
-
rescue ::StandardError => e
|
42
|
-
raise e unless remote_unavailable_error?(e)
|
43
|
-
|
44
|
-
::EacLauncher::Publish::CheckResult.blocked(e.message)
|
45
45
|
end
|
46
46
|
|
47
47
|
def remote_unavailable_error?(error)
|
data/lib/eac_launcher/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eac_launcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Esquilo Azul Company
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|