Skip to content

Commit 5d4d2b4

Browse files
pushed version and updated readme
1 parent 2842f72 commit 5d4d2b4

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ A plugin which utilizes to GitHub API to show informations about repositories.
1414
## Details
1515
This plugin will provide a collection of components to display data about GitHub repositories based on the [GitHub API v3](https://developer.github.com/v3/repos/).
1616

17-
As time passes more parts like *Projects, Issues or Gists* will be added to this collection of components.
17+
As time passes more parts like *Projects or Issues* will be added to this collection of components.
1818

1919
### Requirements
2020
In order to work the [PHP cURL extension](https://secure.php.net/manual/en/book.curl.php) must be installed and enabled.
@@ -46,7 +46,17 @@ https://developer.github.com/v3/repos/#response-3)
4646
| `user` | `string` | The user whose repository is displayed |
4747
| `repo` | `string` | The repository name |
4848

49+
### Gist
50+
Get a specific repository
51+
52+
The available variables which can be used in the component view are listed here: [https://developer.github.com/v3/gists/#get-a-single-gist](
53+
https://developer.github.com/v3/gists/#get-a-single-gist)
4954

55+
#### Parameters
56+
| Name | Type | Description |
57+
|:-------|:---------|:---------------------------------------|
58+
| `id` | `string` | ID of the gist |
59+
| `sha` | `string` | Get a specific revision of a gist |
5060
---
5161

5262
## Contributing

updates/version.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
1.0.1: First version of GitHub Projects
22
1.1.0: Added transations (en,de)
33
1.2.0:
4-
- Added pagination to repo list
4+
- Added pagination to repo list
5+
- Added Gists component

0 commit comments

Comments
 (0)