blather 0.4.14 → 0.4.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. data/lib/blather.rb +8 -0
  2. data/lib/blather/client/client.rb +9 -1
  3. data/lib/blather/client/dsl/pubsub.rb +2 -2
  4. data/lib/blather/core_ext/active_support.rb +1 -0
  5. data/lib/blather/core_ext/eventmachine.rb +122 -0
  6. data/lib/blather/errors/stanza_error.rb +1 -0
  7. data/lib/blather/file_transfer.rb +100 -0
  8. data/lib/blather/file_transfer/ibb.rb +68 -0
  9. data/lib/blather/file_transfer/s5b.rb +104 -0
  10. data/lib/blather/roster_item.rb +2 -2
  11. data/lib/blather/stanza/disco/disco_info.rb +17 -2
  12. data/lib/blather/stanza/iq/ibb.rb +83 -0
  13. data/lib/blather/stanza/iq/s5b.rb +205 -0
  14. data/lib/blather/stanza/iq/si.rb +410 -0
  15. data/lib/blather/stanza/iq/vcard.rb +147 -0
  16. data/lib/blather/stanza/message.rb +10 -2
  17. data/lib/blather/stanza/presence/status.rb +11 -3
  18. data/lib/blather/stanza/pubsub.rb +3 -1
  19. data/lib/blather/stanza/pubsub/event.rb +18 -0
  20. data/lib/blather/stanza/pubsub/subscriptions.rb +4 -2
  21. data/lib/blather/stanza/pubsub/unsubscribe.rb +17 -1
  22. data/lib/blather/stanza/x.rb +12 -2
  23. data/lib/blather/stream/parser.rb +1 -0
  24. data/lib/test.rb +55 -0
  25. data/spec/blather/client/client_spec.rb +18 -4
  26. data/spec/blather/client/dsl/pubsub_spec.rb +12 -2
  27. data/spec/blather/client/dsl_spec.rb +1 -1
  28. data/spec/blather/core_ext/nokogiri_spec.rb +1 -1
  29. data/spec/blather/errors/sasl_error_spec.rb +1 -1
  30. data/spec/blather/errors/stanza_error_spec.rb +1 -1
  31. data/spec/blather/errors/stream_error_spec.rb +1 -1
  32. data/spec/blather/errors_spec.rb +1 -1
  33. data/spec/blather/file_transfer_spec.rb +100 -0
  34. data/spec/blather/jid_spec.rb +1 -1
  35. data/spec/blather/roster_item_spec.rb +32 -2
  36. data/spec/blather/roster_spec.rb +1 -1
  37. data/spec/blather/stanza/discos/disco_info_spec.rb +12 -3
  38. data/spec/blather/stanza/discos/disco_items_spec.rb +1 -1
  39. data/spec/blather/stanza/iq/command_spec.rb +1 -1
  40. data/spec/blather/stanza/iq/ibb_spec.rb +136 -0
  41. data/spec/blather/stanza/iq/query_spec.rb +1 -1
  42. data/spec/blather/stanza/iq/roster_spec.rb +1 -1
  43. data/spec/blather/stanza/iq/s5b_spec.rb +60 -0
  44. data/spec/blather/stanza/iq/si_spec.rb +101 -0
  45. data/spec/blather/stanza/iq/vcard_spec.rb +96 -0
  46. data/spec/blather/stanza/iq_spec.rb +1 -1
  47. data/spec/blather/stanza/message_spec.rb +48 -2
  48. data/spec/blather/stanza/presence/status_spec.rb +1 -1
  49. data/spec/blather/stanza/presence/subscription_spec.rb +1 -1
  50. data/spec/blather/stanza/presence_spec.rb +1 -1
  51. data/spec/blather/stanza/pubsub/affiliations_spec.rb +2 -2
  52. data/spec/blather/stanza/pubsub/create_spec.rb +2 -2
  53. data/spec/blather/stanza/pubsub/event_spec.rb +16 -2
  54. data/spec/blather/stanza/pubsub/items_spec.rb +2 -2
  55. data/spec/blather/stanza/pubsub/publish_spec.rb +2 -2
  56. data/spec/blather/stanza/pubsub/retract_spec.rb +2 -2
  57. data/spec/blather/stanza/pubsub/subscribe_spec.rb +2 -2
  58. data/spec/blather/stanza/pubsub/subscription_spec.rb +2 -2
  59. data/spec/blather/stanza/pubsub/subscriptions_spec.rb +3 -3
  60. data/spec/blather/stanza/pubsub/unsubscribe_spec.rb +15 -2
  61. data/spec/blather/stanza/pubsub_owner/delete_spec.rb +2 -2
  62. data/spec/blather/stanza/pubsub_owner/purge_spec.rb +2 -2
  63. data/spec/blather/stanza/pubsub_owner_spec.rb +2 -2
  64. data/spec/blather/stanza/pubsub_spec.rb +14 -2
  65. data/spec/blather/stanza/x_spec.rb +1 -1
  66. data/spec/blather/stanza_spec.rb +1 -1
  67. data/spec/blather/stream/client_spec.rb +1 -1
  68. data/spec/blather/stream/component_spec.rb +1 -1
  69. data/spec/blather/stream/parser_spec.rb +11 -1
  70. data/spec/blather/xmpp_node_spec.rb +1 -1
  71. data/spec/fixtures/pubsub.rb +2 -2
  72. data/spec/spec_helper.rb +27 -0
  73. metadata +85 -23
