cobot_client 0.6.2 → 0.6.3

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: 9901633d14ed8e307008992ac63bfd7f54b38ffa
4
- data.tar.gz: 1db7996edb1d38ef1c25cec561ba3699b8525a2f
3
+ metadata.gz: 94b40b42f3c1600da39343eeaf9d5cac76d9c8b6
4
+ data.tar.gz: 953a8859907f6140a7d80a3ba1f49cf579905372
5
5
  SHA512:
6
- metadata.gz: 529acc022214cd44d598b472b76aa85f3d32cd437329760ce99aa660312f9430a60c4241597aaea6c6dc31fd38601513c4a66cd07811beaa1e2a088b6078d9ca
7
- data.tar.gz: ee3ae74fd17479a8ffcd399b76b069884e04bb8b38a064a9ce0eb4e15b629343a7e34149bf04c0a145c1e373fdf61c0e024b91320a4852f9d7f161a4252341b2
6
+ metadata.gz: ac074bfe1bdf1986dd8e155d854e481147f1686e06ed41d59560b64c8db6b45721f767aa064ab551274b4a08296c32392d7ca24d66a3804c0b25a4e87bfaad07
7
+ data.tar.gz: 7aa4a4c91d46cbb873988248771847470b8d229f1490cc2802865c74174589ed7f5a5bede20dfe9594415c2809597da6f20b41096cd6c44c752efea90f05fede
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ rvm:
2
+ - 2.0.0
3
+ - 2.1.0
4
+ - 1.9.3
@@ -1,7 +1,9 @@
1
1
  <script>
2
2
  window.Cobot = window.Cobot || {};
3
3
  window.Cobot.iframeResize = function(height) {
4
- window.socket.postMessage(height || window.Cobot.iframeHeight());
4
+ if(window.top !== window) {
5
+ window.socket.postMessage(height || window.Cobot.iframeHeight());
6
+ }
5
7
  }
6
8
  window.Cobot.iframeHeight = window.Cobot.iframeHeight || function() {
7
9
  $('body').outerHeight();
@@ -1,3 +1,3 @@
1
1
  module CobotClient
2
- VERSION = "0.6.2"
2
+ VERSION = "0.6.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cobot_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Lang
@@ -102,6 +102,7 @@ extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
104
  - .gitignore
105
+ - .travis.yml
105
106
  - Gemfile
106
107
  - LICENSE
107
108
  - README.md