Sha256: 7eb19630932cae0c764384f4772f1ca73c648ac91e8b66fa15d29f5edd80baf6

Contents?: true

Size: 774 Bytes

Versions: 8

Compression:

Stored size: 774 Bytes

Contents

# frozen_string_literal: true

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'countless/rake_tasks'

RSpec::Core::RakeTask.new(:spec)

task default: :spec

# Configure all code statistics directories
Countless.configure do |config|
  config.stats_base_directories = [
    { name: 'Top-levels', dir: 'lib',
      pattern: %r{/lib(/immoscout)?/[^/]+\.rb$} },
    { name: 'Top-levels specs', test: true, dir: 'spec',
      pattern: %r{/spec(/immoscout)?/[^/]+_spec\.rb$} },
    { name: 'APIs', pattern: 'lib/immoscout/api/**/*.rb' },
    { name: 'Errors', pattern: 'lib/immoscout/errors/**/*.rb' },
    { name: 'Models', pattern: 'lib/immoscout/models/**/*.rb' },
    { name: 'Models specs', test: true,
      pattern: 'spec/models/**/*_spec.rb' }
  ]
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
immoscout-1.6.5 Rakefile
immoscout-1.6.4 Rakefile
immoscout-1.6.3 Rakefile
immoscout-1.6.2 Rakefile
immoscout-1.6.1 Rakefile
immoscout-1.6.0 Rakefile
immoscout-1.5.0 Rakefile
immoscout-1.4.0 Rakefile