rcomet 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +22 -0
- data/History.rdoc +10 -0
- data/LICENSE +340 -0
- data/README.rdoc +98 -0
- data/Rakefile +54 -0
- data/VERSION +1 -0
- data/bin/rcomet +3 -0
- data/examples/chart/README.rdoc +18 -0
- data/examples/chart/chart-cometd.rb +18 -0
- data/examples/chart/chart.rb +19 -0
- data/examples/chart/static/chart.rhtml +75 -0
- data/examples/chat/README.rdoc +18 -0
- data/examples/chat/chat-cometd.rb +30 -0
- data/examples/chat/chat.rb +31 -0
- data/examples/chat/static/chat.rhtml +75 -0
- data/examples/chat/static/login.rhtml +20 -0
- data/examples/chat/static/style.css +61 -0
- data/examples/soapbox/README.rdoc +30 -0
- data/examples/soapbox/client.rb +36 -0
- data/examples/soapbox/soapbox-cometd.rb +14 -0
- data/examples/soapbox/soapbox.rb +19 -0
- data/examples/soapbox/static/soapbox.rhtml +92 -0
- data/examples/soapbox/static/style.css +42 -0
- data/lib/rcomet/channel.rb +76 -0
- data/lib/rcomet/client.rb +188 -0
- data/lib/rcomet/core_ext.rb +5 -0
- data/lib/rcomet/rack_adapter.rb +289 -0
- data/lib/rcomet/server.rb +57 -0
- data/lib/rcomet/user.rb +61 -0
- data/lib/rcomet.rb +15 -0
- data/rcomet.gemspec +90 -0
- data/spec/rcomet_spec.rb +7 -0
- data/spec/spec.opts +1 -0
- data/spec/spec_helper.rb +9 -0
- metadata +120 -0
data/rcomet.gemspec
ADDED
@@ -0,0 +1,90 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{rcomet}
|
8
|
+
s.version = "0.0.2"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Guillaume Dorchies", "Gr\303\251goire Lejeune"]
|
12
|
+
s.date = %q{2010-01-06}
|
13
|
+
s.default_executable = %q{rcomet}
|
14
|
+
s.description = %q{RComet implement the Bayeux protocole to allow you to create client and/or Comet's server.}
|
15
|
+
s.email = %q{guillaume.dorchies@gmail.com}
|
16
|
+
s.executables = ["rcomet"]
|
17
|
+
s.extra_rdoc_files = [
|
18
|
+
"README.rdoc"
|
19
|
+
]
|
20
|
+
s.files = [
|
21
|
+
".gitignore",
|
22
|
+
"History.rdoc",
|
23
|
+
"LICENSE",
|
24
|
+
"README.rdoc",
|
25
|
+
"Rakefile",
|
26
|
+
"VERSION",
|
27
|
+
"bin/rcomet",
|
28
|
+
"examples/chart/README.rdoc",
|
29
|
+
"examples/chart/chart-cometd.rb",
|
30
|
+
"examples/chart/chart.rb",
|
31
|
+
"examples/chart/static/chart.rhtml",
|
32
|
+
"examples/chat/README.rdoc",
|
33
|
+
"examples/chat/chat-cometd.rb",
|
34
|
+
"examples/chat/chat.rb",
|
35
|
+
"examples/chat/static/chat.rhtml",
|
36
|
+
"examples/chat/static/login.rhtml",
|
37
|
+
"examples/chat/static/style.css",
|
38
|
+
"examples/soapbox/README.rdoc",
|
39
|
+
"examples/soapbox/client.rb",
|
40
|
+
"examples/soapbox/soapbox-cometd.rb",
|
41
|
+
"examples/soapbox/soapbox.rb",
|
42
|
+
"examples/soapbox/static/soapbox.rhtml",
|
43
|
+
"examples/soapbox/static/style.css",
|
44
|
+
"lib/rcomet.rb",
|
45
|
+
"lib/rcomet/channel.rb",
|
46
|
+
"lib/rcomet/client.rb",
|
47
|
+
"lib/rcomet/core_ext.rb",
|
48
|
+
"lib/rcomet/rack_adapter.rb",
|
49
|
+
"lib/rcomet/server.rb",
|
50
|
+
"lib/rcomet/user.rb",
|
51
|
+
"rcomet.gemspec",
|
52
|
+
"spec/rcomet_spec.rb",
|
53
|
+
"spec/spec.opts",
|
54
|
+
"spec/spec_helper.rb"
|
55
|
+
]
|
56
|
+
s.homepage = %q{http://github.com/glejeune/rcomet}
|
57
|
+
s.rdoc_options = ["--title", "RComet", "--main", "README.rdoc", "--line-numbers"]
|
58
|
+
s.require_paths = ["lib"]
|
59
|
+
s.rubyforge_project = %q{rcomet}
|
60
|
+
s.rubygems_version = %q{1.3.5}
|
61
|
+
s.summary = %q{RComet is an implementation of the Bayeux protocol in Ruby.}
|
62
|
+
s.test_files = [
|
63
|
+
"spec/rcomet_spec.rb",
|
64
|
+
"spec/spec_helper.rb",
|
65
|
+
"examples/chart/chart-cometd.rb",
|
66
|
+
"examples/chart/chart.rb",
|
67
|
+
"examples/chat/chat-cometd.rb",
|
68
|
+
"examples/chat/chat.rb",
|
69
|
+
"examples/soapbox/client.rb",
|
70
|
+
"examples/soapbox/soapbox.rb",
|
71
|
+
"examples/soapbox/soapbox-cometd.rb"
|
72
|
+
]
|
73
|
+
|
74
|
+
if s.respond_to? :specification_version then
|
75
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
76
|
+
s.specification_version = 3
|
77
|
+
|
78
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
79
|
+
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
|
80
|
+
s.add_runtime_dependency(%q<rack>, [">= 0"])
|
81
|
+
else
|
82
|
+
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
83
|
+
s.add_dependency(%q<rack>, [">= 0"])
|
84
|
+
end
|
85
|
+
else
|
86
|
+
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
87
|
+
s.add_dependency(%q<rack>, [">= 0"])
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
data/spec/rcomet_spec.rb
ADDED
data/spec/spec.opts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--color
|
data/spec/spec_helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,120 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rcomet
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Guillaume Dorchies
|
8
|
+
- "Gr\xC3\xA9goire Lejeune"
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
|
13
|
+
date: 2010-01-06 00:00:00 +01:00
|
14
|
+
default_executable: rcomet
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: rspec
|
18
|
+
type: :development
|
19
|
+
version_requirement:
|
20
|
+
version_requirements: !ruby/object:Gem::Requirement
|
21
|
+
requirements:
|
22
|
+
- - ">="
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: 1.2.9
|
25
|
+
version:
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: rack
|
28
|
+
type: :runtime
|
29
|
+
version_requirement:
|
30
|
+
version_requirements: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: "0"
|
35
|
+
version:
|
36
|
+
description: RComet implement the Bayeux protocole to allow you to create client and/or Comet's server.
|
37
|
+
email: guillaume.dorchies@gmail.com
|
38
|
+
executables:
|
39
|
+
- rcomet
|
40
|
+
extensions: []
|
41
|
+
|
42
|
+
extra_rdoc_files:
|
43
|
+
- README.rdoc
|
44
|
+
files:
|
45
|
+
- .gitignore
|
46
|
+
- History.rdoc
|
47
|
+
- LICENSE
|
48
|
+
- README.rdoc
|
49
|
+
- Rakefile
|
50
|
+
- VERSION
|
51
|
+
- bin/rcomet
|
52
|
+
- examples/chart/README.rdoc
|
53
|
+
- examples/chart/chart-cometd.rb
|
54
|
+
- examples/chart/chart.rb
|
55
|
+
- examples/chart/static/chart.rhtml
|
56
|
+
- examples/chat/README.rdoc
|
57
|
+
- examples/chat/chat-cometd.rb
|
58
|
+
- examples/chat/chat.rb
|
59
|
+
- examples/chat/static/chat.rhtml
|
60
|
+
- examples/chat/static/login.rhtml
|
61
|
+
- examples/chat/static/style.css
|
62
|
+
- examples/soapbox/README.rdoc
|
63
|
+
- examples/soapbox/client.rb
|
64
|
+
- examples/soapbox/soapbox-cometd.rb
|
65
|
+
- examples/soapbox/soapbox.rb
|
66
|
+
- examples/soapbox/static/soapbox.rhtml
|
67
|
+
- examples/soapbox/static/style.css
|
68
|
+
- lib/rcomet.rb
|
69
|
+
- lib/rcomet/channel.rb
|
70
|
+
- lib/rcomet/client.rb
|
71
|
+
- lib/rcomet/core_ext.rb
|
72
|
+
- lib/rcomet/rack_adapter.rb
|
73
|
+
- lib/rcomet/server.rb
|
74
|
+
- lib/rcomet/user.rb
|
75
|
+
- rcomet.gemspec
|
76
|
+
- spec/rcomet_spec.rb
|
77
|
+
- spec/spec.opts
|
78
|
+
- spec/spec_helper.rb
|
79
|
+
has_rdoc: true
|
80
|
+
homepage: http://github.com/glejeune/rcomet
|
81
|
+
licenses: []
|
82
|
+
|
83
|
+
post_install_message:
|
84
|
+
rdoc_options:
|
85
|
+
- --title
|
86
|
+
- RComet
|
87
|
+
- --main
|
88
|
+
- README.rdoc
|
89
|
+
- --line-numbers
|
90
|
+
require_paths:
|
91
|
+
- lib
|
92
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: "0"
|
97
|
+
version:
|
98
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: "0"
|
103
|
+
version:
|
104
|
+
requirements: []
|
105
|
+
|
106
|
+
rubyforge_project: rcomet
|
107
|
+
rubygems_version: 1.3.5
|
108
|
+
signing_key:
|
109
|
+
specification_version: 3
|
110
|
+
summary: RComet is an implementation of the Bayeux protocol in Ruby.
|
111
|
+
test_files:
|
112
|
+
- spec/rcomet_spec.rb
|
113
|
+
- spec/spec_helper.rb
|
114
|
+
- examples/chart/chart-cometd.rb
|
115
|
+
- examples/chart/chart.rb
|
116
|
+
- examples/chat/chat-cometd.rb
|
117
|
+
- examples/chat/chat.rb
|
118
|
+
- examples/soapbox/client.rb
|
119
|
+
- examples/soapbox/soapbox.rb
|
120
|
+
- examples/soapbox/soapbox-cometd.rb
|