singularity-client
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -0,1 +1,5 @@ | ||
0.2.0 | ||
----- | ||
* Add support for task history - @mcculloughsean #2 | ||
0.1.0 | ||
@@ -2,0 +6,0 @@ ----- |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.8.0 | ||
// Generated by CoffeeScript 1.9.0 | ||
module.exports = function(request) { | ||
@@ -3,0 +3,0 @@ return { |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.8.0 | ||
// Generated by CoffeeScript 1.9.0 | ||
module.exports = function(request) { | ||
@@ -3,0 +3,0 @@ var funcs, status, _i, _len, _ref; |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.8.0 | ||
// Generated by CoffeeScript 1.9.0 | ||
module.exports = function(request) { | ||
@@ -7,3 +7,3 @@ return { | ||
payload = { | ||
uri: "" + uri + "/" + hook, | ||
uri: uri + "/" + hook, | ||
type: hook.toUpperCase() | ||
@@ -21,3 +21,3 @@ }; | ||
pathParams: { | ||
uri: "" + (hook.toUpperCase()) + "-" + uri + "/" + hook | ||
uri: (hook.toUpperCase()) + "-" + uri + "/" + hook | ||
} | ||
@@ -24,0 +24,0 @@ }, cb); |
@@ -1,5 +0,5 @@ | ||
// Generated by CoffeeScript 1.8.0 | ||
// Generated by CoffeeScript 1.9.0 | ||
var Gofer, Singularity, version, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -28,3 +28,3 @@ Gofer = require('gofer'); | ||
Singularity.prototype.addOptionMapper(function(opts) { | ||
return this.applyBaseUrl("" + opts.baseUrl + "/api", opts); | ||
return this.applyBaseUrl(opts.baseUrl + "/api", opts); | ||
}); | ||
@@ -35,5 +35,6 @@ | ||
requests: require('./endpoints/requests'), | ||
webhooks: require('./endpoints/webhooks') | ||
webhooks: require('./endpoints/webhooks'), | ||
history: require('./endpoints/history') | ||
}); | ||
module.exports = Singularity; |
{ | ||
"name": "singularity-client", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "Gofer based Singularity API Client", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
12505
16
229