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 CHANGED
@@ -1 +1 @@
1
- 0.5.6
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
- sleep 10
45
- result = GoodData.get dataResultUri
46
- end
47
- ReportDataResult.new(GoodData.get dataResultUri)
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
@@ -1,3 +1,3 @@
1
1
  module GoodData
2
- VERSION = "0.5.6"
2
+ VERSION = "0.5.7"
3
3
  end
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: 7
4
+ hash: 5
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 6
10
- version: 0.5.6
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-12 00:00:00 -08:00
19
+ date: 2012-12-17 00:00:00 -08:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency