gish 0.9.2 → 0.9.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/CHANGELOG.md +4 -0
- data/lib/gish/presentation/issue.rb +2 -2
- data/lib/gish/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: 39dfdb5d3e7fd517e3cc8ced3f2d263a4c5c1a9f
|
|
4
|
+
data.tar.gz: 5268d556cbcd7da8173a3ddfdd4915988d668800
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b9ad1ae8cf514901c11f7a24b03477dd3ffae4df20fc0fca4ebedc7f5ffd808edb274f85bd0ca554d13aff1ad2cc5f13cf16b7207c207d818f16e209c87b1772
|
|
7
|
+
data.tar.gz: e507b44c35692a785ff657a14843011806fed84d9586b8392a0025a627309224466e0939795cfc8f714ef3651f820cb37d5abb0b816e1d36e1e726986a9c9c54
|
data/CHANGELOG.md
CHANGED
|
@@ -11,7 +11,7 @@ module Gish
|
|
|
11
11
|
@body = github_issue.body
|
|
12
12
|
@labels = github_issue.labels
|
|
13
13
|
@user = github_issue.user.login
|
|
14
|
-
@comment_count = github_issue.comments
|
|
14
|
+
@comment_count = github_issue.comments.to_s.rjust(3, ' ')
|
|
15
15
|
@assignee = github_issue.assignee.login rescue nil
|
|
16
16
|
@created_at = time_in_words(github_issue.created_at)
|
|
17
17
|
@pull_request = !github_issue.pull_request.rels.keys.empty?
|
|
@@ -22,7 +22,7 @@ module Gish
|
|
|
22
22
|
title = short_title.ljust(70, ' ')
|
|
23
23
|
number = @number.ljust(5, ' ')
|
|
24
24
|
type = @pull_request ? '[PR]' : ' '
|
|
25
|
-
"##{number}
|
|
25
|
+
"##{number} #{bold(user)} #{title} #{bold(type)} #{@comment_count} comments"
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
def to_s
|
data/lib/gish/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gish
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Baris Balic
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-12-
|
|
11
|
+
date: 2013-12-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|