rsence 2.1.4 → 2.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/js/core/elem/elem.js +9 -8
- data/lib/values/valuemanager.rb +1 -1
- data/plugins/client_pkg/lib/client_pkg_serve.rb +9 -0
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.1.
|
1
|
+
2.1.5
|
data/js/core/elem/elem.js
CHANGED
@@ -1274,10 +1274,11 @@ ELEM = {
|
|
1274
1274
|
|
1275
1275
|
/* Checks browser versions and starts the document load check */
|
1276
1276
|
_warmup: function() {
|
1277
|
-
var
|
1278
|
-
|
1279
|
-
|
1280
|
-
|
1277
|
+
var
|
1278
|
+
_this = ELEM,
|
1279
|
+
_ua = navigator.userAgent,
|
1280
|
+
_isIE = (document.all && (_ua.indexOf("Opera") === -1)),
|
1281
|
+
_browserType = BROWSER_TYPE;
|
1281
1282
|
_browserType.opera = _ua.indexOf("Opera") !== -1;
|
1282
1283
|
_browserType.safari = _ua.indexOf("KHTML") !== -1;
|
1283
1284
|
_browserType.symbian = _ua.indexOf("SymbianOS") !== -1;
|
@@ -1332,9 +1333,9 @@ ELEM = {
|
|
1332
1333
|
var _ie_script = document.getElementById("__ie_onload");
|
1333
1334
|
_ie_script.onreadystatechange = function() {
|
1334
1335
|
if ((this.readyState === "complete") && true) {
|
1335
|
-
clearTimeout(
|
1336
|
-
|
1337
|
-
|
1336
|
+
clearTimeout(_this._domLoadTimer);
|
1337
|
+
_this._domLoadStatus = true;
|
1338
|
+
_this._init();
|
1338
1339
|
}
|
1339
1340
|
};
|
1340
1341
|
// the event will trigger on ie, so we don't have to keep on polling:
|
@@ -1369,7 +1370,7 @@ ELEM = {
|
|
1369
1370
|
_this._init();
|
1370
1371
|
}
|
1371
1372
|
else {
|
1372
|
-
_this._domLoadTimer = setTimeout(
|
1373
|
+
_this._domLoadTimer = setTimeout(_this._domWaiter, 10 ); // (_this.ELEMTickerInterval * 10));
|
1373
1374
|
}
|
1374
1375
|
}
|
1375
1376
|
};
|
data/lib/values/valuemanager.rb
CHANGED
@@ -57,7 +57,7 @@ module RSence
|
|
57
57
|
# make a new id
|
58
58
|
unless RSence.args[:debug] and val_obj.meta[:name]
|
59
59
|
new_id = @randgen.gen
|
60
|
-
new_id = @randgen.gen while id_exists?( msg, new_id )
|
60
|
+
new_id = @randgen.gen while new_id[0] == 95 or id_exists?( msg, new_id )
|
61
61
|
|
62
62
|
# replace the old id in the hvalue itself
|
63
63
|
val_obj.val_id = new_id
|
@@ -24,6 +24,11 @@ module ClientPkgServe
|
|
24
24
|
## Responds to get-requests
|
25
25
|
def get( request, response, session )
|
26
26
|
|
27
|
+
while @build_busy
|
28
|
+
puts "-- build not finished, waiting.. --"
|
29
|
+
sleep 0.1
|
30
|
+
end
|
31
|
+
|
27
32
|
# Sets the response date header to the current time:
|
28
33
|
response['Date'] = httime( Time.now )
|
29
34
|
|
@@ -204,6 +209,10 @@ module ClientPkgServe
|
|
204
209
|
|
205
210
|
response['Last-Modified'] = @client_cache.last_modified
|
206
211
|
body = @client_cache.theme_cache[theme_name][theme_part][ req_file ]
|
212
|
+
if body.nil?
|
213
|
+
warn "ClientPkgServe#get: empty body for #{request.path}"
|
214
|
+
body = ''
|
215
|
+
end
|
207
216
|
response['Content-Length'] = body.length.to_s
|
208
217
|
response.body = body
|
209
218
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rsence
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 1
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 2.1.
|
9
|
+
- 5
|
10
|
+
version: 2.1.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Riassence Inc.
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-12-
|
18
|
+
date: 2010-12-14 00:00:00 +02:00
|
19
19
|
default_executable: rsence
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|