{"modulePath":"github.com/fossas/fossa-cli","version":"v0.6.7","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package ruby\n\n## Types\n\n```go\ntype RubyBuilder struct {\n\tBundlerCmd     string\n\tBundlerVersion string\n\n\tGemCmd     string\n\tGemVersion string\n\n\tRubyCmd     string\n\tRubyVersion string\n}\n```\nRubyBuilder implements Builder for Bundler (Gemfile) builds\n\n```go\nfunc (builder *RubyBuilder) Analyze(m module.Module, allowUnresolved bool) ([]module.Dependency, error)\n```\nAnalyze parses a \\`Gemfile.lock\\`\n\n```go\nfunc (builder *RubyBuilder) Build(m module.Module, force bool) error\n```\nBuild runs \\`bundler install --deployment --frozen\\` and cleans with \\`rm Gemfile.lock\\`\n\n```go\nfunc (builder *RubyBuilder) DiscoverModules(dir string) ([]module.Config, error)\n```\nDiscoverModules returns ModuleConfigs that match Gemfiles in the directory\n\n```go\nfunc (builder *RubyBuilder) Initialize() error\n```\nInitialize collects metadata on Ruby, Gem, and Bundler binaries\n\n```go\nfunc (builder *RubyBuilder) IsBuilt(m module.Module, allowUnresolved bool) (bool, error)\n```\nIsBuilt checks whether \\`Gemfile.lock\\` exists\n\n```go\nfunc (builder *RubyBuilder) IsModule(target string) (bool, error)\n```\nIsModule is not implemented\n\n","path":"github.com/fossas/fossa-cli/builders/ruby","name":"ruby","synopsis":"","isRedistributable":true}
