<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -41,7 +41,6 @@ Rails::Initializer.run do |config|
     vendor/bluecloth/lib
     vendor/flickr
     vendor/gems/coderay
-    vendor/sparklines/lib
     vendor/uuidtools/lib
     vendor/mocha/lib
     vendor/rails/railties</diff>
      <filename>config/environment.rb</filename>
    </modified>
    <modified>
      <diff>@@ -31,14 +31,6 @@ describe TextfilterController do
     @whiteboard = nil
   end
 
-  def sparklines_available
-    begin
-      Plugins::Textfilters::SparklineController
-    rescue NameError
-      false
-    end
-  end
-
   def test_unknown
     text = filter_text('*foo*',[:unknowndoesnotexist])
     assert_equal '*foo*', text
@@ -91,51 +83,6 @@ describe TextfilterController do
         { 'flickr-user' =&gt; 'scott@sigkill.org' })
   end
 
-  def test_sparkline
-    return unless sparklines_available
-
-    tag = filter_text('&lt;typo:sparkline foo=&quot;bar&quot;/&gt;',[:macropre,:macropost])
-    # url_for returns query params in hash order, which isn't stable, so we can't just compare
-    # with a static string.  Yuck.
-    assert tag =~ %r{^&lt;img  src=&quot;http://test.host/plugins/filters/sparkline/plot\?(data=|foo=bar|&amp;)+&quot;/&gt;$}
-
-    assert_equal &quot;&lt;img  title=\&quot;aaa\&quot; src=\&quot;http://test.host/plugins/filters/sparkline/plot?data=\&quot;/&gt;&quot;,
-      filter_text('&lt;typo:sparkline title=&quot;aaa&quot;/&gt;',[:macropre,:macropost])
-
-    assert_equal &quot;&lt;img  style=\&quot;bbb\&quot; src=\&quot;http://test.host/plugins/filters/sparkline/plot?data=\&quot;/&gt;&quot;,
-      filter_text('&lt;typo:sparkline style=&quot;bbb&quot;/&gt;',[:macropre,:macropost])
-
-    tag = filter_text('&lt;typo:sparkline alt=&quot;ccc&quot;/&gt;',[:macropre,:macropost])
-    assert_tag_in tag, :tag =&gt; 'img', :attributes =&gt; {
-        'alt' =&gt; 'ccc',
-        'src' =&gt; URI.parse('http://test.host/plugins/filters/sparkline/plot?data=')
-    }, :children =&gt; { :count =&gt; 0 }
-
-    tag = filter_text('&lt;typo:sparkline type=&quot;smooth&quot; data=&quot;1 2 3 4&quot;/&gt;',[:macropre,:macropost])
-    assert_tag_in tag, :tag =&gt; 'img', :attributes =&gt; {
-        'src' =&gt; URI.parse('http://test.host/plugins/filters/sparkline/plot?data=1%2C2%2C3%2C4&amp;type=smooth')
-    }, :children =&gt; { :count =&gt; 0 }
-
-    assert_equal &quot;&lt;img  src=\&quot;http://test.host/plugins/filters/sparkline/plot?data=1%2C2%2C3%2C4%2C5%2C6\&quot;/&gt;&quot;,
-      filter_text('&lt;typo:sparkline&gt;1 2 3 4 5 6&lt;/typo:sparkline&gt;',[:macropre,:macropost])
-  end
-
-  def test_sparkline_plot
-    return unless sparklines_available
-
-    get 'public_action', :filter =&gt; 'sparkline', :public_action =&gt; 'plot', :data =&gt; '1,2,3'
-    assert_response :success
-
-    get 'public_action', :filter =&gt; 'sparkline', :public_action =&gt; 'plot2', :data =&gt; '1,2,3'
-    assert_response :missing
-
-    get 'public_action', :filter =&gt; 'sparkline', :public_action =&gt; 'plot', :data =&gt; '1,2,3', :type =&gt; 'smooth'
-    assert_response :success
-
-    get 'public_action', :filter =&gt; 'sparkline', :public_action =&gt; 'plot', :data =&gt; '1,2,3', :type =&gt; 'instance_methods'
-    assert_response :error
-  end
-
   describe 'code textfilter' do
     
     describe 'single line' do</diff>
      <filename>spec/controllers/textfilter_controller_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>vendor/sparklines/README.txt</filename>
    </removed>
    <removed>
      <filename>vendor/sparklines/USAGE</filename>
    </removed>
    <removed>
      <filename>vendor/sparklines/lib/sparklines.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sparklines/samples/sparklinestest.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sparklines/sparklines_generator.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sparklines/templates/sparklines_controller.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sparklines/templates/sparklines_helper.rb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>e31bcef30dc34005d3c715d2fbd9f20a6d3a5473</id>
    </parent>
  </parents>
  <author>
    <name>Fr&#233;d&#233;ric de Villamil</name>
    <email>frederic@de-villamil.com</email>
  </author>
  <url>http://github.com/fdv/typo/commit/660ac9396f39022bbff1182c7fd246d23ee1eb05</url>
  <id>660ac9396f39022bbff1182c7fd246d23ee1eb05</id>
  <committed-date>2009-06-04T11:40:29-07:00</committed-date>
  <authored-date>2009-06-04T11:40:29-07:00</authored-date>
  <message>WTF sparkline default support in Typo ? This is crazy</message>
  <tree>f3d684605c348a352f821be808a01bff3cb7d898</tree>
  <committer>
    <name>Fr&#233;d&#233;ric de Villamil</name>
    <email>frederic@de-villamil.com</email>
  </committer>
</commit>
