Skip to content

Commit

Permalink
Merge pull request #2365 from jnm2/typos
Browse files Browse the repository at this point in the history
Fixed typos
  • Loading branch information
gep13 authored Nov 25, 2018
2 parents 832cc8c + f008c82 commit 044fa35
Show file tree
Hide file tree
Showing 44 changed files with 69 additions and 71 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ public BitbucketPipelinesInfoFixture()
{
Environment = Substitute.For<ICakeEnvironment>();

// BitbucketPiplines RepositoryInfo
// BitbucketPipelines RepositoryInfo
Environment.GetEnvironmentVariable("BITBUCKET_COMMIT").Returns("4efbc1ffb993dfbcf024e6a9202865cc0b6d9c50");
Environment.GetEnvironmentVariable("BITBUCKET_REPO_SLUG").Returns("cake");
Environment.GetEnvironmentVariable("BITBUCKET_REPO_OWNER").Returns("cakebuild");
Environment.GetEnvironmentVariable("BITBUCKET_BRANCH").Returns("develop");
Environment.GetEnvironmentVariable("BITBUCKET_TAG").Returns("BitbucketPiplines");
Environment.GetEnvironmentVariable("BITBUCKET_TAG").Returns("BitbucketPipelines");
}

public BitbucketPipelinesEnvironmentInfo CreateEnvironmentInfo()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public void Log(LogActionEntry actionEntry)
{
if (Evaluated)
{
throw new Exception("Message allready evaluated");
throw new Exception("Message already evaluated");
}
Evaluated = true;
actionEntry(Format, Args);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public void Should_Return_Correct_Value()
var result = info.Tag;

// Then
Assert.Equal("BitbucketPiplines", result);
Assert.Equal("BitbucketPipelines", result);
}
}
}
Expand Down
10 changes: 4 additions & 6 deletions src/Cake.Common/Build/Bamboo/Data/BambooEnvironmentInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,8 @@ public sealed class BambooEnvironmentInfo : BambooInfo
/// BuildSystem.Bamboo.Environment.Build.ResultKey,
/// BuildSystem.Bamboo.Environment.Build.ResultsUrl,
/// BuildSystem.Bamboo.Environment.Build.BuildTimestamp,
/// BuildSystem.Bamboo.Environment.Build.CustomBuild.IsCustomBuld,
/// BuildSystem.Bamboo.Environment.Build.CustomBuild.RevisionName
/// );
/// BuildSystem.Bamboo.Environment.Build.CustomBuild.IsCustomBuild,
/// BuildSystem.Bamboo.Environment.Build.CustomBuild.RevisionName);
/// }
/// else
/// {
Expand Down Expand Up @@ -131,9 +130,8 @@ public sealed class BambooEnvironmentInfo : BambooInfo
/// Bamboo.Environment.Build.ResultKey,
/// Bamboo.Environment.Build.ResultsUrl,
/// Bamboo.Environment.Build.BuildTimestamp,
/// Bamboo.Environment.Build.CustomBuild.IsCustomBuld,
/// Bamboo.Environment.Build.CustomBuild.RevisionName
/// );
/// Bamboo.Environment.Build.CustomBuild.IsCustomBuild,
/// Bamboo.Environment.Build.CustomBuild.RevisionName);
/// }
/// else
/// {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public sealed class ContinuaCIBuildInfo : ContinuaCIInfo
/// Initializes a new instance of the <see cref="ContinuaCIBuildInfo"/> class.
/// </summary>
/// <param name="environment">The environment.</param>
/// <param name="prefix">The prefix for environment variables in this clas</param>
/// <param name="prefix">The prefix for environment variables in this class.</param>
public ContinuaCIBuildInfo(ICakeEnvironment environment, string prefix)
: base(environment)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Common/Build/Jenkins/IJenkinsProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
namespace Cake.Common.Build.Jenkins
{
/// <summary>
/// Represnts a Jenkins Provider
/// Represents a Jenkins Provider
/// </summary>
public interface IJenkinsProvider
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Cake.Common.Build.TFBuild.Data
public class TFBuildPublishTestResultsData
{
/// <summary>
/// Gets or Sets the type test runner the results are formated in
/// Gets or Sets the type test runner the results are formatted in
/// </summary>
public TFTestRunnerType? TestRunner { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Common/Build/TFBuild/ITFBuildCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public interface ITFBuildCommands
/// <param name="type">Type of the new timeline record.</param>
/// <param name="order">Order of the timeline record.</param>
/// <param name="data">Additional data for the new timeline record.</param>
/// <returns>The timeilne record ID.</returns>
/// <returns>The timeline record ID.</returns>
Guid CreateNewRecord(string name, string type, int order, TFBuildRecordData data);

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Common/Build/TFBuild/TFBuildCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public Guid CreateNewRecord(string name, string type, int order)
/// <param name="type">Type of the new timeline record.</param>
/// <param name="order">Order of the timeline record.</param>
/// <param name="data">Additional data for the new timeline record.</param>
/// <returns>The timeilne record ID.</returns>
/// <returns>The timeline record ID.</returns>
public Guid CreateNewRecord(string name, string type, int order, TFBuildRecordData data)
{
var guid = Guid.NewGuid();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public sealed class TravisCIRepositoryInfo : TravisCIInfo
public string PullRequest => GetEnvironmentString("TRAVIS_PULL_REQUEST");

/// <summary>
/// Gets the slug of the respository currently being built.
/// Gets the slug of the repository currently being built.
/// </summary>
/// <value>
/// The slug.
Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Common/DryRunAliases.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static class DryRunAliases
/// if (!context.IsDryRun())
/// {
/// // Do things that you don't want to
/// // do when script is being dry runned.
/// // do during a dry run.
/// }
/// });
/// </code>
Expand Down
6 changes: 3 additions & 3 deletions src/Cake.Common/Net/DownloadFileSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ namespace Cake.Common.Net
public sealed class DownloadFileSettings
{
/// <summary>
/// Gets or sets the Username to use when downloading the file
/// Gets or sets the username to use when downloading the file
/// </summary>
public string Username { get; set; }

/// <summary>
/// Gets or sets the Password to use when downloading the file
/// Gets or sets the password to use when downloading the file
/// </summary>
public string Password { get; set; }

/// <summary>
/// Gets or sets a value indicating whether default credentials are sent when downloading the file
/// </summary>
/// <remarks>
/// If set to true, any Username and Password that has been speficied will be ignored.
/// If set to true, any username and password that has been specified will be ignored.
/// </remarks>
public bool UseDefaultCredentials { get; set; }
}
Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Common/ProcessAliases.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public static int StartProcess(this ICakeContext context, FilePath fileName, Pro
/// {
/// throw new Exception(
/// string.Format(
/// "Errors ocurred: {0}",
/// "Errors occurred: {0}",
/// string.Join(", ", redirectedErrorOutput));
/// }
///
Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Common/Tools/Chocolatey/ChocolateyToolResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public ChocolateyToolResolver(IFileSystem fileSystem, ICakeEnvironment environme
/// <returns>The path to choco.exe.</returns>
public FilePath ResolvePath()
{
// Check if path allready resolved
// Check if path already resolved
if (_cachedPath != null && _cachedPath.Exists)
{
return _cachedPath.Path;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public ChocolateyConfigSetter(
}

/// <summary>
/// Sets Chocolatey configuration paramaters using the settings.
/// Sets Chocolatey configuration parameters using the settings.
/// </summary>
/// <param name="name">The name of the config parameter.</param>
/// <param name="value">The value to assign to the parameter.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public sealed class ChocolateyPackSettings : ToolSettings
/// <summary>
/// Gets or sets the package documentation URL.
/// </summary>
/// <value>The package documenation URL.</value>
/// <value>The package documentation URL.</value>
/// <remarks>Requires at least Chocolatey 0.9.9.7.</remarks>
public Uri DocsUrl { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public sealed class ChocolateyUninstallSettings : ChocolateySettings
public bool AllVersions { get; set; }

/// <summary>
/// Gets or sets the uinstall arguments to pass to native installer.
/// Gets or sets the uninstall arguments to pass to native installer.
/// </summary>
public string UninstallArguments { get; set; }

Expand All @@ -51,7 +51,7 @@ public sealed class ChocolateyUninstallSettings : ChocolateySettings
public bool ForceDependencies { get; set; }

/// <summary>
/// Gets or sets a value indicating whether to Exit with a 0 for success and 1 for non-succes
/// Gets or sets a value indicating whether to Exit with a 0 for success and 1 for non-success
/// no matter what package scripts provide for exit codes.
/// </summary>
/// <value>The ignore package exit codes flag</value>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public static T WithAttributeFilter<T>(this T settings, string attributeFilter)
/// Adds the filter
/// </summary>
/// <param name="settings">The settings.</param>
/// <param name="filter">The processfilter.</param>
/// <param name="filter">The process filter.</param>
/// <typeparam name="T">The settings type, derived from <see cref="DotCoverCoverageSettings"/></typeparam>
/// <returns>The same <see cref="DotCoverCoverageSettings"/> instance so that multiple calls can be chained.</returns>
public static T WithProcessFilter<T>(this T settings, string filter) where T : DotCoverCoverageSettings
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
namespace Cake.Common.Tools.DotNetCore.NuGet.Delete
{
/// <summary>
/// .NET Core nuget deleter, deletes or unlists a package from the server.
/// .NET Core nuget deleter. Deletes or unlists a package from the server.
/// </summary>
public sealed class DotNetCoreNuGetDeleter : DotNetCoreTool<DotNetCoreNuGetDeleteSettings>
{
Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Common/Tools/GitLink/GitLink3Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public sealed class GitLink3Settings : ToolSettings

/// <summary>
/// Gets or sets a value indicating whether the Use PowerShell Command option should be enabled.
/// This option will use PowerShell instead of HTTP in SRCSRV to retreive the source code.
/// This option will use PowerShell instead of HTTP in SRCSRV to retrieve the source code.
/// </summary>
public bool UsePowerShell { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Common/Tools/GitVersion/GitVersionOutput.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public enum GitVersionOutput
Json,

/// <summary>
/// Outputs to the stdout in a way usuable by a detected buildserver.
/// Outputs to the stdout in a way usable by a detected build server.
/// </summary>
BuildServer
}
Expand Down
4 changes: 2 additions & 2 deletions src/Cake.Common/Tools/GitVersion/GitVersionSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ public sealed class GitVersionSettings : ToolSettings
public GitVersionOutput? OutputType { get; set; }

/// <summary>
/// Gets or sets a value indicating whether to update all the assemblyinfo files.
/// Gets or sets a value indicating whether to update all the AssemblyInfo files.
/// </summary>
public bool UpdateAssemblyInfo { get; set; }

/// <summary>
/// Gets or sets whether to update all the assemblyinfo files.
/// Gets or sets whether to update all the AssemblyInfo files.
/// </summary>
public FilePath UpdateAssemblyInfoFilePath { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Common/Tools/MSBuild/MSBuildRunner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ private ProcessArgumentBuilder GetArguments(FilePath solution, MSBuildSettings s
}
}

// Treat errors as warníngs?
// Treat errors as warnings?
if (settings.WarningsAsErrorCodes.Any())
{
var codes = string.Join(";", settings.WarningsAsErrorCodes);
Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Common/Tools/MSBuild/MSBuildSettingsExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ public static MSBuildSettings AddFileLogger(this MSBuildSettings settings)
}

/// <summary>
/// Treat warnnings as errors, if no codes specified all errors will be treated as errors.
/// Treat warnings as errors, if no codes specified all errors will be treated as errors.
/// </summary>
/// <param name="settings">The settings.</param>
/// <param name="codes">Only treat specified warning codes as errors.</param>
Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Common/Tools/MSTest/MSTestAliases.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace Cake.Common.Tools.MSTest
/// <para>
/// In order to use the commands for this alias, MSTest will need to be installed on the machine where
/// the Cake script is being executed. This is typically achieved by having either Visual Studio installed, or by
/// using the Micrsoft Build Tools, for example, for <see href="https://www.microsoft.com/en-us/download/details.aspx?id=48159">2015</see>.
/// using the Microsoft Build Tools, for example, for <see href="https://www.microsoft.com/en-us/download/details.aspx?id=48159">2015</see>.
/// </para>
/// </summary>
[CakeAliasCategory("MSTest")]
Expand Down
6 changes: 3 additions & 3 deletions src/Cake.Common/Tools/NuGet/NuGetAliases.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ namespace Cake.Common.Tools.NuGet
/// </summary>
/// <para>
/// Since Cake requires NuGet to be available very early in the build pipeline, we recommend that NuGet is made
/// available via the <see href="https://github.com/cake-build/resources">Cake BootStrapper</see>.
/// available via the <see href="https://github.com/cake-build/resources">Cake Bootstrapper</see>.
/// </para>
[CakeAliasCategory("NuGet")]
public static class NuGetAliases
{
/// <summary>
/// Creates a NuGet package using the specified Nuspec or project file.
/// Creates a NuGet package using the specified nuspec or project file.
/// </summary>
/// <param name="context">The context.</param>
/// <param name="filePath">The nuspec or project file path.</param>
Expand Down Expand Up @@ -83,7 +83,7 @@ public static void NuGetPack(this ICakeContext context, FilePath filePath, NuGet
}

/// <summary>
/// Creates NuGet packages using the specified Nuspec or project files.
/// Creates NuGet packages using the specified nuspec or project files.
/// </summary>
/// <param name="context">The context.</param>
/// <param name="filePaths">The nuspec or project file paths.</param>
Expand Down
8 changes: 4 additions & 4 deletions src/Cake.Common/Tools/NuGet/Pack/NuGetPackSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ public sealed class NuGetPackSettings : ToolSettings
public string Id { get; set; }

/// <summary>
/// Gets or sets the Nuspec version.
/// Gets or sets the nuspec version.
/// </summary>
/// <value>The Nuspec version.</value>
/// <value>The nuspec version.</value>
public string Version { get; set; }

/// <summary>
/// Gets or sets the Nuspec version suffix.
/// Gets or sets the nuspec version suffix.
/// </summary>
/// <value>The Nuspec version suffix.</value>
/// <value>The nuspec version suffix.</value>
public string Suffix { get; set; }

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Common/Tools/NuGet/Pack/NuGetPacker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public void Pack(NuGetPackSettings settings)
}

/// <summary>
/// Creates a NuGet package from the specified Nuspec or project file.
/// Creates a NuGet package from the specified nuspec or project file.
/// </summary>
/// <param name="filePath">The nuspec or project file path.</param>
/// <param name="settings">The settings.</param>
Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Common/Tools/OctopusDeploy/OctopusPackSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public sealed class OctopusPackSettings : OctopusDeployToolSettings
public ICollection<string> Include { get; set; }

/// <summary>
/// Gets or sets a value indicating whether to allow an existing package with the same ID/version to be overwriten.
/// Gets or sets a value indicating whether to allow an existing package with the same ID/version to be overwritten.
/// </summary>
public bool Overwrite { get; set; }
}
Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Common/Tools/Roundhouse/RoundhouseSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public sealed class RoundhouseSettings : ToolSettings
/// Gets or sets the environment for RH to be scoped.
/// </summary>
/// <value>
/// This allows RH to be environment aware and only run scripts that are in a particular environment based on the namingof the script. LOCAL.something**.ENV.**sql would only be run in the LOCAL environment.
/// This allows RH to be environment aware and only run scripts that are in a particular environment based on the naming of the script. LOCAL.something**.ENV.**sql would only be run in the LOCAL environment.
/// </value>
public string Environment { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Common/Xml/XmlDtdProcessing.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace Cake.Common.Xml
{
/// <summary>
/// Speficies how will an XmlReader handle DTDs in the XML document.
/// Specifies how will an XmlReader handle DTDs in the XML document.
/// </summary>
public enum XmlDtdProcessing
{
Expand Down
8 changes: 4 additions & 4 deletions src/Cake.Common/Xml/XmlPeekAliases.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ public static string XmlPeek(this ICakeContext context, FilePath filePath, strin
/// </code>
/// <para>XmlPeek usage:</para>
/// <code>
/// string version = XmlPeek("./pastery.xml", "/pastery:pastery/pastery:cake/@price",
/// string version = XmlPeek("./pastry.xml", "/pastry:pastry/pastry:cake/@price",
/// new XmlPeekSettings {
/// Namespaces = new Dictionary&lt;string, string&gt; {{ "pastery", "https://cakebuild.net/pastery" }}
/// Namespaces = new Dictionary&lt;string, string&gt; {{ "pastry", "https://cakebuild.net/pastry" }}
/// });
/// string unknown = XmlPeek("./pastery.xml", "/pastery:pastery/pastery:cake/@recipe",
/// string unknown = XmlPeek("./pastry.xml", "/pastry:pastry/pastry:cake/@recipe",
/// new XmlPeekSettings {
/// Namespaces = new Dictionary&lt;string, string&gt; {{ "pastery", "https://cakebuild.net/pastery" }},
/// Namespaces = new Dictionary&lt;string, string&gt; {{ "pastry", "https://cakebuild.net/pastry" }},
/// SuppressWarning = true
/// });
/// </code>
Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Common/Xml/XmlTransformationAlias.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public static class XmlTransformationAlias
/// <returns>Transformed XML string.</returns>
/// <example>
/// <code>
/// <para>This example code will convert xml to a new xml strucure using XmlTransform alias.</para>
/// <para>This example code will convert xml to a new xml structure using XmlTransform alias.</para>
/// <![CDATA[
/// string xsl = @"<xsl:stylesheet version=""1.0"" xmlns:xsl=""http://www.w3.org/1999/XSL/Transform"">
/// <xsl:output method=""xml"" omit-xml-declaration=""yes"" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ public void Should_Replace_Null_Token_Value_With_Empty_String()
}

[Fact]
public void Should_Replace_Formated_Null_Token_Value_With_Empty_String()
public void Should_Replace_Formatted_Null_Token_Value_With_Empty_String()
{
// Given
var transformation = new TextTransformationTemplate("Hello <%subject:foo%>!");
Expand Down
Loading

0 comments on commit 044fa35

Please sign in to comment.