hu 2.0.5 → 2.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/hu/deploy.rb +6 -1
- data/lib/hu/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: f68145bbe0ffe1e9de6949fc0572d10232e15e095f9b212ac458660f0bf82982
|
4
|
+
data.tar.gz: 4a08b9f6d1c9448d681f42b192c2248e00ec0fad9d4d1c8b39e9db4210739361
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c406d0e29c6c151eb982e07b38de58dae5e954c7f2a549557c97b8fdc48b6ce55a5cdb39a4b27fa113c4cdace99842c520c3d5639f6677b06e0d2f3587dee48a
|
7
|
+
data.tar.gz: 062febcf56f2da774ccdf685dad0e0762ef1b623a9e065da907365f72b1651759723b451264ec89e44beb2b6e2af7a11477ae788915b4855d5b3899d904cfa43
|
data/lib/hu/deploy.rb
CHANGED
@@ -581,7 +581,12 @@ EOF
|
|
581
581
|
def ci_status(release_branch_exists=true)
|
582
582
|
okit = Octokit::Client.new(access_token: ENV['HU_GITHUB_ACCESS_TOKEN'])
|
583
583
|
|
584
|
-
|
584
|
+
origin_url = @git.remotes['origin'].url
|
585
|
+
if origin_url.downcase.start_with? 'http'
|
586
|
+
repo_name = origin_url.split('/')[3..-1].join('/').gsub('.git', '')
|
587
|
+
else
|
588
|
+
repo_name = origin_url.split(':')[1].gsub('.git', '')
|
589
|
+
end
|
585
590
|
|
586
591
|
begin
|
587
592
|
raw_status_develop = status_develop = okit.status(repo_name, @git.branches["origin/develop"].target_id)
|
data/lib/hu/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- moe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -417,7 +417,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
417
417
|
version: '0'
|
418
418
|
requirements: []
|
419
419
|
rubyforge_project:
|
420
|
-
rubygems_version: 2.6
|
420
|
+
rubygems_version: 2.7.6
|
421
421
|
signing_key:
|
422
422
|
specification_version: 4
|
423
423
|
summary: Heroku Utility.
|