twb 0.0.2 → 0.0.21
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/twb/datasource.rb +5 -0
- data/lib/twb/workbook.rb +1 -1
- data/twb-0.0.2.gem +0 -0
- data/twb.gemspec +1 -1
- metadata +2 -1
data/lib/twb/datasource.rb
CHANGED
@@ -36,6 +36,7 @@ module Twb
|
|
36
36
|
# puts " uiname:#{@uiname}"
|
37
37
|
# puts " "
|
38
38
|
processConnection
|
39
|
+
return self
|
39
40
|
end
|
40
41
|
|
41
42
|
def processConnection
|
@@ -53,6 +54,10 @@ module Twb
|
|
53
54
|
end
|
54
55
|
end
|
55
56
|
|
57
|
+
def Paramaters?
|
58
|
+
@name == 'Parameters'
|
59
|
+
end
|
60
|
+
|
56
61
|
end
|
57
62
|
|
58
63
|
end
|
data/lib/twb/workbook.rb
CHANGED
@@ -26,9 +26,9 @@ module Twb
|
|
26
26
|
@name = File.basename(twbWithDir)
|
27
27
|
@dir = File.dirname(File.expand_path(twbWithDir))
|
28
28
|
@modtime = File.new(twbWithDir).mtime
|
29
|
-
@ndoc = Nokogiri::XML(open(twbWithDir))
|
30
29
|
@version = @ndoc.xpath('/workbook/@version')
|
31
30
|
@build = @ndoc.xpath('/workbook/comment()').text.gsub(/^[^0-9]+/,'').strip
|
31
|
+
@ndoc = Nokogiri::XML(open(twbWithDir))
|
32
32
|
end
|
33
33
|
|
34
34
|
def dataSources
|
data/twb-0.0.2.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.
|
5
|
+
s.version = '0.0.21'
|
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.
|
4
|
+
version: 0.0.21
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -26,6 +26,7 @@ files:
|
|
26
26
|
- lib/twb.rb
|
27
27
|
- LICENSE.txt
|
28
28
|
- twb-0.0.1.gem
|
29
|
+
- twb-0.0.2.gem
|
29
30
|
- twb.gemspec
|
30
31
|
homepage: http://rubygems.org/gems/twb
|
31
32
|
licenses:
|