report_html 0.3.5 → 0.3.6

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f3d92ad8140c1c370d20b5d8574f5a401a200d04
4
- data.tar.gz: f8f758d7543d4a33ac47c47a8372f529df2852c3
3
+ metadata.gz: b8683ee4132fbb874b2290820f0a67c34ce65711
4
+ data.tar.gz: 87a669a4111c195c664649bae22434e439a63af3
5
5
  SHA512:
6
- metadata.gz: 0bb5dc31a5c1e58c79135165416d92ab17a8e71f51dc914ffa826eb3ce0709f193ec95cdad8a837e6e76cef03e35261554c472f2ff03e7f06685a732ac54bef0
7
- data.tar.gz: bb5c52d9b5ae92184fd00240e0d2aac89fe6bb04d8798893dfe1b8e9121a375292387382c9a238f06be3dc694f4a2ab347e3d1464cc6815ea99b1d2675c2437e
6
+ metadata.gz: 46eb9d82931b880e976374f5ce911c4d03c4822c1636a7895de06419634fdab02c3e1754ff42116b43c8b94481d5967d0f9d3e5a4b9343e42f746615a9755f5c
7
+ data.tar.gz: 32877980c4dec7226bb042ddb668951532f8b76e06b84b449292bb07d55b4e3bbd81c03e75139942e0d2bec5dff2ae494cc99cd96526b2b469ca3eca882fdc12
@@ -494,15 +494,15 @@ class Report_html
494
494
  config['graphType'] = 'Circular'
495
495
  config['segregateVariablesBy'] = ['Ring']
496
496
  if default_options[:ringsType].empty?
497
- config['ringsType'] = Array.new(vars.length, 'heatmap')
497
+ config['ringGraphType'] = Array.new(vars.length, 'heatmap')
498
498
  else
499
- config['ringsType'] = default_options[:ringsType]
499
+ config['ringGraphType'] = default_options[:ringsType]
500
500
  end
501
501
  if default_options[:ringsWeight].empty?
502
502
  size = 100/vars.length
503
- config['ringsWeight'] = Array.new(vars.length, size)
503
+ config['ringGraphWeight'] = Array.new(vars.length, size)
504
504
  else
505
- config['ringsWeight'] = default_options[:ringsWeight]
505
+ config['ringGraphWeight'] = default_options[:ringsWeight]
506
506
  end
507
507
  if default_options[:ring_assignation].empty?
508
508
  options[:ring_assignation] = Array.new(vars.length) {|index| (index + 1).to_s}
@@ -1,3 +1,3 @@
1
1
  module ReportHtml
2
- VERSION = "0.3.5"
2
+ VERSION = "0.3.6"
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.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - seoanezonjic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-14 00:00:00.000000000 Z
11
+ date: 2018-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler