perfetto 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/perfetto/interceptor.rb +2 -2
- data/lib/perfetto/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: e191222d4cb7de42dac47a09ed1e2a8db6ec203418e9420b87cf89008d2e24b2
|
4
|
+
data.tar.gz: e703c2fba901b08e837267ff50344d8b0f3dcfee760c752517126993e1188379
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5a9dc11b2e8ddb7c37a8024629984281f7ca38efb834bb4b939f84ecfe4f9a4197147dd782b88cd849ec4b0267aaf299b2f6ee0ac954773ca79d43b6bf90063
|
7
|
+
data.tar.gz: 844ee5efe6639edf96b4afcb89ec89973eb04c2818bacde53fe9f9139bfe6cfa7a89b2c4177a1f5959b34c11aa7cd5dfef984f3916d13947da11ee8eeaaba1fa
|
data/lib/perfetto/interceptor.rb
CHANGED
@@ -15,9 +15,9 @@ module Perfetto
|
|
15
15
|
alias_method "pftrace_#{method_name}", method_name
|
16
16
|
define_method(method_name) do |*args, **kwargs, &block|
|
17
17
|
Perfetto.trace_event_begin self.class.name, method_name.to_s
|
18
|
-
|
18
|
+
original_method.bind(self).call(*args, **kwargs, &block)
|
19
|
+
ensure
|
19
20
|
Perfetto.trace_event_end self.class.name
|
20
|
-
ret
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
data/lib/perfetto/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: perfetto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kowalski Dark
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Yet another event tracing library for Ruby.
|
14
14
|
email:
|