@@ -1,5 +1,5 @@
1
- require File.join(File.dirname(__FILE__), *%w[.. .. .. spec_helper])
2
- require File.join(File.dirname(__FILE__), *%w[.. .. .. fixtures pubsub])
1
+ require File.expand_path "../../../../spec_helper", __FILE__
2
+ require File.expand_path "../../../../fixtures/pubsub", __FILE__
3
3
 
4
4
  describe Blather::Stanza::PubSub::Subscribe do
5
5
  it 'registers itself' do
@@ -1,5 +1,5 @@
1
- require File.join(File.dirname(__FILE__), *%w[.. .. .. spec_helper])
2
- require File.join(File.dirname(__FILE__), *%w[.. .. .. fixtures pubsub])
1
+ require File.expand_path "../../../../spec_helper", __FILE__
2
+ require File.expand_path "../../../../fixtures/pubsub", __FILE__
3
3
 
4
4
  describe Blather::Stanza::PubSub::Subscription do
5
5
  it 'registers itself' do
@@ -1,8 +1,8 @@
1
- require File.join(File.dirname(__FILE__), *%w[.. .. .. spec_helper])
2
- require File.join(File.dirname(__FILE__), *%w[.. .. .. fixtures pubsub])
1
+ require File.expand_path "../../../../spec_helper", __FILE__
2
+ require File.expand_path "../../../../fixtures/pubsub", __FILE__
3
3
 
4
4
  def control_subscriptions
