ghi 1.0.3 → 1.0.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e1f8c07c7af8eaf79bcfd3d107ca24e362028816
4
- data.tar.gz: 5929cb101707905eba0acdc990a529a83e1dc158
3
+ metadata.gz: 75facc9ba05f63c8312752888439d3ac0a90bf2d
4
+ data.tar.gz: 65bafd63cc2ad57381c8a42d21a79e60568b7898
5
5
  SHA512:
6
- metadata.gz: 19b2be758e4d3a70dd1e36b30823ea249ea9ff5c0694a605aa50abad58fedae9be5c88f6e933f9848b84f19a5f1dde7cbfcbcf090bb9c00dab5f711818b1b1a8
7
- data.tar.gz: edaf7667152f197e5b6dfb2419b3fe2cf89cffbe651d3acdec36544457f665e439d887be4e31f60f229d19cb1208ae11b137b6d2d2a17c43103ae4c7993501a3
6
+ metadata.gz: da5675903772e48b527c4a5e90f1468de9e854828dd41a319909a41f9122950b3e359587d6a71053d2a5a2b9394108ad32a6ec98d378a00d68a5995a63d03403
7
+ data.tar.gz: dc265a344b40eef3b0ddc66dc1167f24c8a46347903485b2867f858ce14ab932feb02955fc1bf939bcdb79cfda016e744388090285e564b24e3d2b9a8c5b2f7f
@@ -58,7 +58,7 @@ A ghi token already exists!
58
58
 
59
59
  Please revoke all previously-generated ghi personal access tokens here:
60
60
 
61
- https://#{host}/settings/applications
61
+ https://#{host}/settings/tokens
62
62
  EOF
63
63
  else
64
64
  message = e.message
@@ -6,7 +6,7 @@ module GHI
6
6
  def options
7
7
  OptionParser.new do |opts|
8
8
  opts.banner = <<EOF
9
- usage: ghi edit [options] <issueno>
9
+ usage: ghi edit <issueno> [options]
10
10
  EOF
11
11
  opts.separator ''
12
12
  opts.on(
@@ -17,7 +17,10 @@ EOF
17
17
  opts.on('-w', '--web') { self.web = true }
18
18
  opts.separator ''
19
19
  opts.separator 'Issue modification options'
20
- opts.on '-m', '--message [<text>]', 'describe issue' do |text|
20
+ opts.on(
21
+ '-m', '--message [<text>]', 'describe issue',
22
+ "use line breaks to separate title from description"
23
+ ) do |text|
21
24
  if text
22
25
  assigns[:title], assigns[:body] = text.split(/\n+/, 2)
23
26
  else
@@ -3,7 +3,7 @@ module GHI
3
3
  module Version
4
4
  MAJOR = 1
5
5
  MINOR = 0
6
- PATCH = 3
6
+ PATCH = 4
7
7
  PRE = nil
8
8
 
9
9
  VERSION = [MAJOR, MINOR, PATCH, PRE].compact.join '.'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ghi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Celis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-19 00:00:00.000000000 Z
11
+ date: 2015-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake