Documentation ¶
Overview ¶
Package ruby provides analysers for Ruby projects.
A `BuildTarget` in Ruby is the directory of the Ruby project, generally containing `Gemfile` and `Gemfile.lock`.
Index ¶
Constants ¶
View Source
const ( AnalyzerName = "ruby" BundlerListStrategy = "list" BundlerLockStrategy = "lockfile" BundlerListLockStrategy = "list-lockfile" )
Variables ¶
View Source
var RubyAnalyzer = module.AnalyzerV2{ Name: AnalyzerName, DiscoverFunc: NewDiscover, Strategies: module.Strategies{ Named: map[module.StrategyName]module.Strategy{ BundlerListStrategy: analyzeBundlerList, BundlerLockStrategy: analyzeBundlerLockfile, BundlerListLockStrategy: analyzeBundlerListLockfile, }, Optimal: []module.StrategyName{BundlerListLockStrategy}, SortedNames: []module.StrategyName{ BundlerListLockStrategy, BundlerLockStrategy, BundlerListStrategy, }, }, }
Functions ¶
func NewDiscover ¶ added in v1.0.8
Types ¶
Click to show internal directories.
Click to hide internal directories.