ghazel-googlecharts 1.4.0.4 → 1.4.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/gchart.rb +1 -1
  2. data/lib/gchart/version.rb +1 -1
  3. metadata +4 -2
data/lib/gchart.rb CHANGED
@@ -407,7 +407,7 @@ class Gchart
407
407
  end
408
408
  labels_arr.map! do |index,labels|
409
409
  if labels.is_a?(Array)
410
- "#{index}:|#{labels.to_a.join('|')}"
410
+ "#{index}:|#{labels.map{|label| "#{CGI::escape(label)}"}.join('|')}"
411
411
  else
412
412
  "#{index}:|#{labels}"
413
413
  end
@@ -3,7 +3,7 @@ module GchartInfo #:nodoc:
3
3
  MAJOR = 1
4
4
  MINOR = 4
5
5
  TINY = 0
6
- MICRO = 4
6
+ MICRO = 5
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY].join('.')
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ghazel-googlecharts
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0.4
4
+ version: 1.4.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Aimonetti
@@ -48,6 +48,8 @@ files:
48
48
  - website/index.txt
49
49
  has_rdoc: true
50
50
  homepage: http://googlecharts.rubyforge.org
51
+ licenses: []
52
+
51
53
  post_install_message:
52
54
  rdoc_options:
53
55
  - --main
@@ -69,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
71
  requirements: []
70
72
 
71
73
  rubyforge_project: googlecharts
72
- rubygems_version: 1.2.0
74
+ rubygems_version: 1.3.5
73
75
  signing_key:
74
76
  specification_version: 2
75
77
  summary: Sexy Charts using Google API & Ruby