Skip to content

Commit

Permalink
Update changelog and bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
briancavalier committed Nov 19, 2013
1 parent 679e7f8 commit d5bc6cf
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 7 deletions.
11 changes: 11 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
### 0.10.3

* Experimental support for relative AMD plugin resource ids in wire specs. For example:

```js
myTemplate: {
// Find template.html relative to the current wire spec
module: 'text!./template.html'
}
```

### 0.10.2

* Experimental support for relative module ids in wire specs in all supported environments.
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,17 @@ and check out a few [example applications](docs/introduction.md#example-apps).

# What's new

### 0.10.3

* Experimental support for relative AMD plugin resource ids in wire specs. For example:

```js
myTemplate: {
// Find template.html relative to the current wire spec
module: 'text!./template.html'
}
```

### 0.10.2

* Experimental support for relative module ids in wire specs in all supported environments.
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wire",
"version": "0.10.2",
"version": "0.10.3",
"main": "./wire.js",
"dependencies": {
"meld": "~1",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wire",
"version": "0.10.2",
"version": "0.10.3",
"description": "A light, fast, flexible Javascript IOC container.",
"keywords": [
"ioc",
Expand Down
8 changes: 5 additions & 3 deletions test/node/version-test.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
(function(buster) {
"use strict";

var assert, refute, fail, bowerJson, packageJson;
var assert, refute, fail, bowerJson, packageJson, wire;

assert = buster.assert;
refute = buster.refute;
fail = buster.assertions.fail;

wire = require('../../wire');
bowerJson = require('../../bower');
packageJson = require('../../package');

buster.testCase('wire/version', {
'should have the same name for package.json and component.json': function () {
'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 () {
'should have the same version for wire, package.json, and bower.json': function () {
assert.same(wire.version, packageJson.version);
assert.same(bowerJson.version, packageJson.version);
}
});
Expand Down
4 changes: 2 additions & 2 deletions wire.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
*
* @author Brian Cavalier
* @author John Hann
* @version 0.10.1
* @version 0.10.3
*/
(function(rootSpec, define){ 'use strict';
define(function(require) {

var createContext, rootContext, rootOptions;

wire.version = '0.10.2';
wire.version = '0.10.3';

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

Expand Down

0 comments on commit d5bc6cf

Please sign in to comment.