Sha256: 8c85e65c0ca306e42214bb4875b5048f39c8ff18bf861181f5c3693a0c949475

Contents?: true

Size: 1.41 KB

Versions: 5

Compression:

Stored size: 1.41 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 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/test_*.rb'
  test.verbose = true
end

task default: :test

unless ENV['CI']
  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

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

  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
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
prefab-cloud-ruby-1.8.7 Rakefile
prefab-cloud-ruby-1.8.6 Rakefile
prefab-cloud-ruby-1.8.5 Rakefile
prefab-cloud-ruby-1.8.4 Rakefile
prefab-cloud-ruby-1.8.3 Rakefile