xmpp4r 0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (142) hide show
  1. data/COPYING +340 -0
  2. data/ChangeLog +28 -0
  3. data/LICENSE +59 -0
  4. data/README +20 -0
  5. data/Rakefile +103 -0
  6. data/UPDATING +40 -0
  7. data/data/doc/xmpp4r/examples/advanced/adventure/README +57 -0
  8. data/data/doc/xmpp4r/examples/advanced/adventure/adventure.rb +23 -0
  9. data/data/doc/xmpp4r/examples/advanced/adventure/adventuremuc.rb +136 -0
  10. data/data/doc/xmpp4r/examples/advanced/adventure/cube.xml +15 -0
  11. data/data/doc/xmpp4r/examples/advanced/adventure/tower.xml +69 -0
  12. data/data/doc/xmpp4r/examples/advanced/adventure/world.rb +425 -0
  13. data/data/doc/xmpp4r/examples/advanced/fileserve.conf +11 -0
  14. data/data/doc/xmpp4r/examples/advanced/fileserve.rb +344 -0
  15. data/data/doc/xmpp4r/examples/advanced/getonline.rb +56 -0
  16. data/data/doc/xmpp4r/examples/advanced/gtkmucclient.rb +315 -0
  17. data/data/doc/xmpp4r/examples/advanced/migrate.rb +89 -0
  18. data/data/doc/xmpp4r/examples/advanced/minimuc.rb +266 -0
  19. data/data/doc/xmpp4r/examples/advanced/recvfile.rb +83 -0
  20. data/data/doc/xmpp4r/examples/advanced/rosterdiscovery.rb +130 -0
  21. data/data/doc/xmpp4r/examples/advanced/sendfile.conf +10 -0
  22. data/data/doc/xmpp4r/examples/advanced/sendfile.rb +72 -0
  23. data/data/doc/xmpp4r/examples/advanced/shellmgr/shellmgr.rb +51 -0
  24. data/data/doc/xmpp4r/examples/advanced/shellmgr/shellmgr_jabber.rb +43 -0
  25. data/data/doc/xmpp4r/examples/advanced/shellmgr/shellmgr_test.rb +10 -0
  26. data/data/doc/xmpp4r/examples/advanced/versionpoll.rb +90 -0
  27. data/data/doc/xmpp4r/examples/advanced/xmpping.rb +134 -0
  28. data/data/doc/xmpp4r/examples/advanced/xmppingrc.sample +9 -0
  29. data/data/doc/xmpp4r/examples/basic/change_password.rb +41 -0
  30. data/data/doc/xmpp4r/examples/basic/client.rb +68 -0
  31. data/data/doc/xmpp4r/examples/basic/component.rb +11 -0
  32. data/data/doc/xmpp4r/examples/basic/echo_nonthreaded.rb +32 -0
  33. data/data/doc/xmpp4r/examples/basic/echo_threaded.rb +32 -0
  34. data/data/doc/xmpp4r/examples/basic/jabbersend.rb +41 -0
  35. data/data/doc/xmpp4r/examples/basic/mass_sender.rb +67 -0
  36. data/data/doc/xmpp4r/examples/basic/mucinfo.rb +39 -0
  37. data/data/doc/xmpp4r/examples/basic/mucsimplebot.rb +83 -0
  38. data/data/doc/xmpp4r/examples/basic/register.rb +25 -0
  39. data/data/doc/xmpp4r/examples/basic/remove_registration.rb +18 -0
  40. data/data/doc/xmpp4r/examples/basic/roster.rb +42 -0
  41. data/data/doc/xmpp4r/examples/basic/rosterprint.rb +50 -0
  42. data/data/doc/xmpp4r/examples/basic/rosterrename.rb +34 -0
  43. data/data/doc/xmpp4r/examples/basic/rosterwatch.rb +172 -0
  44. data/data/doc/xmpp4r/examples/basic/send_vcard.rb +68 -0
  45. data/data/doc/xmpp4r/examples/basic/versionbot.rb +75 -0
  46. data/data/doc/xmpp4r/examples/buggy/jabber2jabber/jabber2jabber.rb +18 -0
  47. data/data/doc/xmpp4r/examples/buggy/miniedgarr_cgi.rb +192 -0
  48. data/data/doc/xmpp4r/examples/buggy/miniedgarr_watch.rb +82 -0
  49. data/lib/callbacks.rb +122 -0
  50. data/lib/xmpp4r/authenticationfailure.rb +13 -0
  51. data/lib/xmpp4r/bytestreams/helper/filetransfer.rb +315 -0
  52. data/lib/xmpp4r/bytestreams/helper/ibb/base.rb +256 -0
  53. data/lib/xmpp4r/bytestreams/helper/ibb/initiator.rb +30 -0
  54. data/lib/xmpp4r/bytestreams/helper/ibb/target.rb +46 -0
  55. data/lib/xmpp4r/bytestreams/helper/socks5bytestreams/base.rb +151 -0
  56. data/lib/xmpp4r/bytestreams/helper/socks5bytestreams/initiator.rb +85 -0
  57. data/lib/xmpp4r/bytestreams/helper/socks5bytestreams/server.rb +178 -0
  58. data/lib/xmpp4r/bytestreams/helper/socks5bytestreams/socks5.rb +56 -0
  59. data/lib/xmpp4r/bytestreams/helper/socks5bytestreams/target.rb +61 -0
  60. data/lib/xmpp4r/bytestreams/iq/bytestreams.rb +177 -0
  61. data/lib/xmpp4r/bytestreams/iq/si.rb +221 -0
  62. data/lib/xmpp4r/bytestreams.rb +11 -0
  63. data/lib/xmpp4r/client.rb +249 -0
  64. data/lib/xmpp4r/component.rb +103 -0
  65. data/lib/xmpp4r/connection.rb +166 -0
  66. data/lib/xmpp4r/dataforms/x/data.rb +248 -0
  67. data/lib/xmpp4r/dataforms.rb +1 -0
  68. data/lib/xmpp4r/debuglog.rb +34 -0
  69. data/lib/xmpp4r/delay/x/delay.rb +100 -0
  70. data/lib/xmpp4r/delay.rb +1 -0
  71. data/lib/xmpp4r/discovery/iq/discoinfo.rb +225 -0
  72. data/lib/xmpp4r/discovery/iq/discoitems.rb +162 -0
  73. data/lib/xmpp4r/discovery.rb +2 -0
  74. data/lib/xmpp4r/error.rb +230 -0
  75. data/lib/xmpp4r/errorexception.rb +32 -0
  76. data/lib/xmpp4r/feature_negotiation/iq/feature.rb +42 -0
  77. data/lib/xmpp4r/feature_negotiation.rb +1 -0
  78. data/lib/xmpp4r/idgenerator.rb +37 -0
  79. data/lib/xmpp4r/iq.rb +229 -0
  80. data/lib/xmpp4r/jid.rb +167 -0
  81. data/lib/xmpp4r/message.rb +171 -0
  82. data/lib/xmpp4r/muc/helper/mucbrowser.rb +107 -0
  83. data/lib/xmpp4r/muc/helper/mucclient.rb +382 -0
  84. data/lib/xmpp4r/muc/helper/simplemucclient.rb +222 -0
  85. data/lib/xmpp4r/muc/x/muc.rb +98 -0
  86. data/lib/xmpp4r/muc/x/mucuserinvite.rb +58 -0
  87. data/lib/xmpp4r/muc/x/mucuseritem.rb +148 -0
  88. data/lib/xmpp4r/muc.rb +6 -0
  89. data/lib/xmpp4r/presence.rb +255 -0
  90. data/lib/xmpp4r/query.rb +43 -0
  91. data/lib/xmpp4r/rexmladdons.rb +826 -0
  92. data/lib/xmpp4r/roster/helper/roster.rb +514 -0
  93. data/lib/xmpp4r/roster/iq/roster.rb +244 -0
  94. data/lib/xmpp4r/roster/x/roster.rb +155 -0
  95. data/lib/xmpp4r/roster.rb +4 -0
  96. data/lib/xmpp4r/sasl.rb +167 -0
  97. data/lib/xmpp4r/stream.rb +543 -0
  98. data/lib/xmpp4r/streamparser.rb +77 -0
  99. data/lib/xmpp4r/vcard/helper/vcard.rb +86 -0
  100. data/lib/xmpp4r/vcard/iq/vcard.rb +102 -0
  101. data/lib/xmpp4r/vcard.rb +3 -0
  102. data/lib/xmpp4r/version/helper/responder.rb +71 -0
  103. data/lib/xmpp4r/version/helper/simpleresponder.rb +44 -0
  104. data/lib/xmpp4r/version/iq/version.rb +118 -0
  105. data/lib/xmpp4r/version.rb +3 -0
  106. data/lib/xmpp4r/x.rb +43 -0
  107. data/lib/xmpp4r/xmlstanza.rb +174 -0
  108. data/lib/xmpp4r/xmpp4r.rb +16 -0
  109. data/lib/xmpp4r.rb +122 -0
  110. data/setup.rb +1360 -0
  111. data/test/bytestreams/tc_ibb.rb +186 -0
  112. data/test/bytestreams/tc_socks5bytestreams.rb +57 -0
  113. data/test/delay/tc_xdelay.rb +51 -0
  114. data/test/lib/clienttester.rb +110 -0
  115. data/test/muc/tc_muc_mucclient.rb +569 -0
  116. data/test/muc/tc_muc_simplemucclient.rb +72 -0
  117. data/test/roster/.tc_helper.rb.swp +0 -0
  118. data/test/roster/tc_helper.rb +389 -0
  119. data/test/roster/tc_iqqueryroster.rb +140 -0
  120. data/test/roster/tc_xroster.rb +70 -0
  121. data/test/tc_callbacks.rb +128 -0
  122. data/test/tc_class_names.rb +129 -0
  123. data/test/tc_client.rb +30 -0
  124. data/test/tc_error.rb +103 -0
  125. data/test/tc_idgenerator.rb +30 -0
  126. data/test/tc_iq.rb +109 -0
  127. data/test/tc_iqquery.rb +31 -0
  128. data/test/tc_jid.rb +202 -0
  129. data/test/tc_message.rb +114 -0
  130. data/test/tc_presence.rb +148 -0
  131. data/test/tc_stream.rb +182 -0
  132. data/test/tc_streamError.rb +87 -0
  133. data/test/tc_streamSend.rb +59 -0
  134. data/test/tc_streamThreaded.rb +168 -0
  135. data/test/tc_xmlstanza.rb +76 -0
  136. data/test/ts_xmpp4r.rb +34 -0
  137. data/test/vcard/tc_iqvcard.rb +52 -0
  138. data/test/version/tc_helper.rb +46 -0
  139. data/test/version/tc_iqqueryversion.rb +96 -0
  140. data/tools/doctoweb.bash +30 -0
  141. data/tools/gen_requires.bash +10 -0
  142. metadata +232 -0
