Sha256: 8f0bba903432f05b881f76ea080dd42a404b90e5826215a040b306bb9cedcbc3

Contents?: true

Size: 1.11 KB

Versions: 9

Compression:

Stored size: 1.11 KB

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(/pricehubble)?/[^/]+\.rb$} },
    { name: 'Top-levels specs', test: true, dir: 'spec',
      pattern: %r{/spec(/pricehubble)?/[^/]+_spec\.rb$} },
    { name: 'Clients', pattern: 'lib/pricehubble/client/**/*.rb' },
    { name: 'Clients specs', test: true,
      pattern: 'spec/client/**/*_spec.rb' },
    { name: 'Entities', pattern: 'lib/pricehubble/entity/**/*.rb' },
    { name: 'Entities specs', test: true,
      pattern: 'spec/entity/**/*_spec.rb' },
    { name: 'Utilities', pattern: 'lib/pricehubble/utils/**/*.rb' },
    { name: 'Utilities specs', test: true,
      pattern: 'spec/utils/**/*_spec.rb' },
    { name: 'Instrumentation',
      pattern: 'lib/pricehubble/instrumentation/**/*.rb' },
    { name: 'Core Extensions', pattern: 'lib/pricehubble/core_ext/**/*.rb' }
  ]
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pricehubble-1.3.0 Rakefile
pricehubble-1.2.5 Rakefile
pricehubble-1.2.4 Rakefile
pricehubble-1.2.3 Rakefile
pricehubble-1.2.2 Rakefile
pricehubble-1.2.1 Rakefile
pricehubble-1.2.0 Rakefile
pricehubble-1.1.0 Rakefile
pricehubble-1.0.0 Rakefile