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 +4 -4
- data/VERSION +1 -1
- data/lib/utils/editor.rb +1 -1
- data/lib/utils/version.rb +1 -1
- data/utils.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7dab50374f65fbfebaa369f874bae1b77cbf3f3
|
4
|
+
data.tar.gz: 5050f28d2580d785dc911b68f8039e535acaa780
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2fb669ebfaa45d554cca794eb4d565cbcc920401ec6c2f53dde49fb0cad31ec1c51faf8614968d0b5021b1b8c83d64ee0f5f75138076ad53235d086792f8372
|
7
|
+
data.tar.gz: 39bb05ab6ce216b69d78246f22e8a36d8356a9c6d5fb81a29bd0655a949ecdff9b2e819635f0c3bd692e57ce8bbd2a9982dbd925e003607cd98415241421d486
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
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
data/utils.gemspec
CHANGED