ghi 0.9.0.20121114 → 0.9.0.20130318

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 14eee860d481820411239fa03c923d1dad3e7298
4
+ data.tar.gz: ba60d37372fd5a0e43ac309a38bb72639b8231a6
5
+ SHA512:
6
+ metadata.gz: 93bf1f57dd738e937a32dc00b216983569f90db31f297d05193e00dc37df2aa8ad151acff71a5b1ba054775f5a53ae97f065d46a27f2211accf46f1c86cf8449
7
+ data.tar.gz: ff9b3f1f2313d65751b9113339b30ec71220e9c9a213638a65a26f5011b60c1ad70bd7ba5c037437d70dc033477626b61339a871560c9d3883ccfc52603f9372
data/lib/ghi.rb CHANGED
@@ -59,7 +59,11 @@ EOF
59
59
  abort option_parser.banner
60
60
  end
61
61
 
62
- if command_name.nil? || command_name == 'help'
62
+ if command_name.nil?
63
+ command_name = "list"
64
+ end
65
+
66
+ if command_name == 'help'
63
67
  Commands::Help.execute command_args, option_parser.banner
64
68
  else
65
69
  command_name = fetch_alias command_name, command_args
@@ -50,13 +50,13 @@ EOF
50
50
  require_repo
51
51
  self.action = 'create'
52
52
 
53
+ options.parse! args
54
+
53
55
  if extract_issue
54
56
  Edit.execute args.push('-so', issue, '--', repo)
55
57
  exit
56
58
  end
57
59
 
58
- options.parse! args
59
-
60
60
  case action
61
61
  when 'index'
62
62
  if assigns.key? :assignee
@@ -4,7 +4,7 @@ module GHI
4
4
  MAJOR = 0
5
5
  MINOR = 9
6
6
  PATCH = 0
7
- PRE = 20121114
7
+ PRE = 20130318
8
8
 
9
9
  VERSION = [MAJOR, MINOR, PATCH, PRE].compact.join '.'
10
10
 
metadata CHANGED
@@ -1,51 +1,45 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ghi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0.20121114
5
- prerelease:
4
+ version: 0.9.0.20130318
6
5
  platform: ruby
7
6
  authors:
8
7
  - Stephen Celis
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-11-14 00:00:00.000000000 Z
11
+ date: 2013-03-18 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rake
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: ronn
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
- description: ! 'GitHub Issues on the command line. Use your `$EDITOR`, not your browser.
47
-
48
- '
41
+ description: |
42
+ GitHub Issues on the command line. Use your `$EDITOR`, not your browser.
49
43
  email: stephen@stephencelis.com
50
44
  executables:
51
45
  - ghi
@@ -77,27 +71,25 @@ files:
77
71
  - bin/ghi
78
72
  homepage: https://github.com/stephencelis/ghi
79
73
  licenses: []
74
+ metadata: {}
80
75
  post_install_message:
81
76
  rdoc_options: []
82
77
  require_paths:
83
78
  - lib
84
79
  required_ruby_version: !ruby/object:Gem::Requirement
85
- none: false
86
80
  requirements:
87
- - - ! '>='
81
+ - - '>='
88
82
  - !ruby/object:Gem::Version
89
83
  version: '0'
90
84
  required_rubygems_version: !ruby/object:Gem::Requirement
91
- none: false
92
85
  requirements:
93
- - - ! '>='
86
+ - - '>='
94
87
  - !ruby/object:Gem::Version
95
88
  version: '0'
96
89
  requirements: []
97
90
  rubyforge_project:
98
- rubygems_version: 1.8.23
91
+ rubygems_version: 2.0.3
99
92
  signing_key:
100
- specification_version: 3
93
+ specification_version: 4
101
94
  summary: GitHub Issues command line interface
102
95
  test_files: []
103
- has_rdoc: false