inch_ci-worker 0.3.9 → 0.3.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/inch_ci/worker/build/task.rb +1 -1
- data/lib/inch_ci/worker/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 851eef0a00a3c06e1426950b9c451a8588bd90a2
|
4
|
+
data.tar.gz: f32f1e3ab075a04ab6feb1fce859ff472668259c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61259e664434dd013b17a3d494f82bf952f76df7ffb486ccfe7fa6f96111c1db763a7f3a5213a139b3798f7e4da0b1a9834a2c015e799edb93459deac8aed123
|
7
|
+
data.tar.gz: faef163b91f65de09cca39c98482e22a5619351148903a26a8588863bbc92c36ce4b8ca034829c5147ca717c862f2b44f763405a4ad0bcd5356ff101f64a53f4
|
@@ -37,7 +37,7 @@ module InchCI
|
|
37
37
|
@url = url
|
38
38
|
if retrieve_repo
|
39
39
|
checkout_cmd = branch_name == "master" ? "master" : "--track origin/#{branch_name}"
|
40
|
-
if repo.change_branch(checkout_cmd, true)
|
40
|
+
if repo.branch_name == branch_name || repo.change_branch(checkout_cmd, true)
|
41
41
|
if repo.checkout_revision(revision)
|
42
42
|
if @codebase = parse_codebase(language, repo.path)
|
43
43
|
result = ResultSuccess.new(repo, branch_name, latest_revision, @codebase.objects)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inch_ci-worker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- René Föhring
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|