<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,5 @@
 # Copyright (c) 2005 Tobias Luetke
-# 
+#
 # Permission is hereby granted, free of charge, to any person obtaining
 # a copy of this software and associated documentation files (the
 # &quot;Software&quot;), to deal in the Software without restriction, including
@@ -7,10 +7,10 @@
 # distribute, sublicense, and/or sell copies of the Software, and to
 # permit persons to whom the Software is furnished to do so, subject to
 # the following conditions:
-# 
+#
 # The above copyright notice and this permission notice shall be
 # included in all copies or substantial portions of the Software.
-# 
+#
 # THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND,
 # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
@@ -55,14 +55,6 @@ require 'liquid/standardfilters'
 require 'liquid/condition'
 require 'liquid/module_ex'
 
-# Load all the tags of the standard library 
+# Load all the tags of the standard library
 #
 Dir[File.dirname(__FILE__) + '/liquid/tags/*.rb'].each { |f| require f }
-
-
-
-
-
-
-
-</diff>
      <filename>lib/liquid.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,5 @@
 module Liquid
-  
+
   # Holds variables. Variables are only loaded &quot;just in time&quot;
   # and are not evaluated as part of the render stage
   #
@@ -10,30 +10,30 @@ module Liquid
   #
   #   {{ user | link }}
   #
-  class Variable    
+  class Variable
     attr_accessor :filters, :name
-    
+
     def initialize(markup)
