rbtrace 0.3.14 → 0.3.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rbtrace (0.3.13)
4
+ rbtrace (0.3.15)
5
5
  ffi (>= 1.0.6)
6
6
  msgpack (>= 0.4.3)
7
7
  trollop (>= 1.16.2)
@@ -9,10 +9,8 @@ PATH
9
9
  GEM
10
10
  remote: http://rubygems.org/
11
11
  specs:
12
- ffi (1.0.7)
13
- rake (>= 0.8.7)
14
- msgpack (0.4.4)
15
- rake (0.8.7)
12
+ ffi (1.0.11)
13
+ msgpack (0.4.6)
16
14
  trollop (1.16.2)
17
15
 
18
16
  PLATFORMS
data/bin/rbtrace CHANGED
@@ -779,6 +779,11 @@ EOS
779
779
  :type => :strings,
780
780
  :short => nil
781
781
 
782
+ opt :wait,
783
+ "seconds to wait before attaching to process",
784
+ :default => 0,
785
+ :short => nil
786
+
782
787
  opt :timeout,
783
788
  "seconds to wait before giving up on attach/detach",
784
789
  :default => 5
@@ -856,6 +861,11 @@ EOS
856
861
  }
857
862
  STDERR.puts "*** spawned child #{tracee}: #{opts[:exec].inspect[1..-2]}"
858
863
 
864
+ if (secs = opts[:wait]) > 0
865
+ STDERR.puts "*** waiting #{secs} seconds for child to boot up"
866
+ sleep secs
867
+ end
868
+
859
869
  elsif opts[:pid].size <= 1
860
870
  tracee = opts[:pid].first
861
871
 
data/ext/extconf.rb CHANGED
@@ -14,7 +14,7 @@ require 'fileutils'
14
14
  unless File.exists?("#{CWD}/dst/lib/libmsgpackc.a")
15
15
  Logging.message "Building msgpack\n"
16
16
 
17
- msgpack = File.basename('msgpack-0.5.4.tar.gz')
17
+ msgpack = File.basename('msgpack-0.5.7.tar.gz')
18
18
  dir = File.basename(msgpack, '.tar.gz')
19
19
  cflags, ldflags = ENV['CFLAGS'], ENV['LDFLAGS']
20
20
 
@@ -32,7 +32,7 @@ unless File.exists?("#{CWD}/dst/lib/libmsgpackc.a")
32
32
  if RUBY_PLATFORM =~ /i686/ and gcc = `gcc -v 2>&1` and gcc =~ /gcc version (\d\.\d)/ and $1.to_f <= 4.1
33
33
  ENV['CFLAGS'] = " #{ENV['CFLAGS']} -march=i686 "
34
34
  end
35
- sys("./configure --disable-dependency-tracking --disable-shared --disable-cxx --with-pic --prefix=#{CWD}/dst/")
35
+ sys("./configure --disable-dependency-tracking --disable-shared --with-pic --prefix=#{CWD}/dst/")
36
36
  sys("make install")
37
37
  end
38
38
  end
Binary file
data/rbtrace.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'rbtrace'
3
- s.version = '0.3.14'
3
+ s.version = '0.3.15'
4
4
  s.homepage = 'http://github.com/tmm1/rbtrace'
5
5
 
6
6
  s.authors = 'Aman Gupta'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbtrace
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 14
10
- version: 0.3.14
9
+ - 15
10
+ version: 0.3.15
11
11
  platform: ruby
12
12
  authors:
13
13
  - Aman Gupta
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-11-22 00:00:00 -08:00
18
+ date: 2011-11-23 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -83,7 +83,7 @@ files:
83
83
  - ext/.gitignore
84
84
  - ext/extconf.rb
85
85
  - ext/rbtrace.c
86
- - ext/src/msgpack-0.5.4.tar.gz
86
+ - ext/src/msgpack-0.5.7.tar.gz
87
87
  - rbtrace.gemspec
88
88
  - server.rb
89
89
  - test.sh
Binary file