Skip to content

Commit 1684ff9

Browse files
author
Evan Miller
committed
Prep for 0.7.2
1 parent 08f00e2 commit 1684ff9

File tree

4 files changed

+30
-1
lines changed

4 files changed

+30
-1
lines changed

Diff for: README_UPGRADE

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Upgrade: From anything to 0.7.2
2+
-------------------------------
3+
4+
Custom tags should be moved from view/lib/ to view/lib/tag_html.
5+
6+
17
Upgrade: From 0.6 to 0.7
28
------------------------
39

Diff for: skel.template

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
{file, "skel/priv/static/favicon.ico", "{{dest}}/priv/static/favicon.ico"}.
3131
{file, "skel/priv/boss.routes", "{{dest}}/priv/{{appid}}.routes"}.
3232
{file, "skel/priv/rebar/boss_plugin.erl", "{{dest}}/priv/rebar/boss_plugin.erl"}.
33+
{file, "skel/src/view/lib/README", "{{dest}}/src/view/lib/README"}.
3334
{file, "skel/init.sh", "{{dest}}/init.sh"}.
3435
{file, "skel/init-dev.sh", "{{dest}}/init-dev.sh"}.
3536
{file, "skel/rebar", "{{dest}}/rebar"}.

Diff for: skel/src/view/lib/README

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
This directory contains:
2+
3+
* tag_html/ - template files which are compiled to tags. If you have a file
4+
called "foo.html" and then call {% foo bar=1 %} from another template, the
5+
contents of "foo.html" will be evaluated with the "bar" variable set to 1.
6+
7+
* tag_modules/ - Erlang modules that export functions to implement tags. If
8+
a module in this directory exports foo/1, then {% foo bar=1 %} will call
9+
10+
Module:foo([{bar, 1}])
11+
12+
* filter_modules/ - Erlang modules that export functions to implement filters.
13+
If a module in this directory exports foo/1, then {% "Example"|foo %} will call
14+
15+
Module:foo(<<"Example">>)
16+
17+
If module in this directory exports foo/2, then {% "Example"|foo:42 %} will call
18+
19+
Module:foo(<<"Example">>, 42)
20+
21+
You can specify external tag and filter modules in the configuration via the
22+
template_tag_modules and template_filter_modules options.

Diff for: src/boss.app.src

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{application, boss,
22
[
33
{description, "Chicago Boss web framework, now featuring Comet"},
4-
{vsn, "0.7.1"},
4+
{vsn, "0.7.2"},
55
{registered, [
66
boss_mq, boss_mq_sup,
77
boss_session, boss_session_sup,

0 commit comments

Comments
 (0)