GemAliases Class

Summary

Contains functionality related to the RubyGems Package Manager.

In order to use the commands for this addin, the gem utility will need to be installed and available, or you will need to provide a ToolPath to where it can be located, and also you will need to include the following in your build.cake file to download and reference the addin from NuGet.org:

#addin Cake.Gem

Assembly
Cake.Gem.dll
Namespace
Cake.Gem
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["GemAliases"] class Type type-node

Syntax

public static class GemAliases

Attributes

Type Description
CakeAliasCategoryAttribute

Methods

Name Value Summary
GemBuild(ICakeContext, FilePath, GemBuildSettings) void
Builds the gem using the path to the gemspec file and any additional settings.
static
GemBuild(ICakeContext, FilePath) void
Builds the gem using the path to the gemspec file.
static
GemPush(ICakeContext, FilePath, GemPushSettings) void
Pushes the gem using the path to the gem file and any additional settings.
static
GemPush(ICakeContext, FilePath) void
Pushes the gem using the path to the gem file.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin