diver_down 0.0.1.alpha1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +5 -0
  3. data/LICENSE.txt +21 -0
  4. data/README.md +132 -0
  5. data/exe/diver_down_web +55 -0
  6. data/lib/diver_down/definition/dependency.rb +107 -0
  7. data/lib/diver_down/definition/method_id.rb +83 -0
  8. data/lib/diver_down/definition/source.rb +90 -0
  9. data/lib/diver_down/definition.rb +112 -0
  10. data/lib/diver_down/helper.rb +81 -0
  11. data/lib/diver_down/trace/call_stack.rb +45 -0
  12. data/lib/diver_down/trace/ignored_method_ids.rb +136 -0
  13. data/lib/diver_down/trace/module_set/array_module_set.rb +31 -0
  14. data/lib/diver_down/trace/module_set/const_source_location_module_set.rb +28 -0
  15. data/lib/diver_down/trace/module_set.rb +78 -0
  16. data/lib/diver_down/trace/redefine_ruby_methods.rb +64 -0
  17. data/lib/diver_down/trace/tracer/session.rb +121 -0
  18. data/lib/diver_down/trace/tracer.rb +96 -0
  19. data/lib/diver_down/trace.rb +27 -0
  20. data/lib/diver_down/version.rb +5 -0
  21. data/lib/diver_down/web/action.rb +344 -0
  22. data/lib/diver_down/web/bit_id.rb +41 -0
  23. data/lib/diver_down/web/definition_enumerator.rb +54 -0
  24. data/lib/diver_down/web/definition_loader.rb +37 -0
  25. data/lib/diver_down/web/definition_store.rb +89 -0
  26. data/lib/diver_down/web/definition_to_dot.rb +399 -0
  27. data/lib/diver_down/web/dev_server_middleware.rb +72 -0
  28. data/lib/diver_down/web/indented_string_io.rb +59 -0
  29. data/lib/diver_down/web/module_store.rb +59 -0
  30. data/lib/diver_down/web.rb +101 -0
  31. data/lib/diver_down-trace.rb +4 -0
  32. data/lib/diver_down-web.rb +4 -0
  33. data/lib/diver_down.rb +14 -0
  34. data/web/assets/CjLq7LhZ.css +1 -0
  35. data/web/assets/bundle.js +978 -0
  36. data/web/index.html +13 -0
  37. metadata +122 -0
data/web/index.html ADDED
@@ -0,0 +1,13 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <title>diver_down</title>
6
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
7
+ <script type="module" crossorigin src="/assets//bundle.js"></script>
8
+ <link rel="stylesheet" crossorigin href="/assets/CjLq7LhZ.css">
9
+ </head>
10
+ <body>
11
+ <div id="root" />
12
+ </body>
13
+ </html>
metadata ADDED
@@ -0,0 +1,122 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: diver_down
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1.alpha1
5
+ platform: ruby
6
+ authors:
7
+ - alpaca-tc
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2024-04-11 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activesupport
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 7.0.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 7.0.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: msgpack
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 1.7.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 1.7.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: rack-contrib
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: 2.3.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: 2.3.0
55
+ description: ''
56
+ email:
57
+ - alpaca-tc@alpaca.tc
58
+ executables:
59
+ - diver_down_web
60
+ extensions: []
61
+ extra_rdoc_files: []
62
+ files:
63
+ - CHANGELOG.md
64
+ - LICENSE.txt
65
+ - README.md
66
+ - exe/diver_down_web
67
+ - lib/diver_down-trace.rb
68
+ - lib/diver_down-web.rb
69
+ - lib/diver_down.rb
70
+ - lib/diver_down/definition.rb
71
+ - lib/diver_down/definition/dependency.rb
72
+ - lib/diver_down/definition/method_id.rb
73
+ - lib/diver_down/definition/source.rb
74
+ - lib/diver_down/helper.rb
75
+ - lib/diver_down/trace.rb
76
+ - lib/diver_down/trace/call_stack.rb
77
+ - lib/diver_down/trace/ignored_method_ids.rb
78
+ - lib/diver_down/trace/module_set.rb
79
+ - lib/diver_down/trace/module_set/array_module_set.rb
80
+ - lib/diver_down/trace/module_set/const_source_location_module_set.rb
81
+ - lib/diver_down/trace/redefine_ruby_methods.rb
82
+ - lib/diver_down/trace/tracer.rb
83
+ - lib/diver_down/trace/tracer/session.rb
84
+ - lib/diver_down/version.rb
85
+ - lib/diver_down/web.rb
86
+ - lib/diver_down/web/action.rb
87
+ - lib/diver_down/web/bit_id.rb
88
+ - lib/diver_down/web/definition_enumerator.rb
89
+ - lib/diver_down/web/definition_loader.rb
90
+ - lib/diver_down/web/definition_store.rb
91
+ - lib/diver_down/web/definition_to_dot.rb
92
+ - lib/diver_down/web/dev_server_middleware.rb
93
+ - lib/diver_down/web/indented_string_io.rb
94
+ - lib/diver_down/web/module_store.rb
95
+ - web/assets/CjLq7LhZ.css
96
+ - web/assets/bundle.js
97
+ - web/index.html
98
+ homepage: https://github.com/alpaca-tc/diver_down
99
+ licenses:
100
+ - MIT
101
+ metadata:
102
+ homepage_uri: https://github.com/alpaca-tc/diver_down
103
+ post_install_message:
104
+ rdoc_options: []
105
+ require_paths:
106
+ - lib
107
+ required_ruby_version: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ version: 3.2.0
112
+ required_rubygems_version: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ requirements: []
118
+ rubygems_version: 3.5.5
119
+ signing_key:
120
+ specification_version: 4
121
+ summary: Tool to dynamically analyze applications and create dependency maps
122
+ test_files: []