forked from sockjs/sockjs-ruby
-
Notifications
You must be signed in to change notification settings - Fork 5
/
sockjs.gemspec
executable file
·78 lines (70 loc) · 2.41 KB
/
sockjs.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#!/usr/bin/env gem build
# encoding: utf-8
require "base64"
require File.expand_path("../lib/sockjs/version", __FILE__)
Gem::Specification.new do |s|
s.name = "sockjs"
s.version = SockJS::GEM_VERSION
s.authors = ["Judson Lester"]
s.email = "[email protected]"
s.homepage = "https://github.com/nyarly/sockjs-ruby"
s.summary = "Ruby server for SockJS"
s.description = <<-DESC
SockJS is a WebSocket emulation library. It means that you use the WebSocket API, only instead of WebSocket class you instantiate SockJS class. In absence of WebSocket, some of the fallback transports will be used. This code is compatible with SockJS protocol #{SockJS::PROTOCOL_VERSION_STRING}.
DESC
# Ruby version
s.required_ruby_version = ::Gem::Requirement.new(">= 1.9")
# Dependencies
s.add_dependency "rack"
s.add_dependency "thin"
s.add_dependency "json"
s.add_dependency "faye-websocket", "~> 0.7.1"
s.add_dependency "rack-mount", "~> 0.8.3"
# Files
s.files = %w{
LICENCE
README.textile
lib/meta-state.rb
lib/rack/sockjs.rb
lib/sockjs.rb
lib/sockjs/delayed-response-body.rb
lib/sockjs/duck-punch-rack-mount.rb
lib/sockjs/duck-punch-thin-response.rb
lib/sockjs/callbacks.rb
lib/sockjs/connection.rb
lib/sockjs/examples/protocol_conformance_test.rb
lib/sockjs/faye.rb
lib/sockjs/protocol.rb
lib/sockjs/servers/request.rb
lib/sockjs/servers/response.rb
lib/sockjs/session.rb
lib/sockjs/transport.rb
lib/sockjs/transports/eventsource.rb
lib/sockjs/transports/htmlfile.rb
lib/sockjs/transports/iframe.rb
lib/sockjs/transports/info.rb
lib/sockjs/transports/jsonp.rb
lib/sockjs/transports/websocket.rb
lib/sockjs/transports/welcome_screen.rb
lib/sockjs/transports/xhr.rb
lib/sockjs/version.rb
spec/sockjs/protocol_spec.rb
spec/sockjs/session_spec.rb
spec/sockjs/transport_spec.rb
spec/sockjs/transports/eventsource_spec.rb
spec/sockjs/transports/htmlfile_spec.rb
spec/sockjs/transports/iframe_spec.rb
spec/sockjs/transports/jsonp_spec.rb
spec/sockjs/transports/websocket_spec.rb
spec/sockjs/transports/welcome_screen_spec.rb
spec/sockjs/transports/xhr_spec.rb
spec/sockjs/version_spec.rb
spec/sockjs_spec.rb
spec/spec_helper.rb
spec/support/async-test.rb
}
s.require_paths = ["lib"]
s.extra_rdoc_files = ["README.textile"]
# RubyForge
s.rubyforge_project = "sockjs"
end