Skip to content

Commit 6e1dd27

Browse files
authored
Update url's and add icon to package (#175)
1 parent 7d88da8 commit 6e1dd27

File tree

8 files changed

+25
-23
lines changed

8 files changed

+25
-23
lines changed

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: GitHub Discussions
4-
url: https://github.com/dnperfors/TestableHttpClient/discussions
4+
url: https://github.com/testablehttpclient/TestableHttpClient/discussions
55
about: Please ask and answer questions here

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
- name: Prepare sonarqube
3636
if: ${{ github.actor != 'dependabot[bot]' }}
3737
env:
38-
SONARCLOUD_TOKEN: ${{secrets.SONARCLOUD_TOKEN}}
39-
run: dotnet sonarscanner begin -d:sonar.host.url=https://sonarcloud.io -organization:dnperfors-github -key:dnperfors_TestableHttpClient -version:`dotnet nbgv get-version --variable NuGetPackageVersion` -d:sonar.cs.opencover.reportsPaths=**/coverage.opencover.xml -d:sonar.login=${{env.SONARCLOUD_TOKEN}}
38+
SONAR_TOKEN: ${{secrets.SONAR_TOKEN}}
39+
run: dotnet sonarscanner begin -d:sonar.host.url=https://sonarcloud.io -organization:testablehttpclient -key:testablehttpclient_TestableHttpClient -version:`dotnet nbgv get-version --variable NuGetPackageVersion` -d:sonar.cs.opencover.reportsPaths=**/coverage.opencover.xml -d:sonar.login=${{env.SONAR_TOKEN}}
4040
- name: Restore dependencies
4141
run: dotnet restore
4242
- name: Build source code
@@ -47,8 +47,8 @@ jobs:
4747
if: ${{ github.actor != 'dependabot[bot]' }}
4848
env:
4949
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50-
SONARCLOUD_TOKEN: ${{secrets.SONARCLOUD_TOKEN}}
51-
run: dotnet sonarscanner end -d:sonar.login=${{env.SONARCLOUD_TOKEN}}
50+
SONAR_TOKEN: ${{secrets.SONAR_TOKEN}}
51+
run: dotnet sonarscanner end -d:sonar.login=${{env.SONAR_TOKEN}}
5252
- name: Check source file format
5353
run: dotnet format --no-restore --verify-no-changes
5454
- name: Pack

CHANGELOG.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
8383
- `Times(int)` will be removed in favour of the `With*` methods with an `int` parameter.
8484

8585
### Added
86-
- It is now possible to use NFluent to check `TestableHttpMessageHandler` by using `Check.That(handler).HasMadeRequests()` and `Check.That(handler).HasMadeRequestsTo("https://github.com/dnperfors/testablehttpclient")`. All existing `With` checks are supported.
86+
- It is now possible to use NFluent to check `TestableHttpMessageHandler` by using `Check.That(handler).HasMadeRequests()` and `Check.That(handler).HasMadeRequestsTo("https://github.com/testablehttpclient/testablehttpclient")`. All existing `With` checks are supported.
8787
- All `With*` methods got an extra overload to specify the exact number of expected requests. This is instead of the `Times` method.
8888

8989
### Changed
@@ -230,10 +230,10 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
230230
- Automatically build project when pushing changes to github and when creating a pull request
231231
- Automatically deploy to NuGet when creating a tag in github
232232

233-
[0.7]: https://github.com/dnperfors/TestableHttpClient/compare/v0.6...v0.7
234-
[0.6]: https://github.com/dnperfors/TestableHttpClient/compare/v0.5...v0.6
235-
[0.5]: https://github.com/dnperfors/TestableHttpClient/compare/v0.4...v0.5
236-
[0.4]: https://github.com/dnperfors/TestableHttpClient/compare/v0.3...v0.4
237-
[0.3]: https://github.com/dnperfors/TestableHttpClient/compare/v0.2...v0.3
238-
[0.2]: https://github.com/dnperfors/TestableHttpClient/compare/v0.1...v0.2
239-
[0.1]: https://github.com/dnperfors/TestableHttpClient/releases/tag/v0.1
233+
[0.7]: https://github.com/testablehttpclient/TestableHttpClient/compare/v0.6...v0.7
234+
[0.6]: https://github.com/testablehttpclient/TestableHttpClient/compare/v0.5...v0.6
235+
[0.5]: https://github.com/testablehttpclient/TestableHttpClient/compare/v0.4...v0.5
236+
[0.4]: https://github.com/testablehttpclient/TestableHttpClient/compare/v0.3...v0.4
237+
[0.3]: https://github.com/testablehttpclient/TestableHttpClient/compare/v0.2...v0.3
238+
[0.2]: https://github.com/testablehttpclient/TestableHttpClient/compare/v0.1...v0.2
239+
[0.1]: https://github.com/testablehttpclient/TestableHttpClient/releases/tag/v0.1

