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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bb1f24c387f0cb4036bb707348d0ee2c82ae5324
4
- data.tar.gz: 36b012e8b8256ee549e5c02bc32cac80a1c83ecf
3
+ metadata.gz: 4249e5ebb8874db4269fb50ac7bc99885882d6be
4
+ data.tar.gz: e68a87babfe1525a9fa58a56e6bcf2b60d35caa2
5
5
  SHA512:
6
- metadata.gz: d678f4de18b6a6938ef81f75f23f72f4a5e09fa0822cbe58fb48cff042244dd6ff7daf3f2edab37aef97cc7a81174e49686bc51af99a0c70d22a1019ca586e0a
7
- data.tar.gz: befd60729eeeaff022312a6eb64f884b20dea34f445c2bbcddc84dad7354b20851732d1ea03b1cc27d4c4699e9550577fd7a1c4b53045071626a5d03d24624ef
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
@@ -1,3 +1,3 @@
1
1
  module Linterbot
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
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.3
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-06-18 00:00:00.000000000 Z
11
+ date: 2016-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler