Sha256: ceac91d37a8b68148a0a7fde82018feae5edc2b75025c1b146b9b494df218781
Contents?: true
Size: 1.51 KB
Versions: 11
Compression:
Stored size: 1.51 KB
Contents
# encoding: utf-8 require 'rubygems' require 'bundler' begin Bundler.setup(:default, :development) rescue Bundler::BundlerError => e $stderr.puts e.message $stderr.puts "Run `bundle install` to install missing gems" exit e.status_code end require 'rake' require 'jeweler' Jeweler::Tasks.new do |gem| # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options gem.name = "itrigga-param_fu" gem.homepage = "http://gemcutter.com/itrigga-param_fu" gem.license = "MIT" gem.summary = %Q{Validates parameters to methods} gem.description = %Q{Validates parameters to methods are present and are the required types} gem.email = "support@itrigga.com" gem.authors = ["Al Davidson","Anson Kelly"] # dependencies defined in Gemfile end Jeweler::RubygemsDotOrgTasks.new require 'spec/version' require 'spec/rake/spectask' require 'spec/ruby' Spec::Rake::SpecTask.new(:spec) do |spec| spec.spec_files = FileList['spec/**/*_spec.rb'] spec.spec_opts = ['--options', 'spec/spec.opts'] end task :default => :spec desc "Run all specs with rcov" Spec::Rake::SpecTask.new(:rcov) do |t| t.spec_files = FileList['spec/**/*_spec.rb'] t.spec_opts = ['--options', 'spec/spec.opts'] t.rcov = true t.rcov_dir = 'coverage' t.rcov_opts = ['--exclude', "features,kernel,load-diff-lcs\.rb,instance_exec\.rb,lib/spec.rb,lib/spec/runner.rb,^spec/*,bin/spec,examples,/gems,/Library/Ruby,\.autotest,#{ENV['GEM_HOME']}"] t.rcov_opts << '--sort coverage --text-summary --aggregate coverage.data' end
Version data entries
11 entries across 11 versions & 1 rubygems