rubydex 0.3.0-aarch64-linux → 0.4.0-aarch64-linux
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 +4 -4
- data/README.md +45 -7
- data/THIRD_PARTY_LICENSES.html +238 -2
- data/exe/rdx +2 -149
- data/ext/rubydex/config.c +140 -0
- data/ext/rubydex/config.h +16 -0
- data/ext/rubydex/diagnostic.c +75 -1
- data/ext/rubydex/diagnostic.h +2 -0
- data/ext/rubydex/graph.c +13 -45
- data/ext/rubydex/graph.h +6 -0
- data/ext/rubydex/query.c +398 -16
- data/ext/rubydex/rubydex.c +2 -0
- data/ext/rubydex/utils.c +11 -4
- data/lib/ruby_lsp/rubydex/addon.rb +211 -0
- data/lib/rubydex/3.2/rubydex.so +0 -0
- data/lib/rubydex/3.3/rubydex.so +0 -0
- data/lib/rubydex/3.4/rubydex.so +0 -0
- data/lib/rubydex/4.0/rubydex.so +0 -0
- data/lib/rubydex/cli/command/console.rb +55 -0
- data/lib/rubydex/cli/command/lint/explain.rb +74 -0
- data/lib/rubydex/cli/command/lint.rb +202 -0
- data/lib/rubydex/cli/command/mcp.rb +30 -0
- data/lib/rubydex/cli/command/query.rb +70 -0
- data/lib/rubydex/cli/command/skill.rb +69 -0
- data/lib/rubydex/cli/command.rb +168 -0
- data/lib/rubydex/cli.rb +93 -0
- data/lib/rubydex/config.rb +59 -0
- data/lib/rubydex/diagnostic.rb +12 -3
- data/lib/rubydex/errors.rb +42 -1
- data/lib/rubydex/graph.rb +10 -3
- data/lib/rubydex/librubydex_sys.so +0 -0
- data/lib/rubydex/linter/custom_rule.rb +97 -0
- data/lib/rubydex/linter/helpers/path_helpers.rb +78 -0
- data/lib/rubydex/linter/helpers/source_access_helpers.rb +31 -0
- data/lib/rubydex/linter/rule_loader.rb +36 -0
- data/lib/rubydex/linter/rule_test_case.rb +343 -0
- data/lib/rubydex/linter/runner.rb +56 -0
- data/lib/rubydex/linter.rb +19 -0
- data/lib/rubydex/location.rb +3 -0
- data/lib/rubydex/mcp_server.rb +1 -2
- data/lib/rubydex/related_information.rb +17 -0
- data/lib/rubydex/rule.rb +33 -0
- data/lib/rubydex/severity.rb +70 -0
- data/lib/rubydex/skill.rb +88 -0
- data/lib/rubydex/skill_registry.rb +62 -0
- data/lib/rubydex/version.rb +1 -1
- data/lib/rubydex.rb +6 -0
- data/lib/rubydex_linter/rules/rule_structure.rb +125 -0
- data/rbi/rubydex.rbi +558 -17
- data/rust/Cargo.lock +2 -2
- data/rust/rubydex/Cargo.toml +1 -1
- data/rust/rubydex/benches/graph_memory.rs +3 -5
- data/rust/rubydex/src/config.rs +538 -157
- data/rust/rubydex/src/diagnostic.rs +66 -40
- data/rust/rubydex/src/errors.rs +0 -1
- data/rust/rubydex/src/indexing/local_graph.rs +6 -5
- data/rust/rubydex/src/indexing/rbs_indexer.rs +270 -6
- data/rust/rubydex/src/indexing/ruby_indexer.rs +10 -12
- data/rust/rubydex/src/indexing/ruby_indexer_tests.rs +134 -81
- data/rust/rubydex/src/lib.rs +1 -0
- data/rust/rubydex/src/listing.rs +26 -1
- data/rust/rubydex/src/main.rs +7 -4
- data/rust/rubydex/src/model/declaration.rs +302 -219
- data/rust/rubydex/src/model/graph.rs +27 -40
- data/rust/rubydex/src/model/name.rs +58 -17
- data/rust/rubydex/src/operation/ruby_builder.rs +30 -45
- data/rust/rubydex/src/path_helpers.rs +77 -0
- data/rust/rubydex/src/query/cypher/schema.rs +63 -0
- data/rust/rubydex/src/query/cypher/tests.rs +26 -1
- data/rust/rubydex/src/query/cypher.rs +8 -11
- data/rust/rubydex/src/query.rs +123 -43
- data/rust/rubydex/src/resolution.rs +139 -187
- data/rust/rubydex/src/resolution_tests.rs +247 -19
- data/rust/rubydex/src/test_utils/context.rs +2 -1
- data/rust/rubydex/src/test_utils/graph_test.rs +26 -12
- data/rust/rubydex/src/test_utils/local_graph_test.rs +19 -0
- data/rust/rubydex/tests/cli.rs +4 -4
- data/rust/rubydex-sys/src/config_api.rs +205 -0
- data/rust/rubydex-sys/src/cypher_api.rs +791 -0
- data/rust/rubydex-sys/src/diagnostic_api.rs +77 -8
- data/rust/rubydex-sys/src/graph_api.rs +13 -194
- data/rust/rubydex-sys/src/lib.rs +2 -0
- data/rust/rubydex-sys/src/name_api.rs +2 -6
- data/rust/rubydex-sys/src/utils.rs +37 -0
- data/skills/send-private-method/SKILL.md +133 -0
- metadata +31 -2
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubydex
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: aarch64-linux
|
|
6
6
|
authors:
|
|
7
7
|
- Shopify
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-08-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: A high-performance static analysis suite for Ruby, built in Rust with
|
|
14
14
|
Ruby APIs
|
|
@@ -23,6 +23,8 @@ files:
|
|
|
23
23
|
- README.md
|
|
24
24
|
- THIRD_PARTY_LICENSES.html
|
|
25
25
|
- exe/rdx
|
|
26
|
+
- ext/rubydex/config.c
|
|
27
|
+
- ext/rubydex/config.h
|
|
26
28
|
- ext/rubydex/declaration.c
|
|
27
29
|
- ext/rubydex/declaration.h
|
|
28
30
|
- ext/rubydex/definition.c
|
|
@@ -46,12 +48,22 @@ files:
|
|
|
46
48
|
- ext/rubydex/signature.h
|
|
47
49
|
- ext/rubydex/utils.c
|
|
48
50
|
- ext/rubydex/utils.h
|
|
51
|
+
- lib/ruby_lsp/rubydex/addon.rb
|
|
49
52
|
- lib/rubydex.rb
|
|
50
53
|
- lib/rubydex/3.2/rubydex.so
|
|
51
54
|
- lib/rubydex/3.3/rubydex.so
|
|
52
55
|
- lib/rubydex/3.4/rubydex.so
|
|
53
56
|
- lib/rubydex/4.0/rubydex.so
|
|
57
|
+
- lib/rubydex/cli.rb
|
|
58
|
+
- lib/rubydex/cli/command.rb
|
|
59
|
+
- lib/rubydex/cli/command/console.rb
|
|
60
|
+
- lib/rubydex/cli/command/lint.rb
|
|
61
|
+
- lib/rubydex/cli/command/lint/explain.rb
|
|
62
|
+
- lib/rubydex/cli/command/mcp.rb
|
|
63
|
+
- lib/rubydex/cli/command/query.rb
|
|
64
|
+
- lib/rubydex/cli/command/skill.rb
|
|
54
65
|
- lib/rubydex/comment.rb
|
|
66
|
+
- lib/rubydex/config.rb
|
|
55
67
|
- lib/rubydex/declaration.rb
|
|
56
68
|
- lib/rubydex/diagnostic.rb
|
|
57
69
|
- lib/rubydex/errors.rb
|
|
@@ -60,6 +72,13 @@ files:
|
|
|
60
72
|
- lib/rubydex/keyword.rb
|
|
61
73
|
- lib/rubydex/keyword_parameter.rb
|
|
62
74
|
- lib/rubydex/librubydex_sys.so
|
|
75
|
+
- lib/rubydex/linter.rb
|
|
76
|
+
- lib/rubydex/linter/custom_rule.rb
|
|
77
|
+
- lib/rubydex/linter/helpers/path_helpers.rb
|
|
78
|
+
- lib/rubydex/linter/helpers/source_access_helpers.rb
|
|
79
|
+
- lib/rubydex/linter/rule_loader.rb
|
|
80
|
+
- lib/rubydex/linter/rule_test_case.rb
|
|
81
|
+
- lib/rubydex/linter/runner.rb
|
|
63
82
|
- lib/rubydex/location.rb
|
|
64
83
|
- lib/rubydex/mcp_server.rb
|
|
65
84
|
- lib/rubydex/mcp_server/protocol.rb
|
|
@@ -72,8 +91,14 @@ files:
|
|
|
72
91
|
- lib/rubydex/mcp_server/tools/search_declarations_tool.rb
|
|
73
92
|
- lib/rubydex/mixin.rb
|
|
74
93
|
- lib/rubydex/reference.rb
|
|
94
|
+
- lib/rubydex/related_information.rb
|
|
95
|
+
- lib/rubydex/rule.rb
|
|
96
|
+
- lib/rubydex/severity.rb
|
|
75
97
|
- lib/rubydex/signature.rb
|
|
98
|
+
- lib/rubydex/skill.rb
|
|
99
|
+
- lib/rubydex/skill_registry.rb
|
|
76
100
|
- lib/rubydex/version.rb
|
|
101
|
+
- lib/rubydex_linter/rules/rule_structure.rb
|
|
77
102
|
- rbi/rubydex.rbi
|
|
78
103
|
- rust/Cargo.lock
|
|
79
104
|
- rust/Cargo.toml
|
|
@@ -83,6 +108,8 @@ files:
|
|
|
83
108
|
- rust/rubydex-sys/Cargo.toml
|
|
84
109
|
- rust/rubydex-sys/build.rs
|
|
85
110
|
- rust/rubydex-sys/cbindgen.toml
|
|
111
|
+
- rust/rubydex-sys/src/config_api.rs
|
|
112
|
+
- rust/rubydex-sys/src/cypher_api.rs
|
|
86
113
|
- rust/rubydex-sys/src/declaration_api.rs
|
|
87
114
|
- rust/rubydex-sys/src/definition_api.rs
|
|
88
115
|
- rust/rubydex-sys/src/diagnostic_api.rs
|
|
@@ -132,6 +159,7 @@ files:
|
|
|
132
159
|
- rust/rubydex/src/operation/mod.rs
|
|
133
160
|
- rust/rubydex/src/operation/printer.rs
|
|
134
161
|
- rust/rubydex/src/operation/ruby_builder.rs
|
|
162
|
+
- rust/rubydex/src/path_helpers.rs
|
|
135
163
|
- rust/rubydex/src/position.rs
|
|
136
164
|
- rust/rubydex/src/query.rs
|
|
137
165
|
- rust/rubydex/src/query/cypher.rs
|
|
@@ -150,6 +178,7 @@ files:
|
|
|
150
178
|
- rust/rubydex/src/test_utils/local_graph_test.rs
|
|
151
179
|
- rust/rubydex/tests/cli.rs
|
|
152
180
|
- rust/rustfmt.toml
|
|
181
|
+
- skills/send-private-method/SKILL.md
|
|
153
182
|
homepage: https://github.com/Shopify/rubydex
|
|
154
183
|
licenses:
|
|
155
184
|
- MIT
|