twb 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
data/lib/twb.rb CHANGED
@@ -33,6 +33,6 @@ require_relative 'twb/util/xraydashboards'
33
33
  # Represents Tableau Workbooks and their contents.
34
34
  #
35
35
  module Twb
36
- VERSION = '0.3.2'
36
+ VERSION = '0.3.3'
37
37
  end
38
38
 
@@ -72,7 +72,7 @@ module Twb
72
72
  def processFields
73
73
  # --
74
74
  @localfields = {}
75
- nodes = @node.xpath(".//column")
75
+ nodes = @node.xpath("./relation/columns/column")
76
76
  nodes.each do |node|
77
77
  field = Twb::LocalField.new(node)
78
78
  @localfields[field.name] = field
data/lib/twb/workbook.rb CHANGED
@@ -204,6 +204,7 @@ module Twb
204
204
  $f.puts @ndoc
205
205
  $f.close
206
206
  end
207
+ return name
207
208
  end
208
209
 
209
210
  # Write the TWB to a file, appending the base name with the provided string.
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: 0.3.2
4
+ version: 0.3.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-06-10 00:00:00.000000000 Z
12
+ date: 2015-06-17 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: A sollection of Ruby classes designed for accessing and recording information
15
15
  about, and for manipulating, Tableau Workbooks and their contents.