-
Notifications
You must be signed in to change notification settings - Fork 9
/
rjr.gemspec
45 lines (35 loc) · 1.43 KB
/
rjr.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
# -*- encoding: utf-8 -*-
$LOAD_PATH.push File.expand_path("lib")
require 'rjr/version'
GEM_NAME = 'rjr'
PKG_FILES =
Dir.glob('{examples,lib,site}/**/*.rb') +
Dir.glob('site/*.{html,js}') +
['LICENSE', 'Rakefile', 'README.md']
TEST_FILES = Dir.glob('specs/**/*.rb')
EXTRA =
['The amqp gem and a running rabbitmq server is needed to use the amqp node',
'The eventmachine_httpserver and em-http-request gems are needed to use the web node',
'The em-websocket and em-websocket-client gems are needed to use the web socket node']
Gem::Specification.new do |s|
s.name = GEM_NAME
s.version = RJR::VERSION
s.files = PKG_FILES
s.test_files = TEST_FILES
s.executables = ['rjr-server', 'rjr-client', 'rjr-client-launcher']
s.require_paths = ['lib']
s.required_ruby_version = '>= 1.8.1'
s.required_rubygems_version = Gem::Requirement.new(">= 1.3.3")
s.add_development_dependency('rspec', '>= 2.0.0')
s.add_dependency('eventmachine')
s.add_dependency('json', '>= 1.7.6')
s.post_install_message = "---\nRJR - Optional Transport Requirements\n" +
EXTRA.join("\n") + "\n---"
s.requirements = EXTRA
s.author = "Mo Morsi"
s.email = "[email protected]"
s.description = %q{Ruby Json Rpc library}
s.summary = %q{JSON RPC server and client library over amqp, websockets, http, etc}
s.homepage = %q{http://github.com/movitto/rjr}
s.licenses = ["Apache 2.0"]
end