lib/thread_frame.rb in rb-threadframe-0.39 vs lib/thread_frame.rb in rb-threadframe-0.40
- old
+ new
@@ -1,3 +1,11 @@
# Boilerplate to pull shared object and helper routines.
-require_relative '../ext/thread_frame'
+if RUBY_VERSION == '1.9.2'
+ require_relative '../ext/thread_frame'
+end
require_relative 'iseq_extra'
+
+RubyVM::ThreadFrame = RubyVM::Frame
+class Thread
+ # For compatibility with old stuff
+ alias tracing tracing?
+end