gish 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CONTRIBUTING.md +13 -0
- data/README.md +14 -8
- data/lib/gish/presentation/issue.rb +3 -1
- data/lib/gish/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dfb7fb990c3cdb87b71e18e6c5222d3140267053
|
4
|
+
data.tar.gz: 50d20693d7686fcdc8b63d564f039f95584eab15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcd82b98b59e716825b14783f3cec8f79db4a84f4057b4e65eaed86b32a27c3a607d0d491bd81caa287ddc1d6687421b0d5b636e5e00c09670f81a3adb0eef0c
|
7
|
+
data.tar.gz: dbbea0db7d48771fce4f63529f08212666613149bc7594b8db3d7e029a8d948816363abc58bd29277306922ae5e0687465d40349171f372ff6ee5324ede6417d
|
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
Contributions are very welcome, whether it's refactoring or taking care of the [issues](http://github.com/gish/issues).
|
2
|
+
|
3
|
+
Quick guide to contributing:
|
4
|
+
|
5
|
+
1. Fork the repo.
|
6
|
+
2. create your branch `git checkout -b branch-name` **bonus for feature branches**
|
7
|
+
3. Make your changes.
|
8
|
+
4. Test to make sure you have not broken any existing functionality.
|
9
|
+
5. Commit your changes.
|
10
|
+
6. Push to your branch.
|
11
|
+
7. Submit a pull request.
|
12
|
+
|
13
|
+
We will do our best to merge your PR or provide feedback as soon as possible!
|
data/README.md
CHANGED
@@ -1,10 +1,12 @@
|
|
1
1
|
# Gish
|
2
2
|
|
3
|
-
Github Issues on the command-line. Not much else to say about it.
|
3
|
+
Github Issues on the command-line. Not much else to say about it. Runs on OSX/*nix, any Windows compatibility is purely coincidental.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
7
|
+
```bash
|
7
8
|
$ gem install gish
|
9
|
+
```
|
8
10
|
|
9
11
|
When you first use Gish you will be prompted for your github credentials, and asked if you would like to use Gish with private repositories. This information is used to create a [personal access token](https://github.com/blog/1509-personal-api-tokens) for your Github account, this token will then be stored and used instead of your credentials.
|
10
12
|
|
@@ -16,7 +18,7 @@ Why 'open'? Because I'm an OSX user and there's no *nix analogue as far as I can
|
|
16
18
|
|
17
19
|
Gish has too many commands, subcommands and options to list here, thankfully it's uses the excellent [thor](http://whatisthor.com/) under the hood so you can use the help command like so to see your options...
|
18
20
|
|
19
|
-
```
|
21
|
+
```bash
|
20
22
|
$ gish help
|
21
23
|
$ gish subcommand help
|
22
24
|
```
|
@@ -25,7 +27,7 @@ Some commands may allow for excessive input, namely opening and commenting on is
|
|
25
27
|
|
26
28
|
Oh, one more thing! Gish expects you to be running against the repository under the origin remote, if you want to override this, use -r/--repository, like so:
|
27
29
|
|
28
|
-
```
|
30
|
+
```bash
|
29
31
|
$ gish list -r andrew/24pullrequests
|
30
32
|
```
|
31
33
|
|
@@ -62,8 +64,12 @@ When listing issues, the number of comments on an issue will be displayed at the
|
|
62
64
|
|
63
65
|
Contributions are very welcome, whether it's refactoring or taking care of the [issues](http://github.com/gish/issues).
|
64
66
|
|
65
|
-
1. Fork
|
66
|
-
2.
|
67
|
-
3.
|
68
|
-
4.
|
69
|
-
|
67
|
+
1. Fork the repo.
|
68
|
+
2. create your branch `git checkout -b branch-name` **bonus for feature branches**
|
69
|
+
3. Make your changes
|
70
|
+
4. Test to make sure you have not broken any existing functionality
|
71
|
+
4. Commit your changes
|
72
|
+
5. Push to your branch
|
73
|
+
6. Submit a pull request
|
74
|
+
|
75
|
+
We will do our best to merge your PR or provide feedback as soon as possible!
|
@@ -13,13 +13,15 @@ module Gish
|
|
13
13
|
@comment_count = github_issue.comments
|
14
14
|
@assignee = github_issue.assignee.login rescue nil
|
15
15
|
@created_at = github_issue.created_at
|
16
|
+
@pull_request = !github_issue.pull_request.rels.keys.empty?
|
16
17
|
end
|
17
18
|
|
18
19
|
def headline
|
19
20
|
user = @user.ljust(20, ' ')
|
20
21
|
title = short_title.ljust(70, ' ')
|
21
22
|
number = @number.ljust(5, ' ')
|
22
|
-
|
23
|
+
type = @pull_request ? '[PR]' : ' '
|
24
|
+
"##{number} #{bold(user)} #{title} #{bold(type)} [#{@comment_count}]"
|
23
25
|
end
|
24
26
|
|
25
27
|
def to_s
|
data/lib/gish/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Baris Balic
|
@@ -75,6 +75,7 @@ extensions: []
|
|
75
75
|
extra_rdoc_files: []
|
76
76
|
files:
|
77
77
|
- .gitignore
|
78
|
+
- CONTRIBUTING.md
|
78
79
|
- Gemfile
|
79
80
|
- LICENSE.txt
|
80
81
|
- README.md
|