debugger 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +3 -0
- data/README.md +2 -1
- data/ext/ruby_debug/193/ruby_debug.c +4 -2
- data/lib/debugger/version.rb +1 -1
- metadata +2 -2
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -45,6 +45,7 @@ To use in your Rails app, drop in your Gemfile:
|
|
45
45
|
* Install painlessly for rvm and rbenv rubies i.e. no compiler flags needed
|
46
46
|
* No downloading ruby source during install - was behavior of old ruby_core_source dependency
|
47
47
|
* Fix LocalJumpError caused by using proc in extconf.rb
|
48
|
+
* Fix where command failing at top level
|
48
49
|
* Passing tests are up on travis-ci
|
49
50
|
* Minor
|
50
51
|
* The gem name matches the module namespace, Debugger, and main required file, debugger.
|
@@ -63,7 +64,7 @@ Let's keep this working for the ruby community!
|
|
63
64
|
## Credits
|
64
65
|
|
65
66
|
* Thanks to the original authors: Kent Sibilev and Mark Moseley
|
66
|
-
* Contributors: jnimety, adammck
|
67
|
+
* Contributors: ericpromislow, jnimety, adammck
|
67
68
|
* Fork started on awesome @relevance fridays!
|
68
69
|
|
69
70
|
## TODO
|
@@ -1755,6 +1755,7 @@ context_frame_id(int argc, VALUE *argv, VALUE self)
|
|
1755
1755
|
{
|
1756
1756
|
ID id;
|
1757
1757
|
VALUE frame;
|
1758
|
+
VALUE frame_id;
|
1758
1759
|
debug_context_t *debug_context;
|
1759
1760
|
rb_control_frame_t *cfp;
|
1760
1761
|
|
@@ -1764,10 +1765,11 @@ context_frame_id(int argc, VALUE *argv, VALUE self)
|
|
1764
1765
|
|
1765
1766
|
cfp = GET_FRAME->info.runtime.cfp;
|
1766
1767
|
#if defined HAVE_RB_CONTROL_FRAME_T_METHOD_ID
|
1767
|
-
|
1768
|
+
frame_id = RUBYVM_CFUNC_FRAME_P(cfp) ? cfp->method_id : cfp->iseq->defined_method_id;
|
1768
1769
|
#elif defined HAVE_RB_METHOD_ENTRY_T_CALLED_ID
|
1769
|
-
|
1770
|
+
frame_id = RUBYVM_CFUNC_FRAME_P(cfp) ? cfp->me->called_id : cfp->iseq->defined_method_id;
|
1770
1771
|
#endif
|
1772
|
+
return frame_id ? ID2SYM(frame_id) : Qnil;
|
1771
1773
|
}
|
1772
1774
|
|
1773
1775
|
/*
|
data/lib/debugger/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: debugger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2012-04-
|
14
|
+
date: 2012-04-29 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: columnize
|