riddl 0.99.144 → 0.99.145

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,6 +11,6 @@
11
11
  </endpoints>
12
12
  <handlerwrapper>Test</handlerwrapper>
13
13
  <description>lala</description>
14
- <state>stopped</state>
14
+ <state>running</state>
15
15
  <transformation>xxx</transformation>
16
16
  </properties>
@@ -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
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "riddl"
3
- s.version = "0.99.144"
3
+ s.version = "0.99.145"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3"
6
6
  s.summary = "restful interface description and declaration language: tools and client/server libs"
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.144
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-01 00:00:00.000000000 Z
12
+ date: 2014-04-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: xml-smart