Package de.saumya.mojo.gem
Class GemspecWriter
java.lang.Object
de.saumya.mojo.gem.GemspecWriter
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGemspecWriter(File gemspec, org.apache.maven.project.MavenProject project, GemArtifact artifact) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidappend()private void(package private) voidprivate voidappendAuthor(String name, String email) (package private) voidappendDependency(String name, String version) (package private) voidappendDevelopmentDependency(String name, String version) (package private) voidappendExecutable(String executable) (package private) voidappendFile(File file) (package private) voidappendFile(String file) (package private) voidappendFiles(String files) (package private) voidappendJarfile(File jar, String jarfileName) private voidappendLicense(String url, String name) (package private) voidappendList(String name, String list) (package private) voidappendPath(String path) (package private) voidappendPlatform(String platform) private void(package private) voidappendRdocFiles(String extraRdocFiles) (package private) voidappendTestPath(String path) (package private) voidclose()(package private) voidprivate voidprivate voidprivate voidcopyJarFiles(File target) private voidcopyLicenses(File target) private StringgemVersion(String version) (package private) boolean
-
Field Details
-
project
final org.apache.maven.project.MavenProject project -
writer
-
excludes
- See Also:
-
dirs
-
files
-
licenses
-
jarFiles
-
latestModified
long latestModified -
gemspec
-
firstAuthor
private boolean firstAuthor -
firstFile
private boolean firstFile -
platformAppended
private boolean platformAppended -
firstTestFile
private boolean firstTestFile
-
-
Constructor Details
-
GemspecWriter
GemspecWriter(File gemspec, org.apache.maven.project.MavenProject project, GemArtifact artifact) throws IOException - Throws:
IOException
-
-
Method Details
-
isUptodate
boolean isUptodate() -
gemVersion
-
append
- Throws:
IOException
-
append
- Throws:
IOException
-
appendAuthor
- Throws:
IOException
-
append
- Throws:
IOException
-
appendRaw
- Throws:
IOException
-
appendDependency
- Throws:
IOException
-
appendDevelopmentDependency
- Throws:
IOException
-
appendPath
- Throws:
IOException
-
appendTestPath
- Throws:
IOException
-
appendPlatform
- Throws:
IOException
-
appendJarfile
- Throws:
IOException
-
appendFile
- Throws:
IOException
-
appendFile
- Throws:
IOException
-
appendExecutable
- Throws:
IOException
-
appendLicense
- Throws:
IOException
-
copy
- Throws:
IOException
-
copyLicenses
- Throws:
IOException
-
copyJarFiles
- Throws:
IOException
-
copyFiles
- Throws:
IOException
-
copyDir
- Throws:
IOException
-
close
- Throws:
IOException
-
appendList
- Throws:
IOException
-
appendRdocFiles
- Throws:
IOException
-
appendFiles
- Throws:
IOException
-