Sha256: 04f983a03de1014561762f1678dac7cdbecbf9bfd9296a1d019be3956221d7db

Contents?: true

Size: 688 Bytes

Versions: 95

Compression:

Stored size: 688 Bytes

Contents

require "rspec/core/rake_task"

desc "Run specs"
task :spec => ['spec:app', 'spec:lib']

namespace :spec do
  desc "Run only specs tagged 'solo'"
  RSpec::Core::RakeTask.new(:solo) do |t|
    t.verbose = false
    t.rspec_opts = %w(--color --tag solo)
  end

  desc "Run only specs tagged NOT tagged 'libraries' (for applications)"
  RSpec::Core::RakeTask.new(:app) do |t|
    t.verbose = false
    ENV["MONKEYPATCH_YAML"] = "true"
    t.rspec_opts = %w(--color --tag ~libraries)
  end

  desc "Run only specs tagged 'libraries'"
  RSpec::Core::RakeTask.new(:lib) do |t|
    t.verbose = false
    ENV["MONKEYPATCH_YAML"] = "false"
    t.rspec_opts = %w(--color --tag libraries)
  end
end

Version data entries

95 entries across 89 versions & 12 rubygems

Version Path
cloudsmith-api-0.53.3 vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/Rakefile
vagrant-unbundled-2.2.10.0 vendor/bundle/ruby/2.7.0/gems/safe_yaml-1.0.5/Rakefile
cloudsmith-api-0.53.1 vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/Rakefile
cloudsmith-api-0.52.121 vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/Rakefile
cloudsmith-api-0.52.92 vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/Rakefile
cloudsmith-api-0.52.79 vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/Rakefile
cloudsmith-api-0.52.5 vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/Rakefile
cloudsmith-api-0.52.0 vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/Rakefile
cloudsmith-api-0.51.93 vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.5/Rakefile
cloudsmith-api-0.51.38 vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/Rakefile
cloudsmith-api-0.51.37 vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/Rakefile
cloudsmith-api-0.51.34 vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/Rakefile
cloudsmith-api-0.51.22 vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/Rakefile
vagrant-unbundled-2.2.9.0 vendor/bundle/ruby/2.7.0/gems/safe_yaml-1.0.5/Rakefile
vagrant-unbundled-2.2.8.0 vendor/bundle/ruby/2.7.0/gems/safe_yaml-1.0.5/Rakefile
cloudsmith-api-0.49.118 vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/Rakefile
cloudsmith-api-0.49.98 vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/Rakefile
cloudsmith-api-0.49.94 vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/Rakefile
cloudsmith-api-0.49.21 vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/Rakefile
cloudsmith-api-0.49.15 vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/Rakefile