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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 477238494f1ee984318147d893a338e51581ef6213cc8ff59463459a45db90c8
4
- data.tar.gz: 80c30864e15aa47b948c5090fbe7e635e0479e58762a177150343f70f2e69509
3
+ metadata.gz: e191222d4cb7de42dac47a09ed1e2a8db6ec203418e9420b87cf89008d2e24b2
4
+ data.tar.gz: e703c2fba901b08e837267ff50344d8b0f3dcfee760c752517126993e1188379
5
5
  SHA512:
6
- metadata.gz: 6bd5ea8ddececb799f9d0dc2af6c74197e423f38993de563d6c413ea192d31b799a9f9e7e0c46643f2c65e1915ee5c0c12560cfc4872d226b453ddb23e38def0
7
- data.tar.gz: 93136f43996f10bd68ccb472a0dcef3c42196f96dfa789a4ec3a2140ef554c3c917b56ac76d1c5f95c1487104549105cb68c724a2afca6958610c702aee85e19
6
+ metadata.gz: a5a9dc11b2e8ddb7c37a8024629984281f7ca38efb834bb4b939f84ecfe4f9a4197147dd782b88cd849ec4b0267aaf299b2f6ee0ac954773ca79d43b6bf90063
7
+ data.tar.gz: 844ee5efe6639edf96b4afcb89ec89973eb04c2818bacde53fe9f9139bfe6cfa7a89b2c4177a1f5959b34c11aa7cd5dfef984f3916d13947da11ee8eeaaba1fa
@@ -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
- ret = original_method.bind(self).call(*args, **kwargs, &block)
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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Perfetto
4
- VERSION = "0.1.3"
4
+ VERSION = "0.1.4"
5
5
  end
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.3
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-02 00:00:00.000000000 Z
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: