githelp 0.2.10 → 0.2.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Makefile +3 -0
- data/exe/gh +6 -3
- data/lib/githelp/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '080d564d6e5e67c489aca65028d76f4196eed713575b254bb4ae368014af471e'
|
4
|
+
data.tar.gz: b6568af902e6e3533249f4458ac68e92c24f25919d1eb57b1b225cb989005d78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a922960b79fa0acf723d37175085a0167d89157007532cbc1d92d9dbd1b08ea9bb525d55761ef69a1fc3f25140532dade6cbbaeb4ef4a035356776510333198
|
7
|
+
data.tar.gz: 315e86ec9340dd3748474b6fc3824873426c1c30ab45778a7b96e1ea37f190718b064b376a2363a86ecc592203bac9ad21698e8457ea1721d20d109a06fd8ca9
|
data/Makefile
CHANGED
data/exe/gh
CHANGED
@@ -1,8 +1,11 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
|
2
|
+
have_peco = system "command -v peco > /dev/null"
|
3
3
|
|
4
|
-
if
|
5
|
-
system "eval `githelp #{$*.join(' ')} | peco`"
|
4
|
+
if have_peco
|
5
|
+
# system "eval `githelp #{$*.join(' ')} | peco`"
|
6
|
+
cmd = `githelp #{$*.join(' ')} | peco`.gsub(/^\s*/,'')
|
7
|
+
puts cmd
|
8
|
+
system cmd
|
6
9
|
else
|
7
10
|
puts "pecoをインストールして下さい"
|
8
11
|
end
|
data/lib/githelp/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: githelp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Toshiyuki Masui
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|