livingsocial/rake-pipeline — pull request #11 by dudleyf (2011-11-25 19:41:46+00:00)
Title: Filter parameters

In writing a Tilt filter class, I realized I wanted to be able to parameterize a filter. These commits change the Filter class so it no longer takes the file_wrapper_class as a parameter (but allows setting it after the fact), and changes DSL#filter to pass extra arguments on to the constructor when creating a filter instance. This way Filter subclasses can take whatever arguments they like.