analytica 0.0.9 → 0.0.10

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/analytica.rb +1 -1
  2. data/lib/visualization.rb +4 -2
  3. metadata +4 -4
data/lib/analytica.rb CHANGED
@@ -4,7 +4,7 @@ require File.join(File.dirname(__FILE__), 'computation')
4
4
  require File.join(File.dirname(__FILE__), 'visualization')
5
5
 
6
6
  module Analytica
7
- VERSION = '0.0.9'
7
+ VERSION = '0.0.10'
8
8
 
9
9
  include Strict
10
10
 
data/lib/visualization.rb CHANGED
@@ -1,9 +1,9 @@
1
- require 'typestrict'
2
1
  require 'googlecharts'
2
+ require 'typestrict'
3
3
 
4
4
  module Analytica
5
5
  module Visualization
6
- def default_bar_settings
6
+ def self.default_bar_settings
7
7
  {:width => 25, :spacing => 10, :group_spacing => 12}
8
8
  end
9
9
 
@@ -224,6 +224,8 @@ module Analytica
224
224
  :axis_labels => [[],[]] # TODO
225
225
  }
226
226
 
227
+ options.merge!(label)
228
+
227
229
  Gchart.line(options)
228
230
  end
229
231
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: analytica
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 9
10
- version: 0.0.9
9
+ - 10
10
+ version: 0.0.10
11
11
  platform: ruby
12
12
  authors:
13
13
  - Raeez Lorgat
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-08-12 00:00:00 -04:00
18
+ date: 2010-08-14 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency