eac_launcher 0.6.5 → 0.6.6
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d36b89fd1074427a33288a42121b46805843c55fad78c9826284e08d1847bacd
|
4
|
+
data.tar.gz: fafbfeafd5d7c642122787fbc2cc1356da6dcce51a62ffcddf238f099b5e4423
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f70a04dd185704cfcf72e77e418370373a40a3ac0cf7f511da39125bdfc95bbfe53adba067e0d997fb07618203c9783e02ddcd92f2b3ebe17167f038be9c7bef
|
7
|
+
data.tar.gz: 7bb322b0d6847009f6e7e682b24ea011d4bac45bfde76473feeaff61cea5a839248997a740359c566df561c581f96f75bdf17b7c893d447f14dccb9ba8026a24
|
@@ -29,7 +29,8 @@ module EacLauncher
|
|
29
29
|
private
|
30
30
|
|
31
31
|
def remote_url_check_result
|
32
|
-
|
32
|
+
remote = sgit.remote(remote_name)
|
33
|
+
return if remote.exist? && remote.url.present?
|
33
34
|
|
34
35
|
::EacLauncher::Publish::CheckResult.blocked("Remote \"#{remote_name}\" has blank path")
|
35
36
|
end
|
@@ -7,7 +7,9 @@ module EacLauncher
|
|
7
7
|
def to_ssh_url(url)
|
8
8
|
return nil if url.blank?
|
9
9
|
|
10
|
-
|
10
|
+
url_no_dot_git = url.gsub(/\.git\z/, '')
|
11
|
+
|
12
|
+
m = %r{\Ahttps://github.com/([^/]+)/([^/]+)\z}.match(url_no_dot_git.to_s)
|
11
13
|
m ? "git@github.com:#{m[1]}/#{m[2]}.git" : url
|
12
14
|
end
|
13
15
|
end
|
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.6
|
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: 2019-
|
11
|
+
date: 2019-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|