diff --git a/README.md b/README.md index 10356c6..c01aa17 100644 --- a/README.md +++ b/README.md @@ -229,7 +229,7 @@ Change Log ---------- .next -- nothing yet +- support bower 0.10+, older versions of bower will no longer work 0.9.3 - fixes issues with uglified JSONP client in IE 8 diff --git a/component.json b/bower.json similarity index 100% rename from component.json rename to bower.json diff --git a/test/version-test-node.js b/test/version-test-node.js index d764c67..5e0c813 100644 --- a/test/version-test-node.js +++ b/test/version-test-node.js @@ -15,21 +15,21 @@ define('rest/version-test', function (require) { - var componentJson, packageJson; + var bowerJson, packageJson; - componentJson = require('rest/component'); - packageJson = require('rest/package'); + bowerJson = require('rest/bower.json'); + packageJson = require('rest/package.json'); buster.testCase('rest/version', { - 'should have the same name for package.json and component.json': function () { - assert.same(componentJson.name, packageJson.name); + 'should have the same name for package.json and bower.json': function () { + assert.same(bowerJson.name, packageJson.name); }, - 'should have the same version for package.json and component.json': function () { - assert.same(componentJson.version, packageJson.version); + 'should have the same version for package.json and bower.json': function () { + assert.same(bowerJson.version, packageJson.version); }, - 'should have the same depenencies for package.json and component.json': function () { + 'should have the same depenencies for package.json and bpwer.json': function () { // this may not always hold true, but it currently does - assert.equals(componentJson.dependencies, packageJson.dependencies); + assert.equals(bowerJson.dependencies, packageJson.dependencies); } });