use of com.synopsys.integration.detectable.detectables.rubygems.gemspec.parse.GemspecLineParser in project synopsys-detect by blackducksoftware.
the class DetectableFactory method createGemspecParseDetectable.
public GemspecParseDetectable createGemspecParseDetectable(DetectableEnvironment environment, GemspecParseDetectableOptions gemspecOptions) {
GemspecLineParser gemspecLineParser = new GemspecLineParser();
GemspecParser gemspecParser = new GemspecParser(gemspecLineParser, gemspecOptions.getDependencyTypeFilter());
GemspecParseExtractor gemspecParseExtractor = new GemspecParseExtractor(gemspecParser);
return new GemspecParseDetectable(environment, fileFinder, gemspecParseExtractor);
}
Aggregations