stephencelis-ghi 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/History.rdoc +8 -0
  2. data/README.rdoc +23 -1
  3. data/lib/ghi.rb +1 -1
  4. data/lib/ghi/cli.rb +1 -1
  5. metadata +2 -2
data/History.rdoc CHANGED
@@ -1,3 +1,11 @@
1
+ === 0.0.3 / 2009-04-23
2
+
3
+ * 2 minor enhancements
4
+
5
+ * Typo corrected.
6
+ * README updated.
7
+
8
+
1
9
  === 0.0.2 / 2009-04-22
2
10
 
3
11
  * 1 major enhancement
data/README.rdoc CHANGED
@@ -22,7 +22,29 @@ Go:
22
22
 
23
23
  % ghi
24
24
  Usage: ghi [options]
25
- -l, --list, --show [number]
25
+ -l, --list [state|term|number]
26
+ --search, --show
26
27
  -o, --open, --reopen [number]
27
28
  -c, --closed, --close [number]
28
29
  -e, --edit [number]
30
+ -r, --repo, --repository [name]
31
+
32
+
33
+ == EXAMPLE?
34
+
35
+ `ghi` works simply from within the directory. Some short examples:
36
+
37
+ ghi -l # Lists all open issues
38
+ ghi -lc # Lists all closed issues
39
+ ghi -l "doesn't work" # Searches for all open issues matching "doesn't work"
40
+ ghi -l invalid -c # Searches for all closed issues matching "invalid"
41
+ ghi -o # Opens a new issue (in your $EDITOR)
42
+ ghi -e1 # Edits issue number 1 (in your $EDITOR)
43
+ ghi -c1 # Closes issue 1
44
+ ghi -o1 # Reopens 1
45
+
46
+
47
+ `ghi` also works anywhere:
48
+
49
+ ghi -rghi -l # Your fork of "ghi"
50
+ ghi -rstephencelis/ghi -l # Mine: "stephencelis/ghi"
data/lib/ghi.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module GHI
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
 
4
4
  def self.login
5
5
  `git config --get github.user`.chomp
data/lib/ghi/cli.rb CHANGED
@@ -63,7 +63,7 @@ class GHI::CLI
63
63
  when /^\d+$/
64
64
  @action = :reopen
65
65
  @number = v.to_i
66
- when /^l/, nil
66
+ when /^l$/
67
67
  @action = :list
68
68
  @state = :open
69
69
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stephencelis-ghi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Celis
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-04-21 00:00:00 -07:00
12
+ date: 2009-04-22 00:00:00 -07:00
13
13
  default_executable: ghi
14
14
  dependencies: []
15
15