githelp 0.2.8 → 0.2.9

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 +0 -2
  3. data/exe/gh +7 -1
  4. data/lib/githelp/version.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 789ccb02d86c0d2246fb978e1c08285b4657f2b541704263534902d8c0814530
4
- data.tar.gz: 0277fe10a3a2721f3976e0ad37ebdd5181ba646a8d27c2d54d9a0f8db6546c81
3
+ metadata.gz: 6a35a652d2d3c56afd7d9885f8e1dee9879012c302d90a1d6c2dde2504c1179b
4
+ data.tar.gz: 297dca7d8846ce6088b1a00b84520fd217590614aca657c8523e617a17647b29
5
5
  SHA512:
6
- metadata.gz: e5a7198b56d63fd540b3a525b891e557a8f1f777ce2f37049e26071f5a44ce1e8fd6a0d750a6c91e51e634d976bc82e0b6ce69671d1ed0179d1b9004ae933429
7
- data.tar.gz: fa5f634f87a1222c352b28309e95a1313cd4b4bcb15a4d71141f9b63588c9006676cc2a8576ba445ae673b6e37033c20398cacbf23f75cf86055efadc3ac39ed
6
+ metadata.gz: ce00b14b6be22a32e44371bea15c97fdfefa68f9dd502edcc570e7517da0aadc31131613595423b69ce657e0335069cd09689054e4921b08008d197a4a7c3daf
7
+ data.tar.gz: 7e9d13f27eacde28cd93cb490576a01bf4af50cfc1bf62947989731dd686b425801a09edeaa694d2c2e171ec615871932431ba58016500c01c2c1f4ff07ab839
data/Makefile CHANGED
@@ -6,5 +6,3 @@ install:
6
6
  -mkdir ~/.config
7
7
  -mkdir ~/.config/peco
8
8
  cp .config/peco/config.json ~/.config/peco/config.json
9
- -mkdir ~/bin
10
- cp bin/gh ~/bin/gh
data/exe/gh CHANGED
@@ -1,2 +1,8 @@
1
1
  #!/usr/bin/env ruby
2
- system "eval `githelp $* | peco`"
2
+ result = system "command -v peco > /dev/null"
3
+
4
+ if result
5
+ system "eval `githelp $* | peco`"
6
+ else
7
+ puts "pecoをインストールして下さい"
8
+ end
@@ -1,3 +1,3 @@
1
1
  module GitHelp
2
- VERSION = "0.2.8"
2
+ VERSION = "0.2.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: githelp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toshiyuki Masui