Comparing version 0.1.1 to 0.1.2
@@ -202,3 +202,3 @@ /** | ||
* - repo (String): Required. | ||
* - ref (String): Required. String of the name of the fully qualified reference (ie: refs/heads/master). If it doesn’t start with ‘refs’ and have at least two slashes, it will be rejected. | ||
* - ref (String): Required. String of the name of the fully qualified reference (ie: heads/master). If it doesn’t have at least one slash, it will be rejected. | ||
**/ | ||
@@ -205,0 +205,0 @@ this.getReference = function(msg, block, callback) { |
@@ -77,5 +77,5 @@ /** | ||
* - repo (String): Required. | ||
* - milestone (String): Required. Validation rule: ` ^([0-9]+|none|\*)$ `. | ||
* - milestone (String): Optional. Validation rule: ` ^([0-9]+|none|\*)$ `. | ||
* - state (String): Optional. Validation rule: ` ^(open|closed)$ `. | ||
* - assignee (String): Required. String User login, `none` for Issues with no assigned User. `*` for Issues with any assigned User. | ||
* - assignee (String): Optional. String User login, `none` for Issues with no assigned User. `*` for Issues with any assigned User. | ||
* - mentioned (String): Optional. String User login. | ||
@@ -82,0 +82,0 @@ * - labels (String): Optional. String list of comma separated Label names. Example: bug,ui,@high |
@@ -442,3 +442,3 @@ "use strict"; | ||
var query = obj.query; | ||
var url = obj.url; | ||
var url = this.config.url ? this.config.url + obj.url : obj.url; | ||
@@ -448,5 +448,5 @@ var path = (!hasBody && query.length) | ||
: url; | ||
var protocol = this.constants.protocol || "http"; | ||
var host = this.constants.host; | ||
var port = this.constants.port || (protocol == "https" ? 443 : 80); | ||
var protocol = this.config.protocol || this.constants.protocol || "http"; | ||
var host = this.config.host || this.constants.host; | ||
var port = this.config.port || this.constants.port || (protocol == "https" ? 443 : 80); | ||
if (this.config.proxy) { | ||
@@ -453,0 +453,0 @@ host = this.config.proxy.host; |
{ | ||
"name" : "github", | ||
"version" : "0.1.1", | ||
"version" : "0.1.2", | ||
"description" : "NodeJS wrapper for the GitHub API", | ||
@@ -5,0 +5,0 @@ "author": "ajax.org B.V. <info@ajax.org>", |
@@ -26,3 +26,3 @@ /** section: github, internal | ||
username: "mikedeboer", | ||
password: "mike1324" | ||
password: "mysecretpass" | ||
}); | ||
@@ -29,0 +29,0 @@ |
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
471681
36