Sha256: 3c8dfac72c07842574a86d11abf15651ea8f0ee9f44ff84e02e6b01835d3dea7

Contents?: true

Size: 1.24 KB

Versions: 12

Compression:

Stored size: 1.24 KB

Contents

require 'rubygems'
require 'bundler'
Bundler.setup :default, :test, :development

Bundler::GemHelper.install_tasks

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.pattern = 'spec/**/*_spec.rb'
end

RSpec::Core::RakeTask.new(:rcov) do |spec|
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

task :spec
task :default => :spec

#
# TODO: setup a place for documentation and then get this going again.
#
# begin
#   require 'yard'
#   DOC_FILES = ['lib/**/*.rb', 'README.markdown']
#   
#   YARD::Rake::YardocTask.new(:doc) do |t|
#     t.files   = DOC_FILES
#   end
#   
#   namespace :doc do
#     YARD::Rake::YardocTask.new(:pages) do |t|
#       t.files   = DOC_FILES
#       t.options = ['-o', '../grape.doc']
#     end
#     
#     namespace :pages do
#       desc 'Generate and publish YARD docs to GitHub pages.'
#       task :publish => ['doc:pages'] do
#         Dir.chdir(File.dirname(__FILE__) + '/../grape.doc') do
#           system("git add .")
#           system("git add -u")
#           system("git commit -m 'Generating docs for version #{version}.'")
#           system("git push origin gh-pages")
#         end
#       end
#     end
#   end
# rescue LoadError
#   puts "You need to install YARD."
# end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
grape-entity-matchers-1.3.0 Rakefile
grape-entity-matchers-1.2.0 Rakefile
grape-entity-matchers-1.1.0 Rakefile
grape-entity-matchers-1.0.1 Rakefile
grape-entity-matchers-1.0.0 Rakefile
grape-entity-matchers-0.4.1 Rakefile
grape-entity-matchers-0.4.0 Rakefile
grape-entity-0.3.0 Rakefile
grape-entity-matchers-0.0.2 Rakefile
grape-entity-matchers-0.0.1 Rakefile
grape-entity-0.2.0 Rakefile
grape-entity-0.1.0 Rakefile