5
- { :subscribed => [{:node => 'node1', :jid => 'francisco@denmark.lit'}, {:node => 'node2', :jid => 'francisco@denmark.lit'}],
5
+ { :subscribed => [{:node => 'node1', :jid => 'francisco@denmark.lit', :subid => 'fd8237yr872h3f289j2'}, {:node => 'node2', :jid => 'francisco@denmark.lit', :subid => 'h8394hf8923ju'}],
6
6
  :unconfigured => [{:node => 'node3', :jid => 'francisco@denmark.lit'}],
7
7
  :pending => [{:node => 'node4', :jid => 'francisco@denmark.lit'}],
8
8
  :none => [{:node => 'node5', :jid => 'francisco@denmark.lit'}] }
@@ -1,5 +1,5 @@
1
- require File.join(File.dirname(__FILE__), *%w[.. .. .. spec_helper])
2
- require File.join(File.dirname(__FILE__), *%w[.. .. .. fixtures pubsub])
1
+ require File.expand_path "../../../../spec_helper", __FILE__
2
+ require File.expand_path "../../../../fixtures/pubsub", __FILE__
3
3
 
4
4
  describe Blather::Stanza::PubSub::Unsubscribe do
5
5
  it 'registers itself' do
@@ -58,4 +58,17 @@ describe Blather::Stanza::PubSub::Unsubscribe do
58
58
  unsubscribe.find('//ns:pubsub/ns:unsubscribe[@jid="n@d/r"]', :ns => Blather::Stanza::PubSub.registered_ns).wont_be_empty
59
59
  unsubscribe.jid.must_equal Blather::JID.new('n@d/r')
60
60
  end
61
+
62
+ it 'has a subid attribute' do
63
+ unsubscribe = Blather::Stanza::PubSub::Unsubscribe.new :set, 'host', 'node-name', 'jid'
64
+ unsubscribe.find('//ns:pubsub/ns:unsubscribe[@subid="subid"]', :ns => Blather::Stanza::PubSub.registered_ns).must_be_empty
65
+
66
+ unsubscribe = Blather::Stanza::PubSub::Unsubscribe.new :set, 'host', 'node-name', 'jid', 'subid'
67
+ unsubscribe.find('//ns:pubsub/ns:unsubscribe[@subid="subid"]', :ns => Blather::Stanza::PubSub.registered_ns).wont_be_empty
68
+ unsubscribe.subid.must_equal 'subid'
69
+
70
+ unsubscribe.subid = 'newsubid'
71
+ unsubscribe.find('//ns:pubsub/ns:unsubscribe[@subid="newsubid"]', :ns => Blather::Stanza::PubSub.registered_ns).wont_be_empty
72
+ unsubscribe.subid.must_equal 'newsubid'
73
+ end
61
74
  end
@@ -1,5 +1,5 @@
1
- require File.join(File.dirname(__FILE__), *%w[.. .. .. spec_helper])
2
- require File.join(File.dirname(__FILE__), *%w[.. .. .. fixtures pubsub])
1
+ require File.expand_path "../../../../spec_helper", __FILE__
2
+ require File.expand_path "../../../../fixtures/pubsub", __FILE__
3
3
 
4
4
  describe Blather::Stanza::PubSubOwner::Delete do
5
5
  it 'registers itself' do
@@ -1,5 +1,5 @@
1
- require File.join(File.dirname(__FILE__), *%w[.. .. .. spec_helper])
2
- require File.join(File.dirname(__FILE__), *%w[.. .. .. fixtures pubsub])
1
+ require File.expand_path "../../../../spec_helper", __FILE__
2
+ require File.expand_path "../../../../fixtures/pubsub", __FILE__
3
3
 
4
4
  describe Blather::Stanza::PubSubOwner::Purge do
5
5
  it 'registers itself' do
@@ -1,5 +1,5 @@
1
- require File.join(File.dirname(__FILE__), *%w[.. .. spec_helper])
2
- require File.join(File.dirname(__FILE__), *%w[.. .. fixtures pubsub])
1
+ require File.expand_path "../../../spec_helper", __FILE__
2
+ require File.expand_path "../../../fixtures/pubsub", __FILE__
3
3
 
4
4
  describe Blather::Stanza::PubSubOwner do
5
5
  it 'registers itself' do
@@ -1,5 +1,5 @@
1
- require File.join(File.dirname(__FILE__), *%w[.. .. spec_helper])
2
- require File.join(File.dirname(__FILE__), *%w[.. .. fixtures pubsub])
1
+ require File.expand_path "../../../spec_helper", __FILE__
2
+ require File.expand_path "../../../fixtures/pubsub", __FILE__
3
3
 
4
4
  describe Blather::Stanza::PubSub do
5
5
  it 'registers itself' do
@@ -59,4 +59,16 @@ describe Blather::Stanza::PubSub::PubSubItem do
59
59
  item.payload = nil
60
60
  item.payload.must_be_nil
61
61
  end
62
+
63
+ it 'makes payloads readable as string' do
64
+ payload = Blather::XMPPNode.new 'foo'
65
+ item = Blather::Stanza::PubSub::Items::PubSubItem.new 'bar', payload
66
+ item.payload.must_equal payload.to_s
67
+ end
68
+
69
+ it 'makes payloads readable as node' do
70
+ payload = Blather::XMPPNode.new 'foo'
71
+ item = Blather::Stanza::PubSub::Items::PubSubItem.new 'bar', payload
72
+ item.payload_node.must_equal payload
73
+ end
62
74
  end
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), *%w[.. .. spec_helper])
1
+ require File.expand_path "../../../spec_helper", __FILE__
2
2
 
3
3
  def x_xml
4
4
  <<-XML
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), *%w[.. spec_helper])
1
+ require File.expand_path "../../spec_helper", __FILE__
2
2
 
3
3
  describe Blather::Stanza do
4
4
  it 'provides .next_id helper for generating new IDs' do
@@ -1,5 +1,5 @@
1
1
  require 'resolv'
2
- require File.join(File.dirname(__FILE__), *%w[.. .. spec_helper])
2
+ require File.expand_path "../../../spec_helper", __FILE__
3
3
 
4
4
  describe Blather::Stream::Client do
5
5
  class MockServer; end
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), *%w[.. .. spec_helper])
1
+ require File.expand_path "../../../spec_helper", __FILE__
2
2
 
3
3
  describe Blather::Stream::Component do
4
4
  class MockServer; end
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), *%w[.. .. spec_helper])
1
+ require File.expand_path "../../../spec_helper", __FILE__
2
2
 
