blather 0.8.7 → 0.8.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/blather/file_transfer.rb +4 -2
- data/lib/blather/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb830ccd52af623286db7ca3279a65d4af8f697f
|
4
|
+
data.tar.gz: c80062c82de98d711c6fc2c52c9bcbf2d4e9402b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00b97546e6b9b9d5d483b9bf1f40ce130bbb31ea92ca01e73dd7e5e7387d0f7224b822ca4cdb8f226131b771eb9c71bdddadef08528d1d5ce08824eb4ecd649e
|
7
|
+
data.tar.gz: 33add22b374eec2ae766b5de6e9775c656656737d18b47479498eeab6b8f40c8b0feb3da0a5d8e886c5a32f7baceda17df23e8c9daea087028b288dd027e4f4d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# [develop](https://github.com/adhearsion/blather/compare/master...develop)
|
2
2
|
|
3
|
+
# [v0.8.8](https://github.com/adhearsion/blather/compare/v0.8.7...v0.8.8) - [2013-09-30](https://rubygems.org/gems/blather/versions/0.8.8)
|
4
|
+
* Bugfix: Warn about local file transfers being disabled by default
|
5
|
+
* Bugfix: Ensure that file transfers are accepted instantly. See https://groups.google.com/forum/#!topic/xmpp-blather/LMl6pR9qHfA
|
6
|
+
|
3
7
|
# [v0.8.7](https://github.com/adhearsion/blather/compare/v0.8.6...v0.8.7) - [2013-08-26](https://rubygems.org/gems/blather/versions/0.8.7)
|
4
8
|
* Bugfix: Handle stanzas with nested elements that don't have a decorator module or are not stanzas
|
5
9
|
* Bugfix: Fix the roster which was broken by the DSL being included in Object
|
@@ -21,6 +21,8 @@ module Blather
|
|
21
21
|
@allow_s5b = true
|
22
22
|
@allow_ibb = true
|
23
23
|
|
24
|
+
Blather.logger.debug "File transfers on the local network are ignored by default. Set #allow_private_ips = true if you need local network file transfers."
|
25
|
+
|
24
26
|
@iq = iq
|
25
27
|
end
|
26
28
|
|
@@ -41,7 +43,7 @@ module Blather
|
|
41
43
|
transfer = Blather::FileTransfer::S5b.new(@stream, iq)
|
42
44
|
transfer.allow_ibb_fallback = true if @allow_ibb
|
43
45
|
transfer.allow_private_ips = true if @allow_private_ips
|
44
|
-
transfer.accept(handler, *params)
|
46
|
+
EM.next_tick { transfer.accept(handler, *params) }
|
45
47
|
true
|
46
48
|
end
|
47
49
|
|
@@ -51,7 +53,7 @@ module Blather
|
|
51
53
|
|
52
54
|
@stream.register_handler :ibb_open, :from => @iq.from do |iq|
|
53
55
|
transfer = Blather::FileTransfer::Ibb.new(@stream, iq)
|
54
|
-
transfer.accept(handler, *params)
|
56
|
+
EM.next_tick { transfer.accept(handler, *params) }
|
55
57
|
true
|
56
58
|
end
|
57
59
|
|
data/lib/blather/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blather
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeff Smick
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-09-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: eventmachine
|