gish 0.9.2 → 0.9.3

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: e283a3ac502b0f0efd93450c90296764f0e9f01a
4
- data.tar.gz: 20d202eaa7eabab441e4defa1db8d38df8930362
3
+ metadata.gz: 39dfdb5d3e7fd517e3cc8ced3f2d263a4c5c1a9f
4
+ data.tar.gz: 5268d556cbcd7da8173a3ddfdd4915988d668800
5
5
  SHA512:
6
- metadata.gz: 8c3bcbb5d692c97acbb1109c88417a8c92026def1112c636325068cded81c41e8ab141e68964fb2471de272f2cb4aef8b016e6f2534fc686f5fade89f74cfdd1
7
- data.tar.gz: 0a7527664a089df782d2465b52ff63fe4840855159056ab5cd06e7fc7c06e076fee20818e36f5d5dbe2cc4cee967833f6979bcd4a8eeef7ca1cd4b4b9229117f
6
+ metadata.gz: b9ad1ae8cf514901c11f7a24b03477dd3ffae4df20fc0fca4ebedc7f5ffd808edb274f85bd0ca554d13aff1ad2cc5f13cf16b7207c207d818f16e209c87b1772
7
+ data.tar.gz: e507b44c35692a785ff657a14843011806fed84d9586b8392a0025a627309224466e0939795cfc8f714ef3651f820cb37d5abb0b816e1d36e1e726986a9c9c54
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.9.3
4
+
5
+ * Changed output formatting for the list command.
6
+
3
7
  ## 0.9.2
4
8
 
5
9
  * Express issue/comment creation times in time passed rather than as a date. Thanks to [despo](https://github.com/despo).
@@ -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} #{bold(user)} #{title} #{bold(type)} [#{@comment_count}]"
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
@@ -1,3 +1,3 @@
1
1
  module Gish
2
- VERSION = "0.9.2"
2
+ VERSION = "0.9.3"
3
3
  end
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.2
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-28 00:00:00.000000000 Z
11
+ date: 2013-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler