gooddata 0.5.6 → 0.5.7
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/gooddata/models/report.rb +5 -9
- data/lib/gooddata/version.rb +1 -1
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.7
|
@@ -35,17 +35,13 @@ module GoodData
|
|
35
35
|
def execute
|
36
36
|
# puts "Executing report #{uri}"
|
37
37
|
result = GoodData.post '/gdc/xtab2/executor3', {"report_req" => {"report" => uri}}
|
38
|
-
|
39
|
-
dataResultUri = result["reportResult2"]["content"]["dataResult"]
|
38
|
+
dataResultUri = result["execResult"]["dataResult"]
|
40
39
|
result = GoodData.get dataResultUri
|
41
|
-
return EmptyResult.new([]) if result.nil?
|
42
|
-
|
43
40
|
while result["taskState"] && result["taskState"]["status"] == "WAIT" do
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
41
|
+
sleep 10
|
42
|
+
result = GoodData.get dataResultUri
|
43
|
+
end
|
44
|
+
ReportDataResult.new(GoodData.get dataResultUri)
|
48
45
|
end
|
49
|
-
|
50
46
|
end
|
51
47
|
end
|
data/lib/gooddata/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gooddata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 5
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 7
|
10
|
+
version: 0.5.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Pavel Kolesnikov
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2012-12-
|
19
|
+
date: 2012-12-17 00:00:00 -08:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|