CraigWilliams/BeautifyRuby — pull request #37 by JoshMcKin (2013-05-02 15:44:16+00:00)
Title: allow setting html erb file name patters

Sometimes we have html erb templates that do not have .html in the file name his pull requests allows the user to describe file their own .html.erb file extensions. Patterns added to "html_erb_patterns" are added to "file_patterns" so there is no need to redundancy.

example settings:

{
// Would you prefer a tab or two spaces to represent a tab
// The default is two spaces represented by 'space'
// anything else will use one tab character
"tab_or_space": "space",
"ruby": "~/.rvm/bin/rvm-auto-ruby",
"file_patterns": [ "\\.rb", "\\.rake", "Rakefile", "Gemfile" ],
"html_erb_patterns": [ "\\.mobile\\.erb","\\.html\\.erb"],
"run_on_save": false,
"save_on_beautify": true
}