Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (22 sloc) 738 Bytes
require 'rake'
require 'spec/rake/spectask'
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "gmetric"
gemspec.summary = "Pure Ruby interface for generating Ganglia gmetric packets"
gemspec.description = gemspec.summary
gemspec.email = "ilya@igvita.com"
gemspec.homepage = "http://github.com/igrigorik/gmetric"
gemspec.authors = ["Ilya Grigorik"]
gemspec.rubyforge_project = "gmetric"
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install jeweler -s http://gemcutter.org"
end
task :default => :spec
Spec::Rake::SpecTask.new do |t|
t.ruby_opts = ['-rtest/unit']
t.spec_files = FileList['spec/**/*_spec.rb']
end
Jump to Line
Something went wrong with that request. Please try again.