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: f66c9c5ee033458d203d994185848742b0d051c3a5f8f0979de77e5e3f9e57e7
4
- data.tar.gz: 4d8c190a07cba3333788592907afe7d78c912f6796ef198f2099fad4f5e632fb
3
+ metadata.gz: d36b89fd1074427a33288a42121b46805843c55fad78c9826284e08d1847bacd
4
+ data.tar.gz: fafbfeafd5d7c642122787fbc2cc1356da6dcce51a62ffcddf238f099b5e4423
5
5
  SHA512:
6
- metadata.gz: e7f04a5f80dbf880603e8ea01a68d937c6d3a06ffbbc338697093cc2b7e120fb1560bc7bbe3f58f23e620569d8653aef327d6c4084eb79d9e622bb07c3e8aeb4
7
- data.tar.gz: e3b9f63f585333f2f8a8e2d737f04f7201794a70600ec89391780f85ae6339be4adae15a44e6eba42f44447eb58cb0f7d933a3f838ddb07e7195ea71ed0f441e
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
- return if sgit.remote(remote_name).url.present?
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
@@ -21,7 +21,7 @@ module EacLauncher
21
21
 
22
22
  class << self
23
23
  def pending_status?(status)
24
- [STATUS_PENDING, STATUS_BLOCKED].include?(status)
24
+ [STATUS_PENDING].include?(status)
25
25
  end
26
26
 
27
27
  def updated_color
@@ -7,7 +7,9 @@ module EacLauncher
7
7
  def to_ssh_url(url)
8
8
  return nil if url.blank?
9
9
 
10
- m = %r{\Ahttps://github.com/([^/]+)/([^/]+)\z}.match(url.to_s)
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacLauncher
4
- VERSION = '0.6.5'
4
+ VERSION = '0.6.6'
5
5
  end
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.5
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-19 00:00:00.000000000 Z
11
+ date: 2019-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport