Sha256: 9934b24f28c82abef98817edb3424ff662defe2f8ba0f22832393509b37e4298

Contents?: true

Size: 1.42 KB

Versions: 8

Compression:

Stored size: 1.42 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'
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
  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

  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

8 entries across 8 versions & 1 rubygems

Version Path
prefab-cloud-ruby-1.8.2 Rakefile
prefab-cloud-ruby-1.8.1 Rakefile
prefab-cloud-ruby-1.8.0 Rakefile
prefab-cloud-ruby-1.7.2 Rakefile
prefab-cloud-ruby-1.7.1 Rakefile
prefab-cloud-ruby-1.7.0 Rakefile
prefab-cloud-ruby-1.6.2 Rakefile
prefab-cloud-ruby-1.6.1 Rakefile