Comparing version 0.1.5 to 0.1.6
{ | ||
"name": "grunt-ccb", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "Create a CCB with manfiest information in JIRA", | ||
@@ -11,3 +11,3 @@ "main": "Gruntfile.js", | ||
"type": "git", | ||
"url": "git://github.com/christriddle/grunt-ccb.git" | ||
"url": "git://github.com/opentable/grunt-ccb.git" | ||
}, | ||
@@ -17,8 +17,8 @@ "keywords": [ | ||
], | ||
"author": "christriddle", | ||
"author": "opentable", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/christriddle/grunt-ccb/issues" | ||
"url": "https://github.com/opentable/grunt-ccb/issues" | ||
}, | ||
"homepage": "https://github.com/christriddle/grunt-ccb", | ||
"homepage": "https://github.com/opentable/grunt-ccb", | ||
"peerDependencies": { | ||
@@ -25,0 +25,0 @@ "grunt": "~0.4.2" |
@@ -5,3 +5,3 @@ # grunt-ccb | ||
[![Build Status](https://travis-ci.org/christriddle/grunt-ccb.svg?branch=master)](https://travis-ci.org/christriddle/grunt-ccb) | ||
[![Build Status](https://travis-ci.org/opentable/grunt-ccb.svg?branch=master)](https://travis-ci.org/opentable/grunt-ccb) | ||
@@ -31,3 +31,4 @@ [![NPM](https://nodei.co/npm/grunt-ccb.png)](https://nodei.co/npm/grunt-ccb) | ||
jira: { | ||
api_url: "https://opentable.atlassian.net/rest/api/2/", | ||
api_url: "https://company.atlassian.net/rest/api/2/", | ||
proxy : null, | ||
user: "user", | ||
@@ -53,2 +54,3 @@ password: "password", | ||
- `api_url` - Url of the Jira api root | ||
- `proxy` - Full url of proxy including port | ||
- `user` - Jira username | ||
@@ -55,0 +57,0 @@ - `password` - Jira password |
@@ -51,4 +51,4 @@ 'use string'; | ||
"Content-Type": "application/json", | ||
Accept: "application/json" | ||
// todo: add user agent | ||
Accept: "application/json", | ||
"User-Agent" : "Node Request" | ||
}, | ||
@@ -60,2 +60,3 @@ method: 'POST', | ||
}, | ||
proxy: options.jira.proxy, | ||
json: ccbContents | ||
@@ -87,4 +88,4 @@ }, function(error, response, body){ | ||
headers: { | ||
"Content-Type": "application/json" | ||
// todo: add user agent | ||
"Content-Type": "application/json", | ||
"User-Agent" : "Node Request" | ||
}, | ||
@@ -96,2 +97,3 @@ method: 'POST', | ||
}, | ||
proxy: options.jira.proxy, | ||
json: { | ||
@@ -126,4 +128,4 @@ "transition": | ||
headers: { | ||
"Content-Type": "application/json" | ||
// todo: add user agent | ||
"Content-Type": "application/json", | ||
"User-Agent" : "Node Request" | ||
}, | ||
@@ -135,2 +137,3 @@ method: 'POST', | ||
}, | ||
proxy: options.jira.proxy, | ||
json: { | ||
@@ -137,0 +140,0 @@ "transition": |
Sorry, the diff of this file is not supported yet
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
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
298
61
17559
14
2
2