riddl 0.99.144 → 0.99.145
Sign up to get free protection for your applications and to get access to all the features.
- data/examples/properties/server.properties.xml +1 -1
- data/lib/ruby/riddl/server.rb +2 -1
- data/riddl.gemspec +1 -1
- metadata +2 -2
data/lib/ruby/riddl/server.rb
CHANGED
@@ -167,6 +167,7 @@ module Riddl
|
|
167
167
|
server.start
|
168
168
|
|
169
169
|
puts "XMPP support (#{@riddl_xmpp_jid}) active" if @riddl_xmpp_jid && @riddl_xmpp_pass
|
170
|
+
@riddl_opts[:xmpp] = nil
|
170
171
|
if @riddl_xmpp_jid && @riddl_xmpp_pass
|
171
172
|
xmpp = Blather::Client.setup @riddl_xmpp_jid, @riddl_xmpp_pass
|
172
173
|
@riddl_opts[:xmpp] = xmpp
|
@@ -402,7 +403,7 @@ module Riddl
|
|
402
403
|
:r => @riddl_pinfo.sub(/\//,'').split('/').map{|e|Protocols::HTTP::Parser::unescape(e)},
|
403
404
|
:s => @riddl_matching_path[0].sub(/\//,'').split('/'),
|
404
405
|
:m => @riddl_method,
|
405
|
-
:env => @riddl_env.reject{|k,v| k =~ /^rack\./}.merge({'riddl.transport' => 'xmpp'}),
|
406
|
+
:env => @riddl_env.reject{|k,v| k =~ /^rack\./}.merge({'riddl.transport' => 'http', 'xmpp' => @riddl_opts[:xmpp]}),
|
406
407
|
:match => []
|
407
408
|
}
|
408
409
|
|
data/riddl.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: riddl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.99.
|
4
|
+
version: 0.99.145
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: tools
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-04-
|
12
|
+
date: 2014-04-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: xml-smart
|