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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9072f4ffcc028666e7f301a24b48384e2f96c7db
4
- data.tar.gz: 18d8f88625cc25753074b22491ab32f7f40e3fa6
3
+ metadata.gz: 851eef0a00a3c06e1426950b9c451a8588bd90a2
4
+ data.tar.gz: f32f1e3ab075a04ab6feb1fce859ff472668259c
5
5
  SHA512:
6
- metadata.gz: 70d5bc8ad0364f95f7a6373432ca32cb31b7d814c560036f86e8ce9c1a8aacc9d8ffa0526beddd93dc9dfb4d7853a3278fbd97086826f6d72fe00dae7dd52ed3
7
- data.tar.gz: 1386a3c4a204cf47427e8a1356820d8d5498a7be11df5b49393fe8f46b2ee68f792fc943761f4da03a116f0a22822f435ca8cb483b213e632b9baf168c6221ce
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)
@@ -1,5 +1,5 @@
1
1
  module InchCI
2
2
  module Worker
3
- VERSION = "0.3.9"
3
+ VERSION = "0.3.10"
4
4
  end
5
5
  end
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.9
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-06-19 00:00:00.000000000 Z
11
+ date: 2015-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler