sinatra-cometio 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.txt +4 -0
- data/README.md +1 -1
- data/lib/js/cometio.js +1 -1
- data/lib/sinatra-cometio/options.rb +2 -1
- data/lib/sinatra-cometio/version.rb +1 -1
- data/sample/config.ru +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46011b78d7f07c4031536b64d3670ccdc9b10063
|
4
|
+
data.tar.gz: 27dfbb11e619502f2fa05be52377896f7dc91e60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7965c0eeb836897d74acbcfa4d376123c711046f37d506f00854471e393c033ac08ee881ee243e06cb309a81e3b152ce639f6fc7b33cfa097bdc88d56562e8c2
|
7
|
+
data.tar.gz: d88674a1b9957607e6fe8aa2f99c71f3786a7de5f8c4e69d4714ddc7b5f2b5cd049901a5848de265a37853bbc8af3459a334fb1579776c7b302e08db9000ef48
|
data/History.txt
CHANGED
data/README.md
CHANGED
data/lib/js/cometio.js
CHANGED
@@ -11,7 +11,8 @@ module Sinatra
|
|
11
11
|
|
12
12
|
def self.default_options
|
13
13
|
{
|
14
|
-
:timeout => [120, lambda{|v| v.kind_of? Fixnum and v >= 20 }]
|
14
|
+
:timeout => [120, lambda{|v| v.kind_of? Fixnum and v >= 20 }],
|
15
|
+
:post_interval => [1, lambda{|v| [Fixnum, Float].include? v.class and v >= 1 }]
|
15
16
|
}
|
16
17
|
end
|
17
18
|
|
data/sample/config.ru
CHANGED