Comparing version 5.0.0 to 5.0.1
# CHANGELOG | ||
## 5.0.1 | ||
Bugfixes: | ||
* Fix for remove assignees from issue. | ||
## 5.0.0 | ||
@@ -4,0 +9,0 @@ |
@@ -17,7 +17,7 @@ "use strict"; | ||
owner: "kaizensoze", | ||
repo: "node-github", | ||
number: "101", | ||
body: ["invalid", "bug", "duplicate"] | ||
repo: "test2", | ||
number: "4", | ||
body: ["bug", "help wanted", "question"] | ||
}, function(err, res) { | ||
console.log(err, res); | ||
}); |
@@ -19,2 +19,3 @@ #!/usr/bin/env node | ||
var Util = require("./util"); | ||
var npmPackageJSON = require("../package.json"); | ||
@@ -89,5 +90,8 @@ var TestSectionTpl = fs.readFileSync(__dirname + "/../templates/test_section.js.tpl", "utf8"); | ||
var apiVersion = npmPackageJSON['version']; | ||
var commentLines = [ | ||
"/**", | ||
" * @api {" + method + "} " + url + " " + funcName, | ||
" * @apiVersion " + apiVersion, | ||
" * @apiName " + funcDisplayName, | ||
@@ -94,0 +98,0 @@ " * @apiDescription " + block['description'], |
@@ -615,3 +615,3 @@ "use strict"; | ||
var hasFileBody = block.hasFileBody; | ||
var hasBody = !hasFileBody && ("head|get|delete".indexOf(method) === -1); | ||
var hasBody = !hasFileBody && typeof(msg.body) !== "undefined"; | ||
var format = getRequestFormat.call(this, hasBody, block); | ||
@@ -618,0 +618,0 @@ var obj = getQueryAndUrl(msg, block, format, self.config); |
{ | ||
"name": "github", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "NodeJS wrapper for the GitHub API", | ||
@@ -50,6 +50,7 @@ "author": "Mike de Boer <info@mikedeboer.nl>", | ||
"name": "node-github", | ||
"version": "5.0.1", | ||
"template": { | ||
"withCompare": false | ||
"withCompare": true | ||
} | ||
} | ||
} |
Sorry, the diff of this file is too big to display
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
856472
58
24357