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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b9c1a3c5e1ccf7fd061f061a9b4f5ae26d91df93
4
- data.tar.gz: 54779fd6578939c3906e6eb8a12f26a4ea2eefeb
3
+ metadata.gz: 2cdd6f308a48895f1dbec7498473e31b0c8795bb
4
+ data.tar.gz: bb85fd2d09a4600348e090d0f544f31525f003df
5
5
  SHA512:
6
- metadata.gz: c0a3f3634e7f7e27bbf6e288b4cd13d5983fae65df932da320eb9c756b4323c4ef608e6745a69966be07b3226b926887f2065c263b9cfeab5f3d241d980dd682
7
- data.tar.gz: f28e31d12c855eebd016a76dd8bb9227e7ba2aeead4470b53798734a584e87395091c8c56a70d7a5a4d7bd19ffa7b40f77f5500886cf3d042d43b37ce310106f
6
+ metadata.gz: 2527e1a1a58d1ff67d2a77a0153e635b99c6d12f0116268d45dbc49a139df205ec238b748ba4ffbead85737b7c4a2e683e748211b584ded64aef7815e7e0e338
7
+ data.tar.gz: 6c8d42ef327bb620566aa2ea934325d908b5763bf23574c6f38d7b11273e97525a453b7e8a5bce64ef1ed88e9b573360522b8da43dedf9e20a9281d38b75a691
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.2.6 2013-04-03
2
+
3
+ * bugfix setting
4
+
1
5
  === 0.2.5 2013-04-03
2
6
 
3
7
  * print invalid setting error
@@ -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 "!! #{self} setting - \"#{k}\" is not valid key"
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 "!! #{self} setting - \"#{k} => #{v}\" is not valid. set default \"#{k} => #{default}\""
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
@@ -1,5 +1,5 @@
1
1
  module Sinatra
2
2
  module WebSocketIO
3
- VERSION = "0.2.5"
3
+ VERSION = "0.2.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-websocketio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sho Hashimoto