3
3
  describe Blather::Stream::Parser do
4
4
  before do
@@ -69,6 +69,10 @@ describe Blather::Stream::Parser do
69
69
  check_parse '<foo bar="baz"/>'
70
70
  end
71
71
 
72
+ it 'handles attributes with entities properly' do
73
+ check_parse '<a href="http://example.com?a=1&amp;b=2">example</a>'
74
+ end
75
+
72
76
  it 'handles character input' do
73
77
  check_parse '<foo>bar baz fizbuz</foo>'
74
78
  end
@@ -89,6 +93,12 @@ describe Blather::Stream::Parser do
89
93
  @client.data[0].xpath('//*[namespace-uri()="urn:ietf:params:xml:ns:xmpp-stanzas"]').size.must_equal 2
90
94
  end
91
95
 
96
+ it 'handles not absolute namespaces' do
97
+ assert_nothing_raised do
98
+ @parser.receive_data '<iq type="result" id="blather0007" to="n@d/r"><vCard xmlns="vcard-temp"/></iq>'
99
+ end
100
+ end
101
+
92
102
  it 'responds with stream:stream as a separate response' do
93
103
  data = [
94
104
  '<stream:stream xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" to="example.com" version="1.0">',
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), *%w[.. spec_helper])
1
+ require File.expand_path "../../spec_helper", __FILE__
2
2
 
3
3
  describe Blather::XMPPNode do
4
4
  before { @doc = Nokogiri::XML::Document.new }
@@ -164,8 +164,8 @@ def subscriptions_xml
164
164
  id='affil1'>
165
165
  <pubsub xmlns='http://jabber.org/protocol/pubsub'>
166
166
  <subscriptions>
167
- <subscription node='node1' jid='francisco@denmark.lit' subscription='subscribed'/>
168
- <subscription node='node2' jid='francisco@denmark.lit' subscription='subscribed'/>
167
+ <subscription node='node1' jid='francisco@denmark.lit' subscription='subscribed' subid='fd8237yr872h3f289j2'/>
168
+ <subscription node='node2' jid='francisco@denmark.lit' subscription='subscribed' subid='h8394hf8923ju'/>
169
169
  <subscription node='node3' jid='francisco@denmark.lit' subscription='unconfigured'/>
170
170
  <subscription node='node4' jid='francisco@denmark.lit' subscription='pending'/>
171
171
  <subscription node='node5' jid='francisco@denmark.lit' subscription='none'/>
data/spec/spec_helper.rb CHANGED
@@ -30,6 +30,33 @@ module MiniTest
30
30
  assert_equal([args[:from], args[:to]], [(init_val if args[:from]), new_val], msg) if args[:to]
31
31
  refute_equal(init_val, new_val, msg) if args.empty?
32
32
  end
33
+
34
+ def assert_nothing_raised(*args)
35
+ self._assertions += 1
36
+ if Module === args.last
37
+ msg = nil
38
+ else
39
+ msg = args.pop
40
+ end
41
+ begin
42
+ line = __LINE__; yield
43
+ rescue Exception => e
44
+ bt = e.backtrace
45
+ as = e.instance_of?(MiniTest::Assertion)
46
+ if as
47
+ ans = /\A#{Regexp.quote(__FILE__)}:#{line}:in /o
48
+ bt.reject! {|ln| ans =~ ln}
49
+ end
50
+ if ((args.empty? && !as) ||
51
+ args.any? {|a| a.instance_of?(Module) ? e.is_a?(a) : e.class == a })
52
+ msg = message(msg) { "Exception raised:\n<#{mu_pp(e)}>" }
53
+ raise MiniTest::Assertion, msg.call, bt
54
+ else
55
+ raise
56
+ end
57
+ end
58
+ nil
59
+ end
33
60
  end
34
61
  end
35
62
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blather
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 14
10
- version: 0.4.14
9
+ - 15
10
+ version: 0.4.15
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jeff Smick
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-09-02 00:00:00 -07:00
18
+ date: 2011-01-09 00:00:00 +05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -90,11 +90,15 @@ files:
90
90
  - lib/blather/client/dsl/pubsub.rb
91
91
  - lib/blather/core_ext/active_support.rb
92
92
  - lib/blather/core_ext/active_support/inheritable_attributes.rb
93
+ - lib/blather/core_ext/eventmachine.rb
93
94
  - lib/blather/core_ext/nokogiri.rb
94
95
  - lib/blather/errors.rb
