cobot_client 0.6.5 → 0.6.6

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: 3679813963fb76909db93113407c8f312bedafc2
4
- data.tar.gz: a1e4964c7a0d709662b1dcad435d4781be0744bf
3
+ metadata.gz: 0fc5255a6981e9013b8d8bb9ae76d7a723ff5598
4
+ data.tar.gz: badaaf4773a620dddabd0b087ba12202a3728d88
5
5
  SHA512:
6
- metadata.gz: 890e0355e577c3dd60289e1f481727e3dc895ef7f792c768da22c6983fb59588b549049ffd0f2f69ad2691c705a1a99f2da3a81e92981ea823cbefa5e64e60db
7
- data.tar.gz: 408eb1f79c9789e48fad85bddf2452f042f15d7713c3f07e005b975c8c467fd53677ce2c1cb2389d840bb59e232f9e1a76e61e1615994971c9890b3cb9e867d7
6
+ metadata.gz: 094712569fa8f70eb813dcca6ca623cc4675f3af8503fde710f5b74997600acebea0a511bcd828de9b9ebc53ffcf9dfacf6534f9a1980be9cfd2fcf774670fc6
7
+ data.tar.gz: 0e2cf09709d55e15413f6a11d2489268169093782bee8e93e2d4426b5d8a4d3ee84e27133041a105ecc1b5a4589eed076147c99937d655cf9444d98ad35d118b
@@ -4,23 +4,25 @@
4
4
  if(window.top !== window) {
5
5
  window.socket.postMessage(height || window.Cobot.iframeHeight());
6
6
  }
7
- }
7
+ };
8
8
  window.Cobot.iframeHeight = window.Cobot.iframeHeight || function() {
9
9
  return $('body').outerHeight();
10
- }
10
+ };
11
11
  window.Cobot.scrollTop = 0;
12
- easyXDM.query = <%== xdm_params.to_json %>;
13
- $(window).load(function() {
14
- window.socket = new easyXDM.Socket({
15
- onReady: function() {
16
- window.Cobot.iframeResize();
17
- },
18
- onMessage: function(message) {
19
- var message = JSON.parse(message);
20
- if(message.scrollTop) {
21
- window.Cobot.scrollTop = message.scrollTop;
12
+ if(window.top !== window) {
13
+ easyXDM.query = <%== xdm_params.to_json %>;
14
+ $(window).load(function() {
15
+ window.socket = new easyXDM.Socket({
16
+ onReady: function() {
17
+ window.Cobot.iframeResize();
18
+ },
19
+ onMessage: function(message) {
20
+ message = JSON.parse(message);
21
+ if(message.scrollTop) {
22
+ window.Cobot.scrollTop = message.scrollTop;
23
+ }
22
24
  }
23
- }
25
+ });
24
26
  });
25
- });
27
+ }
26
28
  </script>
@@ -1,3 +1,3 @@
1
1
  module CobotClient
2
- VERSION = "0.6.5"
2
+ VERSION = "0.6.6"
3
3
  end
metadata CHANGED
@@ -1,97 +1,97 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cobot_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
4
+ version: 0.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Lang
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-10 00:00:00.000000000 Z
11
+ date: 2014-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: virtus
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: oauth2
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rest-client
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: json
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rake
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  description: Client for the Cobot API plus helpers
@@ -101,8 +101,8 @@ executables: []
101
101
  extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
- - .gitignore
105
- - .travis.yml
104
+ - ".gitignore"
105
+ - ".travis.yml"
106
106
  - Gemfile
107
107
  - LICENSE
108
108
  - README.md
@@ -132,17 +132,17 @@ require_paths:
132
132
  - lib
133
133
  required_ruby_version: !ruby/object:Gem::Requirement
134
134
  requirements:
135
- - - '>='
135
+ - - ">="
136
136
  - !ruby/object:Gem::Version
137
137
  version: '0'
138
138
  required_rubygems_version: !ruby/object:Gem::Requirement
139
139
  requirements:
140
- - - '>='
140
+ - - ">="
141
141
  - !ruby/object:Gem::Version
142
142
  version: '0'
143
143
  requirements: []
144
144
  rubyforge_project:
145
- rubygems_version: 2.0.14
145
+ rubygems_version: 2.2.2
146
146
  signing_key:
147
147
  specification_version: 4
148
148
  summary: Client for the Cobot API plus helpers