thekompanee/chamber — pull request #23 by rf- (2014-05-27 22:25:45+00:00)
Title: Fix BooleanConversionFilter bug when nil value at top level

(This is a reopening of my other PR, because I needed to push another workaround to master and didn't want it included in the PR. Sorry about that.)

This fixes an issue where if the top-level config hash contains a nil,
we would break out of each_pair, causing the entire execute method to
return nil (and therefore making Chamber return nil for
`Chamber.env.data`).

This might not be the best fix -- I'm not sure what the intention of
breaking if nil was. Depending on the answer to that question, `next if
value.nil?` might be more appropriate.