@Component(role=GemPackager.class) public class DefaultGemPackager extends Object implements GemPackager
| Constructor and Description |
|---|
DefaultGemPackager() |
| Modifier and Type | Method and Description |
|---|---|
File |
createGem(Gem gem,
File target)
This method will create the GEM.
|
File |
createGemStub(GemSpecification gemspec,
File target)
This method will create the GEM stub with only gemspec and not data.
|
public File createGemStub(GemSpecification gemspec, File target) throws IOException
GemPackagercreateGemStub in interface GemPackagergemspec - The Gem::Specification to embed into Gem.target - The directory where the manufactured Gem should be saved.IOExceptionpublic File createGem(Gem gem, File target) throws IOException
GemPackagercreateGem in interface GemPackagergem - The Gem::Specification and the files to embed into Gem.target - The directory where the manufactured Gem should be saved.IOExceptionCopyright © 2016. All Rights Reserved.