public interface GemPackager
Modifier and Type | Method and Description |
---|---|
File |
createGem(Gem gem,
File targetDirectory)
This method will create the GEM.
|
File |
createGemStub(GemSpecification gemspec,
File targetDirectory)
This method will create the GEM stub with only gemspec and not data.
|
File createGemStub(GemSpecification gemspec, File targetDirectory) throws IOException
gemspec
- The Gem::Specification to embed into Gem.targetDirectory
- The directory where the manufactured Gem should be saved.IOException
File createGem(Gem gem, File targetDirectory) throws IOException
gem
- The Gem::Specification and the files to embed into Gem.targetDirectory
- The directory where the manufactured Gem should be saved.IOException
Copyright © 2017. All rights reserved.