cobot_client 1.4.0 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12bf9865f9cd88f996c6cf7667197ce1fa8419fe
|
4
|
+
data.tar.gz: 6c76ba24f35b7cb8796577c0eb850fa56b5c98c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fff3b5554f6ff1165024b2bfa80c68bbf14fb80be6f62deec090c4b0856dc0c4df3d3a6f7b4a7590f9fcf670af2820e950faa9968701b363da50f0f16cb06e8d
|
7
|
+
data.tar.gz: 3cd98078e8dc2203a491a015c8777d7ae0ed7d4df1b58a00939f794eac4669f3c26b0a2da21a4e68a4a4c78b43ce9a7dda020508277900fd59cf1a452ea3f368
|
@@ -7,8 +7,9 @@
|
|
7
7
|
};
|
8
8
|
|
9
9
|
window.Cobot.iframeHeight = window.Cobot.iframeHeight || function() {
|
10
|
-
var
|
11
|
-
var
|
10
|
+
var html = document.body.parentElement;
|
11
|
+
var height = html.offsetHeight;
|
12
|
+
var style = getComputedStyle(html);
|
12
13
|
height += parseInt(style.marginTop) + parseInt(style.marginBottom);
|
13
14
|
return height;
|
14
15
|
};
|
@@ -86,7 +86,7 @@ module CobotClient
|
|
86
86
|
retries = 0
|
87
87
|
begin
|
88
88
|
yield
|
89
|
-
rescue RestClient::BadGateway, SocketError, RestClient::RequestTimeout => e
|
89
|
+
rescue RestClient::BadGateway, SocketError, RestClient::RequestTimeout, CobotClient::InternalServerError => e
|
90
90
|
if retries < 3
|
91
91
|
sleep self.class.retry_time
|
92
92
|
retries += 1
|
data/lib/cobot_client/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cobot_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Lang
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: virtus
|
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
141
|
version: '0'
|
142
142
|
requirements: []
|
143
143
|
rubyforge_project:
|
144
|
-
rubygems_version: 2.
|
144
|
+
rubygems_version: 2.5.1
|
145
145
|
signing_key:
|
146
146
|
specification_version: 4
|
147
147
|
summary: Client for the Cobot API plus helpers
|
@@ -150,4 +150,3 @@ test_files:
|
|
150
150
|
- spec/cobot_client/navigation_link_service_spec.rb
|
151
151
|
- spec/cobot_client/url_helper_spec.rb
|
152
152
|
- spec/spec_helper.rb
|
153
|
-
has_rdoc:
|