Posted By: Dr Nic Williams
Date: 2009-10-12 12:52
Summary: install_theme 0.8.0 Released
Project: Dr Nic's Utilities

install_theme version 0.8.0 has been released!

Use any HTML template as a theme generator for your Rails app.

Installs an HTML template, and its CSS, JavaScript and image assets into
your Rails app, ready to go in an instant.

You just tell it which DOM elements are special, e.g. where to
put the <%= yield %>, load your app in the browser and see the theme
in action.

Changes:

### 0.8.0 / 2009-10-12

Major:
* Paths (xpath/css path) can specify to replace the internals of a DOM (as it did before) or the entire DOM node itself. Previously --partial "header:#header h2" would have replace the inner HTML of the DOM, but now it replaces the DOM node itself. To replace the inner HTML, use --partial "header:#header h2:text" (css path) or --partial "header://div[@id='header']/h2/text()"
* CLI option --action/-a added - the extracted content_path contents can be stored in a Rails action template file

Minor:
* convert layouts to haml regardless of their name
* Updated CLI Usage help

Internal:
* Minimized spec suite by extracting a common file diff test into macro method

Latest News
v13.5.0 Released !!
    id 774 - 2013-05-18 12:28
Runt v0.9.0 Released
    Matthew Lipper - 2013-05-17 00:11
kramdown 1.0.2 released
    Thomas Leitner - 2013-05-09 06:58
mime-types 1.23 Released
    Austin Ziegler - 2013-04-21 01:41
diff-lcs 1.2.4 Released
    Austin Ziegler - 2013-04-21 00:08

 

Forums | Admin

Discussion Forums: install_theme-0-8-0-r

Start New Thread Start New Thread

 

Topic Topic Starter Replies Last Post