Versions in this module Expand all Collapse all v0 v0.1.4 Jun 10, 2026 Changes in this version + func NewCampingFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewCubaFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewDeviseFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewDryRbFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewDrySystemFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewFaradayFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewGrapeFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewHanamiFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewMinitestFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewNokogiriFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewPadrinoFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewPumaFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewRSpecFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewRackFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewRailsFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewRamazeFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewRodaFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewSequelFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewSidekiqFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewSinatraFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewStdlibFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + type Config struct + Description string + LibraryID string + Name string + SourceRoots []string + SourceURL string + TrustScore float64 + Version string + type Option func(*RubySource) + func WithRef(ref string) Option + type RubySource struct + func New(repoPath string, cfg Config, opts ...Option) *RubySource + func (s *RubySource) DetectWrapper(method *source.Method) (bool, string, string) + func (s *RubySource) DiscoverEntities(ctx context.Context, fetch source.FetchFunc) ([]string, error) + func (s *RubySource) ID() string + func (s *RubySource) Meta() source.LibraryMeta + func (s *RubySource) ParseEntity(ctx context.Context, entityID string, content []byte) (*source.Entity, []string, error) + func (s *RubySource) ParseMethod(ctx context.Context, methodID string, content []byte) (*source.Method, error) + func (s *RubySource) ParseSourceCode(entityID string, content []byte) (string, error) + func (s *RubySource) ResolveWrapperURL(targetName, targetKind, entitySlug string) string