mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-25 16:04:01 +00:00
Adding fix for version
This commit is contained in:
parent
1de6ec75ad
commit
5ddbcc8c33
@ -145,6 +145,10 @@ This started off as a fork from [node-gitlab](https://github.com/node-gitlab/nod
|
||||
|
||||
## Changelog
|
||||
|
||||
[2.2.2](https://github.com/jdalrymple/node-gitlab-api/) (2018-1-24)
|
||||
------------------
|
||||
Fixing bug with the version support
|
||||
|
||||
[2.2.1](https://github.com/jdalrymple/node-gitlab-api/e864064c98feda59d594d77b67f7d0657db78700) (2018-1-23)
|
||||
------------------
|
||||
Added support for the Version API through version.show()
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "node-gitlab-api",
|
||||
"version": "2.2.1",
|
||||
"version": "2.2.2",
|
||||
"description": "Full NodeJS implementation of the GitLab API. Supports Promises, Async/Await.",
|
||||
"main": "dist/latest/index.js",
|
||||
"engines": {
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import Request from 'request-promise';
|
||||
import { Groups, Projects, Issues, Runners, Users, MergeRequests } from './Models';
|
||||
import { Groups, Projects, Issues, Runners, Users, MergeRequests, Version } from './Models';
|
||||
|
||||
function defaultRequest(url, endpoint, {
|
||||
headers,
|
||||
@ -42,6 +42,7 @@ class API {
|
||||
this.users = new Users(this);
|
||||
this.runners = new Runners(this);
|
||||
this.mergeRequests = new MergeRequests(this);
|
||||
this.version = new Version(this);
|
||||
}
|
||||
|
||||
get(endpoint, options, fullResponse = false) {
|
||||
|
||||
@ -4,6 +4,7 @@ import Issues from './Issues';
|
||||
import Users from './Users';
|
||||
import Runners from './Runners';
|
||||
import MergeRequests from './MergeRequests';
|
||||
import Version from './Version';
|
||||
|
||||
export {
|
||||
Groups,
|
||||
@ -12,4 +13,5 @@ export {
|
||||
Issues,
|
||||
Users,
|
||||
MergeRequests,
|
||||
Version,
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user