utils 0.0.78 → 0.0.79

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: b97c09a2191a91a0931622534f1c8823f880e803
4
- data.tar.gz: e9e2d5be0027b38e8a2899dd36250402add73054
3
+ metadata.gz: 7f7cc39498af1445a43d48bfe81c748a3d20b5c9
4
+ data.tar.gz: ac7c8cdd07e0d1a73909dcd6dabf26e36ed64812
5
5
  SHA512:
6
- metadata.gz: 6ef6c649e2680b5e1bd1292fd49d9bc3bef01bffc5eb61a858e6dbd63165148cf5c20863e5c9021f5ab107c871ecac73b5fdd55127b72ae47d02d1940c508457
7
- data.tar.gz: bc28f6b2cf686d68408179ece95157d12b46b26a3e26e02e3dfbe976f938edc6c89e78eee817e757c88682a01afc5fb7afb83436015deca2e762f703674e2e6a
6
+ metadata.gz: 792d3e2831ac738f92c2121185af6b00e9a3860a9e4012a5ab6ec88afd0a48ab5a8910ffb9ff5b6a0070264809613f4032e3a9138cea074676ee1fe82bc96ee8
7
+ data.tar.gz: 55773ab922a508a0564755b72b7b41c4f55d8952bc037788aba5ede9de885a55d76c7bc644554358555f54596e52378a593c7181f567b978cafdc3f9fc5ab4e8
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.78
1
+ 0.0.79
data/lib/utils/editor.rb CHANGED
@@ -171,6 +171,7 @@ module Utils
171
171
  switch_to_index =
172
172
  `tmux list-panes -F '\#{pane_pid} \#{pane_index}'`.lines.find { |l|
173
173
  pid, index = l.split(' ')
174
+ pid.to_i == $$ and next
174
175
  if `ps -eo ppid,command|grep ^#{pid}` =~ %r(/edit )
175
176
  break index.to_i
176
177
  end
data/lib/utils/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module Utils
2
2
  # Utils version
3
- VERSION = '0.0.78'
3
+ VERSION = '0.0.79'
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.78"
5
+ s.version = "0.0.79"
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.78
4
+ version: 0.0.79
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank