anychart_xml_builder 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -4,7 +4,7 @@ require 'rake'
4
4
  begin
5
5
  require 'jeweler'
6
6
  Jeweler::Tasks.new do |gem|
7
- gem.version = "0.0.4"
7
+ gem.version = "0.0.5"
8
8
  gem.name = "anychart_xml_builder"
9
9
  gem.summary = %Q{AnyChart (http://anychart.com/home/) XML Builders}
10
10
  gem.description = %Q{This gem provides you the methods to easily generate the XML necessary for AnyChart}
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{anychart_xml_builder}
8
- s.version = "0.0.4"
8
+ s.version = "0.0.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["jduarte"]
data/lib/pie.rb CHANGED
@@ -45,7 +45,6 @@ module Anychart
45
45
  }
46
46
 
47
47
  def self.xml(options={})
48
-
49
48
  p = @@default_xml_options.merge(options)
50
49
 
51
50
  validate_options(p)
@@ -57,7 +56,7 @@ module Anychart
57
56
  }
58
57
 
59
58
  xml.charts {
60
- xml.chart(:plot_type => p[:type].to_s) {
59
+ xml.chart(:plot_type => p[:type].to_s.capitalize) {
61
60
 
62
61
  xml.data_plot_settings(:enable_3d_mode => "false") {
63
62
  xml.pie_series {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anychart_xml_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - jduarte