Skip to content

Commit

Permalink
NuGet v1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jchristn committed Jun 10, 2019
1 parent f2789d7 commit bc660eb
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 2 deletions.
11 changes: 11 additions & 0 deletions BlobHelper/AwsSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -326,11 +326,22 @@ private List<String> ValidRegions()
{
List<string> ret = new List<string>();
ret.Add("APNortheast1");
ret.Add("APNortheast2");
ret.Add("APNortheast3");
ret.Add("APSoutheast1");
ret.Add("APSoutheast2");
ret.Add("APSouth1");
ret.Add("CACentral1");
ret.Add("CNNorth1");
ret.Add("EUCentral1");
ret.Add("EUNorth1");
ret.Add("EUWest1");
ret.Add("EUWest2");
ret.Add("EUWest3");
ret.Add("SAEast1");
ret.Add("USEast1");
ret.Add("USEast2");
ret.Add("USGovCloudEast1");
ret.Add("USGovCloudWest1");
ret.Add("USWest1");
ret.Add("USWest2");
Expand Down
6 changes: 4 additions & 2 deletions BlobHelper/BlobHelper.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net462</TargetFrameworks>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>1.2.0</Version>
<Version>1.2.2</Version>
<Authors>Joel Christner</Authors>
<Description>BLOB storage wrapper for Microsoft Azure, Amazon S3, Kvpbase, and local filesystem written in C#.</Description>
<Copyright>(c)2019 Joel Christner</Copyright>
<PackageProjectUrl>https://github.com/jchristn/BlobHelper</PackageProjectUrl>
<RepositoryUrl>https://github.com/jchristn/BlobHelper</RepositoryUrl>
<RepositoryType>Github</RepositoryType>
<PackageLicenseUrl>https://github.com/jchristn/BlobHelper/blob/master/LICENSE.TXT</PackageLicenseUrl>
<PackageReleaseNotes>Breaking change to Write() method to include ContentType</PackageReleaseNotes>
<PackageReleaseNotes>Add missing regions</PackageReleaseNotes>
<PackageIconUrl>https://raw.githubusercontent.com/jchristn/BlobHelper/master/assets/icon.ico</PackageIconUrl>
<PackageTags>blob azure storage s3 object rest</PackageTags>
</PropertyGroup>

<ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions BlobHelper/Blobs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ private async Task<bool> S3Write(string id, string contentType, byte[] data)
Key = id,
InputStream = s,
ContentType = contentType,
UseChunkEncoding = false
};

PutObjectResponse response = await _S3Client.PutObjectAsync(request);
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ This project was built to provide a simple interface over external storage to he
## New in v1.2.0

- Breaking change, add ContentType to Write method
- Added missing AWS regions

## Example Project

Expand Down
Binary file added assets/blobhelper.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon.ico
Binary file not shown.

0 comments on commit bc660eb

Please sign in to comment.