Sha256: 7dd4738be63b5fe0ffd99ab3ffb34371d70c476e6187c79180f4f5f50a0b5609
Contents?: true
Size: 918 Bytes
Versions: 6
Compression:
Stored size: 918 Bytes
Contents
require 'rubygems' begin require 'bundler' Bundler::GemHelper.install_tasks rescue LoadError => e puts "although not required, it's recommended that you use bundler during development" end require 'rspec/core/rake_task' desc "Run all examples" RSpec::Core::RakeTask.new(:spec) task :default => :spec require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = "multi_json #{MultiJson::VERSION}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end task :cleanup_rcov_files do rm_rf 'coverage.data' end begin namespace :spec do desc "Run all examples using rcov" RSpec::Core::RakeTask.new :rcov => :cleanup_rcov_files do |t| t.rcov = true t.rcov_opts = %[-Ilib -Ispec --exclude "gems/*,features"] t.rcov_opts << %[--text-report --sort coverage --no-html --aggregate coverage.data] end end rescue LoadError end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
multi_json-1.0.2 | Rakefile |
multi_json-1.0.1 | Rakefile |
multi_json-1.0.0 | Rakefile |
multi_json-1.0.0.rc3 | Rakefile |
multi_json-1.0.0.rc2 | Rakefile |
multi_json-1.0.0.rc | Rakefile |