Sha256: 5f0f4f95a901f9e3758ed7778b159b72cab70708354ba6f54131f6a22b616942
Contents?: true
Size: 1.13 KB
Versions: 4
Compression:
Stored size: 1.13 KB
Contents
begin # optionally load `rake build/install/release tasks' require 'bundler/gem_tasks' rescue LoadError end require "rspec/core/rake_task" desc "Run all specs" RSpec::Core::RakeTask.new('spec') desc "Run unit specs" RSpec::Core::RakeTask.new('spec:unit') do |t| t.pattern = 'spec/unit/*_spec.rb' end desc "Run integration specs" RSpec::Core::RakeTask.new('spec:integration') do |t| t.pattern = 'spec/integration/*_spec.rb' end desc "Print specdocs" RSpec::Core::RakeTask.new(:doc) do |t| t.rspec_opts = ["--format", "specdoc", "--dry-run"] t.pattern = 'spec/**/*_spec.rb' end desc "Run all examples with RCov" RSpec::Core::RakeTask.new('rcov') do |t| t.pattern = 'spec/*_spec.rb' t.rcov = true t.rcov_opts = ['--exclude', 'examples'] end task :default => :spec ############################ require 'rdoc/task' Rake::RDocTask.new do |t| t.rdoc_dir = 'rdoc' t.title = "rest-client, fetch RESTful resources effortlessly" t.options << '--line-numbers' << '--inline-source' << '-A cattr_accessor=object' t.options << '--charset' << 'utf-8' t.rdoc_files.include('README.rdoc') t.rdoc_files.include('lib/*.rb') end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rest-client-maestro-1.7.5.maestro | Rakefile |
rest-client-maestro-1.7.4.maestro | Rakefile |
rest-client-maestro-1.7.3.maestro | Rakefile |
rest-client-maestro-1.7.2.maestro | Rakefile |