gitarro 0.1.73 → 0.1.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/gitarro/backend.rb +0 -6
- 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: e7f7840b34c30badd58f579465ae8e98a7f4fc0d
|
|
4
|
+
data.tar.gz: a47418672ed1e360918ff78b091697da46e0b713
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6727020337f0274a3a2c9807e87bdda441442e48be1646d1c8741b3f61ab5b2049c4f620c19b4d5d03ab77e03b1287a73823ebe92e8a29f77e494aee549f245c
|
|
7
|
+
data.tar.gz: 5eba494d328c70728363ed63dfdd04d32203772f4074c39f54cdeb5f4fa41c81c60d90884782954a9b827273fd93f3f6a76ceff81287d9bc11cc5784b26cbffd
|
data/lib/gitarro/backend.rb
CHANGED
|
@@ -94,7 +94,6 @@ class TestExecutor
|
|
|
94
94
|
|
|
95
95
|
# run validation script for validating the PR.
|
|
96
96
|
def run_script
|
|
97
|
-
script_exists?(@test_file)
|
|
98
97
|
puts `#{@test_file}`
|
|
99
98
|
$CHILD_STATUS.exitstatus.nonzero? ? 'failure' : 'success'
|
|
100
99
|
end
|
|
@@ -124,11 +123,6 @@ class TestExecutor
|
|
|
124
123
|
ENV['GITARRO_PR_NUMBER'] = pr.number.to_s
|
|
125
124
|
ENV['GITARRO_PR_TARGET_REPO'] = @repo
|
|
126
125
|
end
|
|
127
|
-
|
|
128
|
-
def script_exists?(script)
|
|
129
|
-
n_exist = "\'#{script}\' doesn't exists.Enter valid file, -t option"
|
|
130
|
-
raise n_exist if File.file?(script) == false
|
|
131
|
-
end
|
|
132
126
|
end
|
|
133
127
|
|
|
134
128
|
# this the main public class is the backend of gitarro,
|
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.
|
|
4
|
+
version: 0.1.74
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dario Maiocchi
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-03-
|
|
11
|
+
date: 2018-03-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: english
|