tracia 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tracia/default_logger.rb +0 -17
- data/lib/tracia/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd11b2221dbdd8fe58cc1ff87b096fa4df1cb6731cafddfef9d17ada8a2a812c
|
4
|
+
data.tar.gz: 4f37c6bd988831d7f672fa91607e4de4216a7661e4317e514322e80b80f56c95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c41f9213fd72b995f4a1ff06e2881354835f173c7af6e95d70a7fcd2a67d1fa382819d9823edc8fe20429e9e7b97fe46878be06858521fe7f167b49d7d06270
|
7
|
+
data.tar.gz: 272914638a974b686fc85e359215b2117be14c4807a5bd58c036325c301822dd457f2fb9e99484308021e426e49b81883036903abd5febafcab1d491bd2506d8
|
@@ -1,28 +1,11 @@
|
|
1
1
|
class Tracia
|
2
2
|
class DefaultLogger
|
3
|
-
NO_CHILD = []
|
4
|
-
|
5
|
-
class << self
|
6
|
-
def tree_graph_everything!
|
7
|
-
Object.define_method(:label_for_tree_graph) do
|
8
|
-
to_s
|
9
|
-
end
|
10
|
-
|
11
|
-
Object.define_method(:children_for_tree_graph) do
|
12
|
-
NO_CHILD
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|
16
|
-
|
17
3
|
def initialize(out: STDOUT)
|
18
4
|
@out = out
|
19
5
|
end
|
20
6
|
|
21
7
|
def call(root)
|
22
8
|
@out.puts root.tree_graph
|
23
|
-
rescue => e
|
24
|
-
@out.puts e.message
|
25
|
-
@out.puts e.backtrace
|
26
9
|
end
|
27
10
|
end
|
28
11
|
end
|
data/lib/tracia/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tracia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ken
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.2.
|
33
|
+
version: 0.2.4
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.2.
|
40
|
+
version: 0.2.4
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: binding_of_callers
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,7 +52,7 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 0.2.3
|
55
|
-
description:
|
55
|
+
description:
|
56
56
|
email:
|
57
57
|
- block24block@gmail.com
|
58
58
|
executables: []
|
@@ -74,7 +74,7 @@ homepage: https://github.com/turnon/tracia
|
|
74
74
|
licenses:
|
75
75
|
- MIT
|
76
76
|
metadata: {}
|
77
|
-
post_install_message:
|
77
|
+
post_install_message:
|
78
78
|
rdoc_options: []
|
79
79
|
require_paths:
|
80
80
|
- lib
|
@@ -89,8 +89,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
89
89
|
- !ruby/object:Gem::Version
|
90
90
|
version: '0'
|
91
91
|
requirements: []
|
92
|
-
rubygems_version: 3.
|
93
|
-
signing_key:
|
92
|
+
rubygems_version: 3.1.6
|
93
|
+
signing_key:
|
94
94
|
specification_version: 4
|
95
95
|
summary: bottum-up tracing
|
96
96
|
test_files: []
|