onis 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/onis +2 -2
- data/lib/onis/base.rb +3 -1
- data/onis.gemspec +1 -1
- metadata +1 -1
data/bin/onis
CHANGED
@@ -58,8 +58,8 @@ else
|
|
58
58
|
print format % %w|PID COMMAND|
|
59
59
|
puts "-" * 60
|
60
60
|
psax.each_line do |line|
|
61
|
-
next unless line =~
|
62
|
-
pid = line.slice!(
|
61
|
+
next unless line =~ /\d+ /
|
62
|
+
pid = line.strip!.slice!(/\d+ /).strip
|
63
63
|
next if pid == Process.pid.to_s
|
64
64
|
pfp = Onis::Base.path_for_pid(pid)
|
65
65
|
next if !File.file?(pfp)
|
data/lib/onis/base.rb
CHANGED
data/onis.gemspec
CHANGED
@@ -3,7 +3,7 @@ Gem::Specification.new do |s|
|
|
3
3
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
4
4
|
|
5
5
|
s.name = 'onis'
|
6
|
-
s.version = '0.1.
|
6
|
+
s.version = '0.1.2'
|
7
7
|
s.date = '2009-10-27'
|
8
8
|
|
9
9
|
s.description = "Live ObjectSpace introspection"
|