Sha256: c047dda769b0622752e4d753ffa0c20a3c9b3e37b625f00cbf5665c63f5b4ff3

Contents?: true

Size: 504 Bytes

Versions: 7

Compression:

Stored size: 504 Bytes

Contents

require "bundler/gem_tasks"

begin
  require 'rspec/core/rake_task'

  desc "Run unit tests"
  RSpec::Core::RakeTask.new(:unit) do |t|
    t.ruby_opts = %w[-w]
    t.pattern = 'spec/unit/**/*_spec.rb'
  end

  desc "Run integration tests"
  RSpec::Core::RakeTask.new(:integration) do |t|
    t.ruby_opts = %w[-w]
    t.pattern = 'spec/integration/**/*_spec.rb'
  end

  desc "Run both spec suites in order by default"
  task default: %w[unit integration]

rescue LoadError
  puts "RSpec Unavailable"
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rack-logs-0.1.0 Rakefile
rack-logs-0.0.6 Rakefile
rack-logs-0.0.5 Rakefile
rack-logs-0.0.4 Rakefile
rack-logs-0.0.3 Rakefile
rack-logs-0.0.2 Rakefile
rack-logs-0.0.1 Rakefile