githelp 0.2.12 → 0.2.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/exe/githelp +5 -3
  3. data/lib/githelp/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a8f64a2cbc041c7915535f351325dccb66c68aaa6ee6c203c332b2fac9b3179
4
- data.tar.gz: b360f37c13309eeb4df292f56447280ad5961cebaf3b72071e6e7eff00a88109
3
+ metadata.gz: 2e7e3041d9c4cf2ad356bdce57dd5249154a2d80dcccd22e469e71d100beac2b
4
+ data.tar.gz: 3c7029f9e817f418c362e95c22953660b2c53690002ee05cdb8fe808c3f0a730
5
5
  SHA512:
6
- metadata.gz: 4414c48c3b37a0648416b929ad5186fc0b433124ee8864d326be6e2710dff53d84119723bcff5207bfd606d2d3f93ed341d4c5e22ced879150ef1e4759666d77
7
- data.tar.gz: acf298abcf52075d4a8c53013fa6d856424ce6b2a8a85991f0f89f7d6fe748d8705f673b3cad386528f4248548bb5d5760a1c59bf1b59bf74db70b5447b9cbc1
6
+ metadata.gz: 175b70e1bcf7e6a9b1555c3a3d0e0022c647abe6fe9639d12e3736fec5fd08a77c39b1b71ced828abc3d23d39318db46ffdc33f4239dd0ad3448a27013759f08
7
+ data.tar.gz: 66af470207ac69bd1ce6f70d9c1414ee1b489488692df1798e2b8576927fe039403a1d363943d97a4d150e9c1e645bc2bbcdf7527ddabef9969ae13c08392c80
data/exe/githelp CHANGED
@@ -135,9 +135,11 @@ class GitHelp
135
135
  io.close_write
136
136
  io.gets
137
137
  }
138
- cmd = res.sub(/^\s*/,'')
139
- puts cmd
140
- system cmd
138
+ if res
139
+ cmd = res.sub(/^\s*/,'')
140
+ puts cmd
141
+ system cmd
142
+ end
141
143
  else
142
144
  res = IO.popen(pager, "w") {|io|
143
145
  list.each_with_index { |entry,ind|
@@ -1,3 +1,3 @@
1
1
  module GitHelp
2
- VERSION = "0.2.12"
2
+ VERSION = "0.2.13"
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.12
4
+ version: 0.2.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toshiyuki Masui