Comparing version 0.1.4 to 0.1.5
@@ -136,3 +136,3 @@ /* | ||
"test: GET /gists/get/:id (get)": function(next) { | ||
"test: GET /gists/:id (get)": function(next) { | ||
var self = this; | ||
@@ -139,0 +139,0 @@ this.client.authenticate({ |
/** | ||
* class Github | ||
* | ||
* | ||
* A Node.JS module, which provides an object oriented wrapper for the GitHub v3 API. | ||
* | ||
* | ||
* Copyright 2012 Ajax.org Services B.V. | ||
@@ -35,3 +35,3 @@ * | ||
["gists", "gitdata", "issues", "orgs", "pullRequests", "repos", "user", "events"].forEach(function(api) { | ||
["gists", "gitdata", "issues", "oauth", "orgs", "pullRequests", "repos", "user", "events", "statuses"].forEach(function(api) { | ||
Util.extend(proto, require("./" + api)); | ||
@@ -38,0 +38,0 @@ }); |
@@ -182,2 +182,24 @@ /* | ||
"test: POST /repos/:user/:repo/merges (merge)": function(next) { | ||
var self = this; | ||
this.client.authenticate({ | ||
type: "token", | ||
username: username, | ||
token: token | ||
}); | ||
this.client.repos.merge( | ||
{ | ||
user: "String", | ||
repo: "String", | ||
base: "String", | ||
head: "String", | ||
commit_message: "String" | ||
}, | ||
function(err, res) { | ||
Assert.equal(err, null); | ||
// other assertions go here | ||
} | ||
); | ||
}, | ||
"test: GET /repos/:user/:repo/contributors (getContributors)": function(next) { | ||
@@ -184,0 +206,0 @@ var self = this; |
{ | ||
"name" : "github", | ||
"version" : "0.1.4", | ||
"version" : "0.1.5", | ||
"description" : "NodeJS wrapper for the GitHub API", | ||
@@ -5,0 +5,0 @@ "author": "ajax.org B.V. <info@ajax.org>", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
490278
39
13163
0