ghi 0.9.0.20130422 → 0.9.0.20130422.1
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.
- data/bin/ghi +2 -14
- data/lib/ghi/commands/edit.rb +1 -1
- data/lib/ghi/commands/version.rb +1 -1
- metadata +62 -47
- checksums.yaml +0 -7
data/bin/ghi
CHANGED
@@ -1,16 +1,4 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
#
|
3
|
-
# This file was generated by Bundler.
|
4
|
-
#
|
5
|
-
# The application 'ghi' is installed as part of a gem, and
|
6
|
-
# this file is here to facilitate running it.
|
7
|
-
#
|
8
2
|
|
9
|
-
|
10
|
-
|
11
|
-
Pathname.new(__FILE__).realpath)
|
12
|
-
|
13
|
-
require 'rubygems'
|
14
|
-
require 'bundler/setup'
|
15
|
-
|
16
|
-
load Gem.bin_path('ghi', 'ghi')
|
3
|
+
autoload :GHI, 'ghi'
|
4
|
+
GHI.execute ARGV
|
data/lib/ghi/commands/edit.rb
CHANGED
@@ -75,7 +75,7 @@ EOF
|
|
75
75
|
e.unlink "There's no issue." if message.nil? || message.empty?
|
76
76
|
assigns[:title], assigns[:body] = message.split(/\n+/, 2)
|
77
77
|
end
|
78
|
-
if i && assigns.keys.sort == [
|
78
|
+
if i && assigns.keys.map { |k| k.to_s }.sort == %w[body title]
|
79
79
|
titles_match = assigns[:title].strip == i['title'].strip
|
80
80
|
if assigns[:body]
|
81
81
|
bodies_match = assigns[:body].to_s.strip == i['body'].to_s.strip
|
data/lib/ghi/commands/version.rb
CHANGED
metadata
CHANGED
@@ -1,51 +1,59 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ghi
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 9
|
8
|
+
- 0
|
9
|
+
- 20130422
|
10
|
+
- 1
|
11
|
+
version: 0.9.0.20130422.1
|
5
12
|
platform: ruby
|
6
|
-
authors:
|
13
|
+
authors:
|
7
14
|
- Stephen Celis
|
8
15
|
autorequire:
|
9
16
|
bindir: bin
|
10
17
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
18
|
+
|
19
|
+
date: 2013-04-22 00:00:00 -07:00
|
20
|
+
default_executable:
|
21
|
+
dependencies:
|
22
|
+
- !ruby/object:Gem::Dependency
|
14
23
|
name: rake
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - '>='
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :development
|
21
24
|
prerelease: false
|
22
|
-
|
23
|
-
requirements:
|
24
|
-
- -
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
|
27
|
-
-
|
28
|
-
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - '>='
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
segments:
|
30
|
+
- 0
|
31
|
+
version: "0"
|
34
32
|
type: :development
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: ronn
|
35
36
|
prerelease: false
|
36
|
-
|
37
|
-
requirements:
|
38
|
-
- -
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
segments:
|
42
|
+
- 0
|
43
|
+
version: "0"
|
44
|
+
type: :development
|
45
|
+
version_requirements: *id002
|
41
46
|
description: |
|
42
47
|
GitHub Issues on the command line. Use your `$EDITOR`, not your browser.
|
48
|
+
|
43
49
|
email: stephen@stephencelis.com
|
44
|
-
executables:
|
50
|
+
executables:
|
45
51
|
- ghi
|
46
52
|
extensions: []
|
53
|
+
|
47
54
|
extra_rdoc_files: []
|
48
|
-
|
55
|
+
|
56
|
+
files:
|
49
57
|
- lib/ghi/authorization.rb
|
50
58
|
- lib/ghi/client.rb
|
51
59
|
- lib/ghi/commands/assign.rb
|
@@ -68,28 +76,35 @@ files:
|
|
68
76
|
- lib/ghi/json.rb
|
69
77
|
- lib/ghi/web.rb
|
70
78
|
- lib/ghi.rb
|
71
|
-
|
79
|
+
has_rdoc: true
|
72
80
|
homepage: https://github.com/stephencelis/ghi
|
73
81
|
licenses: []
|
74
|
-
|
82
|
+
|
75
83
|
post_install_message:
|
76
84
|
rdoc_options: []
|
77
|
-
|
85
|
+
|
86
|
+
require_paths:
|
78
87
|
- lib
|
79
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
80
|
-
requirements:
|
81
|
-
- -
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
88
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
89
|
+
requirements:
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
segments:
|
93
|
+
- 0
|
94
|
+
version: "0"
|
95
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
96
|
+
requirements:
|
97
|
+
- - ">="
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
segments:
|
100
|
+
- 0
|
101
|
+
version: "0"
|
89
102
|
requirements: []
|
103
|
+
|
90
104
|
rubyforge_project:
|
91
|
-
rubygems_version:
|
105
|
+
rubygems_version: 1.3.6
|
92
106
|
signing_key:
|
93
|
-
specification_version:
|
107
|
+
specification_version: 3
|
94
108
|
summary: GitHub Issues command line interface
|
95
109
|
test_files: []
|
110
|
+
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 2afc90bcb903b674a1387122662bf77ce0ef9aad
|
4
|
-
data.tar.gz: 119bff64a1e37010ba3a2b27cf67185946310661
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: e271413be8d64cb72c658676749a660eb964cebe808dcae71e747e0fb36253e978d04c5393bea63f84d5657e7e4a575a02679a020c25cec97ac6cebb8eb14060
|
7
|
-
data.tar.gz: 572de01d388e55cd2caaaff010c1f722a4fe9244f24fedd0bbe55475edef50f9f8db8191745e9c12d619983eca514a8acfbe4efc3ed5268a6e84aa20ffaa9f5e
|