lita-pullrequests 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lita/handlers/pullrequests.rb +2 -2
- data/lita-pullrequests.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f598e3c8f150c347901c12066061ceb86e18c566
|
4
|
+
data.tar.gz: ffdc4af7b5102c4defd9ff843d06872d0dd3ced8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5de44cd9405946b5db91293523bad18b8980564536f031af1e4fe2a29582a5b93cb56680e17c3ceae195b23ddc18db7c6750709900124d8c1e6c6dae69e50bf
|
7
|
+
data.tar.gz: 95b92f4fc37030bdcbd517b3f715064491a51c273aa914e4b0f45071e7c41e4868e347e6dca3e904d4c83a4495ed1b285d90835619cda4e8384d575ccad4e32b
|
@@ -79,7 +79,7 @@ module Lita
|
|
79
79
|
review_label = config.review_label || "Needs Review"
|
80
80
|
|
81
81
|
pulls.select do |pr|
|
82
|
-
pr["labels"].any? { |label| label["name"] == config.review_label }
|
82
|
+
pr["labels"] && pr["labels"].any? { |label| label["name"] == config.review_label }
|
83
83
|
end
|
84
84
|
end
|
85
85
|
|
@@ -88,7 +88,7 @@ module Lita
|
|
88
88
|
merge_label = config.merge_label || "Ready To Merge"
|
89
89
|
|
90
90
|
pulls.select do |pr|
|
91
|
-
pr["labels"].any? { |label| label["name"] == config.merge_label }
|
91
|
+
pr["labels"] && pr["labels"].any? { |label| label["name"] == config.merge_label }
|
92
92
|
end
|
93
93
|
end
|
94
94
|
|
data/lita-pullrequests.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = "lita-pullrequests"
|
3
|
-
spec.version = "0.0.
|
3
|
+
spec.version = "0.0.7"
|
4
4
|
spec.authors = ["Taylor Lapeyre"]
|
5
5
|
spec.email = ["taylorlapeyre@gmail.com"]
|
6
6
|
spec.description = %q{A Lita handler to help you keep track of your pull requests.}
|