forked from riemann/riemann-tools
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile.rb
48 lines (39 loc) · 1.28 KB
/
Rakefile.rb
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
require 'rubygems'
require 'rubygems/package_task'
require 'rdoc/task'
require 'find'
# Don't include resource forks in tarballs on Mac OS X.
ENV['COPY_EXTENDED_ATTRIBUTES_DISABLE'] = 'true'
ENV['COPYFILE_DISABLE'] = 'true'
# Gemspec
gemspec = Gem::Specification.new do |s|
s.rubyforge_project = 'riemann-tools'
s.name = 'riemann-tools'
s.version = '0.1.5'
s.author = 'Kyle Kingsbury'
s.email = 'aphyr@aphyr.com'
s.homepage = 'https://github.com/aphyr/riemann-tools'
s.platform = Gem::Platform::RUBY
s.summary = 'Utilities which submit events to Riemann.'
s.add_dependency 'riemann-client', '>= 0.2.2'
s.add_dependency 'trollop', '>= 1.16.2'
s.add_dependency 'munin-ruby', '>= 0.2.1'
s.add_dependency 'yajl-ruby', '>= 1.1.0'
s.add_dependency 'redis', '>= 3.0.2'
s.add_dependency 'fog', '>= 1.4.0'
s.add_dependency 'faraday', '>= 0.8.5'
s.add_dependency 'nokogiri', '>= 1.5.6'
s.files = FileList['lib/**/*', 'bin/*', 'LICENSE', 'README.markdown'].to_a
s.executables |= Dir.entries('bin/')
s.require_path = 'lib'
s.has_rdoc = true
s.required_ruby_version = '>= 1.8.7'
end
Gem::PackageTask.new gemspec do |p|
end
RDoc::Task.new do |rd|
rd.main = 'Riemann Tools'
rd.title = 'Riemann Tools'
rd.rdoc_dir = 'doc'
rd.rdoc_files.include('lib/**/*.rb')
end