Skip to content
This repository has been archived by the owner on Apr 11, 2018. It is now read-only.

Commit

Permalink
version bump 1.0.0-rc2
Browse files Browse the repository at this point in the history
  • Loading branch information
paularmstrong committed Sep 6, 2013
1 parent 2d30807 commit 2ec6b38
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 8 deletions.
11 changes: 11 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
[1.0.0-rc2](https://github.com/paularmstrong/swig/tree/v1.0.0-rc2) / 2013-09-06
-------------------------------------------------------------------------------

* **Changed** Function output from `variable` blocks are no longer auto-escaped. gh-309
* **Fixed** Allow nested macros to work when importing. gh-310
* **Fixed** swig.setDefaultTZOffset. gh-311
* **Changed** `set` tag assigns to the local context, allowing setting within `for` loops, etc. gh-303
* **Fixed** Standardize variable undefined checking. gh-301
* **Fixed** Remove multiple redefinition of block-level tags in compiled templates.
* **Fixed** Performance issue with compile if no default locals are defined.

[1.0.0-rc1](https://github.com/paularmstrong/swig/tree/v1.0.0-rc1) / 2013-08-28
-------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion browser/comments.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/*! Swig v1.0.0-rc1 | https://paularmstrong.github.com/swig | @license https://github.com/paularmstrong/swig/blob/master/LICENSE */
/*! Swig v1.0.0-rc2 | https://paularmstrong.github.com/swig | @license https://github.com/paularmstrong/swig/blob/master/LICENSE */
/*! DateZ (c) 2011 Tomo Universalis | @license https://github.com/TomoUniversalis/DateZ/blob/master/LISENCE */
2 changes: 1 addition & 1 deletion docs/docs.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "v1.0.0-rc1"
"version": "v1.0.0-rc2"
}
2 changes: 1 addition & 1 deletion docs/index.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "v1.0.0-rc1"
"version": "v1.0.0-rc2"
}
4 changes: 2 additions & 2 deletions lib/swig.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ var fs = require('fs'),
/**
* Swig version number as a string.
* @example
* if (swig.version === "1.0.0-rc1") { ... }
* if (swig.version === "1.0.0-rc2") { ... }
*
* @type {String}
*/
exports.version = "1.0.0-rc1";
exports.version = "1.0.0-rc2";

/**
* Swig Options Object. This object can be passed to many of the API-level Swig methods to control various aspects of the engine. All keys are optional.
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": "swig",
"version": "1.0.0-rc1",
"version": "1.0.0-rc2",
"description": "A simple, powerful, and extendable templating engine for node.js and browsers, similar to Django, Jinja2, and Twig.",
"keywords": [
"template",
Expand Down
4 changes: 2 additions & 2 deletions tests/basic.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ function resetOptions() {
}

describe('version', function () {
it('is 1.0.0-rc1', function () {
expect(swig.version).to.equal('1.0.0-rc1');
it('is 1.0.0-rc2', function () {
expect(swig.version).to.equal('1.0.0-rc2');
});
});

Expand Down

0 comments on commit 2ec6b38

Please sign in to comment.