<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>vendor/open_flash_chart_lazy/History.txt</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -11,6 +11,7 @@ Inline suport is limiter to only one graph due to the swf callbacks not availabl
 
 h2. Todo
 
+* Universal Rails-Sinatra-Merb compatible
 * More doc
 * Support for other graphs
 * Label annotation for pies
@@ -24,8 +25,20 @@ h2. Known issues
 * Not support for 2 graphs inline yet.
 * Inline graph not compatible with prototype.js
 
+h2. Dependencies
+
+Install this gems before.
+
+Mhash
+&lt;pre&gt;&lt;code&gt;
+  gem sources -a http://gems.github.com
+  sudo gem install peterpunk-mhash
+&lt;/pre&gt;&lt;/code&gt;
+
 h2. Install
 
+h3. Rails
+
 &lt;pre&gt;&lt;code&gt;
 cd vendor/plugins
 git clone git://github.com/peterpunk/open_flash_chart_lazy.git
@@ -34,13 +47,22 @@ cd ..
 rake open_flash_chart_lazy:install
 &lt;/pre&gt;&lt;/code&gt;
 
+h3. Sinatra
+
+&lt;pre&gt;&lt;code&gt;
+cd vendor
+git clone git://github.com/peterpunk/open_flash_chart_lazy.git
+cd ..
+rake open_flash_chart_lazy:install (no tested)
+&lt;/pre&gt;&lt;/code&gt;
+
 h2. Uninstall
 
 &lt;pre&gt;&lt;code&gt;
 rake open_flash_chart_lazy:remove
 &lt;/pre&gt;&lt;/code&gt;
 
-h2. Examples
+h2. Examples for Rails
 
 h3. With remote data
 </diff>
      <filename>vendor/open_flash_chart_lazy/README.textile</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,4 @@
-require 'mash'
+require 'mhash'
 require 'json'
 require 'date'
 require File.join(File.dirname(__FILE__),'open_flash_chart_lazy/open_flash_chart_lazy')</diff>
      <filename>vendor/open_flash_chart_lazy/lib/open_flash_chart_lazy.rb</filename>
    </modified>
    <modified>
      <diff>@@ -11,7 +11,7 @@ module OpenFlashChartLazy
     attr_accessor :max
     attr_accessor :min
     attr_accessor :steps
-    def initialize(data,options=Mash.new)
+    def initialize(data,options=Mhash.new)
       @data = data
       # the labels
       @labels = []
@@ -23,7 +23,7 @@ module OpenFlashChartLazy
       #default options
       @steps = 1
       @options = {:date_label_formatter=&gt;&quot;%b %Y&quot;,:date_key_formatter=&gt;&quot;%Y-%m&quot;,:title=&gt;&quot;Untitled&quot;}
-      if @data.is_a?(Hash) or @data.is_a?(Mash)
+      if @data.is_a?(Hash) or @data.is_a?(Mhash)
         @items = data.length
       else
         @options.merge!({:items =&gt; data.length})
@@ -48,7 +48,7 @@ module OpenFlashChartLazy
           period = Time.mktime(new_period.year,new_period.month,new_period.day)
           @labels[i] = period.strftime(@options[:date_label_formatter])
           @keys[i] = period.strftime(@options[:date_key_formatter])
-        elsif @data.is_a?(Hash) or @data.is_a?(Mash)
+        elsif @data.is_a?(Hash) or @data.is_a?(Mhash)
           @labels[i] = &quot;#{@data.keys[i]}&quot;
           @keys[i] = @data.keys[i]
         elsif @data.is_a?(Array)
@@ -90,20 +90,20 @@ module OpenFlashChartLazy
               @values[i]=data
             end
           end
-        when &quot;Hash&quot;,&quot;Mash&quot;
+        when &quot;Hash&quot;,&quot;Mhash&quot;
           @values = @data.values
         end
       end
     end
   end
 
-  class Graph &lt; Mash
+  class Graph &lt; Mhash
     def initialize(title=&quot;Untitled&quot;)
