Skip to content

Commit 8d9bff6

Browse files
committed
Release v2.0.1
1 parent f08cdc4 commit 8d9bff6

4 files changed

Lines changed: 9 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## v2.0.1 (2016-02-10)
2+
3+
Changes:
4+
5+
- Fixed a bug to represent `Section` and `Invert` by `to_code` incorrectly.
6+
17
## v2.0.0 (2016-02-09)
28

39
Features:

shard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: crustache
2-
version: 2.0.0
2+
version: 2.0.1
33

44
authors:
55
- TSUYUSATO Kitsune <make.just.on@gmail.com>

src/crustache/syntax.cr

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ module Crustache::Syntax
5656
class {{ type.id }} < Template
5757
include Tag
5858

59-
def initialize(@value : String, @content : [] of Node); end
59+
def initialize(@value : String, @content : Array(Node)); end
6060

6161
macro def to_code(io) : Nil
6262
io << "::\{{ @type.name.id }}.new("
@@ -69,7 +69,6 @@ module Crustache::Syntax
6969
flag = true
7070
end
7171
io << "] of ::Crustache::Syntax::Node)"
72-
io << ")"
7372
nil
7473
end
7574
end

src/crustache/version.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Crustache
2-
VERSION = "2.0.0"
2+
VERSION = "2.0.1"
33
end

0 commit comments

Comments
 (0)