dailycrap 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cb565325e2e60f6265164f4a63b0d8d75789544f
4
- data.tar.gz: 2f7b6816e5ea8de2548827bba42d15e4a6e7e639
3
+ metadata.gz: 31c9785510bd71d18cc03ce2f471f4319c9e8034
4
+ data.tar.gz: 432fae72d29184f05205232066aacc2e71b4060d
5
5
  SHA512:
6
- metadata.gz: 771758f2fd7cc1b99bef81574bfdbe4a631f4725f16324cac5c9047981b3a234ad077b91fd2e49cb5e0627e934173c9c0a2a92e4e390f6a132e669a642f09796
7
- data.tar.gz: f2c627cfafbbd7bc344226adb5a16306108a2bc35043228e0945e2965e2db6c94926d02d3580e0a0da22df50e2521a7dc5bdd3b846d586770d8094c33a0340e2
6
+ metadata.gz: 9d27a58a53a034292d72090322468f312900d0f205f82384b1ab7283295c69065ecad67db09a200373a121ed716548a8dc6090127ef78738654dcb59a722cf69
7
+ data.tar.gz: 4aa3abc730535408ef3edf2c42ea8493a3500df29638596599ba6c8418729d2d9b94d215c8ef144ed47ce473f37dbde3aeb24995c1786d6c554173d1484770ce
data/lib/dailycrap.rb CHANGED
@@ -27,7 +27,7 @@ module Dailycrap
27
27
 
28
28
  in_progress_issues = iterate(github.issues) do |iterator|
29
29
  iterator.list(user: @organization, repo: @repo, state: 'open', labels: 'in progress')
30
- end.select{|x| x.assignee.try(:login) == @user }.map{|x| x.title}
30
+ end.select{|x| (x.assignee ? x.assignee.login : (x.pull_request ? x.user.login : nil)) == @user }.map{|x| x.title}
31
31
 
32
32
  events(@date).map do |event|
33
33
  case event.type
@@ -1,3 +1,3 @@
1
1
  module Dailycrap
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dailycrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Hagege