amcharts.rb 3.4.7.1 → 3.4.7.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NjFhOWNiNzA2NDJjZmVmMTEwMGE0ZTg2Y2E1YmViYWYyNjc2YmU1NA==
4
+ NmJlMzQ3NWNjYWY3NTQxMWJiOTc5ZWJjYzkzMWYzMTBhZjg5OWM2NQ==
5
5
  data.tar.gz: !binary |-
6
- OGE3ZTY3MWUwNTMwMTM5ZGM4OTlhOTBmM2Q1OWIxNTdhNjhmZmNiMQ==
6
+ NjcxOGRiMmMzNDY5NGFkM2E0OGQyZWNmMWY5MDE5Nzk5YmI0ZjQ4NA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZDY3YTMzYjI1NzQ2MjNhZDdlN2ZlZGFlM2Q3NDgyYWU2NGZkMDk2Mzk4ODA0
10
- Zjk5OTUxNDMwYjkzMWViMjBlOGRkMDc0N2VhMzljNTYwNDY4Y2RmNDQ0ZjUy
11
- MTdhNzUwMzNmNmY4ZTc3NGQzNzgxM2IwNDYwZjlmMmM4MTk2NTk=
9
+ NDFiZDJiZGI4M2MyMzUzMWE2MmQwNzgxNjU2Y2IxNzYwNDFhMmNkODMyZWVj
10
+ OWU4YThiMmE2Y2I0NThjMzkzYTBiNWE3ZmMwZWNjNThmOTEzNWUwMDZiM2Nm
11
+ NGRmNDk3YTYwNzU5M2E5Mjg2ODUxNjNhY2UxYzcxYjgwYmQ2NDc=
12
12
  data.tar.gz: !binary |-
13
- YmVlODA2MjFjYTUzMWM0MTI4OWFmN2Y0N2UwNzQ1Nzk0NDQzOGM3N2M4YWIy
14
- ZjY1OTI2YzVlNWQ5NTdiMGRmYTE2MzRiNDIzYWNiMGMzMWE5OTkxZTc5NTQ2
15
- OTBiYTQ2ZjRiZGNmZGVlMjYyNWMyYzhkMTNiMDI1NjI4ODRhNjA=
13
+ MDQzYmI5N2ZmMWM0Y2E0YWE5Y2M3NTFkYjE4MjVhZmQxZTk2MDA1MGVkMGU4
14
+ Y2ExNWEwNWM3OTYyOTgyMWI3ZGYzNTI4MTVkNjg0NWU3NThkMzI4YzQ1NGQ2
15
+ NTJiYjY5NGRhYzNhOGYwMzUxMGMyNzdjZWUzZDdmODc3MDFhNGQ=
@@ -3,4 +3,6 @@
3
3
  //= require_self
4
4
  //= require_tree ./amcharts
5
5
 
6
- AmCharts.RB = {};
6
+ AmCharts.RB = {
7
+ Charts: {}
8
+ };
@@ -12,6 +12,7 @@ AmCharts.RB.Helpers.add_blanket(container, <%= chart.width %>, <%= chart.height
12
12
  AmCharts.ready(function() {
13
13
  var chart_data = <%= builder.to_js(chart.data_source.empty? ? chart.data : []) %>;
14
14
  var chart = new <%= chart.amchart_type %>;
15
+ AmCharts.RB.Charts['<%= container %>'] = chart;
15
16
 
16
17
  chart.dataProvider = chart_data;
17
18
  chart.categoryField = <%= builder.to_js(chart.category_field) %>;
@@ -1,3 +1,3 @@
1
1
  module AmCharts
2
- VERSION = "3.4.7.1"
2
+ VERSION = "3.4.7.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amcharts.rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.7.1
4
+ version: 3.4.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Vandersluis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-05 00:00:00.000000000 Z
11
+ date: 2014-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  type: :runtime