Sha256: fe962e7ee0179273ea5ee0b296447b0d309e99d099f02e32546eff3eef6e3728
Contents?: true
Size: 651 Bytes
Versions: 14
Compression:
Stored size: 651 Bytes
Contents
$LOAD_PATH.push File.expand_path('../lib', __FILE__) require 'rake' require 'rubocop/rake_task' require 'rspec/core/rake_task' require 'rdoc/task' require 'wikipedia/version' task default: [:spec, :rubocop] desc 'Test the wikipedia plugin.' RSpec::Core::RakeTask.new(:spec) desc 'Run spec with coverage' task :coverage do ENV['COVERAGE'] = 'true' Rake::Task['spec'].execute end desc 'Run rubocop' RuboCop::RakeTask.new(:rubocop) Rake::RDocTask.new do |rdoc| version = Wikipedia::VERSION rdoc.rdoc_dir = 'rdoc' rdoc.title = "wikipedia-client #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end
Version data entries
14 entries across 14 versions & 1 rubygems