Sha256: 38e4b8b23823ac1b69480efb728ac3b1a4d5c3f9ee3e9bcb92e439e4de86d49c

Contents?: true

Size: 1.33 KB

Versions: 34

Compression:

Stored size: 1.33 KB

Contents

# frozen_string_literal: true

require 'rubygems'
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
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 = %(Prefab Ruby Infrastructure)
  gem.description = %(Feature Flags, Live Config, and Dynamic Log Levels 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

34 entries across 34 versions & 1 rubygems

Version Path
prefab-cloud-ruby-1.6.0 Rakefile
prefab-cloud-ruby-1.5.1 Rakefile
prefab-cloud-ruby-1.6.0.pre2 Rakefile
prefab-cloud-ruby-1.6.0.pre1 Rakefile
prefab-cloud-ruby-0 Rakefile
prefab-cloud-ruby-1.5.0 Rakefile
prefab-cloud-ruby-1.4.5 Rakefile
prefab-cloud-ruby-1.4.4 Rakefile
prefab-cloud-ruby-1.4.3 Rakefile
prefab-cloud-ruby-1.4.2 Rakefile
prefab-cloud-ruby-1.4.1 Rakefile
prefab-cloud-ruby-1.4.0 Rakefile
prefab-cloud-ruby-1.3.2 Rakefile
prefab-cloud-ruby-1.3.1 Rakefile
prefab-cloud-ruby-1.3.0 Rakefile
prefab-cloud-ruby-1.2.1 Rakefile
prefab-cloud-ruby-1.2.0 Rakefile
prefab-cloud-ruby-1.1.2 Rakefile
prefab-cloud-ruby-1.1.1 Rakefile
prefab-cloud-ruby-1.1.0 Rakefile