Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 288 Bytes
# encoding: utf-8
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
task default: :spec
def gemspec
@gemspec ||= eval(File.read('apiary.gemspec'), binding, '.gemspec')
end
desc 'Validate the gemspec'
task :gemspec do
gemspec.validate
end