sender 1.5 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +4 -0
- data/VERSION.rdoc +1 -1
- data/ext/sender/rb_Kernel.c +7 -2
- data/lib/VERSION.rdoc +1 -1
- data/lib/sender/sender.bundle +0 -0
- data/sender.gemspec +1 -1
- metadata +3 -2
data/CHANGELOG.rdoc
CHANGED
@@ -54,3 +54,7 @@ Added Hash-specification support for context inspection. Now functions take elem
|
|
54
54
|
line number fixnum) or Hash containing frame detail specification.
|
55
55
|
|
56
56
|
Added Enumerator support. Non-block enumeration will iterate the backtrace that was the active context when :each_backtrace_frame was called.
|
57
|
+
|
58
|
+
=== 1.5.1 2010-07-09
|
59
|
+
|
60
|
+
Fixed return values for :backtrace_with_frame to return nil rather than false.
|
data/VERSION.rdoc
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.5
|
1
|
+
1.5.1
|
data/ext/sender/rb_Kernel.c
CHANGED
@@ -255,7 +255,7 @@ VALUE rb_RPRuby_Sender_Kernel_backtrace_includes( int argc,
|
|
255
255
|
rb_frame_hashes_array = rb_ary_new();
|
256
256
|
}
|
257
257
|
|
258
|
-
VALUE rb_frame_hash;
|
258
|
+
VALUE rb_frame_hash = Qnil;
|
259
259
|
|
260
260
|
// for each control frame:
|
261
261
|
while ( c_current_context_frame < c_top_of_control_frame ) {
|
@@ -419,7 +419,12 @@ VALUE rb_RPRuby_Sender_Kernel_backtrace_includes( int argc,
|
|
419
419
|
}
|
420
420
|
// if we finish iterating frames and still have items in the array, return false
|
421
421
|
else if ( RARRAY_LEN( rb_tracking_array ) > 0 ) {
|
422
|
-
|
422
|
+
if ( c_return_frame == TRUE ) {
|
423
|
+
return Qnil;
|
424
|
+
}
|
425
|
+
else {
|
426
|
+
return Qfalse;
|
427
|
+
}
|
423
428
|
}
|
424
429
|
// otherwise, return true
|
425
430
|
else if ( c_return_frame == TRUE ) {
|
data/lib/VERSION.rdoc
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.5
|
1
|
+
1.5.1
|
data/lib/sender/sender.bundle
CHANGED
Binary file
|
data/sender.gemspec
CHANGED
metadata
CHANGED