report_html 0.3.4 → 0.3.5

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.
@@ -1,3 +1,3 @@
1
1
  module ReportHtml
2
- VERSION = "0.3.4"
2
+ VERSION = "0.3.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: report_html
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - seoanezonjic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-12 00:00:00.000000000 Z
11
+ date: 2018-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -62,7 +62,6 @@ files:
62
62
  - bin/report_html
63
63
  - bin/setup
64
64
  - js/canvasXpress.css
65
- - js/canvasXpress.js
66
65
  - js/canvasXpress.min.js
67
66
  - js/canvasXpress_license
68
67
  - lib/report_html.rb
@@ -89,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
88
  version: '0'
90
89
  requirements: []
91
90
  rubyforge_project:
92
- rubygems_version: 2.4.8
91
+ rubygems_version: 2.6.14
93
92
  signing_key:
94
93
  specification_version: 4
95
94
  summary: Gem to build html interactive reports.
data/js/canvasXpress.js DELETED
@@ -1,55 +0,0 @@
1
- HTMLWidgets.widget({
2
-
3
- name : "canvasXpress",
4
-
5
- type : "output",
6
-
7
- initialize : function(el, width, height) {
8
-
9
- // Create a sized canvas element for the CanvasXpress instance
10
-
11
- var c = document.createElement('canvas');
12
-
13
- c.id = el.id + '-cx';
14
- c.width = width;
15
- c.height = height;
16
-
17
- // Append it to the element
18
-
19
- el.appendChild(c);
20
-
21
- // Return the id where the canvas will be initialized
22
-
23
- return {
24
- id : c.id
25
- };
26
-
27
- },
28
-
29
- renderValue : function(el, x, instance) {
30
-
31
- var cx = CanvasXpress && instance ? CanvasXpress.getObject(instance.id) : false;
32
-
33
- // Remove the CanvasXpress object if it exists
34
-
35
- if (cx) {
36
- cx.destroy(instance.id);
37
- }
38
-
39
- x.renderTo = instance.id;
40
-
41
- cx = new CanvasXpress(x);
42
-
43
- },
44
-
45
- resize : function(el, width, height, instance) {
46
-
47
- var cx = CanvasXpress && instance ? CanvasXpress.getObject(instance.id) : false;
48
-
49
- if (cx) {
50
- cx.setDimensions(width, height);
51
- }
52
-
53
- }
54
-
55
- });