Skip to content

Commit

Permalink
Update version number
Browse files Browse the repository at this point in the history
  • Loading branch information
at0dd committed Apr 18, 2021
1 parent f41300f commit 6a790f0
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,9 @@ dotnet_diagnostic.SA1309.severity = none

# SA1649: File name should match first type name
dotnet_diagnostic.SA1649.severity = none

# IDE0008: Use explicit type
dotnet_diagnostic.IDE0008.severity = warning

# IDE0090: Use 'new(...)'
dotnet_diagnostic.IDE0090.severity = none
2 changes: 1 addition & 1 deletion src/TeslaAPI.sln
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ Global
$2.scope = text/x-csharp
$0.CSharpFormattingPolicy = $3
$3.scope = text/x-csharp
version = 1.0.3
version = 1.0.4
EndGlobalSection
EndGlobal
6 changes: 4 additions & 2 deletions src/TeslaAPI/Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
using global::TeslaAPI.Models;
using global::TeslaAPI.Models.Response;

/// <summary>
/// The Extensions class.
/// </summary>
public static class Extensions
{
/// <summary>
Expand All @@ -19,8 +22,7 @@ public static class Extensions
/// <returns>Returns a <see cref="CommandResponse"/>.</returns>
public static Task<CommandResponse> ShareAsync(this ITeslaAPI instance, HttpClient client, string vehicleID, float latitude, float longitude)
{
var value = string.Format(CultureInfo.InvariantCulture, "{0},{1}", latitude, longitude);
return instance.ShareAsync(client, vehicleID, value, "en-US");
return instance.ShareAsync(client, vehicleID, string.Format(CultureInfo.InvariantCulture, "{0},{1}", latitude, longitude), "en-US");
}
}
}
4 changes: 2 additions & 2 deletions src/TeslaAPI/TeslaAPI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFrameworks>net5.0;netstandard2.1</TargetFrameworks>
<PackOnBuild>true</PackOnBuild>
<PackageId>Tesla-API</PackageId>
<PackageVersion>1.0.3</PackageVersion>
<PackageVersion>1.0.4</PackageVersion>
<Authors>Alex Todd</Authors>
<NeutralLanguage>en-US</NeutralLanguage>
<License>https://github.com/at0dd/tesla-api/blob/main/LICENSE</License>
Expand All @@ -14,7 +14,7 @@
<Title>Tesla API</Title>
<Description>An unofficial .NET Core implementation of the Tesla API.</Description>
<RepositoryUrl>https://github.com/at0dd/tesla-api</RepositoryUrl>
<ReleaseVersion>1.0.3</ReleaseVersion>
<ReleaseVersion>1.0.4</ReleaseVersion>
<PackageLicenseUrl>https://raw.githubusercontent.com/at0dd/tesla-api/main/LICENSE</PackageLicenseUrl>
</PropertyGroup>

Expand Down

0 comments on commit 6a790f0

Please sign in to comment.