Skip to content

Commit 41cb476

Browse files
committed
INCR to v3.9.51
1 parent fcf546f commit 41cb476

File tree

5 files changed

+23
-20
lines changed

5 files changed

+23
-20
lines changed
0 Bytes
Binary file not shown.

NuGet/servicestack.redis.nuspec

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,25 @@
33
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
44
<id>ServiceStack.Redis</id>
55
<title>C# Redis client for the Redis NoSQL DB</title>
6-
<version>3.9.50</version>
7-
<authors>Demis Bellot</authors>
6+
<version>3.9.51</version>
7+
<authors>Demis Bellot</authors>
88
<owners>Demis Bellot</owners>
99
<description>
10-
C# Redis Client for the worlds fastest distributed NoSQL datastore. Byte[], String and POCO Typed clients.
11-
Thread-Safe Basic and Pooled client managers included.
12-
</description>
10+
C# Redis Client for the worlds fastest distributed NoSQL datastore. Byte[], String and POCO Typed clients.
11+
Thread-Safe Basic and Pooled client managers included.
12+
</description>
1313
<projectUrl>https://github.com/ServiceStack/ServiceStack.Redis</projectUrl>
1414
<licenseUrl>https://github.com/ServiceStack/ServiceStack.Redis/blob/master/LICENSE</licenseUrl>
1515
<iconUrl>http://www.servicestack.net/logo-100x100.png</iconUrl>
1616
<tags>Redis NoSQL Client Distributed Cache PubSub Messaging Transactions</tags>
17-
<language>en-US</language>
17+
<language>en-US</language>
1818
<copyright>ServiceStack 2013 and contributors</copyright>
1919
<dependencies>
2020
<dependency id="ServiceStack.Common" />
21-
</dependencies>
22-
</metadata>
21+
</dependencies>
22+
</metadata>
23+
<files>
24+
<file src="lib\**\*.*" target="lib" />
25+
<file src="..\src\**\*.cs" target="src" />
26+
</files>
2327
</package>

src/ServiceStack.Redis/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("3.9.50.0")]
35+
[assembly: AssemblyVersion("3.9.51.0")]
3636
//[assembly: AssemblyFileVersion("1.0.0.0")]
3737

3838
[assembly: InternalsVisibleTo("ServiceStack.Redis.Tests")]

tests/ServiceStack.Redis.Tests/Issues/ReportedIssues.cs

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ public class ReportedIssues
1212
[Test]
1313
public void Add_range_to_set_fails_if_first_command()
1414
{
15-
var redis = new RedisClient(TestConfig.SingleHost);
16-
17-
redis.AddRangeToSet("testset", storeMembers);
15+
Redis.AddRangeToSet("testset", storeMembers);
1816

1917
var members = Redis.GetAllItemsFromSet("testset");
2018
Assert.That(members, Is.EquivalentTo(storeMembers));
@@ -23,27 +21,24 @@ public void Add_range_to_set_fails_if_first_command()
2321
[Test]
2422
public void Transaction_fails_if_first_command()
2523
{
26-
var redis = new RedisClient(TestConfig.SingleHost);
27-
using (var trans = redis.CreateTransaction())
24+
using (var trans = Redis.CreateTransaction())
2825
{
2926
trans.QueueCommand(r => r.IncrementValue("A"));
3027

3128
trans.Commit();
3229
}
33-
Assert.That(redis.GetValue("A"), Is.EqualTo("1"));
30+
Assert.That(Redis.GetValue("A"), Is.EqualTo("1"));
3431
}
3532

3633
[Test]
3734
public void Success_callback_fails_for_pipeline_using_GetItemScoreInSortedSet()
3835
{
39-
var redis = new RedisClient(TestConfig.SingleHost);
4036
double score = 0;
37+
Redis.AddItemToSortedSet("testzset", "value", 1);
4138

42-
redis.AddItemToSortedSet("testset", "value", 1);
43-
44-
using (var pipeline = redis.CreatePipeline())
39+
using (var pipeline = Redis.CreatePipeline())
4540
{
46-
pipeline.QueueCommand(u => u.GetItemScoreInSortedSet("testset", "value"), x =>
41+
pipeline.QueueCommand(u => u.GetItemScoreInSortedSet("testzset", "value"), x =>
4742
{
4843
//score should be assigned to 1 here
4944
score = x;

tests/ServiceStack.Redis.Tests/RedisClientTestsBase.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ protected void Log(string fmt, params object[] args)
2020
public void TestFixtureSetUp()
2121
{
2222
RedisClient.NewFactoryFn = () => new RedisClient(TestConfig.SingleHost);
23+
using (var redis = RedisClient.New())
24+
{
25+
redis.FlushAll();
26+
}
2327
}
2428

2529
[SetUp]

0 commit comments

Comments
 (0)