twb 0.0.23 → 0.0.24

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.
@@ -54,7 +54,7 @@ module Twb
54
54
  end
55
55
  end
56
56
 
57
- def Paramaters?
57
+ def Parameters?
58
58
  @name == 'Parameters'
59
59
  end
60
60
 
data/testTwbGem.rb CHANGED
@@ -6,13 +6,12 @@ require 'twb'
6
6
 
7
7
 
8
8
  def processTWB twbWithDir
9
- puts "in processTWB"
10
9
  twb = Twb::Workbook.new twbWithDir
11
- puts "Found #{twb.name}"
10
+ puts "\n#{twb.name}"
12
11
  doc = twb.ndoc
13
12
  puts " Data Sources"
14
13
  twb.dataSources.each do |ds|
15
- puts " - #{ds.attr('name')} :: c-#{ds.attr('caption')} :: uin-#{ds.attr('uiname')} :: ch-#{ds.attr('connHash')} "
14
+ puts " - #{ds.name} :: c-#{ds.caption} :: uin-#{ds.uiname} :: ch-#{ds.connHash} :: params?-#{ds.Paramaters?} "
16
15
  end
17
16
  end
18
17
 
@@ -32,6 +31,6 @@ end
32
31
 
33
32
  puts "START"
34
33
 
35
- Dir.glob("**/*.twb") {|twb| processTWB twb }
34
+ Dir.glob("**/variety.twb") {|twb| processTWB twb }
36
35
 
37
36
  $f.close unless $f.nil?
data/twb-0.0.23.gem ADDED
Binary file
data/twb.gemspec CHANGED
@@ -2,7 +2,7 @@ Gem::Specification.new do |s|
2
2
  s.name = 'twb'
3
3
  s.summary = "Classes for accessing Tableau Workbooks and their contents - summary."
4
4
  s.description = "Classes for accessing Tableau Workbooks and their contents - description"
5
- s.version = '0.0.23'
5
+ s.version = '0.0.24'
6
6
  s.date = "2015-03-14"
7
7
  s.author = "Chris Gerrard"
8
8
  s.email = "Chris@Gerrard.net"
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.0.23
4
+ version: 0.0.24
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -30,6 +30,7 @@ files:
30
30
  - twb-0.0.2.gem
31
31
  - twb-0.0.21.gem
32
32
  - twb-0.0.22.gem
33
+ - twb-0.0.23.gem
33
34
  - twb.gemspec
34
35
  homepage: http://rubygems.org/gems/twb
35
36
  licenses: