twb 4.5.8 → 4.5.9

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
  SHA256:
3
- metadata.gz: f0f4c2f1ee27b36720919b9c0dcdb0feab88b1539d7d9ea965879c253e5b2dd9
4
- data.tar.gz: 15d3c2aa538a59937623837987c334b3b0c9f8da81bc3a7551f2cb546d9a40a2
3
+ metadata.gz: 655831689d83bd142aeb3a061dc86a367497a6dc1d61031c7e229976ed8bc5b6
4
+ data.tar.gz: fab0357f3648dd5dd24176407e6a5cf248f49a278a600d11c1202f4377869f9d
5
5
  SHA512:
6
- metadata.gz: 1dba85792f813b4940833d0df6b77d165d8417d8266b95eb6c629255be38d122104ad5a915ff258afec877c8fbf2888cffe0928c46f57553507d3660697a4992
7
- data.tar.gz: a821f3fb268ec6622baf679405a90011f02903258ff9621461db4d73babe5e861000a68a8bebdf6e85e87482f5c1f6e82ce9aa1259970c60e5dd7b6080c0070a
6
+ metadata.gz: b873fb151462b1bd1c3e3154bdc03f688fe1221dbf0c5bebea043edacc05ae170b42f94145aeb38d770524395308223cfbb80765d67222a05db1c789ea94b162
7
+ data.tar.gz: 3fde1e8458f46089af96b516810ebb306ce56af8743bb7c40973da3ebf928186b7241df42f3536b61810c3f4c28d657dff8672b7ec6308c67c671cc2f4563d92
data/lib/twb.rb CHANGED
@@ -71,5 +71,5 @@ require_relative 'twb/analysis/sheets/dashsheetsanalyzer'
71
71
  # Represents Tableau Workbooks, their contents, and classes that analyze and manipulate them.
72
72
  #
73
73
  module Twb
74
- VERSION = '4.5.8'
74
+ VERSION = '4.5.9'
75
75
  end
@@ -20,9 +20,8 @@ module Twb
20
20
  class DocDashboardImageVert < DocDashboard
21
21
 
22
22
  attr_reader :image
23
-
24
- def initialize
25
- @oneImageDash = Nokogiri::XML::Document.parse <<-ONEIMAGEDASH
23
+
24
+ @@dashdoc = <<-ONEIMAGEDASH
26
25
  <dashdoc>
27
26
  <dashboard name='Dashboard Automatic Vert with Image'>
28
27
  <style>
@@ -59,7 +58,10 @@ module Twb
59
58
  </zones>
60
59
  </window>
61
60
  </dashdoc>
62
- ONEIMAGEDASH
61
+ ONEIMAGEDASH
62
+
63
+ def initialize
64
+ @oneImageDash = Nokogiri::XML::Document.parse @@dashdoc
63
65
  # notes:
64
66
  # - adding a size element to the <dashboard element will change it from automatic, e.g.
65
67
  #
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twb
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.5.8
4
+ version: 4.5.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Gerrard