Sha256: 6e114cf19f295f28371da4dc5f9c8505005f91cd71b65fb9b9487bfd138ff6d3
Contents?: true
Size: 585 Bytes
Versions: 10
Compression:
Stored size: 585 Bytes
Contents
require "bundler/gem_tasks" require 'rake' require 'rspec/core/rake_task' require 'simple_metrics' RSpec::Core::RakeTask.new task :default => :spec task :test => :spec namespace :simple_metrics do desc "Ensure collections and index exist" task :ensure_collections_exist do SimpleMetrics.logger = Logger.new($stdout) SimpleMetrics::DataPointRepository.ensure_collections_exist end desc "Truncate all collections" task :truncate_collections do SimpleMetrics.logger = Logger.new($stdout) SimpleMetrics::DataPointRepository.truncate_collections end end
Version data entries
10 entries across 10 versions & 1 rubygems