stack_trace 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 569140beba085e365500fa422fbb4c17fdadd9cc9bb6c8c9d8ec961762d6d75f
4
- data.tar.gz: 82b6503c9d3ef301e0c25a362917badd2c10de725b3e3d553e597d7d85662aaf
3
+ metadata.gz: 4cc75d5b0a32aff0307977f6f1acdeac454f9a082d09c4ccfb61423ed3539ebb
4
+ data.tar.gz: '0806e5e196396576aeeeb5c4c11f7cb4f20aac5064c765a59c8b8b5e07a4a13a'
5
5
  SHA512:
6
- metadata.gz: be5151cc46d1450d064ec7fed0093b3e8d1be8c84f65edff47dc2410fdfa86eb64029548f46ec56c3be5a1b016f918001691df93e4b252823af54f3b2ae53390
7
- data.tar.gz: aada681ea172314b8b0657e13be065fe52a0fce05bda5d7b283a78b7a184f68b03d35881942db9c64d834621cc28a4a3b27a5ad83a2a8168c30f955d7b490eba
6
+ metadata.gz: a818593e2040840020a056673fb37a512c707ac9491334b776b9c1c8eea918136233d151982e0dbbd53f76b3ddf2141109c81fc693286ecd68654a33f7376ae7
7
+ data.tar.gz: 74116cca420c09db1fbf5c92c42e9536d32d64d22b42e1976e6c5ecff2f86ee562a797f81f7fa608eb44388c051496319c62a1a0dd084de4ceb9b1476bd3d910
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stack_trace (0.7.0)
4
+ stack_trace (0.8.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -31,13 +31,13 @@ StackTrace.configure do |config|
31
31
  config.inspect_return_values = true # Default `false` for performance reasons
32
32
  config.inspect_arguments = true # Default `false` for performance reasons
33
33
 
34
- config.check_proc = -> (klass_name, method_name) do # If you want to limit the tracing for a set of classes
35
- klass_name == "Bar"
34
+ config.check_proc = -> (self_klass_name, defined_klass_name, method_name) do # If you want to limit the tracing for a set of classes
35
+ self_klass_name == "Bar"
36
36
 
37
- # If you use autoload and resolve the constant with `klass_name`
37
+ # If you use autoload and resolve the constant by klass names
38
38
  # it's really likelly that you get a segfault: https://bugs.ruby-lang.org/issues/18120.
39
39
  # Preload all the constants before running the `StackTrace.trace` if you want to
40
- # constantize klass_name.
40
+ # constantize klass names.
41
41
  end
42
42
  end
43
43
  ```
@@ -32,7 +32,7 @@ void set_check_proc(VALUE proc) {
32
32
  static VALUE call_proc(VALUE val) {
33
33
  Event *event = (Event *)val;
34
34
 
35
- return rb_funcall(check_proc, rb_intern("call"), 2, rb_str_new_cstr(event->self_klass), event->method);
35
+ return rb_funcall(check_proc, rb_intern("call"), 3, rb_str_new_cstr(event->self_klass), rb_str_new_cstr(event->klass), event->method);
36
36
  }
37
37
 
38
38
  static bool is_tracked_event(Event *event) {
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module StackTrace
4
- VERSION = "0.7.0"
4
+ VERSION = "0.8.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stack_trace
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mehmet Emin INAC
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-04-11 00:00:00.000000000 Z
11
+ date: 2023-04-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: StackTrace
14
14
  email: