<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>lib/google_chart/map_chart.rb</filename>
    </added>
    <added>
      <filename>scripts/iso3166_en_code_lists.txt</filename>
    </added>
    <added>
      <filename>scripts/process_country_codes.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,9 +1,10 @@
 Gem::Specification.new do |s|
+  require 'rake'
   s.name = &quot;gchartrb&quot;
-  s.version = &quot;0.9&quot;
+  s.version = &quot;0.9.1&quot;
   s.authors = [&quot;Deepak Jois&quot;]
   s.email = &quot;deepak.jois@gmail.com&quot;
-  s.date = &quot;2008-05-25&quot;
+  s.date = &quot;2008-06-16&quot;
   s.homepage = &quot;http://code.google.com/p/gchartrb&quot;
   s.summary = &quot;Ruby Wrapper for the Google Chart API&quot;
   s.description = &quot;gchartrb is a Ruby wrapper around the Google Chart API, located at http://code.google.com/apis/chart/. Visit http://code.google.com/p/gchartrb to track development regarding gchartrb.&quot;
@@ -11,7 +12,7 @@ Gem::Specification.new do |s|
   s.has_rdoc = true
   s.extra_rdoc_files = [&quot;History.txt&quot;, &quot;Manifest.txt&quot;, &quot;README.txt&quot;]
   s.rdoc_options = [&quot;--main&quot;, &quot;README.txt&quot;]
-  s.files = [&quot;CREDITS&quot;, &quot;History.txt&quot;, &quot;Manifest.txt&quot;, &quot;README.txt&quot;, &quot;Rakefile&quot;, &quot;TODO&quot;, &quot;gchartrb.gemspec&quot;, &quot;lib/core_ext.rb&quot;, &quot;lib/example.rb&quot;, &quot;lib/gchartrb.rb&quot;, &quot;lib/google_chart.rb&quot;, &quot;lib/google_chart/bar_chart.rb&quot;, &quot;lib/google_chart/base.rb&quot;, &quot;lib/google_chart/line_chart.rb&quot;, &quot;lib/google_chart/linexy_chart.rb&quot;, &quot;lib/google_chart/modules/axis.rb&quot;, &quot;lib/google_chart/modules/color.rb&quot;, &quot;lib/google_chart/modules/data_array.rb&quot;, &quot;lib/google_chart/modules/fills.rb&quot;, &quot;lib/google_chart/modules/grid.rb&quot;, &quot;lib/google_chart/modules/label.rb&quot;, &quot;lib/google_chart/modules/legend.rb&quot;, &quot;lib/google_chart/modules/markers.rb&quot;, &quot;lib/google_chart/pie_chart.rb&quot;, &quot;lib/google_chart/radar_chart.rb&quot;, &quot;lib/google_chart/scatter_plot.rb&quot;, &quot;lib/google_chart/sparkline_chart.rb&quot;, &quot;lib/google_chart/venn_diagram.rb&quot;, &quot;lib/test.rb&quot;, &quot;spec/gchartrb/axis_spec.rb&quot;, &quot;spec/gchartrb/bar_chart_spec.rb&quot;, &quot;spec/gchartrb/fills_spec.rb&quot;, &quot;spec/gchartrb/grid_spec.rb&quot;, &quot;spec/gchartrb/line_chart_spec.rb&quot;, &quot;spec/gchartrb/linexy_chart_spec.rb&quot;, &quot;spec/gchartrb/markers_spec.rb&quot;, &quot;spec/gchartrb/pie_chart_spec.rb&quot;, &quot;spec/gchartrb/radar_chart_spec.rb&quot;, &quot;spec/gchartrb/scatter_plot_spec.rb&quot;, &quot;spec/gchartrb/sparkline_chart_spec.rb&quot;, &quot;spec/gchartrb/venn_diagram_spec.rb&quot;, &quot;spec/gchartrb_spec.rb&quot;, &quot;spec/helper.rb&quot;, &quot;spec/spec.opts&quot;]
+  s.files = [&quot;CREDITS&quot;, &quot;History.txt&quot;, &quot;Manifest.txt&quot;, &quot;README.txt&quot;, &quot;Rakefile&quot;, &quot;TODO&quot;, &quot;gchartrb.gemspec&quot; ] + FileList[&quot;{lib,spec}/**/*&quot;].to_a
   s.require_paths = [&quot;lib&quot;]
   s.rubyforge_project = &quot;gchartrb&quot;
   s.rubygems_version = &quot;1.1.1&quot;</diff>
      <filename>gchartrb.gemspec</filename>
    </modified>
    <modified>
      <diff>@@ -3,7 +3,7 @@ require File.dirname(__FILE__) + &quot;/core_ext&quot;
     require File.dirname(__FILE__) + &quot;/google_chart/modules/#{mod}&quot;
 end
 
