Comparing version 3.0.3 to 3.0.4
@@ -84,3 +84,3 @@ "use strict"; | ||
var pId = encodeURIComponent(projectId); | ||
return _infrastructure.RequestHelper.get(this, "projects/".concat(pId, "/repository/commits/").concat(sha, "/statuses"), options); | ||
return _infrastructure.RequestHelper.post(this, "projects/".concat(pId, "/statuses/").concat(sha), options); | ||
} | ||
@@ -87,0 +87,0 @@ }, { |
@@ -27,3 +27,3 @@ "use strict"; | ||
(0, _classCallCheck2.default)(this, MergeRequestNotes); | ||
return (0, _possibleConstructorReturn2.default)(this, (MergeRequestNotes.__proto__ || (0, _getPrototypeOf.default)(MergeRequestNotes)).call(this, 'projects', 'mergerequests', options)); | ||
return (0, _possibleConstructorReturn2.default)(this, (MergeRequestNotes.__proto__ || (0, _getPrototypeOf.default)(MergeRequestNotes)).call(this, 'projects', 'merge_requests', options)); | ||
} | ||
@@ -30,0 +30,0 @@ |
@@ -55,3 +55,3 @@ "use strict"; | ||
const pId = encodeURIComponent(projectId); | ||
return _infrastructure.RequestHelper.get(this, `projects/${pId}/repository/commits/${sha}/statuses`, options); | ||
return _infrastructure.RequestHelper.post(this, `projects/${pId}/statuses/${sha}`, options); | ||
} | ||
@@ -58,0 +58,0 @@ |
@@ -12,3 +12,3 @@ "use strict"; | ||
constructor(options) { | ||
super('projects', 'mergerequests', options); | ||
super('projects', 'merge_requests', options); | ||
} | ||
@@ -15,0 +15,0 @@ |
{ | ||
"name": "gitlab", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"description": "Full NodeJS implementation of the GitLab API. Supports Promises, Async/Await.", | ||
@@ -5,0 +5,0 @@ "main": "dist/latest/index.js", |
@@ -360,4 +360,5 @@ [![dependencies Status](https://david-dm.org/jdalrymple/node-gitlab-api/status.svg)](https://david-dm.org/jdalrymple/node-gitlab-api)[![devDependencies Status](https://david-dm.org/jdalrymple/node-gitlab-api/dev-status.svg)](https://david-dm.org/jdalrymple/node-gitlab-api?type=dev)[![Code Climate](https://codeclimate.com/github/jdalrymple/node-gitlab-api/badges/gpa.svg)](https://codeclimate.com/github/jdalrymple/node-gitlab-api)[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) | ||
- [Jordan Wallet](https://github.com/Mr-Wallet) | ||
- [Ev Haus](https://github.com/EvHaus) | ||
- [zhao0](https://github.com/zhao0) | ||
## License | ||
@@ -369,4 +370,9 @@ | ||
[3.0.3](https://github.com/jdalrymple/node-gitlab-api/tags/3.0.2) (2018-4-5) | ||
[3.0.4](https://github.com/jdalrymple/node-gitlab-api/tags/3.0.4) (2018-4-13) | ||
------------------ | ||
- Fixed endpoint for MergeRequestNotes thanks to [Ev Haus](https://github.com/EvHaus) in PR [#63](https://github.com/jdalrymple/node-gitlab-api/pull/63) | ||
- Fixed Commits.editStatus method thanks to [zhao0](https://github.com/zhao0) in PR [#65](https://github.com/jdalrymple/node-gitlab-api/pull/65) | ||
[3.0.3](https://github.com/jdalrymple/node-gitlab-api/tags/3.0.3) (2018-4-5) | ||
------------------ | ||
- Fixed the problem with the validation of Event resource options | ||
@@ -381,6 +387,6 @@ | ||
- Added support for Events. This is also exposed in Projects and Users under the events function | ||
- Fixed the missing options parameter for the ProjectMembers and GroupMemebers APIs in PR [#45] thanks to [Stefan Hall](https://github.com/Marethyu1) | ||
- Fixed the missing options parameter for the ProjectMembers and GroupMemebers APIs in PR [#45](https://github.com/jdalrymple/node-gitlab-api/pull/45) thanks to [Stefan Hall](https://github.com/Marethyu1) | ||
- Supporting both camelCase and snake_case option properties: `projects.all({perPage:5}) === projects.all({per_page: 5})` | ||
- Fixed problem with .all() functions where only the some of the results were being returned | ||
- Completed support for all Gitlab APIs, #49, #53 | ||
- Completed support for all Gitlab APIs, [#49](https://github.com/jdalrymple/node-gitlab-api/pull/49), [#53](https://github.com/jdalrymple/node-gitlab-api/pull/53) | ||
@@ -426,14 +432,2 @@ ### Breaking Changes between 2.2.6 and 3.0.0 | ||
[2.2.6](https://github.com/jdalrymple/node-gitlab-api/tags/2.2.6) (2018-3-15) | ||
------------------ | ||
- Fixed more issues within the url concatenation | ||
[2.2.5](https://github.com/jdalrymple/node-gitlab-api/tags/2.2.5) (2018-3-15) | ||
------------------ | ||
- Fixed #48 - Problem with trailing `\` in url | ||
[2.2.4](https://github.com/jdalrymple/node-gitlab-api/5d7c031ca2b833b28633647195560379d88ba5b3) (2018-2-12) | ||
------------------ | ||
- Fixing babel runtime | ||
[2.2.6](https://github.com/jdalrymple/node-gitlab-api/tags/2.2.6) (2018-3-15) | ||
@@ -450,4 +444,4 @@ ------------------ | ||
- Fixed #33 - Bug within the es5 transpilling configuration | ||
- Fixed the missing options for tags.all #40 | ||
- Added delete key method to UserKeys.js #41 thanks to [Claude Abounegm](https://github.com/claude-abounegm) | ||
- Fixed the missing options for tags.all [#40](https://github.com/jdalrymple/node-gitlab-api/pull/40) | ||
- Added delete key method to UserKeys.js [#41](https://github.com/jdalrymple/node-gitlab-api/pull/41) thanks to [Claude Abounegm](https://github.com/claude-abounegm) | ||
@@ -603,3 +597,3 @@ [2.2.3](https://github.com/jdalrymple/node-gitlab-api/ce7f17693168b5dec3b36eb1d5ab796c9374613f) (2018-2-3) | ||
------------------ | ||
- Fixing Issues #1, #2, and #3 | ||
- Fixing Issues [#1](https://github.com/jdalrymple/node-gitlab-api/pull/1), [#2](https://github.com/jdalrymple/node-gitlab-api/pull/3), and [#3](https://github.com/jdalrymple/node-gitlab-api/pull/3) | ||
@@ -606,0 +600,0 @@ [1.0.9](https://github.com/jdalrymple/node-gitlab-api/commit/7a90dbb6354fe956fff37c56f938a833e3fc5ea1) (2017-07-06) |
@@ -51,3 +51,3 @@ import { BaseService, RequestHelper } from '../infrastructure'; | ||
return RequestHelper.get(this, `projects/${pId}/repository/commits/${sha}/statuses`, options); | ||
return RequestHelper.post(this, `projects/${pId}/statuses/${sha}`, options); | ||
} | ||
@@ -54,0 +54,0 @@ |
@@ -5,3 +5,3 @@ import { ResourceNotes } from '../templates'; | ||
constructor(options) { | ||
super('projects', 'mergerequests', options); | ||
super('projects', 'merge_requests', options); | ||
} | ||
@@ -8,0 +8,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
475394
668