gitarro 0.1.70 → 0.1.71

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/gitarro/backend.rb +4 -4
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2a2a34d84599e596da7d621b259fc5d28e0595d1
4
- data.tar.gz: d625f03c948ff34129250332dffbc0fdb930f7bc
3
+ metadata.gz: 9733a05342c74d61f73e6df87b39a98265210aca
4
+ data.tar.gz: 53afa4031a1dd1ebc43ae7bf6f52f27e8139bfbb
5
5
  SHA512:
6
- metadata.gz: 2f6dedf76a39c784378cf4430f53f65d328269f3b8774e6d614f45cbfe03e4d0e92cee3566fef946a071d26515cc861ec167a3a02d2748c6916d1c335c9d2c3c
7
- data.tar.gz: 660e5aecfd92a15f21407b494da427241d03b7c493883b9cbe3be203802e7280d9a598b743bd688fb2da9677db1e170923484ce4d5640065a3cf3440ebba424c
6
+ metadata.gz: 4215750b2f25bc6f8794f511fcda36536f35a4737f53ddc619c64b6310a54963608e44942fd10ebb63561e0934d811e4901a0326b0a16c5e51bce4ff5fa42ff6
7
+ data.tar.gz: aa1e985187efc288ae8aef8f778541a47e56e327bc04b9a8458efe4eed39f6adc0b99c34d020df734f12c76f3af1a85b77ba40cc1d553f1a6e7a6f28b592ba15
@@ -84,7 +84,7 @@ class TestExecutor
84
84
 
85
85
  # this will clone the repo and execute the tests
86
86
  def pr_test(pr)
87
- clone_repo(@noshallow)
87
+ clone_repo(@noshallow, pr)
88
88
  # export variables
89
89
  export_pr_variables(pr)
90
90
  # do valid tests and store the result
@@ -101,7 +101,7 @@ class TestExecutor
101
101
 
102
102
  private
103
103
 
104
- def clone_repo(noshallow)
104
+ def clone_repo(noshallow, pr)
105
105
  shallow = GitShallowClone.new(@git_dir, pr, @options)
106
106
  # by default we use always shallow clone
107
107
  unless noshallow
@@ -109,10 +109,10 @@ class TestExecutor
109
109
  return
110
110
  end
111
111
  # this is for using the merging to ref
112
- full_clone
112
+ full_clone(pr)
113
113
  end
114
114
 
115
- def full_clone
115
+ def full_clone(pr)
116
116
  git = GitOp.new(@git_dir, pr, @options)
117
117
  git.merge_pr_totarget(pr.base.ref, pr.head.ref)
118
118
  git.del_pr_branch(pr.base.ref, pr.head.ref)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitarro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.70
4
+ version: 0.1.71
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dario Maiocchi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-03 00:00:00.000000000 Z
11
+ date: 2017-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: english