binding_of_caller 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -181,6 +181,9 @@ static VALUE frame_count(VALUE self)
181
181
  if (!valid_frame_p(cfp, limit_cfp))
182
182
  cfp = find_valid_frame(cfp, limit_cfp);
183
183
 
184
+ if (!cfp)
185
+ break;
186
+
184
187
  i++;
185
188
  }
186
189
 
@@ -1,3 +1,3 @@
1
1
  module BindingOfCaller
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: binding_of_caller
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-11-28 00:00:00.000000000 Z
12
+ date: 2011-12-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bacon
16
- requirement: &70166101101640 !ruby/object:Gem::Requirement
16
+ requirement: &70178503270960 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 1.1.0
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70166101101640
24
+ version_requirements: *70178503270960
25
25
  description: Retrieve the binding of a method's caller. Can also retrieve bindings
26
26
  even further up the stack. Currently only works for MRI 1.9.2.
27
27
  email: jrmair@gmail.com