vines 0.4.8 → 0.4.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +16 -0
- data/lib/vines/kit.rb +1 -1
- data/lib/vines/version.rb +1 -1
- data/vines.gemspec +3 -3
- metadata +49 -49
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a444c695d79a88f165a9f86f2989eb27e128e79
|
4
|
+
data.tar.gz: 3b271ce86f7ada201e8788daef5d8c207190615b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c258a7e3237ec24854ade1d9ac66de591440c48635e4a184a89abe0bf9171f4b48fea23f391fe665da6938a2d0c2964f4b0beb99e4f8959f1e225477fec0fa7
|
7
|
+
data.tar.gz: 30f2397168e45ac1e8ed911b6110750b2deb823f64e1f0908a60355f5a6732d4d938fa370945156b18c662e4091f8cb88653065a073c79dd7c1ebe728a48a1b8
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -39,6 +39,22 @@ $ script/bootstrap
|
|
39
39
|
$ script/tests
|
40
40
|
```
|
41
41
|
|
42
|
+
## Standards support
|
43
|
+
|
44
|
+
Vines implements the full XMPP specs in [RFC 6120](http://www.rfc-editor.org/rfc/rfc6120.txt)
|
45
|
+
and [RFC 6121](http://www.rfc-editor.org/rfc/rfc6121.txt). It also implements
|
46
|
+
the following extensions.
|
47
|
+
|
48
|
+
- [XEP-0030](https://xmpp.org/extensions/xep-0030.html) Service Discovery
|
49
|
+
- [XEP-0049](https://xmpp.org/extensions/xep-0049.html) Private XML Storage
|
50
|
+
- [XEP-0054](https://xmpp.org/extensions/xep-0054.html) vcard-temp
|
51
|
+
- [XEP-0060](https://xmpp.org/extensions/xep-0060.html) Publish-Subscribe
|
52
|
+
- [XEP-0092](https://xmpp.org/extensions/xep-0092.html) Software Version
|
53
|
+
- [XEP-0114](https://xmpp.org/extensions/xep-0114.html) Component Protocol
|
54
|
+
- [XEP-0124](https://xmpp.org/extensions/xep-0124.html) Bidirectional-streams Over Synchronous HTTP (BOSH)
|
55
|
+
- [XEP-0199](https://xmpp.org/extensions/xep-0199.html) XMPP Ping
|
56
|
+
- [XEP-0206](https://xmpp.org/extensions/xep-0206.html) XMPP Over BOSH
|
57
|
+
|
42
58
|
## Contact
|
43
59
|
|
44
60
|
* David Graham <david@negativecode.com>
|
data/lib/vines/kit.rb
CHANGED
@@ -5,7 +5,7 @@ module Vines
|
|
5
5
|
module Kit
|
6
6
|
# Create a hex-encoded, SHA-512 HMAC of the data, using the secret key.
|
7
7
|
def self.hmac(key, data)
|
8
|
-
digest = OpenSSL::Digest
|
8
|
+
digest = OpenSSL::Digest.new("sha512")
|
9
9
|
OpenSSL::HMAC.hexdigest(digest, key, data)
|
10
10
|
end
|
11
11
|
|
data/lib/vines/version.rb
CHANGED
data/vines.gemspec
CHANGED
@@ -16,15 +16,15 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.executables = %w[vines]
|
17
17
|
s.require_path = 'lib'
|
18
18
|
|
19
|
-
s.add_dependency 'bcrypt
|
19
|
+
s.add_dependency 'bcrypt', '~> 3.1'
|
20
20
|
s.add_dependency 'em-hiredis', '~> 0.1.1'
|
21
21
|
s.add_dependency 'eventmachine', '~> 1.0.3'
|
22
22
|
s.add_dependency 'http_parser.rb', '~> 0.5.3'
|
23
23
|
s.add_dependency 'net-ldap', '~> 0.3.1'
|
24
24
|
s.add_dependency 'nokogiri', '~> 1.5.10'
|
25
25
|
|
26
|
-
s.add_development_dependency 'minitest', '~> 5.
|
27
|
-
s.add_development_dependency 'rake', '~> 10.
|
26
|
+
s.add_development_dependency 'minitest', '~> 5.3'
|
27
|
+
s.add_development_dependency 'rake', '~> 10.3'
|
28
28
|
|
29
29
|
s.required_ruby_version = '>= 1.9.3'
|
30
30
|
end
|
metadata
CHANGED
@@ -1,127 +1,127 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vines
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Graham
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: bcrypt
|
14
|
+
name: bcrypt
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.
|
19
|
+
version: '3.1'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.
|
26
|
+
version: '3.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: em-hiredis
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 0.1.1
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.1.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: eventmachine
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 1.0.3
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 1.0.3
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: http_parser.rb
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 0.5.3
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - ~>
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 0.5.3
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: net-ldap
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - ~>
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: 0.3.1
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - ~>
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 0.3.1
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: nokogiri
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - ~>
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: 1.5.10
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - ~>
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: 1.5.10
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: minitest
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - ~>
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 5.
|
103
|
+
version: '5.3'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - ~>
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 5.
|
110
|
+
version: '5.3'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: rake
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - ~>
|
115
|
+
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 10.
|
117
|
+
version: '10.3'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- - ~>
|
122
|
+
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 10.
|
124
|
+
version: '10.3'
|
125
125
|
description: Vines is an XMPP chat server that supports thousands of simultaneous
|
126
126
|
connections, using EventMachine and Nokogiri.
|
127
127
|
email:
|
@@ -133,17 +133,20 @@ extra_rdoc_files: []
|
|
133
133
|
files:
|
134
134
|
- Gemfile
|
135
135
|
- LICENSE
|
136
|
-
- Rakefile
|
137
136
|
- README.md
|
138
|
-
-
|
137
|
+
- Rakefile
|
139
138
|
- bin/vines
|
139
|
+
- conf/certs/README
|
140
|
+
- conf/certs/ca-bundle.crt
|
141
|
+
- conf/config.rb
|
142
|
+
- lib/vines.rb
|
140
143
|
- lib/vines/cli.rb
|
144
|
+
- lib/vines/cluster.rb
|
141
145
|
- lib/vines/cluster/connection.rb
|
142
146
|
- lib/vines/cluster/publisher.rb
|
143
147
|
- lib/vines/cluster/pubsub.rb
|
144
148
|
- lib/vines/cluster/sessions.rb
|
145
149
|
- lib/vines/cluster/subscriber.rb
|
146
|
-
- lib/vines/cluster.rb
|
147
150
|
- lib/vines/command/bcrypt.rb
|
148
151
|
- lib/vines/command/cert.rb
|
149
152
|
- lib/vines/command/init.rb
|
@@ -152,10 +155,10 @@ files:
|
|
152
155
|
- lib/vines/command/schema.rb
|
153
156
|
- lib/vines/command/start.rb
|
154
157
|
- lib/vines/command/stop.rb
|
158
|
+
- lib/vines/config.rb
|
155
159
|
- lib/vines/config/host.rb
|
156
160
|
- lib/vines/config/port.rb
|
157
161
|
- lib/vines/config/pubsub.rb
|
158
|
-
- lib/vines/config.rb
|
159
162
|
- lib/vines/contact.rb
|
160
163
|
- lib/vines/daemon.rb
|
161
164
|
- lib/vines/error.rb
|
@@ -163,6 +166,8 @@ files:
|
|
163
166
|
- lib/vines/kit.rb
|
164
167
|
- lib/vines/log.rb
|
165
168
|
- lib/vines/router.rb
|
169
|
+
- lib/vines/stanza.rb
|
170
|
+
- lib/vines/stanza/iq.rb
|
166
171
|
- lib/vines/stanza/iq/auth.rb
|
167
172
|
- lib/vines/stanza/iq/disco_info.rb
|
168
173
|
- lib/vines/stanza/iq/disco_items.rb
|
@@ -175,8 +180,8 @@ files:
|
|
175
180
|
- lib/vines/stanza/iq/session.rb
|
176
181
|
- lib/vines/stanza/iq/vcard.rb
|
177
182
|
- lib/vines/stanza/iq/version.rb
|
178
|
-
- lib/vines/stanza/iq.rb
|
179
183
|
- lib/vines/stanza/message.rb
|
184
|
+
- lib/vines/stanza/presence.rb
|
180
185
|
- lib/vines/stanza/presence/error.rb
|
181
186
|
- lib/vines/stanza/presence/probe.rb
|
182
187
|
- lib/vines/stanza/presence/subscribe.rb
|
@@ -184,19 +189,19 @@ files:
|
|
184
189
|
- lib/vines/stanza/presence/unavailable.rb
|
185
190
|
- lib/vines/stanza/presence/unsubscribe.rb
|
186
191
|
- lib/vines/stanza/presence/unsubscribed.rb
|
187
|
-
- lib/vines/stanza/
|
192
|
+
- lib/vines/stanza/pubsub.rb
|
188
193
|
- lib/vines/stanza/pubsub/create.rb
|
189
194
|
- lib/vines/stanza/pubsub/delete.rb
|
190
195
|
- lib/vines/stanza/pubsub/publish.rb
|
191
196
|
- lib/vines/stanza/pubsub/subscribe.rb
|
192
197
|
- lib/vines/stanza/pubsub/unsubscribe.rb
|
193
|
-
- lib/vines/
|
194
|
-
- lib/vines/stanza.rb
|
198
|
+
- lib/vines/storage.rb
|
195
199
|
- lib/vines/storage/ldap.rb
|
196
200
|
- lib/vines/storage/local.rb
|
197
201
|
- lib/vines/storage/null.rb
|
198
|
-
- lib/vines/storage.rb
|
199
202
|
- lib/vines/store.rb
|
203
|
+
- lib/vines/stream.rb
|
204
|
+
- lib/vines/stream/client.rb
|
200
205
|
- lib/vines/stream/client/auth.rb
|
201
206
|
- lib/vines/stream/client/auth_restart.rb
|
202
207
|
- lib/vines/stream/client/bind.rb
|
@@ -206,11 +211,11 @@ files:
|
|
206
211
|
- lib/vines/stream/client/session.rb
|
207
212
|
- lib/vines/stream/client/start.rb
|
208
213
|
- lib/vines/stream/client/tls.rb
|
209
|
-
- lib/vines/stream/
|
214
|
+
- lib/vines/stream/component.rb
|
210
215
|
- lib/vines/stream/component/handshake.rb
|
211
216
|
- lib/vines/stream/component/ready.rb
|
212
217
|
- lib/vines/stream/component/start.rb
|
213
|
-
- lib/vines/stream/
|
218
|
+
- lib/vines/stream/http.rb
|
214
219
|
- lib/vines/stream/http/auth.rb
|
215
220
|
- lib/vines/stream/http/bind.rb
|
216
221
|
- lib/vines/stream/http/bind_restart.rb
|
@@ -219,9 +224,9 @@ files:
|
|
219
224
|
- lib/vines/stream/http/session.rb
|
220
225
|
- lib/vines/stream/http/sessions.rb
|
221
226
|
- lib/vines/stream/http/start.rb
|
222
|
-
- lib/vines/stream/http.rb
|
223
227
|
- lib/vines/stream/parser.rb
|
224
228
|
- lib/vines/stream/sasl.rb
|
229
|
+
- lib/vines/stream/server.rb
|
225
230
|
- lib/vines/stream/server/auth.rb
|
226
231
|
- lib/vines/stream/server/auth_restart.rb
|
227
232
|
- lib/vines/stream/server/final_restart.rb
|
@@ -236,20 +241,11 @@ files:
|
|
236
241
|
- lib/vines/stream/server/ready.rb
|
237
242
|
- lib/vines/stream/server/start.rb
|
238
243
|
- lib/vines/stream/server/tls.rb
|
239
|
-
- lib/vines/stream/server.rb
|
240
244
|
- lib/vines/stream/state.rb
|
241
|
-
- lib/vines/stream.rb
|
242
245
|
- lib/vines/token_bucket.rb
|
243
246
|
- lib/vines/user.rb
|
244
247
|
- lib/vines/version.rb
|
245
248
|
- lib/vines/xmpp_server.rb
|
246
|
-
- lib/vines.rb
|
247
|
-
- conf/certs/ca-bundle.crt
|
248
|
-
- conf/certs/README
|
249
|
-
- conf/config.rb
|
250
|
-
- web/404.html
|
251
|
-
- web/apple-touch-icon.png
|
252
|
-
- web/favicon.png
|
253
249
|
- test/cluster/publisher_test.rb
|
254
250
|
- test/cluster/sessions_test.rb
|
255
251
|
- test/cluster/subscriber_test.rb
|
@@ -305,6 +301,10 @@ files:
|
|
305
301
|
- test/test_helper.rb
|
306
302
|
- test/token_bucket_test.rb
|
307
303
|
- test/user_test.rb
|
304
|
+
- vines.gemspec
|
305
|
+
- web/404.html
|
306
|
+
- web/apple-touch-icon.png
|
307
|
+
- web/favicon.png
|
308
308
|
homepage: http://www.getvines.org
|
309
309
|
licenses:
|
310
310
|
- MIT
|
@@ -315,17 +315,17 @@ require_paths:
|
|
315
315
|
- lib
|
316
316
|
required_ruby_version: !ruby/object:Gem::Requirement
|
317
317
|
requirements:
|
318
|
-
- -
|
318
|
+
- - ">="
|
319
319
|
- !ruby/object:Gem::Version
|
320
320
|
version: 1.9.3
|
321
321
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
322
322
|
requirements:
|
323
|
-
- -
|
323
|
+
- - ">="
|
324
324
|
- !ruby/object:Gem::Version
|
325
325
|
version: '0'
|
326
326
|
requirements: []
|
327
327
|
rubyforge_project:
|
328
|
-
rubygems_version: 2.
|
328
|
+
rubygems_version: 2.2.2
|
329
329
|
signing_key:
|
330
330
|
specification_version: 4
|
331
331
|
summary: Vines is an XMPP chat server that's easy to install and run.
|