ghn 0.0.2 → 0.0.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 +12 -0
- data/README.md +1 -1
- data/lib/ghn/options.rb +5 -4
- data/lib/ghn/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ac3293e8e2983ed886f9f990fda9ab4f4d6f3405
|
|
4
|
+
data.tar.gz: d45520cf2ee244f384f6489abf5e270b1577ab02
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 11dcd7cd8e9593b603b30afe7ba47b4cc3c231c0b43788196d47f1dbb8f7f6d5baacacb4e4455552ab2b870d7e8d6cfb613dc6d89986ac36c98c7ed10ef3adf8
|
|
7
|
+
data.tar.gz: ebb172bd8347aff3140fbe4b41fd0e740f804094c9c6aad6e8820eb196d2a78d4b466d2869e159d69d57bc2d827ba578777dacbf8ae80ee049131c7de1177c67
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v0.0.3
|
|
4
|
+
|
|
5
|
+
* Bugfix
|
|
6
|
+
* Add missing option `--usage`
|
|
7
|
+
|
|
8
|
+
## v0.0.2
|
|
9
|
+
|
|
10
|
+
* 1st Refactor
|
|
11
|
+
* Refactor command and options processing
|
|
12
|
+
* Separate classes by its responsibility
|
|
13
|
+
* Add first tests
|
|
14
|
+
|
|
3
15
|
## v0.0.1
|
|
4
16
|
|
|
5
17
|
* Initial release; Implement basic feature
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Ghn
|
|
2
2
|
|
|
3
|
-
[](https://travis-ci.org/kyanny/ghn) [](https://coveralls.io/r/kyanny/ghn?branch=master) [](https://travis-ci.org/kyanny/ghn) [](https://coveralls.io/r/kyanny/ghn?branch=master) [](https://codeclimate.com/repos/526ade18c7f3a32c9704ea51/feed)
|
|
4
4
|
|
|
5
5
|
Commandline tool for GitHub notifications.
|
|
6
6
|
|
data/lib/ghn/options.rb
CHANGED
|
@@ -24,18 +24,19 @@ class Ghn
|
|
|
24
24
|
|
|
25
25
|
class << self
|
|
26
26
|
def short_options
|
|
27
|
-
'
|
|
27
|
+
'omh'
|
|
28
28
|
end
|
|
29
29
|
|
|
30
30
|
def long_options
|
|
31
|
-
['open', 'mark-as-read']
|
|
31
|
+
['open', 'mark-as-read', 'help', 'usage']
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
def usage
|
|
35
35
|
<<-USAGE
|
|
36
36
|
Usage: #{File.basename $0} [options] [command] [user/repo]
|
|
37
|
-
options: --open Open notifications in browser
|
|
38
|
-
--mark-as-read Mark as read listed notifications
|
|
37
|
+
options: -o, --open Open notifications in browser
|
|
38
|
+
-m, --mark-as-read Mark as read listed notifications
|
|
39
|
+
-h, --help, --usage Show this message
|
|
39
40
|
|
|
40
41
|
command: list List unread notifications
|
|
41
42
|
|
data/lib/ghn/version.rb
CHANGED