seer 0.5.0 → 0.6.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/CONTRIBUTORS +2 -0
- data/lib/seer.rb +7 -1
- data/spec/spec_helper.rb +1 -1
- metadata +20 -9
data/CONTRIBUTORS
CHANGED
data/lib/seer.rb
CHANGED
|
@@ -20,7 +20,13 @@ module Seer
|
|
|
20
20
|
end
|
|
21
21
|
|
|
22
22
|
def self.init_visualization
|
|
23
|
-
%{<script type="text/javascript"
|
|
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>}
|
|
24
30
|
end
|
|
25
31
|
|
|
26
32
|
def self.visualize(data, args={})
|
data/spec/spec_helper.rb
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
|
2
2
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
|
3
3
|
require 'rubygems'
|
|
4
|
-
require 'actionpack'
|
|
5
4
|
require 'active_support'
|
|
5
|
+
require 'action_pack'
|
|
6
6
|
require 'spec'
|
|
7
7
|
require 'spec/autorun'
|
|
8
8
|
require 'seer'
|
metadata
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: seer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
4
|
+
prerelease: false
|
|
5
|
+
segments:
|
|
6
|
+
- 0
|
|
7
|
+
- 6
|
|
8
|
+
- 0
|
|
9
|
+
version: 0.6.0
|
|
5
10
|
platform: ruby
|
|
6
11
|
authors:
|
|
7
12
|
- Corey Ehmke / SEO Logic
|
|
@@ -9,19 +14,23 @@ autorequire:
|
|
|
9
14
|
bindir: bin
|
|
10
15
|
cert_chain: []
|
|
11
16
|
|
|
12
|
-
date: 2010-03-
|
|
17
|
+
date: 2010-03-26 00:00:00 -05:00
|
|
13
18
|
default_executable:
|
|
14
19
|
dependencies:
|
|
15
20
|
- !ruby/object:Gem::Dependency
|
|
16
21
|
name: rspec
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
prerelease: false
|
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
|
20
24
|
requirements:
|
|
21
25
|
- - ">="
|
|
22
26
|
- !ruby/object:Gem::Version
|
|
27
|
+
segments:
|
|
28
|
+
- 1
|
|
29
|
+
- 2
|
|
30
|
+
- 9
|
|
23
31
|
version: 1.2.9
|
|
24
|
-
|
|
32
|
+
type: :development
|
|
33
|
+
version_requirements: *id001
|
|
25
34
|
description: " Seer is a lightweight, semantically rich wrapper for the Google Visualization API. It allows you to easily create a visualization of data in a variety of formats, including area charts, bar charts, column charts, gauges, line charts, and pie charts."
|
|
26
35
|
email: corey@seologic.com
|
|
27
36
|
executables: []
|
|
@@ -61,18 +70,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
61
70
|
requirements:
|
|
62
71
|
- - ">="
|
|
63
72
|
- !ruby/object:Gem::Version
|
|
73
|
+
segments:
|
|
74
|
+
- 0
|
|
64
75
|
version: "0"
|
|
65
|
-
version:
|
|
66
76
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
67
77
|
requirements:
|
|
68
78
|
- - ">="
|
|
69
79
|
- !ruby/object:Gem::Version
|
|
80
|
+
segments:
|
|
81
|
+
- 0
|
|
70
82
|
version: "0"
|
|
71
|
-
version:
|
|
72
83
|
requirements: []
|
|
73
84
|
|
|
74
85
|
rubyforge_project:
|
|
75
|
-
rubygems_version: 1.3.
|
|
86
|
+
rubygems_version: 1.3.6
|
|
76
87
|
signing_key:
|
|
77
88
|
specification_version: 3
|
|
78
89
|
summary: Seer is a lightweight, semantically rich wrapper for the Google Visualization API.
|