Sha256: aff5a6f492c613f212dbd5a11b588bafee782699862c2f0b0b7c82553ea65426

Contents?: true

Size: 524 Bytes

Versions: 6

Compression:

Stored size: 524 Bytes

Contents

# frozen_string_literal: true

require 'bundler'

begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  warn e.message
  warn 'Run `bundle install` to install missing gems'
  exit e.status_code
end

Bundler::GemHelper.install_tasks

require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.pattern = FileList['spec/**/*_spec.rb']
end

require 'rubocop/rake_task'
RuboCop::RakeTask.new(:rubocop)

task default: %i[rubocop spec]

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mongoid_orderable-6.0.5 Rakefile
mongoid_orderable-6.0.4 Rakefile
mongoid_orderable-6.0.3 Rakefile
mongoid_orderable-6.0.2 Rakefile
mongoid_orderable-6.0.1 Rakefile
mongoid_orderable-6.0.0 Rakefile