lita-github_pr_list 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lita/github_pr_list/pull_request.rb +4 -3
- data/lib/lita/github_pr_list/version.rb +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: 07b1c2b96278d8e07c576f1ea3bf5645a3af8b17
|
4
|
+
data.tar.gz: af56a08142abcd5107acfb60263ced8e6648b9c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12626aa820df83a20e927da69739c5f117e10feb26fd72d95318485cd0878a67c461e1cd6a8c8f2fd5850122f2559654f4e9eed5a551d07645fabaa7558ea3de
|
7
|
+
data.tar.gz: ef885acefe4ca09095b3fff1e859704fb76864fee448446e0a8938edc3f9d8de149ddef9f00f7991e7aad60a0b7b62867350b0c6c8258b2b4531ecfdc84eb4b9
|
@@ -26,9 +26,10 @@ module Lita
|
|
26
26
|
|
27
27
|
private
|
28
28
|
def get_pull_requests
|
29
|
-
# Grab the issues and sort out the pull request issues
|
30
|
-
issues = github_client.org_issues(github_organization, { filter: 'all', sort: '
|
31
|
-
|
29
|
+
# Grab the issues and sort out the pull request issues by repos name
|
30
|
+
issues = github_client.org_issues(github_organization, { filter: 'all', sort: 'title' })
|
31
|
+
issues.sort! { |a,b| a.repository.name.downcase <=> b.repository.name.downcase }
|
32
|
+
|
32
33
|
issues.each do |i|
|
33
34
|
github_pull_requests << i if i.pull_request
|
34
35
|
end
|
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.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael van den Beuken
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2014-07-
|
16
|
+
date: 2014-07-16 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: lita
|