linterbot 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/linterbot/result_handler.rb +2 -2
- data/lib/linterbot/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: 4249e5ebb8874db4269fb50ac7bc99885882d6be
|
4
|
+
data.tar.gz: e68a87babfe1525a9fa58a56e6bcf2b60d35caa2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9a9f33f6e0e93b7a607c0e5bad0bc2a22fbc16070cbc7535af4cfcb28ec4d4a6451bf5c41694cd6d38ed3270a44784656397777532282b214036e5d101a3166
|
7
|
+
data.tar.gz: 6a95ffe126a2b265820416bb5698bc143f4fcf39487899d4be8e1939c01bfea533cf356dd7afb6e7f595a7ea275b32cb85152a18dcea65f8e262ea5df2748042
|
@@ -29,8 +29,8 @@ module Linterbot
|
|
29
29
|
approver.approve(pull_request.repository, pull_request.newest_commit.sha)
|
30
30
|
end
|
31
31
|
|
32
|
-
def reject_pull_request
|
33
|
-
approver.reject(pull_request.repository, pull_request.newest_commit.sha)
|
32
|
+
def reject_pull_request(serious_violations_count)
|
33
|
+
approver.reject(pull_request.repository, pull_request.newest_commit.sha, serious_violations_count)
|
34
34
|
end
|
35
35
|
|
36
36
|
end
|
data/lib/linterbot/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: linterbot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Guido Marucci Blas
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|