googlecharts 1.0.0 → 1.1.0

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.
data.tar.gz.sig CHANGED
@@ -1 +1,3 @@
1
- ^DCEi��k���4����p1������Tќ��%cha�UnˉN$o�i�Aj��oWq!�e1��-�Y#@�
1
+ �@������A܌��)g��Ot��dH{ɧ����t
2
+ �3F�=�CՇz�"n
3
+ ����i}S6�:�����]��sq�SP�� I1P��$f�?U��G��qW'��:��8���گ�o���d� ��`�C��\��,us�=K��?���s���!�
@@ -1,3 +1,5 @@
1
+ == 1.1.0
2
+ * fixed another bug fix related to the uri escaping required to download the file properly.
1
3
  == 1.0.0
2
4
  * fixed the (URI::InvalidURIError) issue
3
5
  == 0.2.0
@@ -8,7 +8,7 @@ class Gchart
8
8
  include GchartInfo
9
9
 
10
10
  @@url = "http://chart.apis.google.com/chart?"
11
- @@types = ['line', 'line_xy', 'scatter', 'bar', 'venn', 'pie', 'pie_3d']
11
+ @@types = ['line', 'line_xy', 'scatter', 'bar', 'venn', 'pie', 'pie_3d', 'jstize']
12
12
  @@simple_chars = ('A'..'Z').to_a + ('a'..'z').to_a + ('0'..'9').to_a
13
13
  @@chars = @@simple_chars + ['-', '.']
14
14
  @@ext_pairs = @@chars.map { |char_1| @@chars.map { |char_2| char_1 + char_2 } }.flatten
@@ -103,7 +103,7 @@ class Gchart
103
103
  end
104
104
 
105
105
  def self.jstize(string)
106
- string.gsub(' ', '+').gsub(/\[|\{|\}|\||\\|\^|\[|\]|\`|\]/) {|c| c[0].to_s(16).upcase}
106
+ string.gsub(' ', '+').gsub(/\[|\{|\}|\||\\|\^|\[|\]|\`|\]/) {|c| "%#{c[0].to_s(16).upcase}"}
107
107
  end
108
108
  # load all the custom aliases
109
109
  require 'gchart/aliases'
@@ -1,7 +1,7 @@
1
1
  module GchartInfo #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 1
4
- MINOR = 0
4
+ MINOR = 1
5
5
  TINY = 0
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
@@ -33,7 +33,7 @@
33
33
  <h1>Googlecharts</h1>
34
34
  <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/googlecharts"; return false'>
35
35
  <p>Get Version</p>
36
- <a href="http://rubyforge.org/projects/googlecharts" class="numbers">1.0.0</a>
36
+ <a href="http://rubyforge.org/projects/googlecharts" class="numbers">1.1.0</a>
37
37
  </div>
38
38
  <h2>&#x2192; &#8216;Sexy Charts using Google <span class="caps">API</span> &#38; Ruby&#8217;</h2>
39
39
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: googlecharts
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Aimonetti
@@ -30,7 +30,7 @@ cert_chain:
30
30
  ZR7qHIpykzr3ezcNiWtBWw==
31
31
  -----END CERTIFICATE-----
32
32
 
33
- date: 2008-02-05 00:00:00 -08:00
33
+ date: 2008-02-06 00:00:00 -08:00
34
34
  default_executable:
35
35
  dependencies: []
36
36
 
metadata.gz.sig CHANGED
Binary file