I’ve just released version 0.2.1 of Thoth, the simple Ruby blog engine that powers wonko.com. Notable changes in this release include:
- Requires Sequel 2.5.x (this fixes an issue with SQLite and DateTime objects).
- Requires RedCloth 4.0.x. Markdown syntax is no longer supported as a result.
- Names of existing tags are now suggested as you type in the “Tags” field when creating or editing a blog post.
- Blog post URL names can now be specified just like pages, and names are automatically validated and checked for uniqueness via Ajax. If you don’t manually enter a name, one will be created automatically based on the title.
- Comments are now deleted via Ajax when JavaScript is enabled, making it easier to delete multiple comments without having to reload the page.
- A
rel="nofollow"
attribute is now automatically added to links in user comments.
- When minification is enabled, filenames in the public
/css
and /js
directories that have names ending in -min.css
or -min.js
will be served as is since they are presumably already minified.
- Fixed a bug that prevented client-side caching of CSS and JS when server-side caching and minification were enabled.
- Fixed internal server error when viewing a tag that isn’t attached to any posts.
To install Thoth for the first time, run:
gem install thoth
Or, to upgrade an existing Thoth blog:
gem update thoth
cd /path/to/blog
thoth -d stop
thoth --migrate
thoth -d start
Note the database migration step, which is necessary if you’re upgrading from a version of Thoth older than 0.2.0. Your existing data will be preserved, but you may want to make a backup first if you’re paranoid.