Sha256: 60a7567df9fa9aebedccf59b7d228a1623a7efe6e5fb1ee33f136814206d0ba3

Contents?: true

Size: 557 Bytes

Versions: 78

Compression:

Stored size: 557 Bytes

Contents

# frozen_string_literal: true

require "rspec/core/rake_task"

namespace :spec do
  RSpec::Core::RakeTask.new(:simplecov) do |t|
    t.pattern = FileList['spec/**/*_spec.rb']
    t.rspec_opts = %w[--color --format documentation] unless ENV["CI"]
  end

  namespace :simplecov do
    desc "Browse the code coverage report."
    task :browse => "spec:simplecov" do
      require "launchy"
      Launchy.open("coverage/index.html")
    end
  end
end

desc "Alias to spec:simplecov"
task "spec" => "spec:simplecov"

task "clobber" => ["spec:clobber_simplecov"]

Version data entries

78 entries across 78 versions & 12 rubygems

Version Path
cloudsmith-api-2.0.0 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.1/tasks/rspec.rake
tdiary-5.2.4 vendor/bundle/ruby/3.1.0/gems/addressable-2.8.1/tasks/rspec.rake
whitelabelmachinename-ruby-sdk-3.2.1 vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/tasks/rspec.rake
wallee-ruby-sdk-3.2.0 vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/tasks/rspec.rake
postfinancecheckout-ruby-sdk-3.2.0 vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/tasks/rspec.rake
cloudsmith-api-1.142.3 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.1/tasks/rspec.rake
wallee-ruby-sdk-3.1.5 vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/tasks/rspec.rake
postfinancecheckout-ruby-sdk-3.1.5 vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/tasks/rspec.rake
tdiary-5.2.3 vendor/bundle/ruby/3.1.0/gems/addressable-2.8.1/tasks/rspec.rake
addressable-2.8.1 tasks/rspec.rake
whitelabelmachinename-ruby-sdk-3.2.0 vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/tasks/rspec.rake
whitelabelmachinename-ruby-sdk-3.1.9 vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/tasks/rspec.rake
whitelabelmachinename-ruby-sdk-3.1.8 vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/tasks/rspec.rake
cloudsmith-api-1.120.3 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.0/tasks/rspec.rake
whitelabelmachinename-ruby-sdk-3.1.7 vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/tasks/rspec.rake
whitelabelmachinename-ruby-sdk-3.1.6 vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/tasks/rspec.rake
whitelabelmachinename-ruby-sdk-3.1.5 vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/tasks/rspec.rake
postfinancecheckout-ruby-sdk-3.1.4 vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/tasks/rspec.rake
whitelabelmachinename-ruby-sdk-3.1.4 vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/tasks/rspec.rake
wallee-ruby-sdk-3.1.4 vendor/bundle/ruby/2.4.0/gems/addressable-2.8.0/tasks/rspec.rake