Dresser

Simple gem that helps to organise paths like so:

app/ assets/ models/ themes/ theme_name_1/ views/ javascripts/ styleseets/ theme_name_2/ views/ javascripts/ styleseets/

Installation

Add this line to your application's Gemfile:

gem 'dresser'

And then execute:

$ bundle

Or install it yourself as:

$ gem install dresser

Usage

cd #your_rails_app mkdir -p app/themes/default/ mv app/views app/themes/default/ mv app/assets/javascripts app/themes/default/ mv app/assets/stylesheets app/themes/default/

echo "Dresser.config.default_theme = 'default' > config/initializers/dresser.rb"

TODO: Add generator for this.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request