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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8304f8439175c30fa7dee61b71ffc2226091bbdb
4
- data.tar.gz: 988fdd5a971a48ac6a3c17b81efef7927cd3b7f2
3
+ metadata.gz: 5ae5718f79f93916a7fdfbbe3bf316ef3b136001
4
+ data.tar.gz: 632d2883f68a0f4d59a2873d5191b5ecffdc9d66
5
5
  SHA512:
6
- metadata.gz: 95a0c77810a33449d334cf1de9f11e15c2281501565d879e1551148cfdfbcf1f357644f78bf40d1d48b576bdb18e218f3d13ab1ae669c9c2e6e4d87c33a7ea2e
7
- data.tar.gz: 63654f3c1353c4e6b1ecebf6e77fbcf9382c39bb3ba9b44e464a0918e5388a3aadb5fca5d18ddb03070f0cb9a5c131bfaeb11e185c768a091b67ccdfee649291
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: configurable thresholds per-project, also time-based thresholds
11
- WARN_DISTANCE = 100
12
- ERROR_DISTANCE = 200
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.13
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-03-09 00:00:00.000000000 Z
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.5.1
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