metadata ADDED
@@ -0,0 +1,232 @@
1
+ --- !ruby/object:Gem::Specification
2
+ rubygems_version: 0.8.11
3
+ specification_version: 1
4
+ name: xmpp4r
5
+ version: !ruby/object:Gem::Version
6
+ version: "0.3"
7
+ date: 2006-07-20 00:00:00 +02:00
8
+ summary: Ruby library for Jabber Instant-Messaging
9
+ require_paths:
10
+ - lib
11
+ email:
12
+ homepage:
13
+ rubyforge_project:
14
+ description: Ruby library for Jabber Instant-Messaging
15
+ autorequire: xmpp4r
16
+ default_executable:
17
+ bindir: bin
18
+ has_rdoc: false
19
+ required_ruby_version: !ruby/object:Gem::Version::Requirement
20
+ requirements:
21
+ - - ">"
22
+ - !ruby/object:Gem::Version
23
+ version: 0.0.0
24
+ version:
25
+ platform: ruby
26
+ signing_key:
27
+ cert_chain:
28
+ authors: []
29
+
30
+ files:
31
+ - ChangeLog
32
+ - README
33
+ - COPYING
34
+ - LICENSE
35
+ - setup.rb
36
+ - Rakefile
37
+ - UPDATING
38
+ - lib/
39
+ - lib/xmpp4r.rb
40
+ - lib/callbacks.rb
41
+ - lib/xmpp4r
42
+ - lib/xmpp4r/version.rb
43
+ - lib/xmpp4r/vcard.rb
44
+ - lib/xmpp4r/feature_negotiation.rb
45
+ - lib/xmpp4r/roster.rb
46
+ - lib/xmpp4r/delay.rb
47
+ - lib/xmpp4r/discovery.rb
48
+ - lib/xmpp4r/query.rb
49
+ - lib/xmpp4r/dataforms.rb
50
+ - lib/xmpp4r/feature_negotiation
51
+ - lib/xmpp4r/feature_negotiation/iq
52
+ - lib/xmpp4r/feature_negotiation/iq/feature.rb
53
+ - lib/xmpp4r/bytestreams
54
+ - lib/xmpp4r/bytestreams/helper
55
+ - lib/xmpp4r/bytestreams/helper/filetransfer.rb
56
+ - lib/xmpp4r/bytestreams/helper/socks5bytestreams
57
+ - lib/xmpp4r/bytestreams/helper/socks5bytestreams/base.rb
58
+ - lib/xmpp4r/bytestreams/helper/socks5bytestreams/socks5.rb
59
+ - lib/xmpp4r/bytestreams/helper/socks5bytestreams/target.rb
60
+ - lib/xmpp4r/bytestreams/helper/socks5bytestreams/server.rb
61
+ - lib/xmpp4r/bytestreams/helper/socks5bytestreams/initiator.rb
62
+ - lib/xmpp4r/bytestreams/helper/ibb
63
+ - lib/xmpp4r/bytestreams/helper/ibb/base.rb
64
+ - lib/xmpp4r/bytestreams/helper/ibb/target.rb
65
+ - lib/xmpp4r/bytestreams/helper/ibb/initiator.rb
66
+ - lib/xmpp4r/bytestreams/iq
67
+ - lib/xmpp4r/bytestreams/iq/bytestreams.rb
68
+ - lib/xmpp4r/bytestreams/iq/si.rb
69
+ - lib/xmpp4r/dataforms
70
+ - lib/xmpp4r/dataforms/x
71
+ - lib/xmpp4r/dataforms/x/data.rb
72
+ - lib/xmpp4r/delay
73
+ - lib/xmpp4r/delay/x
74
+ - lib/xmpp4r/delay/x/delay.rb
75
+ - lib/xmpp4r/vcard
76
+ - lib/xmpp4r/vcard/iq
77
+ - lib/xmpp4r/vcard/iq/vcard.rb
78
+ - lib/xmpp4r/vcard/helper
79
+ - lib/xmpp4r/vcard/helper/vcard.rb
80
+ - lib/xmpp4r/roster
81
+ - lib/xmpp4r/roster/x
82
+ - lib/xmpp4r/roster/x/roster.rb
83
+ - lib/xmpp4r/roster/helper
84
+ - lib/xmpp4r/roster/helper/roster.rb
85
+ - lib/xmpp4r/roster/iq
86
+ - lib/xmpp4r/roster/iq/roster.rb
87
+ - lib/xmpp4r/iq.rb
88
+ - lib/xmpp4r/streamparser.rb
89
+ - lib/xmpp4r/x.rb
90
+ - lib/xmpp4r/jid.rb
91
+ - lib/xmpp4r/presence.rb
92
+ - lib/xmpp4r/idgenerator.rb
93
+ - lib/xmpp4r/component.rb
94
+ - lib/xmpp4r/authenticationfailure.rb
95
+ - lib/xmpp4r/sasl.rb
96
+ - lib/xmpp4r/connection.rb
97
+ - lib/xmpp4r/stream.rb
98
+ - lib/xmpp4r/xmpp4r.rb
99
+ - lib/xmpp4r/error.rb
100
+ - lib/xmpp4r/debuglog.rb
101
+ - lib/xmpp4r/message.rb
102
+ - lib/xmpp4r/xmlstanza.rb
103
+ - lib/xmpp4r/discovery
104
+ - lib/xmpp4r/discovery/iq
105
+ - lib/xmpp4r/discovery/iq/discoitems.rb
106
+ - lib/xmpp4r/discovery/iq/discoinfo.rb
107
+ - lib/xmpp4r/rexmladdons.rb
108
+ - lib/xmpp4r/muc
109
+ - lib/xmpp4r/muc/x
110
+ - lib/xmpp4r/muc/x/mucuseritem.rb
111
+ - lib/xmpp4r/muc/x/mucuserinvite.rb
112
+ - lib/xmpp4r/muc/x/muc.rb
113
+ - lib/xmpp4r/muc/helper
114
+ - lib/xmpp4r/muc/helper/mucclient.rb
115
+ - lib/xmpp4r/muc/helper/mucbrowser.rb
116
+ - lib/xmpp4r/muc/helper/simplemucclient.rb
117
+ - lib/xmpp4r/version
118
+ - lib/xmpp4r/version/helper
119
+ - lib/xmpp4r/version/helper/responder.rb
120
+ - lib/xmpp4r/version/helper/simpleresponder.rb
121
+ - lib/xmpp4r/version/iq
122
+ - lib/xmpp4r/version/iq/version.rb
123
+ - lib/xmpp4r/bytestreams.rb
124
+ - lib/xmpp4r/errorexception.rb
125
+ - lib/xmpp4r/muc.rb
126
+ - lib/xmpp4r/client.rb
127
+ - data/
128
+ - data/doc
129
+ - data/doc/xmpp4r
130
+ - data/doc/xmpp4r/examples
131
+ - data/doc/xmpp4r/examples/buggy
132
+ - data/doc/xmpp4r/examples/buggy/miniedgarr_watch.rb
133
+ - data/doc/xmpp4r/examples/buggy/miniedgarr_cgi.rb
134
+ - data/doc/xmpp4r/examples/buggy/jabber2jabber
135
+ - data/doc/xmpp4r/examples/buggy/jabber2jabber/jabber2jabber.rb
136
+ - data/doc/xmpp4r/examples/advanced
137
+ - data/doc/xmpp4r/examples/advanced/sendfile.conf
138
+ - data/doc/xmpp4r/examples/advanced/versionpoll.rb
139
+ - data/doc/xmpp4r/examples/advanced/sendfile.rb
140
+ - data/doc/xmpp4r/examples/advanced/fileserve.conf
141
+ - data/doc/xmpp4r/examples/advanced/migrate.rb
142
+ - data/doc/xmpp4r/examples/advanced/gtkmucclient.rb
143
+ - data/doc/xmpp4r/examples/advanced/getonline.rb
144
+ - data/doc/xmpp4r/examples/advanced/rosterdiscovery.rb
145
+ - data/doc/xmpp4r/examples/advanced/xmpping.rb
146
+ - data/doc/xmpp4r/examples/advanced/minimuc.rb
147
+ - data/doc/xmpp4r/examples/advanced/recvfile.rb
148
+ - data/doc/xmpp4r/examples/advanced/fileserve.rb
149
+ - data/doc/xmpp4r/examples/advanced/xmppingrc.sample
150
+ - data/doc/xmpp4r/examples/advanced/shellmgr
151
+ - data/doc/xmpp4r/examples/advanced/shellmgr/shellmgr_test.rb
152
+ - data/doc/xmpp4r/examples/advanced/shellmgr/shellmgr_jabber.rb
153
+ - data/doc/xmpp4r/examples/advanced/shellmgr/shellmgr.rb
154
+ - data/doc/xmpp4r/examples/advanced/adventure
155
+ - data/doc/xmpp4r/examples/advanced/adventure/cube.xml
156
+ - data/doc/xmpp4r/examples/advanced/adventure/README
157
+ - data/doc/xmpp4r/examples/advanced/adventure/world.rb
158
+ - data/doc/xmpp4r/examples/advanced/adventure/adventuremuc.rb
159
+ - data/doc/xmpp4r/examples/advanced/adventure/tower.xml
160
+ - data/doc/xmpp4r/examples/advanced/adventure/adventure.rb
161
+ - data/doc/xmpp4r/examples/basic
162
+ - data/doc/xmpp4r/examples/basic/send_vcard.rb
163
+ - data/doc/xmpp4r/examples/basic/change_password.rb
164
+ - data/doc/xmpp4r/examples/basic/rosterrename.rb
165
+ - data/doc/xmpp4r/examples/basic/rosterwatch.rb
166
+ - data/doc/xmpp4r/examples/basic/mass_sender.rb
167
+ - data/doc/xmpp4r/examples/basic/mucsimplebot.rb
168
+ - data/doc/xmpp4r/examples/basic/component.rb
169
+ - data/doc/xmpp4r/examples/basic/mucinfo.rb
170
+ - data/doc/xmpp4r/examples/basic/jabbersend.rb
171
+ - data/doc/xmpp4r/examples/basic/echo_nonthreaded.rb
172
+ - data/doc/xmpp4r/examples/basic/register.rb
173
+ - data/doc/xmpp4r/examples/basic/rosterprint.rb
174
+ - data/doc/xmpp4r/examples/basic/client.rb
175
+ - data/doc/xmpp4r/examples/basic/roster.rb
176
+ - data/doc/xmpp4r/examples/basic/versionbot.rb
177
+ - data/doc/xmpp4r/examples/basic/echo_threaded.rb
178
+ - data/doc/xmpp4r/examples/basic/remove_registration.rb
179
+ - test/
180
+ - test/tc_class_names.rb
181
+ - test/tc_callbacks.rb
182
+ - test/tc_client.rb
183
+ - test/tc_message.rb
184
+ - test/tc_iq.rb
185
+ - test/ts_xmpp4r.rb
186
+ - test/tc_jid.rb
187
+ - test/tc_streamSend.rb
188
+ - test/tc_xmlstanza.rb
189
+ - test/version
190
+ - test/version/tc_iqqueryversion.rb
191
+ - test/version/tc_helper.rb
192
+ - test/tc_presence.rb
193
+ - test/tc_streamError.rb
194
+ - test/tc_iqquery.rb
195
+ - test/tc_idgenerator.rb
196
+ - test/roster
197
+ - test/roster/tc_helper.rb
198
+ - test/roster/tc_xroster.rb
199
+ - test/roster/tc_iqqueryroster.rb
200
+ - test/roster/.tc_helper.rb.swp
201
+ - test/vcard
202
+ - test/vcard/tc_iqvcard.rb
203
+ - test/tc_error.rb
204
+ - test/tc_stream.rb
205
+ - test/muc
206
+ - test/muc/tc_muc_mucclient.rb
207
+ - test/muc/tc_muc_simplemucclient.rb
208
+ - test/tc_streamThreaded.rb
209
+ - test/delay
210
+ - test/delay/tc_xdelay.rb
211
+ - test/bytestreams
212
+ - test/bytestreams/tc_ibb.rb
213
+ - test/bytestreams/tc_socks5bytestreams.rb
214
+ - test/lib
215
+ - test/lib/clienttester.rb
216
+ - tools/
217
+ - tools/doctoweb.bash
218
+ - tools/gen_requires.bash
219
+ test_files: []
220
+
221
+ rdoc_options: []
222
+
223
+ extra_rdoc_files: []
224
+
225
+ executables: []
226
+
227
+ extensions: []
228
+
229
+ requirements:
230
+ - none
231
+ dependencies: []
232
+