skates 0.5.6 → 0.5.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/skates/client_connection.rb +1 -1
- metadata +3 -3
@@ -170,7 +170,7 @@ module Skates
|
|
170
170
|
if stanza.children.first.name == "bind"
|
171
171
|
doc = Nokogiri::XML::Document.new
|
172
172
|
# Let's build the binding_iq
|
173
|
-
@binding_iq_id = Socket
|
173
|
+
@binding_iq_id = Socket.unpack_sockaddr_in(get_sockname).reverse.join(".").split(".").push(Process.pid).join("-")
|
174
174
|
iq = Nokogiri::XML::Node.new("iq", doc)
|
175
175
|
doc.add_child(iq)
|
176
176
|
iq["type"] = "set"
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: skates
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 5
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 7
|
10
|
+
version: 0.5.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- julien Genestoux
|