backtracie 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.adoc +4 -0
- data/ext/backtracie_native_extension/backtracie.c +1 -0
- data/lib/backtracie/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69190b4b5e00e3f8d89b96288a795bf79aee1f310d4e40d81d05a4737d99f9eb
|
4
|
+
data.tar.gz: d14cf978670bdd754a257c6b58735fb19921da15e2cd6a7a4c07ed0a8ddd6856
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5341c80c6ec5a4aeb9c6e0ad3e8f95126aa1f7502f4665b3a00be55349fd8312b5c3e2601162f5ec7c2ae458229fc38fa668c4919523e781fda5f04a86f01044
|
7
|
+
data.tar.gz: da4b1a46513861bdb05fe0e6d919d0350a1de47b0678b505cb494330677998a68c6c8188f8dfbd5cbd206aad6193c89bb7306f7447ac375c7536387dc3159cab
|
data/README.adoc
CHANGED
@@ -8,6 +8,10 @@ A Ruby gem for beautiful backtraces.
|
|
8
8
|
|
9
9
|
Aims to offer alternatives to `Thread#backtrace`, `Thread#backtrace_locations`, `Kernel#caller` and `Kernel#caller_locations` with similar (or better!?) performance, but with better metadata (such as class names).
|
10
10
|
|
11
|
+
WARNING: **Currently this gem is an exploration ground for some... questionable low-level techniques.**
|
12
|
+
**Due to the way it works, bugs can easily cause your whole Ruby VM to crash.**
|
13
|
+
**So please take this into account if you want to use this gem for anything. But contributions and bug reports are mega welcome.**
|
14
|
+
|
11
15
|
image:https://img.shields.io/badge/Contributor%20Covenant-2.0-4baaaa.svg["Contributor Covenant", link="CODE_OF_CONDUCT.adoc"]
|
12
16
|
image:https://badge.fury.io/rb/backtracie.svg["Gem Version", link="https://badge.fury.io/rb/backtracie"]
|
13
17
|
image:https://github.com/ivoanjo/backtracie/actions/workflows/test.yml/badge.svg["CI Status", link="https://github.com/ivoanjo/backtracie/actions/workflows/test.yml"]
|
@@ -98,6 +98,7 @@ static VALUE collect_backtrace_locations(VALUE self, VALUE thread, int ignored_s
|
|
98
98
|
}
|
99
99
|
|
100
100
|
VALUE locations_array = rb_funcall(thread, backtrace_locations_id, 0);
|
101
|
+
if (locations_array == Qnil) return Qnil;
|
101
102
|
stack_depth = backtracie_profile_frames_from_ruby_locations(locations_array, raw_locations);
|
102
103
|
#endif
|
103
104
|
|
data/lib/backtracie/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: backtracie
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivo Anjo
|
@@ -51,7 +51,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: '0'
|
53
53
|
requirements: []
|
54
|
-
rubygems_version: 3.
|
54
|
+
rubygems_version: 3.0.9
|
55
55
|
signing_key:
|
56
56
|
specification_version: 4
|
57
57
|
summary: Ruby gem for beautiful backtraces
|