lita-github_pr_list 0.1.3 → 0.2.0
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c755fb8dd6f5653f1aba859150becb3ad320a72a
|
|
4
|
+
data.tar.gz: ecc29c76d27e7c13bfa767bb4c800a17eca717a9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7608e8723fbfbeeef2eff66a60aad67744c418f2b6436dad58ec9a28ba698e9e8a8b639f7cf2104f45321a31142c01e763581df6f5f9c9b2437e14b446cac1e7
|
|
7
|
+
data.tar.gz: 242ae2f5b1d84a5b7f17d254923d79c4fcf227a6bdbeef231c6801a1434a1c044b5ee7aacd86ea61cf79b5652e57b514a6375f6fa1b54ad45236600840aa5a6c
|
|
@@ -5,8 +5,8 @@ module Lita
|
|
|
5
5
|
|
|
6
6
|
DESIGN_REVIEW_REGEX = /:art:/
|
|
7
7
|
DEV_REVIEW_REGEX = /:elephant:/
|
|
8
|
-
PASS_DEV_REGEX = /:elephant
|
|
9
|
-
PASS_DESIGN_REGEX = /:art
|
|
8
|
+
PASS_DEV_REGEX = /:elephant:\s?:elephant:\s?:elephant:/
|
|
9
|
+
PASS_DESIGN_REGEX = /:art:\s?:art:\s?:art:/
|
|
10
10
|
REVIEW_REGEX = /:book:/
|
|
11
11
|
FAIL_REGEX = /:poop:|:hankey:/
|
|
12
12
|
FIXED_REGEX = /:wave:/
|
|
@@ -93,8 +93,8 @@ module Lita
|
|
|
93
93
|
def setup(comm)
|
|
94
94
|
self.design = DESIGN_REVIEW_REQUIRED if comm.match(DESIGN_REVIEW_REGEX)
|
|
95
95
|
self.dev = DEV_REVIEW_REQUIRED if comm.match(DEV_REVIEW_REGEX)
|
|
96
|
-
if
|
|
97
|
-
self.dev =
|
|
96
|
+
if dev.nil? && design.nil?
|
|
97
|
+
self.dev = DEV_REVIEW_REQUIRED
|
|
98
98
|
self.design = DESIGN_REVIEW_REQUIRED
|
|
99
99
|
end
|
|
100
100
|
end
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"id": 1,
|
|
58
58
|
"url": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1",
|
|
59
59
|
"html_url": "https://github.com/octocat/Hello-World/issues/1347#issuecomment-1",
|
|
60
|
-
"body": ":art
|
|
60
|
+
"body": ":art::art: :art:",
|
|
61
61
|
"user": {
|
|
62
62
|
"login": "octocat",
|
|
63
63
|
"id": 1,
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lita-github_pr_list
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael van den Beuken
|
|
@@ -15,7 +15,7 @@ authors:
|
|
|
15
15
|
autorequire:
|
|
16
16
|
bindir: bin
|
|
17
17
|
cert_chain: []
|
|
18
|
-
date:
|
|
18
|
+
date: 2016-04-08 00:00:00.000000000 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
name: lita
|
|
@@ -229,7 +229,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
229
229
|
version: '0'
|
|
230
230
|
requirements: []
|
|
231
231
|
rubyforge_project:
|
|
232
|
-
rubygems_version: 2.
|
|
232
|
+
rubygems_version: 2.2.0
|
|
233
233
|
signing_key:
|
|
234
234
|
specification_version: 4
|
|
235
235
|
summary: List open pull requests for an organization.
|