Directory.Build.props

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@
1414
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
1515
<DevelopmentDependency>false</DevelopmentDependency>
1616
<PackageLicenseExpression>MIT</PackageLicenseExpression>
17-
<PackageProjectUrl>https://github.com/dnperfors/TestableHttpClient</PackageProjectUrl>
17+
<PackageProjectUrl>https://github.com/testablehttpclient/TestableHttpClient</PackageProjectUrl>
1818
<PackageReadmeFile>README.md</PackageReadmeFile>
19+
<PackageIcon>icon.png</PackageIcon>
1920

2021
<PublishRepositoryUrl>true</PublishRepositoryUrl>
2122
<EmbedUntrackedSources>true</EmbedUntrackedSources>
@@ -24,11 +25,12 @@
2425
<DebugType>full</DebugType>
2526

2627
<IncludeSource>true</IncludeSource>
27-
<RepositoryUrl>https://github.com/dnperfors/TestableHttpClient</RepositoryUrl>
28+
<RepositoryUrl>https://github.com/testablehttpclient/TestableHttpClient</RepositoryUrl>
2829
<RepositoryType>git</RepositoryType>
2930
</PropertyGroup>
3031

3132
<ItemGroup>
33+
<None Include="$(MSBuildThisFileDirectory)/images/icon.png" Pack="true" PackagePath="" />
3234
<None Include="$(MSBuildThisFileDirectory)/LICENSE.md" Pack="true" PackagePath="" />
3335
<None Include="$(MSBuildProjectDirectory)/README.md" Pack="true" PackagePath="" />
3436
</ItemGroup>

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# TestableHttpClient
22

3-
![GitHub](https://img.shields.io/github/license/dnperfors/TestableHttpClient) ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/dnperfors/TestableHttpClient/.NET%20Core)
3+
![GitHub](https://img.shields.io/github/license/testablehttpclient/TestableHttpClient) ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/testablehttpclient/TestableHttpClient/ci)
44

55
Using HttpClient in code that is unit tested is seen as rather difficult, these libraries aims to make it easier to assert the calls that are made via an HttpClient and to make assertions on the HttpResponseMessages.
66

@@ -70,15 +70,15 @@ Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on how you can help u
7070

7171
## Versioning
7272

73-
We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [releases on this repository](https://github.com/dnperfors/TestableHttpClient/releases).
73+
We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [releases on this repository](https://github.com/testablehttpclient/TestableHttpClient/releases).
7474

7575
Note that currently every library will always be released when a new tag is created, even though it might not have any changes.
7676

7777
## Authors
7878

7979
* **David Perfors** - [dnperfors](https://github.com/dnperfors)
8080

81-
See also the list of [contributors](https://github.com/dnperfors/TestableHttpClient/contributors) who participated in this project.
81+
See also the list of [contributors](https://github.com/testablehttpclient/TestableHttpClient/contributors) who participated in this project.
8282

8383
## License
8484

images/icon.png

7.09 KB
Loading

src/TestableHttpClient.NFluent/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ Check.That(handler).HasMadeRequestsTo("https://httpbin.org*").WithHttpMethod(Htt
5555

5656
* **David Perfors** - [dnperfors](https://github.com/dnperfors)
5757

58-
See also the list of [contributors](https://github.com/dnperfors/TestableHttpClient/contributors) who participated in this project.
58+
See also the list of [contributors](https://github.com/testablehttpclient/TestableHttpClient/contributors) who participated in this project.
5959

6060
## License
6161

62-
This project is released under the MIT license, see [LICENSE.md](https://github.com/dnperfors/TestableHttpClient/blob/master/LICENSE.md) for more information.
62+
This project is released under the MIT license, see [LICENSE.md](https://github.com/testablehttpclient/TestableHttpClient/blob/master/LICENSE.md) for more information.

src/TestableHttpClient/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ var result = await httpClient.GetAsync("http://httpbin.org/status/200");
2222
testHandler.ShouldHaveMadeRequestsTo("https://httpbin.org/*");
2323
```
2424

25-
More examples can be found in the [IntegrationTests project](https://github.com/dnperfors/TestableHttpClient/tree/master/test/TestableHttpClient.IntegrationTests)
25+
More examples can be found in the [IntegrationTests project](https://github.com/testablehttpclient/TestableHttpClient/tree/master/test/TestableHttpClient.IntegrationTests)
2626

2727
## Authors
2828

2929
* **David Perfors** - [dnperfors](https://github.com/dnperfors)
3030

31-
See also the list of [contributors](https://github.com/dnperfors/TestableHttpClient/contributors) who participated in this project.
31+
See also the list of [contributors](https://github.com/testablehttpclient/TestableHttpClient/contributors) who participated in this project.
3232

3333
## License
3434

35-
This project is released under the MIT license, see [LICENSE.md](https://github.com/dnperfors/TestableHttpClient/blob/master/LICENSE.md) for more information.
35+
This project is released under the MIT license, see [LICENSE.md](https://github.com/testablehttpclient/TestableHttpClient/blob/master/LICENSE.md) for more information.
3636

3737
## Acknowledgments
3838

0 commit comments

Comments
 (0)