power-bi 1.6.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/power-bi/workspace.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffdc95c611d1fc25b04ce01028a873ed5dc3b9a2d23d57129c439146c9fd7a02
|
4
|
+
data.tar.gz: 20a9328435110d6aaf8c26bb1ac5c622db65a9a1b137815e2546cccee7281033
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a3dca6fd7fe5cb3d15251b84d8de13d1613b8104b4638f52f5957b45de92628911d65b1b5495acd2dc674c026d4d59df8570e97ae84f93d0f928d89ce32c174
|
7
|
+
data.tar.gz: d0c1b426eb78530a3207eb1edb56e26a588c0fef9ccb28a9824a3af89e3ec7a1938ec613468179a413c0359d9d76d04d1101c0da8566d4bcbab3bd03921b35f7
|
data/lib/power-bi/workspace.rb
CHANGED
@@ -23,13 +23,13 @@ module PowerBI
|
|
23
23
|
status_history = ''
|
24
24
|
old_status = ''
|
25
25
|
while !success
|
26
|
-
sleep 0.
|
26
|
+
sleep 0.5
|
27
27
|
iterations += 1
|
28
|
-
raise UploadError.new("Upload did not succeed after #{timeout} seconds. Status history:#{status_history}") if iterations > (
|
28
|
+
raise UploadError.new("Upload did not succeed after #{timeout} seconds. Status history:#{status_history}") if iterations > (2 * timeout)
|
29
29
|
new_status = @tenant.get("/groups/#{@id}/imports/#{import_id}")[:importState].to_s
|
30
30
|
success = (new_status == "Succeeded")
|
31
31
|
if new_status != old_status
|
32
|
-
status_history += "\nStatus change after #{iterations/
|
32
|
+
status_history += "\nStatus change after #{iterations/2}s: '#{old_status}' --> '#{new_status}'"
|
33
33
|
old_status = new_status
|
34
34
|
end
|
35
35
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: power-bi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lode Cools
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|