Skip to main content

codemap-ruby

A Ruby indexer for CodeMap, shipped as an independent PyPI package.

What it captures

Backed by tree-sitter-ruby:

AST node Symbol kind
class class (with extra.ruby_kind=class)
module class (with extra.ruby_kind=module)
method (inside class/module) method
method (top level) function
singleton_method method (with extra.ruby_kind=singleton)
top-level constant assignment variable
constant assignment inside class/module field

Nested class / module declarations are tracked with a class stack: module A; class B; def m; end; end; end produces A#B#m().

Install

pip install codemap-ruby

SymbolID encoding

scip-ruby . . . app/models/user.rb/User#hello().

Limits

  • attr_accessor / attr_reader / attr_writer macros are not expanded into individual field symbols.
  • define_method, class_eval, and other metaprogramming are not resolved.
  • Mixin (include/extend) edges are not yet emitted.

License

MIT.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codemap_ruby-0.4.10.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

codemap_ruby-0.4.10-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file codemap_ruby-0.4.10.tar.gz.

File metadata

  • Download URL: codemap_ruby-0.4.10.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for codemap_ruby-0.4.10.tar.gz
Algorithm Hash digest
SHA256 547bb5c0dd990ed3d3820060cd581da1975d86c02b00d0b8b728a296f97c212e
MD5 77b5858a64e356ae58e1835163a1d7a5
BLAKE2b-256 85b8415c40699c41db23dc2b37f4f0e558e69d5eab2fdcffecffaecafb8981f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for codemap_ruby-0.4.10.tar.gz:

Publisher: publish.yml on qxbyte/codemap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file codemap_ruby-0.4.10-py3-none-any.whl.

File metadata

  • Download URL: codemap_ruby-0.4.10-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for codemap_ruby-0.4.10-py3-none-any.whl
Algorithm Hash digest
SHA256 fd3f595eb13bd1aa0bc0d7e884c9d03a19d343ed46429ee6df5b21560cc9be2f
MD5 cfd7d6fab22117299c1ed293d6ab9a52
BLAKE2b-256 eb232c4f5881935d57117e52b81d40f111caafe2c38492fa2d7d7fc10e46f00d

See more details on using hashes here.

Provenance

The following attestation bundles were made for codemap_ruby-0.4.10-py3-none-any.whl:

Publisher: publish.yml on qxbyte/codemap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.4.10 This release

2 files

0.4.6

2 files

0.4.5

2 files

0.4.4

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.6

2 files

0.3.5

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.2

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page