Comparing version 0.6.4 to 0.6.5
@@ -5,2 +5,7 @@ ### master | ||
### 0.6.5 | ||
* Adds more node instances to travis - romanki + orta | ||
* Adds support for Semaphore CI - orta | ||
### 0.6.4 | ||
@@ -7,0 +12,0 @@ |
@@ -64,3 +64,3 @@ "use strict"; | ||
describe(".pullReuestID", function () { | ||
describe(".pullRequestID", function () { | ||
it("pulls it out of the env", function () { | ||
@@ -67,0 +67,0 @@ var travis = new _Travis2.default(correctEnv); |
@@ -31,3 +31,3 @@ "use strict"; | ||
var hasKeys = keys.map(function (key) { | ||
return env.hasOwnProperty(key) && !isNaN(parseInt(env.TRAVIS_PULL_REQUEST)); | ||
return env.hasOwnProperty(key) && !isNaN(parseInt(env[key])); | ||
}); | ||
@@ -34,0 +34,0 @@ return !hasKeys.includes(false); |
@@ -19,5 +19,5 @@ "use strict"; | ||
var _Fake = require("./Fake"); | ||
var _Semaphore = require("./Semaphore"); | ||
var _Fake2 = _interopRequireDefault(_Fake); | ||
var _Semaphore2 = _interopRequireDefault(_Semaphore); | ||
@@ -36,6 +36,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function getCISourceForEnv(env) { | ||
// Fake is what I'm using during dev for the minute | ||
var travis = new _Travis2.default(env); | ||
var circle = new _Circle2.default(env); | ||
var fake = new _Fake2.default(env); | ||
var semaphore = new _Semaphore2.default(env); | ||
@@ -46,6 +45,6 @@ if (travis.isCI) { | ||
return circle; | ||
} else { | ||
return fake; | ||
}if (semaphore.isCI) { | ||
return semaphore; | ||
} | ||
} | ||
//# sourceMappingURL=ci_source.js.map |
@@ -51,7 +51,2 @@ "use strict"; | ||
}, { | ||
key: "repoURL", | ||
get: function get() { | ||
return "maybe not needed?"; | ||
} | ||
}, { | ||
key: "supportedPlatforms", | ||
@@ -58,0 +53,0 @@ get: function get() { |
@@ -33,4 +33,4 @@ "use strict"; | ||
get: function get() { | ||
var mustHave = ["HAS_JOSH_K_SEAL_OF_APPROVAL", "TRAVIS_PULL_REQUEST"]; | ||
var mustBeInts = ["TRAVIS_REPO_SLUG"]; | ||
var mustHave = ["HAS_JOSH_K_SEAL_OF_APPROVAL", "TRAVIS_PULL_REQUEST", "TRAVIS_REPO_SLUG"]; | ||
var mustBeInts = ["TRAVIS_PULL_REQUEST"]; | ||
return (0, _ci_source_helpers.ensureEnvKeysExist)(this.env, mustHave) && (0, _ci_source_helpers.ensureEnvKeysAreInt)(this.env, mustBeInts); | ||
@@ -49,7 +49,2 @@ } | ||
}, { | ||
key: "repoURL", | ||
get: function get() { | ||
return "maybe not needed?"; | ||
} | ||
}, { | ||
key: "supportedPlatforms", | ||
@@ -56,0 +51,0 @@ get: function get() { |
{ | ||
"name": "danger", | ||
"version": "0.6.4", | ||
"version": "0.6.5", | ||
"description": "Unit tests for Team Culture", | ||
@@ -5,0 +5,0 @@ "main": "distribution/danger.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
296349
85
2114
0