-      @markup  = markup                            
+      @markup  = markup
       @name    = nil
       @filters = []
       if match = markup.match(/\s*(#{QuotedFragment})/)
         @name = match[1]
         if markup.match(/#{FilterSperator}\s*(.*)/)
           filters = Regexp.last_match(1).split(/#{FilterSperator}/)
-        
-          filters.each do |f|    
+
+          filters.each do |f|
             if matches = f.match(/\s*(\w+)/)
               filtername = matches[1]
-              filterargs = f.scan(/(?:#{FilterArgumentSeparator}|#{ArgumentSeparator})\s*(#{QuotedFragment})/).flatten            
+              filterargs = f.scan(/(?:#{FilterArgumentSeparator}|#{ArgumentSeparator})\s*(#{QuotedFragment})/).flatten
               @filters &lt;&lt; [filtername.to_sym, filterargs]
             end
           end
         end
       end
-    end                        
+    end
 
-    def render(context)      
+    def render(context)
       return '' if @name.nil?
       output = context[@name]
       @filters.inject(output) do |output, filter|
@@ -45,7 +45,7 @@ module Liquid
         rescue FilterNotFound
           raise FilterNotFound, &quot;Error - filter '#{filter[0]}' in '#{@markup.strip}' could not be found.&quot;
         end
-      end  
+      end
       output
     end
   end</diff>
      <filename>lib/liquid/variable.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,12 +1,11 @@
 #!/usr/bin/env ruby
 require File.dirname(__FILE__) + '/helper'
 
-
 module MoneyFilter
   def money(input)
     sprintf(' %d$ ', input)
   end
-  
+
   def money_with_underscore(input)
     sprintf(' %d$ ', input)
   end
@@ -18,33 +17,32 @@ module CanadianMoneyFilter
   end
 end
 
-
 class FiltersTest &lt; Test::Unit::TestCase
   include Liquid
-  
+
   def setup
     @context = Context.new
   end
-    
-  def test_local_filter    
+
+  def test_local_filter
     @context['var'] = 1000
     @context.add_filters(MoneyFilter)
     assert_equal ' 1000$ ', Variable.new(&quot;var | money&quot;).render(@context)
-  end  
-  
+  end
+
   def test_underscore_in_filter_name
     @context['var'] = 1000
     @context.add_filters(MoneyFilter)
     assert_equal ' 1000$ ', Variable.new(&quot;var | money_with_underscore&quot;).render(@context)
   end
 
-  def test_second_filter_overwrites_first    
+  def test_second_filter_overwrites_first
     @context['var'] = 1000
     @context.add_filters(MoneyFilter)
-    @context.add_filters(CanadianMoneyFilter)  
-    assert_equal ' 1000$ CAD ', Variable.new(&quot;var | money&quot;).render(@context)    
+    @context.add_filters(CanadianMoneyFilter)
+    assert_equal ' 1000$ CAD ', Variable.new(&quot;var | money&quot;).render(@context)
   end
-  
+
   def test_size
     @context['var'] = 'abcd'
     @context.add_filters(MoneyFilter)
@@ -53,7 +51,7 @@ class FiltersTest &lt; Test::Unit::TestCase
 
   def test_join
     @context['var'] = [1,2,3,4]
-    assert_equal &quot;1 2 3 4&quot;, Variable.new(&quot;var | join&quot;).render(@context)    
+    assert_equal &quot;1 2 3 4&quot;, Variable.new(&quot;var | join&quot;).render(@context)
   end
 
   def test_sort
@@ -67,15 +65,15 @@ class FiltersTest &lt; Test::Unit::TestCase
     assert_equal [3], Variable.new(&quot;value | sort&quot;).render(@context)
     assert_equal ['are', 'flattened'], Variable.new(&quot;arrays | sort&quot;).render(@context)
   end
-  
+
   def test_strip_html
     @context['var'] = &quot;&lt;b&gt;bla blub&lt;/a&gt;&quot;
-    assert_equal &quot;bla blub&quot;, Variable.new(&quot;var | strip_html&quot;).render(@context)    
+    assert_equal &quot;bla blub&quot;, Variable.new(&quot;var | strip_html&quot;).render(@context)
   end
 
   def test_capitalize
     @context['var'] = &quot;blub&quot;
-    assert_equal &quot;Blub&quot;, Variable.new(&quot;var | capitalize&quot;).render(@context)    
+    assert_equal &quot;Blub&quot;, Variable.new(&quot;var | capitalize&quot;).render(@context)
   end
 end
 
@@ -84,15 +82,14 @@ class FiltersInTemplate &lt; Test::Unit::TestCase
 
   def test_local_global
     Template.register_filter(MoneyFilter)
-    
+
     assert_equal &quot; 1000$ &quot;, Template.parse(&quot;{{1000 | money}}&quot;).render(nil, nil)
     assert_equal &quot; 1000$ CAD &quot;, Template.parse(&quot;{{1000 | money}}&quot;).render(nil, :filters =&gt; CanadianMoneyFilter)
     assert_equal &quot; 1000$ CAD &quot;, Template.parse(&quot;{{1000 | money}}&quot;).render(nil, :filters =&gt; [CanadianMoneyFilter])
   end
-  
+
   def test_local_filter_with_deprecated_syntax
     assert_equal &quot; 1000$ CAD &quot;, Template.parse(&quot;{{1000 | money}}&quot;).render(nil, CanadianMoneyFilter)
     assert_equal &quot; 1000$ CAD &quot;, Template.parse(&quot;{{1000 | money}}&quot;).render(nil, [CanadianMoneyFilter])
   end
-  
 end</diff>
      <filename>test/filter_test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -8,7 +8,7 @@ class VariableTest &lt; Test::Unit::TestCase
     var = Variable.new('hello')
     assert_equal 'hello', var.name
   end
-  
+
   def test_filters
     var = Variable.new('hello | textileze')
     assert_equal 'hello', var.name
@@ -25,15 +25,15 @@ class VariableTest &lt; Test::Unit::TestCase
     var = Variable.new(%! 'typo' | link_to: 'Typo', true !)
     assert_equal %!'typo'!, var.name
     assert_equal [[:link_to,[&quot;'Typo'&quot;, &quot;true&quot;]]], var.filters
-    
+
     var = Variable.new(%! 'typo' | link_to: 'Typo', false !)
     assert_equal %!'typo'!, var.name
     assert_equal [[:link_to,[&quot;'Typo'&quot;, &quot;false&quot;]]], var.filters
-    
+
     var = Variable.new(%! 'foo' | repeat: 3 !)
     assert_equal %!'foo'!, var.name
     assert_equal [[:repeat,[&quot;3&quot;]]], var.filters
-    
+
     var = Variable.new(%! 'foo' | repeat: 3, 3 !)
     assert_equal %!'foo'!, var.name
     assert_equal [[:repeat,[&quot;3&quot;,&quot;3&quot;]]], var.filters
@@ -45,20 +45,20 @@ class VariableTest &lt; Test::Unit::TestCase
     var = Variable.new(%! hello | strftime: '%Y, okay?'!)
     assert_equal 'hello', var.name
     assert_equal [[:strftime,[&quot;'%Y, okay?'&quot;]]], var.filters
-  
+
     var = Variable.new(%! hello | things: &quot;%Y, okay?&quot;, 'the other one'!)
     assert_equal 'hello', var.name
     assert_equal [[:things,[&quot;\&quot;%Y, okay?\&quot;&quot;,&quot;'the other one'&quot;]]], var.filters
   end
-  
+
   def test_filter_with_date_parameter
 
     var = Variable.new(%! '2006-06-06' | date: &quot;%m/%d/%Y&quot;!)
     assert_equal &quot;'2006-06-06'&quot;, var.name
     assert_equal [[:date,[&quot;\&quot;%m/%d/%Y\&quot;&quot;]]], var.filters
-    
+
   end
-  
+
   def test_filters_without_whitespace
     var = Variable.new('hello | textileze | paragraph')
     assert_equal 'hello', var.name
@@ -68,11 +68,11 @@ class VariableTest &lt; Test::Unit::TestCase
     assert_equal 'hello', var.name
     assert_equal [[:textileze,[]], [:paragraph,[]]], var.filters
   end
-  
+
   def test_symbol
     var = Variable.new(&quot;http://disney.com/logo.gif | image: 'med' &quot;)
     assert_equal 'http://disney.com/logo.gif', var.name
-    assert_equal [[:image,[&quot;'med'&quot;]]], var.filters    
+    assert_equal [[:image,[&quot;'med'&quot;]]], var.filters
   end
 
   def test_string_single_quoted
@@ -84,7 +84,7 @@ class VariableTest &lt; Test::Unit::TestCase
     var = Variable.new(%| 'hello' |)
     assert_equal &quot;'hello'&quot;, var.name
   end
-  
+
   def test_integer
     var = Variable.new(%| 1000 |)
     assert_equal &quot;1000&quot;, var.name
@@ -94,7 +94,7 @@ class VariableTest &lt; Test::Unit::TestCase
     var = Variable.new(%| 1000.01 |)
     assert_equal &quot;1000.01&quot;, var.name
   end
-  
+
   def test_string_with_special_chars
     var = Variable.new(%| 'hello! $!@.;&quot;ddasd&quot; ' |)
     assert_equal %|'hello! $!@.;&quot;ddasd&quot; '|, var.name
@@ -109,14 +109,14 @@ end
 
 class VariableResolutionTest &lt; Test::Unit::TestCase
   include Liquid
-  
-  def test_simple_variable    
+
+  def test_simple_variable
     template = Template.parse(%|{{test}}|)
     assert_equal 'worked', template.render('test' =&gt; 'worked')
     assert_equal 'worked wonderfully', template.render('test' =&gt; 'worked wonderfully')
   end
 
-  def test_simple_with_whitespaces    
+  def test_simple_with_whitespaces
     template = Template.parse(%|  {{ test }}  |)
     assert_equal '  worked  ', template.render('test' =&gt; 'worked')
     assert_equal '  worked wonderfully  ', template.render('test' =&gt; 'worked wonderfully')</diff>
      <filename>test/variable_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>7acdac2a1c771c92fb04fd208d11dae5aa7054dc</id>
    </parent>
  </parents>
  <author>
    <name>Mark H. Wilkinson</name>
    <email>mhw@dangerous-techniques.com</email>
  </author>
  <url>http://github.com/tobi/liquid/commit/7eeb8951924fbb3692afd4c3b203082f01718372</url>
  <id>7eeb8951924fbb3692afd4c3b203082f01718372</id>
  <committed-date>2008-08-18T12:32:30-07:00</committed-date>
  <authored-date>2008-08-12T10:17:47-07:00</authored-date>
  <message>Remove trailing whitespace.</message>
  <tree>e0d3d6d3a50ebd63ae78edbaafdcfa2748d2d8ad</tree>
  <committer>
    <name>Mark H. Wilkinson</name>
    <email>mhw@dangerous-techniques.com</email>
  </committer>
</commit>
