Skip to content

Commit

Permalink
config v4
Browse files Browse the repository at this point in the history
  • Loading branch information
sigewuzhere committed Feb 25, 2020
1 parent 3dc2b9e commit 54480b3
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/ConfigCat.Client.Tests/BasicConfigEvaluatorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace ConfigCat.Client.Tests
[TestClass]
public class BasicConfigEvaluatorTests : ConfigEvaluatorTestsBase
{
protected override string SampleJsonFileName => "sample_v3.json";
protected override string SampleJsonFileName => "sample_v4.json";

protected override string MatrixResultFileName => "testmatrix.csv";

Expand Down
10 changes: 5 additions & 5 deletions src/ConfigCat.Client.Tests/ConfigCat.Client.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,28 +29,28 @@
<None Update="data\sample_number_v2.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="data\sample_number_v3.json">
<None Update="data\sample_number_v4.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="data\sample_sensitive_v3.json">
<None Update="data\sample_sensitive_v4.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="data\sample_sensitive_v2.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="data\sample_semantic_2_v3.json">
<None Update="data\sample_semantic_2_v4.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="data\sample_semantic_v2.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="data\sample_semantic_v3.json">
<None Update="data\sample_semantic_v4.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="data\sample_v2.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="data\sample_v3.json">
<None Update="data\sample_v4.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="data\testmatrix.csv">
Expand Down
2 changes: 1 addition & 1 deletion src/ConfigCat.Client.Tests/NumericConfigEvaluatorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace ConfigCat.Client.Tests
[TestClass]
public class NumericConfigEvaluatorTests : ConfigEvaluatorTestsBase
{
protected override string SampleJsonFileName => "sample_number_v3.json";
protected override string SampleJsonFileName => "sample_number_v4.json";

protected override string MatrixResultFileName => "testmatrix_number.csv";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace ConfigCat.Client.Tests
[TestClass]
public class SemanticVersion2ConfigEvaluatorTests : ConfigEvaluatorTestsBase
{
protected override string SampleJsonFileName => "sample_semantic_2_v3.json";
protected override string SampleJsonFileName => "sample_semantic_2_v4.json";

protected override string MatrixResultFileName => "testmatrix_semantic_2.csv";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace ConfigCat.Client.Tests
[TestClass]
public class SemanticVersionConfigEvaluatorTests : ConfigEvaluatorTestsBase
{
protected override string SampleJsonFileName => "sample_semantic_v3.json";
protected override string SampleJsonFileName => "sample_semantic_v4.json";

protected override string MatrixResultFileName => "testmatrix_semantic.csv";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace ConfigCat.Client.Tests
[TestClass]
public class SensitiveEvaluatorTests : ConfigEvaluatorTestsBase
{
protected override string SampleJsonFileName => "sample_sensitive_v3.json";
protected override string SampleJsonFileName => "sample_sensitive_v4.json";

protected override string MatrixResultFileName => "testmatrix_sensitive.csv";
}
Expand Down
2 changes: 1 addition & 1 deletion src/ConfigCatClient/ConfigCatClient.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net45;netstandard1.3;netstandard2.0</TargetFrameworks>
<TargetFrameworks>netstandard1.3;netstandard2.0</TargetFrameworks>
<AssemblyName>ConfigCat.Client</AssemblyName>
<RootNamespace>ConfigCat.Client</RootNamespace>
<SignAssembly>true</SignAssembly>
Expand Down
2 changes: 1 addition & 1 deletion src/ConfigCatClient/Configuration/ConfigurationBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ internal virtual void Validate()

internal Uri CreateUrl()
{
return new Uri(BaseUrl, "configuration-files/" + this.ApiKey + "/config_v3.json");
return new Uri(BaseUrl, "configuration-files/" + this.ApiKey + "/config_v4.json");
}
}
}

0 comments on commit 54480b3

Please sign in to comment.