Skip to content

Commit 9f9fab8

Browse files
chore: update GitHub branch references to use HEAD (#101)
1 parent d02d0bf commit 9f9fab8

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

CONTRIBUTING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Open `csharp-http-client/CSharpHTTPClient/CSharpHTTPClient.sln`
6868

6969
##### Execute: #####
7070

71-
SSee the [Example project](https://github.com/sendgrid/csharp-http-client/tree/master/Example) to get started quickly.
71+
SSee the [Example project](Example) to get started quickly.
7272

7373
<a name="understanding-the-codebase"></a>
7474
## Understanding the Code Base
@@ -79,20 +79,20 @@ Working examples that demonstrate usage.
7979

8080
**/CSharpHTTPClient/Client.cs**
8181

82-
An HTTP client with a fluent interface using method chaining and reflection. By returning a new object on [TryGetMember](https://github.com/sendgrid/csharp-http-client/blob/master/CSharpHTTPClient/Client.cs#L191) and [_()](https://github.com/sendgrid/csharp-http-client/blob/master/CSharpHTTPClient/Client.cs#L180), we can dynamically build the URL using method chaining and [TryGetMember](https://github.com/sendgrid/csharp-http-client/blob/master/CSharpHTTPClient/Client.cs#L191) allows us to dynamically receive the method calls to achieve reflection.
82+
An HTTP client with a fluent interface using method chaining and reflection. By returning a new object on [TryGetMember](CSharpHTTPClient/Client.cs#L191) and [_()](CSharpHTTPClient/Client.cs#L180), we can dynamically build the URL using method chaining and [TryGetMember](CSharpHTTPClient/Client.cs#L191) allows us to dynamically receive the method calls to achieve reflection.
8383

8484
This allows for the following mapping from a URL to a method chain:
8585

86-
`/api_client/{api_key_id}/version` maps to `client.api_client._(api_key_id).version.<method>()` where <method> is a supported [Method](https://github.com/sendgrid/csharp-http-client/blob/master/CSharpHTTPClient/Client.cs#L71).
86+
`/api_client/{api_key_id}/version` maps to `client.api_client._(api_key_id).version.<method>()` where <method> is a supported [Method](CSharpHTTPClient/Client.cs#L71).
8787

8888
<a name="testing"></a>
8989
## Testing
9090

9191
All PRs require passing tests before the PR will be reviewed.
9292

93-
All test files are in the [`UnitTest`](https://github.com/sendgrid/csharp-http-client/tree/master/UnitTest) directory.
93+
All test files are in the [`UnitTest`](UnitTest) directory.
9494

95-
For the purposes of contributing to this repo, please update the [`UnitTest.cs`](https://github.com/sendgrid/csharp-http-client/blob/master/UnitTest/UnitTest.cs) file with unit tests as you modify the code.
95+
For the purposes of contributing to this repo, please update the [`UnitTest.cs`](UnitTest/UnitTest.cs) file with unit tests as you modify the code.
9696

9797
From the Visual Studio menu: `Tests->Run->All Tests`
9898

@@ -153,7 +153,7 @@ Generally, we follow the style guidelines as suggested by the official language.
153153
```
154154

155155
7. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/)
156-
with a clear title and description against the `master` branch. All tests must be passing before we will review the PR.
156+
with a clear title and description against the `main` branch. All tests must be passing before we will review the PR.
157157

158158
## Code Reviews<a name="code-reviews"></a>
159159
If you can, please look at open PRs and review them. Give feedback and help us merge these PRs much faster! If you don't know how, Github has some <a href="https://help.github.com/articles/about-pull-request-reviews/">great information on how to review a Pull Request.</a>

FIRST_TIMERS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ git checkout -b <topic-branch-name>
3939
6. __Locally merge (or rebase)__ the upstream development branch into your topic branch:
4040
```
4141
42-
git pull [--rebase] upstream master
42+
git pull [--rebase] upstream main
4343
4444
```
4545
7. __Push__ your topic branch up to your fork:
@@ -49,7 +49,7 @@ git push origin <topic-branch-name>
4949
5050
```
5151
8. __[Open a Pull Request](https://help.github.com/articles/creating-a-pull-request/#changing-the-branch-range-and-destination-repository/)__
52-
with a clear title and description against the `master` branch. All tests must be passing before we will review the PR.
52+
with a clear title and description against the `main` branch. All tests must be passing before we will review the PR.
5353
### Important notice
5454
Before creating a pull request, make sure that you respect the repository's constraints regarding contributions. You can find them in the [CONTRIBUTING.md](./CONTRIBUTING.md) file.
5555
## Repositories with Open, Easy, Help Wanted, Issue Filters

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
![SendGrid Logo](https://github.com/sendgrid/sendgrid-python/raw/master/twilio_sendgrid_logo.png)
1+
![SendGrid Logo](twilio_sendgrid_logo.png)
22

3-
[![Travis Badge](https://travis-ci.org/sendgrid/csharp-http-client.svg?branch=master)](https://travis-ci.org/sendgrid/csharp-http-client)
3+
[![Travis Badge](https://travis-ci.org/sendgrid/csharp-http-client.svg?branch=main)](https://travis-ci.org/sendgrid/csharp-http-client)
44
[![NuGet](https://img.shields.io/nuget/v/SendGrid.CSharp.Http.Client.svg)](https://www.nuget.org/packages/SendGrid.CSharp.HTTP.Client)
55
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE.md)
66
[![Twitter Follow](https://img.shields.io/twitter/follow/sendgrid.svg?style=social&label=Follow)](https://twitter.com/sendgrid)
@@ -27,7 +27,7 @@ If you are looking for the Twilio SendGrid API client library, please see [this
2727
# Announcements
2828
**The default branch name for this repository has been changed to `main` as of 07/27/2020.**
2929

30-
All updates to this project are documented in our [CHANGELOG](https://github.com/sendgrid/csharp-http-client/blob/master/CHANGELOG.md).
30+
All updates to this project are documented in our [CHANGELOG](CHANGELOG.md).
3131

3232
<a name="installation"></a>
3333
# Installation
@@ -45,7 +45,7 @@ PM> Install-Package SendGrid.CSharp.Http.Client
4545
```
4646

4747
Once you have the library properly referenced in your project, you can include calls to them in your code.
48-
For a sample implementation, check the [Example](https://github.com/sendgrid/csharp-http-client/tree/master/Example) folder.
48+
For a sample implementation, check the [Example](Example) folder.
4949

5050
Add the following namespace to use the library:
5151
```csharp
@@ -101,13 +101,13 @@ If you are interested in the future direction of this project, please take a loo
101101
<a name="contribute"></a>
102102
# How to Contribute
103103

104-
We encourage contribution to our projects, please see our [CONTRIBUTING](https://github.com/sendgrid/csharp-http-client/blob/master/CONTRIBUTING.md) guide for details.
104+
We encourage contribution to our projects, please see our [CONTRIBUTING](CONTRIBUTING.md) guide for details.
105105

106106
Quick links:
107107

108-
- [Feature Request](https://github.com/sendgrid/csharp-http-client/blob/master/CONTRIBUTING.md#feature-request)
109-
- [Bug Reports](https://github.com/sendgrid/csharp-http-client/blob/master/CONTRIBUTING.md#submit-a-bug-report)
110-
- [Improvements to the Codebase](https://github.com/sendgrid/csharp-http-client/blob/master/CONTRIBUTING.md#improvements-to-the-codebase)
108+
- [Feature Request](CONTRIBUTING.md#feature-request)
109+
- [Bug Reports](CONTRIBUTING.md#submit-a-bug-report)
110+
- [Improvements to the Codebase](CONTRIBUTING.md#improvements-to-the-codebase)
111111

112112
<a name="thanks"></a>
113113
# Thanks

USAGE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Usage
22

3-
- [Example Code](https://github.com/sendgrid/csharp-http-client/blob/master/Example/Example.cs)
3+
- [Example Code](Example/Example.cs)
44

55
## Environment Variables
66

twilio_sendgrid_logo.png

14.3 KB
Loading

0 commit comments

Comments
 (0)