lita-pullrequests 0.0.2 → 0.0.3
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 +4 -4
- data/lib/lita/handlers/pullrequests.rb +6 -6
- data/lita-pullrequests.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 177ca635bc45eb15a13d62c68e2e251743ca1edf
|
|
4
|
+
data.tar.gz: 10140d8e50828f11627c1a1a909b8c533e4fdada
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2982816a7cfe109c0e1213c4b282d8190af2f9ed7b6cb8b978787b75d629fac1ae1e7e6085aa186a660530a13039f7b81d8b6e2eea893bf82aef4a4951d04af3
|
|
7
|
+
data.tar.gz: 39c7b3e47f7599df01b7f697abc265b26b06f2568649d441c284e47cab188fcf252132c823728c895d54afca47264df52c5eb5dfccad38ed8c485f3f724da538
|
|
@@ -74,21 +74,21 @@ module Lita
|
|
|
74
74
|
end
|
|
75
75
|
|
|
76
76
|
def list_all_pull_requests(chat)
|
|
77
|
-
response = ":heavy_exclamation_mark: Pull Requests that need review
|
|
77
|
+
response = ":heavy_exclamation_mark: *Pull Requests that need review*:\n"
|
|
78
78
|
|
|
79
79
|
response += pulls_that_need_reviews.map do |pr|
|
|
80
80
|
title, user = pr["title"], pr["user"]["login"]
|
|
81
81
|
url = pr["pull_request"]["html_url"]
|
|
82
|
-
"- #{title} - #{user} \n
|
|
83
|
-
end.join("\n")
|
|
82
|
+
"- _#{title}_ - #{user} \n #{url}"
|
|
83
|
+
end.join("\n\n")
|
|
84
84
|
|
|
85
|
-
response += "\n\n:white_check_mark: Pull Requests that are ready for merging
|
|
85
|
+
response += "\n\n\n:white_check_mark: *Pull Requests that are ready for merging*:\n"
|
|
86
86
|
|
|
87
87
|
response += pulls_that_need_merging.map do |pr|
|
|
88
88
|
title, user = pr["title"], pr["user"]["login"]
|
|
89
89
|
url = pr["pull_request"]["html_url"]
|
|
90
|
-
"- #{title} - #{user} \n
|
|
91
|
-
end.join("\n")
|
|
90
|
+
"- _#{title}_ - #{user} \n #{url}"
|
|
91
|
+
end.join("\n\n")
|
|
92
92
|
|
|
93
93
|
chat.reply(response)
|
|
94
94
|
end
|
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.3"
|
|
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.}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lita-pullrequests
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Taylor Lapeyre
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-03-
|
|
11
|
+
date: 2015-03-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: lita
|