Sha256: 38135f1c2cfd51ee3689a091ad4a2692dff83db9486dd17a9624478d6aaf38ec

Contents?: true

Size: 847 Bytes

Versions: 25

Compression:

Stored size: 847 Bytes

Contents

begin
  require 'bundler/setup'
rescue LoadError
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end

Bundler::GemHelper.install_tasks

APP_RAKEFILE = File.expand_path("../spec/test_app/Rakefile", __FILE__)
load 'rails/tasks/engine.rake'

Dir[File.join(File.dirname(__FILE__), 'lib/tasks/**/*.rake')].each {|f| load f }

require 'rspec/core'
require 'rspec/core/rake_task'

namespace :ci do
  desc "Prepare the CI environment"
  task :prepare => ['db:drop', 'db:create', 'db:migrate']
  
  namespace :test do
    desc "Run all specs in spec directory (excluding plugin specs)"
    RSpec::Core::RakeTask.new(:spec)
  
    desc "Run Brakeman security tests"
    task :security => ['brakeman:run']
  end
  
  desc "Run all CI tests"
  task :test => ['ci:test:spec', 'ci:test:security']
end

task :default => ':ci:test'

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
notifiable-rails-0.30.4 Rakefile
notifiable-rails-0.30.3 Rakefile
notifiable-rails-0.30.2 Rakefile
notifiable-rails-0.30.1 Rakefile
notifiable-rails-0.30.0 Rakefile
notifiable-rails-0.29.0 Rakefile
notifiable-rails-0.28.1 Rakefile
notifiable-rails-0.28.0 Rakefile
notifiable-rails-0.27.1 Rakefile
notifiable-rails-0.27.0 Rakefile
notifiable-rails-0.26.3 Rakefile
notifiable-rails-0.26.1 Rakefile
notifiable-rails-0.26.0 Rakefile
notifiable-rails-0.24.3 Rakefile
notifiable-rails-0.24.2 Rakefile
notifiable-rails-0.24.1 Rakefile
notifiable-rails-0.24.0 Rakefile
notifiable-rails-0.23.0 Rakefile
notifiable-rails-0.22.1 Rakefile
notifiable-rails-0.22.0 Rakefile