riddl 0.99.116 → 0.99.117

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bac33c6cf04bfeaa97a7a13960cd254fd0217290
4
- data.tar.gz: e04457461be2b3913ea4140d6ccbdf2b7a82d7bf
3
+ metadata.gz: 15bc8b46085ece80b561861ec518f2b9c29f0a42
4
+ data.tar.gz: a7a8bfe93b3ee3155342622e1d17164e3f3b13e9
5
5
  SHA512:
6
- metadata.gz: 200af0bdd7c46391f201b65f3995f237cf7ef5e4e71369fb900b429327497eaa74c7d98e9945c2604d8053520389f79128c5d693ed89777bdacd74af378377dd
7
- data.tar.gz: be27da7083c15d0a2a0285c5d2aea8e458927d60390efd1171fdc16a518f2421cc390bc4e38434ddc754074ac3986d8ebb50e74e0161eb7a787f7608786d1155
6
+ metadata.gz: 0bb15cda2a77c551cca38a04d29da5e7a9dab8e9b58d7f388e5972dfa76a76f7e9a7366422b652d28a8a9386a00bcf74da6251b7713a6a21a76e49fa8767a7df
7
+ data.tar.gz: 486382097d03fa84ab034004a6770cb326929abcd8421e66c735ca314f0faa2e30fef953b9b84d620c8f9755a09d09a99c59405eaeb3eca8457d3f798f7e1c91
@@ -5,7 +5,7 @@ require 'securerandom'
5
5
  module Riddl
6
6
  module Protocols
7
7
  module XMPP
8
- XR_NS = 'http://www.fp7-adventure.eu/ns/xmpp-rest'.freeze
8
+ XR_NS = 'http://riddl.org/ns/xmpp-rest'.freeze
9
9
 
10
10
  class Stanza < Blather::Stanza
11
11
  def self.new
@@ -168,7 +168,7 @@ module Riddl
168
168
  if @riddl_xmpp_jid && @riddl_xmpp_pass
169
169
  xmpp = Blather::Client.setup @riddl_xmpp_jid, @riddl_xmpp_pass
170
170
  @riddl_opts[:xmpp] = xmpp
171
- xmpp.register_handler(:message, :type => :normal) do |m|
171
+ xmpp.register_handler(:message, '/message/ns:operation', :ns => 'http://riddl.org/ns/xmpp-rest') do |m|
172
172
  began_at = Time.now
173
173
  instance = dup
174
174
  instance.__xmpp_call(xmpp,m)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "riddl"
3
- s.version = "0.99.116"
3
+ s.version = "0.99.117"
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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riddl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.99.116
4
+ version: 0.99.117
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
8
8
  autorequire:
9
9
  bindir: tools
10
10
  cert_chain: []
11
- date: 2013-07-31 00:00:00.000000000 Z
11
+ date: 2013-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xml-smart