dude-cli 0.5.4 → 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/dude/gitlab.rb +7 -1
- data/lib/dude/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: baa714098ced1d2a74c2e15015c0aa82e092d390a9fbd26c156587c59c130e7e
|
4
|
+
data.tar.gz: b4d3a9205facc7828ece0352aea4b926d3d1d57f543736e5e9093307f4c30154
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df918758478123b740874ff064bec9995678b92874594661bac2e255c4b3d119fb8aa275281ca85e5498c901f7922956e6dec1049e022c243f04f9e8a542964e
|
7
|
+
data.tar.gz: 8850cfa53d3f1eca39a170e6ca2208c757023f78a76271f0bd6db609101b658fa7359f7aabb17a740114f27a1f06d1a7b6273f9f95c9b8b1bb0a20675eb7a746
|
data/Gemfile.lock
CHANGED
data/lib/dude/gitlab.rb
CHANGED
@@ -62,7 +62,13 @@ module Dude
|
|
62
62
|
end
|
63
63
|
|
64
64
|
def all_issues_on_project
|
65
|
-
::Gitlab.issues(project_id).map {|a| [a.iid, a.title, a.labels, a
|
65
|
+
::Gitlab.issues(project_id).map {|a| [a.iid, a.title, a.labels, assignees_id(a)]}
|
66
|
+
end
|
67
|
+
|
68
|
+
def assignees_id(issue)
|
69
|
+
issue&.assignees&.first['id']
|
70
|
+
rescue NoMethodError
|
71
|
+
nil
|
66
72
|
end
|
67
73
|
|
68
74
|
def user
|
data/lib/dude/version.rb
CHANGED