twb 1.0.4 → 1.0.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.
- checksums.yaml +4 -4
- data/lib/twb.rb +1 -1
- data/lib/twb/workbook.rb +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a568fbc9fa00d25cdc6a703c6f8f57803ff9b430
|
|
4
|
+
data.tar.gz: b0accc4559b2ef5fce3acf8f578920765be6346f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 17d333f0e261725cd3ec6e7361caf2a213cf53c0d62d3acae34de1f1ba3fa1e3d5b8fc5293e92e172ae2e3021569b7f54a14497450978d4ef84cca1d0d226720
|
|
7
|
+
data.tar.gz: 2582fddea1388ea6d33a68870facd2e7ca7e305f07083665e065de07d6b7c1c6bf8cc84062f69ff65c235819bbffd28c546c55f211ff9d6de0a9c49038b627d7
|
data/lib/twb.rb
CHANGED
data/lib/twb/workbook.rb
CHANGED
|
@@ -19,6 +19,7 @@ require 'zip'
|
|
|
19
19
|
module Twb
|
|
20
20
|
|
|
21
21
|
|
|
22
|
+
##
|
|
22
23
|
# A Tableau Workbook and its parts.
|
|
23
24
|
#
|
|
24
25
|
class Workbook
|
|
@@ -30,11 +31,12 @@ module Twb
|
|
|
30
31
|
attr_reader :dashboards, :storyboards, :worksheets, :actions
|
|
31
32
|
attr_reader :valid, :ndoc
|
|
32
33
|
|
|
34
|
+
##
|
|
33
35
|
# Creates a Workbook from its file name.
|
|
34
36
|
#
|
|
35
37
|
# == Parameters:
|
|
36
38
|
# twbWithDir
|
|
37
|
-
# The Workbook's file name
|
|
39
|
+
# The Workbook's file name, the Workbook can be a TWB or TWBX file.
|
|
38
40
|
#
|
|
39
41
|
def initialize twbWithDir
|
|
40
42
|
@valid = false
|