Sha256: e5ec0bf68788eaacf4b36b0befdb470931a083b58f3224cf58f0485794eab4d2
Contents?: true
Size: 1.02 KB
Versions: 3
Compression:
Stored size: 1.02 KB
Contents
require 'rubygems' require 'bundler' require 'simplecov' 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 SimpleCov.adapters.define 'migrant' do add_filter '/test' add_filter '/lib/tasks' add_filter '/lib/railtie' # Not covering lines it's running here .. disabling for now add_filter '/lib/simple_object' add_group 'Core Extensions', '/lib/migrant' add_group 'Schema Data Types', '/lib/datatype' end SimpleCov.start 'migrant' require 'rake' require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << 'lib' << 'test' test.pattern = 'test/**/test_*.rb' test.verbose = true end task :default => :test require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| version = File.exist?('VERSION') ? File.read('VERSION') : "" rdoc.rdoc_dir = 'rdoc' rdoc.title = "migrant #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
migrant-1.3.2 | Rakefile |
migrant-1.3.1 | Rakefile |
migrant-1.3.0 | Rakefile |