Sha256: 160e8c8e78aadb8d1518d3200f35d37e075a8774baaf52a18feb756c43fa9ee8

Contents?: true

Size: 1.34 KB

Versions: 10

Compression:

Stored size: 1.34 KB

Contents

# encoding: utf-8
# frozen_string_literal: true

require 'rubygems'
require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end
require 'rake'
require 'juwelier'
Juwelier::Tasks.new do |gem|
  # gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
  gem.name = "prefab-cloud-ruby"
  gem.homepage = "http://github.com/prefab-cloud/prefab-cloud-ruby"
  gem.license = "MIT"
  gem.summary = %Q{Prefab Ruby Infrastructure}
  gem.description = %Q{RateLimits & Config as a service}
  gem.email = "jdwyer@prefab.cloud"
  gem.authors = ["Jeff Dwyer"]

  # dependencies defined in Gemfile
end
Juwelier::RubygemsDotOrgTasks.new
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/test_*.rb'
  test.verbose = true
end

desc "Code coverage detail"
task :simplecov do
  ENV['COVERAGE'] = "true"
  Rake::Task['test'].execute
end

task :default => :test

require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "prefab-cloud-ruby #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
prefab-cloud-ruby-0.20.0 Rakefile
prefab-cloud-ruby-0.19.0 Rakefile
prefab-cloud-ruby-0.18.0 Rakefile
prefab-cloud-ruby-0.17.0 Rakefile
prefab-cloud-ruby-0.16.0 Rakefile
prefab-cloud-ruby-0.15.0 Rakefile
prefab-cloud-ruby-0.14.0 Rakefile
prefab-cloud-ruby-0.13.3 Rakefile
prefab-cloud-ruby-0.13.2 Rakefile
prefab-cloud-ruby-0.13.0 Rakefile