seer 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/seer.rb +6 -7
  2. metadata +3 -3
@@ -20,13 +20,12 @@ module Seer
20
20
  end
21
21
 
22
22
  def self.init_visualization
23
- %{<script type="text/javascript">
24
- (function() {
25
- var jsapi = document.createElement('script');
26
- jsapi.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'www.google.com/jsapi';
27
- document.documentElement.firstChild.appendChild(jsapi);
28
- })();
29
- </script>}
23
+ %{
24
+ <script type="text/javascript">
25
+ var jsapi = (("https:" == document.location.protocol) ? "https://" : "http://");
26
+ document.write(unescape("%3Cscript src='" + jsapi + "www.google.com/jsapi' type='text/javascript'%3E%3C/script%3E"));
27
+ </script>
28
+ }
30
29
  end
31
30
 
32
31
  def self.visualize(data, args={})
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 6
8
- - 0
9
- version: 0.6.0
8
+ - 1
9
+ version: 0.6.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Corey Ehmke / SEO Logic
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-03-26 00:00:00 -05:00
17
+ date: 2010-03-30 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency