Skip to content

Commit 3c1fae5

Browse files
committed
Fix #129. Add unit tests for name and version mismatches in pkg manager json files. Bump versions, update README
1 parent 5617864 commit 3c1fae5

5 files changed

Lines changed: 29 additions & 3 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ and check out a few [example applications](docs/introduction.md#example-apps).
2323

2424
# What's new
2525

26+
### 0.10.2
27+
28+
* Experimental support for relative module ids in wire specs in all supported environments.
29+
* Fix version mismatch in `bower.json`
30+
2631
### 0.10.1
2732

2833
* Fixes for using wire factory within a nested component. ([#123](https://github.com/cujojs/wire/issues/123), [#128](https://github.com/cujojs/wire/issues/128), thanks [@halfninety](https://github.com/halfninety))

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wire",
3-
"version": "0.10.0",
3+
"version": "0.10.2",
44
"main": "./wire.js",
55
"dependencies": {
66
"meld": "~1",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wire",
3-
"version": "0.10.1",
3+
"version": "0.10.2",
44
"description": "A light, fast, flexible Javascript IOC container.",
55
"keywords": [
66
"ioc",

test/node/version-test.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
(function(buster) {
2+
"use strict";
3+
4+
var assert, refute, fail, bowerJson, packageJson;
5+
6+
assert = buster.assert;
7+
refute = buster.refute;
8+
fail = buster.assertions.fail;
9+
10+
bowerJson = require('../../bower');
11+
packageJson = require('../../package');
12+
13+
buster.testCase('rest/version', {
14+
'should have the same name for package.json and component.json': function () {
15+
assert.same(bowerJson.name, packageJson.name);
16+
},
17+
'should have the same version for package.json and component.json': function () {
18+
assert.same(bowerJson.version, packageJson.version);
19+
}
20+
});
21+
}(require('buster')));

wire.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ define(function(require) {
2020

2121
var createContext, rootContext, rootOptions;
2222

23-
wire.version = '0.10.1';
23+
wire.version = '0.10.2';
2424

2525
createContext = require('./lib/context');
2626

0 commit comments

Comments
 (0)