@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
GemPackager
createGemStub
in interface GemPackager
gemspec
- The Gem::Specification to embed into Gem.target
- The directory where the manufactured Gem should be saved.IOException
public File createGem(Gem gem, File target) throws IOException
GemPackager
createGem
in interface GemPackager
gem
- The Gem::Specification and the files to embed into Gem.target
- The directory where the manufactured Gem should be saved.IOException
Copyright © 2017. All rights reserved.