95
96
  - lib/blather/errors/sasl_error.rb
96
97
  - lib/blather/errors/stanza_error.rb
97
98
  - lib/blather/errors/stream_error.rb
99
+ - lib/blather/file_transfer.rb
100
+ - lib/blather/file_transfer/ibb.rb
101
+ - lib/blather/file_transfer/s5b.rb
98
102
  - lib/blather/jid.rb
99
103
  - lib/blather/roster.rb
100
104
  - lib/blather/roster_item.rb
@@ -104,8 +108,12 @@ files:
104
108
  - lib/blather/stanza/disco/disco_items.rb
105
109
  - lib/blather/stanza/iq.rb
106
110
  - lib/blather/stanza/iq/command.rb
111
+ - lib/blather/stanza/iq/ibb.rb
107
112
  - lib/blather/stanza/iq/query.rb
108
113
  - lib/blather/stanza/iq/roster.rb
114
+ - lib/blather/stanza/iq/s5b.rb
115
+ - lib/blather/stanza/iq/si.rb
116
+ - lib/blather/stanza/iq/vcard.rb
109
117
  - lib/blather/stanza/message.rb
110
118
  - lib/blather/stanza/presence.rb
111
119
  - lib/blather/stanza/presence/status.rb
@@ -136,8 +144,57 @@ files:
136
144
  - lib/blather/stream/features/tls.rb
137
145
  - lib/blather/stream/parser.rb
138
146
  - lib/blather/xmpp_node.rb
147
+ - lib/test.rb
139
148
  - LICENSE
140
149
  - README.md
150
+ - spec/blather/client/client_spec.rb
151
+ - spec/blather/client/dsl/pubsub_spec.rb
152
+ - spec/blather/client/dsl_spec.rb
153
+ - spec/blather/core_ext/nokogiri_spec.rb
154
+ - spec/blather/errors/sasl_error_spec.rb
155
+ - spec/blather/errors/stanza_error_spec.rb
156
+ - spec/blather/errors/stream_error_spec.rb
157
+ - spec/blather/errors_spec.rb
158
+ - spec/blather/file_transfer_spec.rb
159
+ - spec/blather/jid_spec.rb
160
+ - spec/blather/roster_item_spec.rb
161
+ - spec/blather/roster_spec.rb
162
+ - spec/blather/stanza/discos/disco_info_spec.rb
163
+ - spec/blather/stanza/discos/disco_items_spec.rb
164
+ - spec/blather/stanza/iq/command_spec.rb
165
+ - spec/blather/stanza/iq/ibb_spec.rb
166
+ - spec/blather/stanza/iq/query_spec.rb
167
+ - spec/blather/stanza/iq/roster_spec.rb
168
+ - spec/blather/stanza/iq/s5b_spec.rb
169
+ - spec/blather/stanza/iq/si_spec.rb
170
+ - spec/blather/stanza/iq/vcard_spec.rb
171
+ - spec/blather/stanza/iq_spec.rb
172
+ - spec/blather/stanza/message_spec.rb
173
+ - spec/blather/stanza/presence/status_spec.rb
174
+ - spec/blather/stanza/presence/subscription_spec.rb
175
+ - spec/blather/stanza/presence_spec.rb
176
+ - spec/blather/stanza/pubsub/affiliations_spec.rb
177
+ - spec/blather/stanza/pubsub/create_spec.rb
178
+ - spec/blather/stanza/pubsub/event_spec.rb
179
+ - spec/blather/stanza/pubsub/items_spec.rb
180
+ - spec/blather/stanza/pubsub/publish_spec.rb
181
+ - spec/blather/stanza/pubsub/retract_spec.rb
182
+ - spec/blather/stanza/pubsub/subscribe_spec.rb
183
+ - spec/blather/stanza/pubsub/subscription_spec.rb
184
+ - spec/blather/stanza/pubsub/subscriptions_spec.rb
185
+ - spec/blather/stanza/pubsub/unsubscribe_spec.rb
186
+ - spec/blather/stanza/pubsub_owner/delete_spec.rb
187
+ - spec/blather/stanza/pubsub_owner/purge_spec.rb
188
+ - spec/blather/stanza/pubsub_owner_spec.rb
189
+ - spec/blather/stanza/pubsub_spec.rb
190
+ - spec/blather/stanza/x_spec.rb
191
+ - spec/blather/stanza_spec.rb
192
+ - spec/blather/stream/client_spec.rb
193
+ - spec/blather/stream/component_spec.rb
194
+ - spec/blather/stream/parser_spec.rb
195
+ - spec/blather/xmpp_node_spec.rb
196
+ - spec/fixtures/pubsub.rb
197
+ - spec/spec_helper.rb
141
198
  has_rdoc: true
