lita-github_pr_list 0.0.4 → 0.0.5

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: cd136b46fd37967324c1e940dfc9206fd3a1f92e
4
- data.tar.gz: f7b266b71e0db502fe7fe35b078c1ace31720a60
3
+ metadata.gz: 07b1c2b96278d8e07c576f1ea3bf5645a3af8b17
4
+ data.tar.gz: af56a08142abcd5107acfb60263ced8e6648b9c5
5
5
  SHA512:
6
- metadata.gz: d9e2fecd95d0a77b25c14b032ebee689128ea7e5b9a7758a0f2c939c3098ac1dd1cfa5b6c1124d59718949b05372fb30bec185613d8f8459723738d43ddddbd4
7
- data.tar.gz: 9ac698d88b237191bc1639c170afa24e4e83dcb5df6b2daf9990c2d5516ca72b0d41f138f4b9a83dc0eebcd83826cdb820f08ef4bbab95aa732816fa4f5ffdd4
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: 'created' })
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
@@ -1,5 +1,5 @@
1
1
  module Lita
2
2
  module GithubPrList
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  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
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-11 00:00:00.000000000 Z
16
+ date: 2014-07-16 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: lita