githelp 0.2.10 → 0.2.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +3 -0
  3. data/exe/gh +6 -3
  4. data/lib/githelp/version.rb +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 86366c49600335d472a326d7415dac28218fb4d51231ee8bf9f462fc74758403
4
- data.tar.gz: ef213e672825a2474348d889760f055e375a381c4c688736dc023aa7abdc3396
3
+ metadata.gz: '080d564d6e5e67c489aca65028d76f4196eed713575b254bb4ae368014af471e'
4
+ data.tar.gz: b6568af902e6e3533249f4458ac68e92c24f25919d1eb57b1b225cb989005d78
5
5
  SHA512:
6
- metadata.gz: fde555808bb26b0982f336bd06ad1e3e05b302cb423d274fc4a7f422063c5a46ee8aea436940304b45da8554a4d5a363368bff893a37fc430ec4d69c837e88f3
7
- data.tar.gz: 8797ac8751c910436d750ec5c9db189309a90e27d24354f7cd2f294afdc1943072a8b88988f7518cb2d128b01d43dc46df0d6ea83878765712f423e89581f87e
6
+ metadata.gz: 7a922960b79fa0acf723d37175085a0167d89157007532cbc1d92d9dbd1b08ea9bb525d55761ef69a1fc3f25140532dade6cbbaeb4ef4a035356776510333198
7
+ data.tar.gz: 315e86ec9340dd3748474b6fc3824873426c1c30ab45778a7b96e1ea37f190718b064b376a2363a86ecc592203bac9ad21698e8457ea1721d20d109a06fd8ca9
data/Makefile CHANGED
@@ -6,3 +6,6 @@ install:
6
6
  -mkdir ~/.config
7
7
  -mkdir ~/.config/peco
8
8
  cp .config/peco/config.json ~/.config/peco/config.json
9
+
10
+ release:
11
+ rake release
data/exe/gh CHANGED
@@ -1,8 +1,11 @@
1
1
  #!/usr/bin/env ruby
2
- result = system "command -v peco > /dev/null"
2
+ have_peco = system "command -v peco > /dev/null"
3
3
 
4
- if result
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
@@ -1,3 +1,3 @@
1
1
  module GitHelp
2
- VERSION = "0.2.10"
2
+ VERSION = "0.2.11"
3
3
  end
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.10
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-06 00:00:00.000000000 Z
11
+ date: 2018-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler