Sha256: 20787ded015234a1aa66b0c1604dee5f67a87e8ad2ec00a259afb9a770155403
Contents?: true
Size: 448 Bytes
Versions: 2
Compression:
Stored size: 448 Bytes
Contents
require "rspec/core/rake_task" require_relative './lib/mondrian_rest.rb' desc "Run specs" RSpec::Core::RakeTask.new(:spec) RSpec::Core::RakeTask.new(:rcov) do |t| t.rcov = true t.rcov_opts = ['--exclude', '/Library,spec/'] end desc "API Routes" task :routes do Mondrian::REST::Api.routes.each do |api| method = api.route_method.ljust(10) path = api.route_path puts " #{method} #{path}" end end task :default => [:spec]
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mondrian-rest-0.6.0-java | Rakefile |
mondrian-rest-0.5.0-java | Rakefile |