-%w(base line_chart linexy_chart sparkline_chart scatter_plot bar_chart radar_chart venn_diagram pie_chart).each do |type|
+%w(base line_chart linexy_chart sparkline_chart scatter_plot bar_chart radar_chart venn_diagram pie_chart map_chart).each do |type|
     require File.dirname(__FILE__) + &quot;/google_chart/#{type}&quot;
 end
 </diff>
      <filename>lib/google_chart.rb</filename>
    </modified>
    <modified>
      <diff>@@ -51,9 +51,10 @@ module GoogleChart
     end
 
     # Sets the chart's width, in pixels. Raises +ArgumentError+
-    # if +width+ is less than 1 or greater than 1,000.
+    # if +width+ is less than 1 or greater than 1,000 (440 for maps).
     def width=(width)
-      if width.nil? || width &lt; 1 || width &gt; 1_000
+      width_max = @chart_type == 't' ? 440 : 1_000
+      if width.nil? || width &lt; 1 || width &gt; width_max
         raise ArgumentError, &quot;Invalid width: #{width.inspect}&quot;
       end
 
@@ -61,9 +62,10 @@ module GoogleChart
     end
 
     # Sets the chart's height, in pixels. Raises +ArgumentError+
-    # if +height+ is less than 1 or greater than 1,000.
+    # if +height+ is less than 1 or greater than 1,000 (220 for maps).
     def height=(height)
-      if height.nil? || height &lt; 1 || height &gt; 1_000
+      height_max = @chart_type == 't' ? 220 : 1_000
+      if height.nil? || height &lt; 1 || height &gt; height_max
         raise ArgumentError, &quot;Invalid height: #{height.inspect}&quot;
       end
 
@@ -105,6 +107,7 @@ module GoogleChart
       add_grid    if @grid
       add_markers if @markers
       add_bar_width_and_spacing if respond_to?(:add_bar_width_and_spacing)
+      add_map_parameters if respond_to?(:add_map_parameters)
       return @params
     end
 </diff>
      <filename>lib/google_chart/base.rb</filename>
    </modified>
    <modified>
      <diff>@@ -6,7 +6,7 @@ module GoogleChart
       mod.send(:extend,ClassMethods)
     end
 
-    def data(legend,series, color = nil)
+    def data(legend, series, color = nil)
       raise ArgumentError.new(&quot;Invalid value for series data&quot;) unless series.send(self.class.get_data_type)
       @data &lt;&lt; series
       legend(legend)</diff>
      <filename>lib/google_chart/modules/data_array.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,5 @@
 require 'gchartrb'
-
+=begin
 # Pie Chart
 GoogleChart::PieChart.new do |pc|
   pc.data &quot;Apples&quot;, 40
@@ -187,6 +187,30 @@ GoogleChart::SparklineChart.new do |sp|
   puts &quot;\nSparklines&quot;
   puts sp.to_url
 end
+=end
+
+# Maps.
+mc = GoogleChart::MapChart.new do |chart|
+  chart.title = &quot;Hospital Procedural Compliance Nationally&quot;
+  chart.title_color = '000000'
+  chart.title_font_size = 18
+  
+  chart.width = 440
+  chart.height = 220
+  chart.geographical_area = :usa
+  
+  chart.data :NY, 100
+  chart.data :TX, 50
+  chart.data :CA, 25
+  
+  chart.default_color = 'FFFFFF'
+  chart.gradient = [ 'FF0000', '00FF00', '0000FF' ]
+  
+  chart.fill(:solid, :color =&gt; 'EAF7FE')
+  
+  puts &quot;\nMap Chart&quot;
+  puts chart.to_url
+end
 
 __END__
 # Line Style</diff>
      <filename>lib/test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>26ba8ea45a828be70c59c1a1a56acb586fe35eed</id>
    </parent>
  </parents>
  <author>
    <name>gregoryfoster</name>
    <email>gf-tech@entersection.org</email>
  </author>
  <url>http://github.com/deepakjois/gchartrb/commit/367694f4c4c0df6b7fbd42347e27f0241c4684a4</url>
  <id>367694f4c4c0df6b7fbd42347e27f0241c4684a4</id>
  <committed-date>2008-06-22T20:11:56-07:00</committed-date>
  <authored-date>2008-06-22T20:11:56-07:00</authored-date>
  <message>Adding support for Google's map chart type.</message>
  <tree>93468ce36d3e04cfa84868503be6a2be7822c15c</tree>
  <committer>
    <name>gregoryfoster</name>
    <email>gf-tech@entersection.org</email>
  </committer>
</commit>
