-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathcontent_server.gemspec
More file actions
58 lines (53 loc) · 2.31 KB
/
Copy pathcontent_server.gemspec
File metadata and controls
58 lines (53 loc) · 2.31 KB
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
require File.expand_path('../lib/content_server/version', __FILE__)
Gem::Specification.new do |s|
s.name = 'content_server'
s.version = ContentServer::VERSION
s.summary = 'Servers for backing up content.'
s.description = 'Monitor and Index a directory and back it up to backup server.'
'Backups content as opposed to files. Two identical files are considered'
' one content if they have same bits sequence.'
s.authors = ['BBFS Team']
s.email = 'bbfsdev@gmail.com'
s.homepage = 'http://github.com/bbfsdev/bbfs'
s.files = Dir['lib/content_data.rb', 'lib/content_data/**/*',
'lib/content_server.rb', 'lib/content_server/**/*',
'lib/email.rb', 'lib/email/**/*',
'lib/file_copy.rb', 'lib/file_copy/**/*',
'lib/file_indexing.rb', 'lib/file_indexing/**/*',
'lib/file_monitoring.rb', 'lib/file_monitoring/**/*',
'lib/file_utils.rb', 'lib/file_utils/**/*',
'lib/log.rb', 'lib/log/**/*',
'lib/networking.rb', 'lib/networking/**/*',
'lib/params.rb', 'lib/params/**/*',
'lib/process_monitoring.rb', 'lib/process_monitoring/**/*',
'lib/run_in_background.rb', 'lib/run_in_background/**/*',
'lib/testing_server.rb', 'lib/testing_server/**/*',
'lib/testing_memory/**/*',
'lib/validations.rb', 'lib/validations/**/*'] \
& `git ls-files -z`.split("\0")
s.test_files = Dir['test/content_data/**/*',
'test/file_generator/**/*',
'test/file_indexing/**/*',
'test/file_monitoring/**/*',
'test/file_utils/**/*',
'test/params/**/*',
'test/run_in_background/**/*',
'spec/content_data/**/*',
'spec/content_server/**/*',
'spec/file_copy/**/*',
'spec/file_indexing/**/*',
'spec/networking/**/*',
'spec/validations/**/*'] \
& `git ls-files -z`.split("\0")
s.executables = ['content_server', 'backup_server', 'file_utils', 'fix_content_data', 'testing_server', 'testing_memory']
s.add_dependency('algorithms')
s.add_dependency('log4r')
s.add_dependency('eventmachine')
s.add_dependency('json')
s.add_dependency('sinatra')
s.add_dependency('thin','=1.6.2')
# Add platform dependant gems via extension (used by run_in_background).
# Linux dependencies: daemons
# Windows dependencies: win32-service, sys-uname
s.extensions = ['ext/run_in_background/mkrf_conf.rb']
end