gergich 0.1.13 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gergich/cli/master_bouncer.rb +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ae5718f79f93916a7fdfbbe3bf316ef3b136001
|
4
|
+
data.tar.gz: 632d2883f68a0f4d59a2873d5191b5ecffdc9d66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60daade2ff2d41045d134a34912d0251f08db4559bbadcb3d6fffcd596e1d5701dd0f26c3d4236fed832f73bc271791cc1e65d0e035bf88ac65d4ba3e131405c
|
7
|
+
data.tar.gz: e92bd1b2b1bac1e9cb5037b2543f196966583908c8e20768334926ea0b03f328d981f2ae588eea3fcc5c52c57a41f8cc755104f456f0f0c2f33ab9f957bd4540
|
@@ -7,9 +7,9 @@ MASTER_BOUNCER_REVIEW_LABEL = ENV.fetch("GERGICH_REVIEW_LABEL", "Code-Review")
|
|
7
7
|
require_relative "../../gergich"
|
8
8
|
|
9
9
|
PROJECT = ENV["GERRIT_PROJECT"] || error("no GERRIT_PROJECT set")
|
10
|
-
# TODO:
|
11
|
-
WARN_DISTANCE =
|
12
|
-
ERROR_DISTANCE =
|
10
|
+
# TODO: time-based thresholds
|
11
|
+
WARN_DISTANCE = ENV.fetch("MASTER_BOUNCER_WARN_DISTANCE", 50).to_i
|
12
|
+
ERROR_DISTANCE = ENV.fetch("MASTER_BOUNCER_ERROR_DISTANCE", 100).to_i
|
13
13
|
|
14
14
|
def potentially_mergeable_changes
|
15
15
|
url = "/changes/?q=status:open+" \
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gergich
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Jensen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sqlite3
|
@@ -155,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
155
155
|
version: '0'
|
156
156
|
requirements: []
|
157
157
|
rubyforge_project:
|
158
|
-
rubygems_version: 2.
|
158
|
+
rubygems_version: 2.6.12
|
159
159
|
signing_key:
|
160
160
|
specification_version: 4
|
161
161
|
summary: Command-line tool for adding Gerrit comments
|