Sha256: 73637064c742019384d9dddd37cd3fc657ce7d6ec4cb03e534acecb64ecd069c
Contents?: true
Size: 859 Bytes
Versions: 5
Compression:
Stored size: 859 Bytes
Contents
require 'bundler' Bundler::GemHelper.install_tasks require 'appstats/tasks' require 'metric_fu' require 'rspec/core/rake_task' require 'tasks/standalone_migrations' import 'lib/appstats/ci.rake' begin MigratorTasks.new do |t| t.migrations = "db/migrations" t.config = "db/config.yml" t.schema = "db/schema.rb" t.env = "DB" # TODO: figure out why this property went away # t.default_env = "development" t.verbose = true t.log_level = Logger::ERROR end rescue LoadError => e puts "gem install standalone_migrations to get db:migrate:* tasks! (Error: #{e})" end RSpec::Core::RakeTask.new(:spec) do |t| t.pattern = "spec/*_spec.rb" t.rspec_opts = "--color" end MetricFu::Configuration.run do |config| config.metrics = [:rcov] config.rcov[:test_files] = ['spec/*_spec.rb'] config.rcov[:rcov_opts] << '-Ispec' end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
appstats-0.21.3 | Rakefile |
appstats-0.21.2 | Rakefile |
appstats-0.21.1 | Rakefile |
appstats-0.20.12 | Rakefile |
appstats-0.20.11 | Rakefile |