sinatra-websocketio 0.2.5 → 0.2.6
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/lib/sinatra-websocketio/options.rb +3 -3
- data/lib/sinatra-websocketio/version.rb +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: 2cdd6f308a48895f1dbec7498473e31b0c8795bb
|
4
|
+
data.tar.gz: bb85fd2d09a4600348e090d0f544f31525f003df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2527e1a1a58d1ff67d2a77a0153e635b99c6d12f0116268d45dbc49a139df205ec238b748ba4ffbead85737b7c4a2e683e748211b584ded64aef7815e7e0e338
|
7
|
+
data.tar.gz: 6c8d42ef327bb620566aa2ea934325d908b5763bf23574c6f38d7b11273e97525a453b7e8a5bce64ef1ed88e9b573360522b8da43dedf9e20a9281d38b75a691
|
data/History.txt
CHANGED
@@ -30,11 +30,11 @@ module Sinatra
|
|
30
30
|
opts.each do |k,v|
|
31
31
|
k = k.to_sym
|
32
32
|
unless default_options.include? k
|
33
|
-
STDERR.puts "!!
|
33
|
+
STDERR.puts "!! Sinatra::WebSocketIO setting - \"#{k}\" is not valid key"
|
34
34
|
else
|
35
35
|
unless default_options[k][1].call(v)
|
36
36
|
default = default_options[k][0]
|
37
|
-
STDERR.puts "!!
|
37
|
+
STDERR.puts "!! Sinatra::WebSocketIO setting - \"#{k} => #{v}\" is not valid. set default \"#{k} => #{default}\""
|
38
38
|
@@options[k] = default
|
39
39
|
else
|
40
40
|
@@options[k] = v
|
@@ -42,7 +42,7 @@ module Sinatra
|
|
42
42
|
end
|
43
43
|
end
|
44
44
|
default_options.each do |k, v|
|
45
|
-
@@options[k] = v unless @@options.include? k
|
45
|
+
@@options[k] = v[0] unless @@options.include? k
|
46
46
|
end
|
47
47
|
@@options
|
48
48
|
end
|