-      super(  :x_axis=&gt;Mash.new({:labels =&gt; []}),
-              :y_axis=&gt;Mash.new,
+      super(  :x_axis=&gt;Mhash.new({:labels =&gt; []}),
+              :y_axis=&gt;Mhash.new,
               :series=&gt;[],
               :elements=&gt;[],
-              :title =&gt; Mash.new(:text=&gt;title)
+              :title =&gt; Mhash.new(:text=&gt;title)
               )
     end
   end
@@ -113,12 +113,12 @@ module OpenFlashChartLazy
     LINE_COLORS = %w{#33ff33 #ff33ff #dd00ee}
     EXCLUDED_ATTRIBUTES = %w{series}
   
-    def add_serie(serie,options=Mash.new)
+    def add_serie(serie,options=Mhash.new)
       self.elements &lt;&lt; {:type=&gt;&quot;bar&quot;,:text=&gt;serie.title}
       self.elements.last.merge!(options)
       self.series &lt;&lt; serie
       self.elements.last[:values] = serie.values
-      self.x_axis[:labels] = Mash.new({:labels =&gt; self.series.last.labels })
+      self.x_axis[:labels] = Mhash.new({:labels =&gt; self.series.last.labels })
     end
     def to_graph_json
       self.to_json(:except=&gt;EXCLUDED_ATTRIBUTES)
@@ -130,12 +130,12 @@ module OpenFlashChartLazy
     LINE_COLORS = %w{#33ff33 #ff33ff #dd00ee}
     EXCLUDED_ATTRIBUTES = %w{series}
   
-    def add_serie(serie,options=Mash.new)
-      self.elements &lt;&lt; Mash.new({:type=&gt;&quot;bar_3d&quot;,:text=&gt;serie.title})
+    def add_serie(serie,options=Mhash.new)
+      self.elements &lt;&lt; Mhash.new({:type=&gt;&quot;bar_3d&quot;,:text=&gt;serie.title})
       self.elements.last.merge!(options)
       self.series &lt;&lt; serie
       self.elements.last[:values] = serie.values
-      self.x_axis.labels = Mash.new({&quot;3d&quot;=&gt;10,:colour=&gt;&quot;#909090&quot;,:labels =&gt; self.series.last.labels })
+      self.x_axis.labels = Mhash.new({&quot;3d&quot;=&gt;10,:colour=&gt;&quot;#909090&quot;,:labels =&gt; self.series.last.labels })
     end
     def to_graph_json
       self.to_json(:except=&gt;EXCLUDED_ATTRIBUTES)
@@ -149,11 +149,11 @@ module OpenFlashChartLazy
     LINE_COLORS = %w{#33ff33 #ff33ff #dd00ee}
     def initialize(title=&quot;Untitled&quot;)
       super
-      self.y_axis = Mash.new({:min =&gt;0,:max=&gt;0,:steps=&gt;1}.merge(self.y_axis))
+      self.y_axis = Mhash.new({:min =&gt;0,:max=&gt;0,:steps=&gt;1}.merge(self.y_axis))
     end
   
-    def add_serie(serie,options=Mash.new)
-      self.elements &lt;&lt; Mash.new({:text=&gt;serie.title,:type=&gt;&quot;line_dot&quot;,:width=&gt;4,:dot_size=&gt;5})
+    def add_serie(serie,options=Mhash.new)
+      self.elements &lt;&lt; Mhash.new({:text=&gt;serie.title,:type=&gt;&quot;line_dot&quot;,:width=&gt;4,:dot_size=&gt;5})
       self.elements.last.merge!(options)
       self.series &lt;&lt; serie
       self.elements.last[:values] = serie.values
@@ -176,8 +176,8 @@ module OpenFlashChartLazy
       super
       self.x_axis = &quot;null&quot;
     end
-    def add_serie(serie,options=Mash.new)
-      self.elements &lt;&lt; Mash.new({:text=&gt;serie.title,
+    def add_serie(serie,options=Mhash.new)
+      self.elements &lt;&lt; Mhash.new({:text=&gt;serie.title,
           :type=&gt;&quot;pie&quot;,
           :border=&gt;2,
           :alpha=&gt;0.6,
@@ -188,7 +188,7 @@ module OpenFlashChartLazy
       self.elements.last[:values] = []
       self.series &lt;&lt; serie
       serie.values.each_with_index do |v,i|
-        self.elements.last[:values]&lt;&lt; Mash.new({:text =&gt; serie.labels[i], :value =&gt; v})
+        self.elements.last[:values]&lt;&lt; Mhash.new({:text =&gt; serie.labels[i], :value =&gt; v})
       end
     end
     def to_graph_json</diff>
      <filename>vendor/open_flash_chart_lazy/lib/open_flash_chart_lazy/open_flash_chart_lazy.rb</filename>
    </modified>
    <modified>
      <diff>@@ -24,11 +24,11 @@ describe OpenFlashChartLazy::Graph do
     @stats.series.should be_empty
   end
   it &quot;should respond to title and include the text&quot; do
-    @stats.title.should be_a_kind_of(Mash)
+    @stats.title.should be_a_kind_of(Mhash)
     @stats.title[:text].should == &quot;Titulo del grafico&quot;
   end
   it &quot;should know the x axis&quot; do
-    @stats.x_axis.should be_a_kind_of(Mash)
+    @stats.x_axis.should be_a_kind_of(Mhash)
   end
 end
 describe OpenFlashChartLazy::Pie do
@@ -41,7 +41,7 @@ describe OpenFlashChartLazy::Pie do
       @stats.series.should be_empty
     end
     it &quot;should respond to title and include the text&quot; do
-      @stats.title.should be_a_kind_of(Mash)
+      @stats.title.should be_a_kind_of(Mhash)
       @stats.title[:text].should == &quot;Titulo del grafico&quot;
     end
   end
@@ -142,7 +142,7 @@ describe OpenFlashChartLazy::Line do
       @stats.elements.length.should == 1
     end
     it &quot;should be a hash added as element&quot; do
-      @stats.elements[0].should be_a_kind_of(Mash)
+      @stats.elements[0].should be_a_kind_of(Mhash)
     end
     it &quot;should add the options to the elements hash&quot; do
       @stats.elements[0][:type].should == &quot;line_dot&quot;</diff>
      <filename>vendor/open_flash_chart_lazy/specs/open_flash_chart_lazy_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -10,7 +10,13 @@
 %p 
   Open Flash Chart Lazy now requires 
   %a{:href=&gt;&quot;http://rubyforge.org/projects/mash-hash/&quot;} 
-    Mash 
+    Mhash 
+  %pre&gt;&lt;
+    %code.ruby&gt;&lt;
+      - code=&quot;gem sources -a http://gems.github.com\n&quot;
+      - code &lt;&lt; &quot;sudo gem install peterpunk-mhash\n&quot;
+      =preserve(code)
+
   This is helpful to set the parameters as methods. 
 
 %p</diff>
      <filename>views/index.haml</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>98bfeaec019e52b31f23e2be83d0119e561c3574</id>
    </parent>
  </parents>
  <author>
    <name>Pedro Visintin</name>
    <email>pedro.visintin@gmail.com</email>
  </author>
  <url>http://github.com/peterpunk/open_flash_chart_lazy_samples/commit/825d644116c830710dd7a76fbb2063cf2dc07fa1</url>
  <id>825d644116c830710dd7a76fbb2063cf2dc07fa1</id>
  <committed-date>2008-09-01T07:40:51-07:00</committed-date>
  <authored-date>2008-09-01T07:40:51-07:00</authored-date>
  <message>Updated Mhash install doc</message>
  <tree>1b7d86a968f4702e9be6d87aaf7faa091042af9a</tree>
  <committer>
    <name>Pedro Visintin</name>
    <email>pedro.visintin@gmail.com</email>
  </committer>
</commit>
