Comparing version 0.9.7 to 0.9.8
@@ -5,3 +5,3 @@ { | ||
"description": "install/uninstall Cordova plugins", | ||
"version": "0.9.7", | ||
"version": "0.9.8", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
@@ -70,2 +70,8 @@ var install = require('../src/install'), | ||
}); | ||
it('should check version and munge it a little if it has "rc" in it so it plays nice with semver (introduce a dash in it)', function() { | ||
var spy = spyOn(semver, 'satisfies').andReturn(true); | ||
exec.andReturn({code:0,output:"3.0.0rc1"}); | ||
install('android', temp, 'engineplugin', plugins_dir, {}); | ||
expect(spy).toHaveBeenCalledWith('3.0.0-rc1','>=2.3.0'); | ||
}); | ||
it('should queue up actions as appropriate for that plugin and call process on the action stack', function() { | ||
@@ -72,0 +78,0 @@ install('android', temp, dummyplugin, plugins_dir, {}); |
@@ -106,2 +106,6 @@ var path = require('path'), | ||
var current_version = versionScript.output.trim(); | ||
var rc_index = current_version.indexOf('rc'); | ||
if (rc_index > -1) { | ||
current_version = current_version.substr(0, rc_index) + '-' + current_version.substr(rc_index); | ||
} | ||
var engines = plugin_et.findall('engines/engine'); | ||
@@ -108,0 +112,0 @@ engines.forEach(function(engine){ |
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
2689835
10478