adaptation for rivets 0.6.5
port example to rivets 0.6.5
Merge pull request #1 from generalov/master

Adaptation to rivets 0.6.5