Skip to content
Commits on Apr 13, 2014
Commits on Jan 1, 2013
Commits on Dec 28, 2012
  1. Fix bug with ruby option splitting

    committed Dec 28, 2012
    If there was interpolation in the line, the split wouldn't work, because
    the search for {} would find something and stop there. The newly
    introduced SearchSkip function is now used to skip a few syntax groups
    in searching in order to avoid the issue.
Commits on Oct 24, 2012
  1. Fix some complicated +/-1 mismatches

    committed Oct 24, 2012
    Apparently, this used to work slightly magically. The code grabbed one
    character after (or before, I forgot) what it was supposed to get, so
    the rest of the code somehow compensated.
    
    It should work less magically now.
Commits on Oct 19, 2012
  1. Joining ruby heredocs

    committed Oct 19, 2012
Commits on Sep 23, 2012
Commits on Oct 17, 2011
Commits on Aug 18, 2011
Commits on Aug 1, 2011
  1. Documentation updates

    committed Aug 1, 2011
Commits on Jul 13, 2011
  1. More hacky joining for ruby hashes without braces

    committed Jul 13, 2011
    This should enable joining when there are round braces as well.
Commits on Jun 30, 2011
Commits on Jun 21, 2011
  1. Merge branch 'normalize-whitespace'

    committed Jun 21, 2011
    Conflicts:
    	examples/test.rb
Commits on Jun 20, 2011
  1. Optional whitespace normalization

    committed Jun 20, 2011
    Turned off by default.
    
    Need to write documentation.
Commits on Jun 18, 2011
Commits on Jun 14, 2011
Commits on Jun 13, 2011
  1. Fix for ruby block splitting

    committed Jun 13, 2011
    Didn't work properly when containing nested curly braces (hashes).
Commits on Jun 2, 2011
  1. Fix eruby priority

    committed Jun 2, 2011
Commits on Apr 22, 2011
  1. Ruby caching constructs

    committed Apr 22, 2011
Commits on Apr 16, 2011
  1. Removed a couple of wrong examples

    committed Apr 16, 2011
    Turns out they weren't even syntactically valid. Should've checked, I
    suppose...
Commits on Apr 11, 2011
  1. Splitting ruby/erb option hashes within round braces

    committed Apr 11, 2011
    This didn't work before, but does now:
    
        mail(:to => 'foo@bar.com')
Commits on Apr 10, 2011
  1. Fix for multibyte characters in line

    committed Apr 11, 2011
    Take a look at "examples/test.rb" for a few examples that didn't work.
  2. Split eruby option clauses

    committed Apr 10, 2011
    Using the same function as for ruby, with a slight tweak.
Commits on Apr 8, 2011
  1. Ruby option patterns again

    committed Apr 8, 2011
    This time things should be running smoothly, the only problems left are
    the complicated nested hashes. Still, for the moment, this will be
    useful to me as it is.
Commits on Mar 27, 2011
  1. Add while/until loops to if/unless splitting and joining

    committed Mar 27, 2011
    Not a whole lot of work anyway, and actually seems to be useful
    sometimes.
Commits on Mar 26, 2011
  1. More work on splitting hash patterns, incomplete

    committed Mar 26, 2011
    Almost there, hash patterns with braces seem to mostly work, just need
    to think more carefully about braceless ones.
Commits on Mar 20, 2011
  1. Option hashes almost working

    committed Mar 20, 2011
    Managed to get end-of-argument-list ruby option hashes to split
    properly, at least for simple cases. There are two main issues there:
    
    1. Proper joining seems pretty much impossible -- you can't tell if
       you're joining a regular hash or a hash that's a last parameter to a
       function in order to remove the curly brackets. At least I can't see
       a way at the very moment...
    2. If there are no arguments before the options list, it's not detected.
       The regular expression depends on having a "," before the first
       option.
    3. It doesn't work if you have more than one hash in the argument list.
       This one's a big problem.
    
    Will probably need to do something better than regular expressions in
    this case.
Commits on Mar 15, 2011
  1. If/unless joining works for multiple lines

    committed Mar 15, 2011
    Not very useful, since you'd rarely want to join a clause that has more
    than one line, so might revert it later on.
Commits on Mar 13, 2011
  1. Splitting and joining hashes in erb

    committed Mar 13, 2011
    Turns out the same code that works for ruby, should work just fine for
    erb as well.
Commits on Mar 11, 2011
  1. Splitting and joining ruby hashes

    committed Mar 11, 2011
    Switch between:
    
        { :foo => 'bar', :baz => 'qux' }
    
    And:
    
        {
          :foo => 'bar',
          :baz => 'qux'
        }
Something went wrong with that request. Please try again.