142
199
  homepage: http://github.com/sprsquish/blather
143
200
  licenses: []
@@ -168,41 +225,37 @@ required_rubygems_version: !ruby/object:Gem::Requirement
168
225
  requirements: []
169
226
 
170
227
  rubyforge_project: squishtech
171
- rubygems_version: 1.3.6
228
+ rubygems_version: 1.3.7
172
229
  signing_key:
173
230
  specification_version: 3
174
231
  summary: Simpler XMPP built for speed
175
232
  test_files:
176
- - spec/spec_helper.rb
177
- - spec/blather/errors_spec.rb
178
- - spec/blather/jid_spec.rb
179
- - spec/blather/roster_item_spec.rb
180
- - spec/blather/roster_spec.rb
181
- - spec/blather/stanza_spec.rb
182
- - spec/blather/xmpp_node_spec.rb
183
- - spec/fixtures/pubsub.rb
184
233
  - spec/blather/client/client_spec.rb
234
+ - spec/blather/client/dsl/pubsub_spec.rb
185
235
  - spec/blather/client/dsl_spec.rb
186
236
  - spec/blather/core_ext/nokogiri_spec.rb
187
237
  - spec/blather/errors/sasl_error_spec.rb
188
238
  - spec/blather/errors/stanza_error_spec.rb
189
239
  - spec/blather/errors/stream_error_spec.rb
190
- - spec/blather/stanza/iq_spec.rb
191
- - spec/blather/stanza/message_spec.rb
192
- - spec/blather/stanza/presence_spec.rb
193
- - spec/blather/stanza/pubsub_owner_spec.rb
194
- - spec/blather/stanza/pubsub_spec.rb
195
- - spec/blather/stanza/x_spec.rb
196
- - spec/blather/stream/client_spec.rb
197
- - spec/blather/stream/component_spec.rb
198
- - spec/blather/stream/parser_spec.rb
240
+ - spec/blather/errors_spec.rb
241
+ - spec/blather/file_transfer_spec.rb
242
+ - spec/blather/jid_spec.rb
243
+ - spec/blather/roster_item_spec.rb
244
+ - spec/blather/roster_spec.rb
199
245
  - spec/blather/stanza/discos/disco_info_spec.rb
200
246
  - spec/blather/stanza/discos/disco_items_spec.rb
201
247
  - spec/blather/stanza/iq/command_spec.rb
248
+ - spec/blather/stanza/iq/ibb_spec.rb
202
249
  - spec/blather/stanza/iq/query_spec.rb
203
250
  - spec/blather/stanza/iq/roster_spec.rb
251
+ - spec/blather/stanza/iq/s5b_spec.rb
252
+ - spec/blather/stanza/iq/si_spec.rb
253
+ - spec/blather/stanza/iq/vcard_spec.rb
254
+ - spec/blather/stanza/iq_spec.rb
255
+ - spec/blather/stanza/message_spec.rb
204
256
  - spec/blather/stanza/presence/status_spec.rb
205
257
  - spec/blather/stanza/presence/subscription_spec.rb
258
+ - spec/blather/stanza/presence_spec.rb
206
259
  - spec/blather/stanza/pubsub/affiliations_spec.rb
207
260
  - spec/blather/stanza/pubsub/create_spec.rb
208
261
  - spec/blather/stanza/pubsub/event_spec.rb
@@ -215,4 +268,13 @@ test_files:
215
268
  - spec/blather/stanza/pubsub/unsubscribe_spec.rb
216
269
  - spec/blather/stanza/pubsub_owner/delete_spec.rb
217
270
  - spec/blather/stanza/pubsub_owner/purge_spec.rb
218
- - spec/blather/client/dsl/pubsub_spec.rb
271
+ - spec/blather/stanza/pubsub_owner_spec.rb
272
+ - spec/blather/stanza/pubsub_spec.rb
273
+ - spec/blather/stanza/x_spec.rb
274
+ - spec/blather/stanza_spec.rb
275
+ - spec/blather/stream/client_spec.rb
276
+ - spec/blather/stream/component_spec.rb
277
+ - spec/blather/stream/parser_spec.rb
278
+ - spec/blather/xmpp_node_spec.rb
279
+ - spec/fixtures/pubsub.rb
280
+ - spec/spec_helper.rb