sinatra-cometio 0.5.2 → 0.5.3

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: 4340d27e7e828310edf2e977f5c6a631cf14e1c4
4
- data.tar.gz: 3c31cd77caa527eebba3b6ac625893e3840264bb
3
+ metadata.gz: 7366b752f203aee57fe8059be07f8076c6aff669
4
+ data.tar.gz: 367d862a10f6a3b1dff45f4a7fb7bca4bc3f7e95
5
5
  SHA512:
6
- metadata.gz: 522551d054a61d3abab658025adfcba67be3a6a8912cacab6d4e41a2b3441140d1478af1422efe602f59e3a9f28d140213fb74ca105f9aac427994f38ebc57d6
7
- data.tar.gz: 94e529d321863dde674bd8520e4e9720267c32c0543dcb8fc68165335e866b4fa798fe0a85db8f43392b5ade4b975e9da796c3331c6c772bcf844c23afe5a313
6
+ metadata.gz: 7313b5cb9872a6a2adb3ad4be09fa9b91b0edde6866ad8c22092514df03879ca377a9e64e68f9f1420322a7d69d2d0f850325ef87146de389bdcd384fb2ca523
7
+ data.tar.gz: 44f51a10701c8b444054b613d59861ecec2841e0fa672f58b3d87ca2144e80be1079425a288f9806c8f7a2fc90fd6e244f23cd2236a250029bd516ed3c0dd6b3
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.5.3 2013-04-03
2
+
3
+ * bugfix setting
4
+
1
5
  === 0.5.2 2013-04-03
2
6
 
3
7
  * print invalid setting error
@@ -31,11 +31,11 @@ module Sinatra
31
31
  opts.each do |k,v|
32
32
  k = k.to_sym
33
33
  unless default_options.include? k
34
- STDERR.puts "!! #{self} setting - \"#{k}\" is not valid key"
34
+ STDERR.puts "!! Sinatra::CometIO setting - \"#{k}\" is not valid key"
35
35
  else
36
36
  unless default_options[k][1].call(v)
37
37
  default = default_options[k][0]
38
- STDERR.puts "!! #{self} setting - \"#{k} => #{v}\" is not valid. set default \"#{k} => #{default}\""
38
+ STDERR.puts "!! Sinatra::CometIO setting - \"#{k} => #{v}\" is not valid. set default \"#{k} => #{default}\""
39
39
  @@options[k] = default
40
40
  else
41
41
  @@options[k] = v
@@ -43,7 +43,7 @@ module Sinatra
43
43
  end
44
44
  end
45
45
  default_options.each do |k, v|
46
- @@options[k] = v unless @@options.include? k
46
+ @@options[k] = v[0] unless @@options.include? k
47
47
  end
48
48
  @@options
49
49
  end
@@ -1,5 +1,5 @@
1
1
  module Sinatra
2
2
  module CometIO
3
- VERSION = '0.5.2'
3
+ VERSION = '0.5.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-cometio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sho Hashimoto