sinatra-rocketio 0.2.2 → 0.2.3
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-rocketio/options.rb +3 -3
- data/lib/sinatra-rocketio/version.rb +1 -1
- data/sinatra-rocketio.gemspec +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c72cddee0b691d449bb7f41ffdb7644fa55adf3
|
4
|
+
data.tar.gz: 2d7d82d2a7ba471e65f8cbc442fcc3aad3de0e5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a8a8202c6cae1f75b86e87efe6154d804c2d24493267507ba1102f1fbe6eb6353552bc452e6dcca47da0a33e6a4152b9edc77e360bb284932e365b014272bd1
|
7
|
+
data.tar.gz: 583f338b327e36a36bfb04e536fb638adc399c2dc9cd3b70dcde7d37fe7007cfbd5bb378ed783cd163b090e7ecb7df8571a390c9a7eac2c27dce49df1657e7c2
|
data/History.txt
CHANGED
@@ -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 "!!
|
34
|
+
STDERR.puts "!! Sinatra::RocketIO 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 "!!
|
38
|
+
STDERR.puts "!! Sinatra::RocketIO 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
|
data/sinatra-rocketio.gemspec
CHANGED
@@ -25,8 +25,8 @@ Gem::Specification.new do |gem|
|
|
25
25
|
gem.add_development_dependency "httparty"
|
26
26
|
gem.add_development_dependency "json"
|
27
27
|
|
28
|
-
gem.add_dependency "sinatra-cometio", ">= 0.5.
|
29
|
-
gem.add_dependency "sinatra-websocketio", ">= 0.2.
|
28
|
+
gem.add_dependency "sinatra-cometio", ">= 0.5.3"
|
29
|
+
gem.add_dependency "sinatra-websocketio", ">= 0.2.6"
|
30
30
|
gem.add_dependency "sinatra"
|
31
31
|
gem.add_dependency "eventmachine", ">= 1.0.0"
|
32
32
|
gem.add_dependency "event_emitter", ">= 0.2.5"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra-rocketio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sho Hashimoto
|
@@ -128,28 +128,28 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - '>='
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 0.5.
|
131
|
+
version: 0.5.3
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - '>='
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 0.5.
|
138
|
+
version: 0.5.3
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: sinatra-websocketio
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - '>='
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 0.2.
|
145
|
+
version: 0.2.6
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - '>='
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 0.2.
|
152
|
+
version: 0.2.6
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: sinatra
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|