utils 0.0.80 → 0.0.81

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 87f530153e642d1247624a4922730b22a7d05998
4
- data.tar.gz: 3d834cbf836b8197f4ec7c1feb328a3579ee5c34
3
+ metadata.gz: a7dab50374f65fbfebaa369f874bae1b77cbf3f3
4
+ data.tar.gz: 5050f28d2580d785dc911b68f8039e535acaa780
5
5
  SHA512:
6
- metadata.gz: cb90b251ea402be200c3c05eee4dd467b6f62a9d165612aa2f73da7ab8f561c45510d6a53aa69e6bcd9623e04dd8f80a46c804af49cc10e7419e0b54b9ad6172
7
- data.tar.gz: bd04ce8ad7ec1daebded5a2c9621be465ad3c37a04ae07bd5697ae3bf46c0aaca926c1df9dfbd72d240d2052fb9b3e7affca5c4b00a4949e70989f794c6d6e2d
6
+ metadata.gz: e2fb669ebfaa45d554cca794eb4d565cbcc920401ec6c2f53dde49fb0cad31ec1c51faf8614968d0b5021b1b8c83d64ee0f5f75138076ad53235d086792f8372
7
+ data.tar.gz: 39bb05ab6ce216b69d78246f22e8a36d8356a9c6d5fb81a29bd0655a949ecdff9b2e819635f0c3bd692e57ce8bbd2a9982dbd925e003607cd98415241421d486
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.80
1
+ 0.0.81
data/lib/utils/editor.rb CHANGED
@@ -172,7 +172,7 @@ module Utils
172
172
  `tmux list-panes -F '\#{pane_pid} \#{pane_index}'`.lines.find { |l|
173
173
  pid, index = l.split(' ')
174
174
  pid.to_i == $$ and next
175
- if `ps -eo ppid,command|grep ^#{pid}` =~ %r(/edit( |$))
175
+ if `ps -eo ppid,command|grep -v ' grep'|grep ^#{pid}` =~ %r(/edit( |$))
176
176
  break index.to_i
177
177
  end
178
178
  }
data/lib/utils/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module Utils
2
2
  # Utils version
3
- VERSION = '0.0.80'
3
+ VERSION = '0.0.81'
4
4
  VERSION_ARRAY = VERSION.split(/\./).map { |x| x.to_i } # :nodoc:
5
5
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
6
6
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
data/utils.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "utils"
5
- s.version = "0.0.80"
5
+ s.version = "0.0.81"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Florian Frank"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.80
4
+ version: 0.0.81
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank