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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: da6bc686ab486904f981a9007d6083c5ac957db9
4
- data.tar.gz: 2db0ad2f0cdb531daa2e15bac1cd2ec3cd099267
3
+ metadata.gz: eb830ccd52af623286db7ca3279a65d4af8f697f
4
+ data.tar.gz: c80062c82de98d711c6fc2c52c9bcbf2d4e9402b
5
5
  SHA512:
6
- metadata.gz: 6a2c4f652c8df341f950cabf944338ada3ef177cf5e49e9bb5f5b9e843a2b52646b490edabbb796848bddfe491b49a6ffd81087eec0193d4a361e7f16ad5631b
7
- data.tar.gz: 1183457bcecc981430d272c3d90e6a7942a6b2a35b2f3ac5817cc91cd07f3efcfc4ba4d7883d0c4f1b3a038f77a83ac9f4a9725729a1989f59b4f0d0d0da3763
6
+ metadata.gz: 00b97546e6b9b9d5d483b9bf1f40ce130bbb31ea92ca01e73dd7e5e7387d0f7224b822ca4cdb8f226131b771eb9c71bdddadef08528d1d5ce08824eb4ecd649e
7
+ data.tar.gz: 33add22b374eec2ae766b5de6e9775c656656737d18b47479498eeab6b8f40c8b0feb3da0a5d8e886c5a32f7baceda17df23e8c9daea087028b288dd027e4f4d
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module Blather
2
- VERSION = '0.8.7'
2
+ VERSION = '0.8.8'
3
3
  end
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.7
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-08-27 00:00:00.000000000 Z
12
+ date: 2013-09-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: eventmachine