trace_viz 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.rspec +3 -0
- data/.rubocop.yml +15 -0
- data/.tool-versions +1 -0
- data/.vscode/launch.json +32 -0
- data/.vscode/settings.json +33 -0
- data/CODE_OF_CONDUCT.md +132 -0
- data/LICENSE.txt +21 -0
- data/README.md +167 -0
- data/Rakefile +12 -0
- data/examples/example.rb +42 -0
- data/lib/trace_viz/adapters/base_adapter.rb +13 -0
- data/lib/trace_viz/adapters/trace_point/depth_manager.rb +34 -0
- data/lib/trace_viz/adapters/trace_point/event_handler.rb +36 -0
- data/lib/trace_viz/adapters/trace_point/trace_data.rb +89 -0
- data/lib/trace_viz/adapters/trace_point/trace_formatter.rb +95 -0
- data/lib/trace_viz/adapters/trace_point/trace_logger.rb +44 -0
- data/lib/trace_viz/adapters/trace_point_adapter.rb +25 -0
- data/lib/trace_viz/configuration.rb +61 -0
- data/lib/trace_viz/context/base_context.rb +13 -0
- data/lib/trace_viz/context/config_context.rb +34 -0
- data/lib/trace_viz/context/manager/context_map.rb +31 -0
- data/lib/trace_viz/context/manager/context_operations.rb +60 -0
- data/lib/trace_viz/context/manager/context_registry.rb +20 -0
- data/lib/trace_viz/context/manager/context_validation.rb +34 -0
- data/lib/trace_viz/context/manager.rb +37 -0
- data/lib/trace_viz/context/tracking/depth.rb +31 -0
- data/lib/trace_viz/context/tracking_context.rb +18 -0
- data/lib/trace_viz/context.rb +13 -0
- data/lib/trace_viz/core/tracer.rb +19 -0
- data/lib/trace_viz/core.rb +8 -0
- data/lib/trace_viz/errors.rb +8 -0
- data/lib/trace_viz/logger.rb +73 -0
- data/lib/trace_viz/utils/colorize.rb +35 -0
- data/lib/trace_viz/version.rb +5 -0
- data/lib/trace_viz.rb +13 -0
- data/sig/trace_viz.rbs +4 -0
- metadata +83 -0
data/sig/trace_viz.rbs
ADDED
metadata
ADDED
@@ -0,0 +1,83 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: trace_viz
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Huy Nguyen
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2024-12-17 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: Trace method calls and attribute accesses within Ruby classes, collect
|
14
|
+
execution data, and visualize the results using Mermaid diagrams.
|
15
|
+
email:
|
16
|
+
- patrick204nqh@gmail.com
|
17
|
+
executables: []
|
18
|
+
extensions: []
|
19
|
+
extra_rdoc_files: []
|
20
|
+
files:
|
21
|
+
- ".rspec"
|
22
|
+
- ".rubocop.yml"
|
23
|
+
- ".tool-versions"
|
24
|
+
- ".vscode/launch.json"
|
25
|
+
- ".vscode/settings.json"
|
26
|
+
- CODE_OF_CONDUCT.md
|
27
|
+
- LICENSE.txt
|
28
|
+
- README.md
|
29
|
+
- Rakefile
|
30
|
+
- examples/example.rb
|
31
|
+
- lib/trace_viz.rb
|
32
|
+
- lib/trace_viz/adapters/base_adapter.rb
|
33
|
+
- lib/trace_viz/adapters/trace_point/depth_manager.rb
|
34
|
+
- lib/trace_viz/adapters/trace_point/event_handler.rb
|
35
|
+
- lib/trace_viz/adapters/trace_point/trace_data.rb
|
36
|
+
- lib/trace_viz/adapters/trace_point/trace_formatter.rb
|
37
|
+
- lib/trace_viz/adapters/trace_point/trace_logger.rb
|
38
|
+
- lib/trace_viz/adapters/trace_point_adapter.rb
|
39
|
+
- lib/trace_viz/configuration.rb
|
40
|
+
- lib/trace_viz/context.rb
|
41
|
+
- lib/trace_viz/context/base_context.rb
|
42
|
+
- lib/trace_viz/context/config_context.rb
|
43
|
+
- lib/trace_viz/context/manager.rb
|
44
|
+
- lib/trace_viz/context/manager/context_map.rb
|
45
|
+
- lib/trace_viz/context/manager/context_operations.rb
|
46
|
+
- lib/trace_viz/context/manager/context_registry.rb
|
47
|
+
- lib/trace_viz/context/manager/context_validation.rb
|
48
|
+
- lib/trace_viz/context/tracking/depth.rb
|
49
|
+
- lib/trace_viz/context/tracking_context.rb
|
50
|
+
- lib/trace_viz/core.rb
|
51
|
+
- lib/trace_viz/core/tracer.rb
|
52
|
+
- lib/trace_viz/errors.rb
|
53
|
+
- lib/trace_viz/logger.rb
|
54
|
+
- lib/trace_viz/utils/colorize.rb
|
55
|
+
- lib/trace_viz/version.rb
|
56
|
+
- sig/trace_viz.rbs
|
57
|
+
homepage: https://github.com/patrick204nqh/trace_viz
|
58
|
+
licenses:
|
59
|
+
- MIT
|
60
|
+
metadata:
|
61
|
+
homepage_uri: https://github.com/patrick204nqh/trace_viz
|
62
|
+
source_code_uri: https://github.com/patrick204nqh/trace_viz
|
63
|
+
changelog_uri: https://github.com/patrick204nqh/trace_viz/blob/main/CHANGELOG.md
|
64
|
+
post_install_message:
|
65
|
+
rdoc_options: []
|
66
|
+
require_paths:
|
67
|
+
- lib
|
68
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
69
|
+
requirements:
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: 3.0.0
|
73
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
requirements: []
|
79
|
+
rubygems_version: 3.5.3
|
80
|
+
signing_key:
|
81
|
+
specification_version: 4
|
82
|
+
summary: Trace method and attribute usage in Ruby classes and generate diagrams.
|
83
|
+
test_files: []
|