Module: RubyLens

Defined in:
lib/rubylens.rb,
lib/rubylens.rb,
lib/rubylens/cli.rb,
lib/rubylens/paths.rb,
lib/rubylens/errors.rb,
lib/rubylens/version.rb,
lib/rubylens/generator.rb,
lib/rubylens/report_writer.rb,
lib/rubylens/git_repository.rb,
lib/rubylens/index/manifest.rb,
lib/rubylens/showcase_model.rb,
lib/rubylens/showcase_writer.rb,
lib/rubylens/art_model_builder.rb,
lib/rubylens/index/source_path.rb,
lib/rubylens/dependency_warning.rb,
lib/rubylens/showcase_generator.rb,
lib/rubylens/index/rspec_extractor.rb,
lib/rubylens/index/rubydex_adapter.rb,
lib/rubylens/morphology_classifier.rb,
lib/rubylens/report_asset_assembler.rb,
lib/rubylens/model/dependency_aggregation.rb

Defined Under Namespace

Modules: DependencyWarning, Index, Model, Paths Classes: ArtModelBuilder, CLI, Error, GenerationPipeline, Generator, GitError, GitRepository, MorphologyClassifier, ReportAssetAssembler, ReportWriter, Result, ShowcaseGenerator, ShowcaseModel, ShowcaseWriter

Constant Summary collapse

INDEXABLE_EXTENSIONS =

File extensions RubyLens selects for indexing with Rubydex.

%w[.rb .rake .rbs .ru].freeze
VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.generate_report(path: Dir.pwd, output: nil, lockfile: nil) ⇒ Object



27
28
29
# File 'lib/rubylens.rb', line 27

def generate_report(path: Dir.pwd, output: nil, lockfile: nil)
  Generator.new(path: path, output: output, lockfile: lockfile).call
end

.generate_showcase(path: Dir.pwd, output: nil, lockfile: nil, details: false) ⇒ Object



31
32
33
# File 'lib/rubylens.rb', line 31

def generate_showcase(path: Dir.pwd, output: nil, lockfile: nil, details: false)
  ShowcaseGenerator.new(path: path, output: output, lockfile: lockfile, details: details).call
end