Sha256: 706471a1650ee7584b5bd2fd6a8102b8c99523f096580513ade719dfaa9ca486

Contents?: true

Size: 1.21 KB

Versions: 9

Compression:

Stored size: 1.21 KB

Contents

require 'rake/testtask'

Rake::TestTask.new do |t|
  t.verbose = true
  t.test_files = FileList['test/*_test.rb']
end

task :default => :test

begin 
  require 'jeweler' 

  Jeweler::Tasks.new do |s| 
    s.name = "dash-ruby" 
    s.rubyforge_project = 'fiveruns'
    s.summary = "FiveRuns Dash core library for Ruby" 
    s.email = "dev@fiveruns.com" 
    s.homepage = "http://github.com/fiveruns/dash-ruby" 
    s.description = "Provides an API to send metrics to the FiveRuns Dash service" 
    s.authors = ["FiveRuns Development Team"] 
    s.files =  FileList['README.rdoc', 'Rakefile', 'version.yml', "{lib,test,recipes,examples}/**/*", ] 
    s.add_dependency 'json' 
  end 
rescue LoadError 
  puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" 
end

task :coverage do
  rm_f "coverage"
  rm_f "coverage.data"
  rcov = "rcov --exclude gems --exclude version.rb --sort coverage --text-summary --html -o coverage"
  system("#{rcov} test/*_test.rb")
  if ccout = ENV['CC_BUILD_ARTIFACTS']
    FileUtils.rm_rf '#{ccout}/coverage'
    FileUtils.cp_r 'coverage', ccout
  end
  system "open coverage/index.html" if PLATFORM['darwin']
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fiveruns-dash-ruby-0.7.1 Rakefile
fiveruns-dash-ruby-0.7.2 Rakefile
fiveruns-dash-ruby-0.7.3 Rakefile
fiveruns-dash-ruby-0.7.4 Rakefile
fiveruns-dash-ruby-0.7.5 Rakefile
fiveruns-dash-ruby-0.7.6 Rakefile
fiveruns-dash-ruby-0.8.0 Rakefile
fiveruns-dash-ruby-0.8.1 Rakefile
fiveruns-dash-ruby-0.8.3 Rakefile