Skip to content

Commit

Permalink
support bower 0.10+, older versions of bower will no longer work
Browse files Browse the repository at this point in the history
  • Loading branch information
scothis committed Jul 22, 2013
1 parent 8bb57f4 commit 2d6da2a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
File renamed without changes.
18 changes: 9 additions & 9 deletions test/version-test-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
});

Expand Down

0 comments on commit 2d6da2a

Please sign in to comment.