Skip to content

Commit

Permalink
NuGet v1.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
danielcrenna committed Jun 2, 2011
1 parent 5c64b23 commit 5efc819
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ publish.xml
TestResults
/src/Postmark.Tests/App.config
App.config
src/Postmark.Tests/App.config
src/Postmark.Tests/App.config
src/Postmark.Tests/PostmarkClientTests.Work.cs
4 changes: 2 additions & 2 deletions postmark.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package>
<metadata>
<id>Postmark</id>
<version>1.0.4</version>
<version>1.0.5</version>
<authors>Daniel Crenna</authors>
<owners>Wildbit</owners>
<description>Leave email delivery to the experts with this plugin to bring Postmark email services to your web application. Requires a Postmark account.</description>
Expand All @@ -13,7 +13,7 @@
<iconUrl>http://apitize.com.s3.amazonaws.com/logo_postmark.png</iconUrl>
<tags>postmark email web api client http rest services wrapper json</tags>
<dependencies>
<dependency id="Hammock" version="1.2.3" />
<dependency id="Hammock" version="1.2.4" />
<dependency id="Newtonsoft.Json" version="4.0.2" />
<dependency id="Specifications" version="1.0.4" />
</dependencies>
Expand Down
7 changes: 4 additions & 3 deletions src/Postmark/Postmark.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\bin\lib\40\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DefineConstants>TRACE;DEBUG;NET40</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
Expand All @@ -56,8 +56,9 @@
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="Hammock.ClientProfile">
<HintPath>..\packages\Hammock.1.2.3\lib\net40-client\Hammock.ClientProfile.dll</HintPath>
<Reference Include="Hammock.ClientProfile, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c148cfba29ed1a4d, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Hammock.1.2.4\lib\net40-client\Hammock.ClientProfile.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json">
<HintPath>..\packages\Newtonsoft.Json.4.0.2\lib\net40\Newtonsoft.Json.dll</HintPath>
Expand Down
6 changes: 3 additions & 3 deletions src/Postmark/PostmarkClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ public PostmarkBounces GetBounces(PostmarkBounceType type, bool? inactive, strin
if (inactive.HasValue) request.AddParameter("inactive", inactive.Value.ToString().ToLowerInvariant());
if (!string.IsNullOrEmpty(emailFilter)) request.AddParameter("emailFilter", emailFilter);
if (!string.IsNullOrEmpty(tag)) request.AddParameter("tag", tag);
request.AddParameter("type", type.ToString());
request.AddParameter("offset", offset.ToString());
request.AddParameter("count", count.ToString());

Expand Down Expand Up @@ -296,8 +297,7 @@ public PostmarkBounces GetBounces(PostmarkBounceType type, string emailFilter, s
/// <param name = "count">The number of results to return by the page offset; mandatory.</param>
/// <returns></returns>
/// <seealso href = "http://developer.postmarkapp.com/bounces" />
public PostmarkBounces GetBounces(PostmarkBounceType type, bool? inactive, string emailFilter, int offset,
int count)
public PostmarkBounces GetBounces(PostmarkBounceType type, bool? inactive, string emailFilter, int offset, int count)
{
return GetBounces(type, inactive, emailFilter, null, offset, count);
}
Expand Down Expand Up @@ -361,7 +361,7 @@ public PostmarkBounceActivation ActivateBounce(string bounceId)
var request = NewBouncesRequest();
request.Method = WebMethod.Put;
request.Path = string.Format("bounces/{0}/activate", bounceId.Trim());

var response = _client.Request(request);

return JsonConvert.DeserializeObject<PostmarkBounceActivation>(response.Content, _settings);
Expand Down
2 changes: 1 addition & 1 deletion src/Postmark/packages.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Hammock" version="1.2.3" />
<package id="Newtonsoft.Json" version="4.0.2" />
<package id="Specifications" version="1.0.4" />
<package id="Hammock" version="1.2.4" />
</packages>

0 comments on commit 5efc819

Please sign in to comment.