forked from alcy/riemann-hbase
/
Rakefile.rb
32 lines (24 loc) · 839 Bytes
/
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
require 'rubygems'
require 'rubygems/package_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-jmx'
s.name = 'riemann-jmx'
s.version = '0.0.1'
s.author = 'David Schoonover'
s.email = 'dsc@less.ly'
s.homepage = 'https://github.com/dsc/riemann-jmx'
s.platform = Gem::Platform::RUBY
s.summary = 'Send JMX metrics to Riemann via jruby'
s.add_dependency 'riemann-client'
s.add_dependency 'jmx4r'
s.files = FileList['bin/*', 'riemann-jmx.yaml.example', 'LICENSE', 'README.md'].to_a
s.executables |= Dir.entries('bin/')
s.required_ruby_version = '>= 1.8.7'
end
Gem::PackageTask.new gemspec do |p|
end