Sha256: b01d70cbd3f291f34d74157185eb7e6764d2994e84fb46cf88053b0f9befd6da

Contents?: true

Size: 1.53 KB

Versions: 5

Compression:

Stored size: 1.53 KB

Contents

# encoding: utf-8

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 'jeweler'
Jeweler::Tasks.new do |gem|
  gem.name = 'pokitdok-ruby'
  gem.homepage = 'http://github.com/pokitdok/pokitdok-ruby'
  gem.license = 'MIT'
  gem.summary = %Q(Gem for easy access to the PokitDok Platform APIs)
  gem.description = %Q(Gem for easy access to the PokitDok Platform APIs.)
  gem.email = 'platform@pokitdok.com'
  gem.authors = ['PokitDok, Inc.']
end

Jeweler::RubygemsDotOrgTasks.new

require 'rake/testtask'
Rake::TestTask.new(:spec) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.verbose = true
  spec.warning = false
end

require 'coveralls'
Coveralls.wear!

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

task default: :spec

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

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'pokitdok-ruby #{@version}'
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
  rdoc.main = 'README.md'
end

require 'rubocop/rake_task'
desc 'Run RuboCop on the lib and test directory'
RuboCop::RakeTask.new(:rubocop) do |task|
  task.patterns = %w( 'lib/**/*.rb' 'test/**/*.rb' )
  task.formatters = %w( 'offenses' 'progress' )
  task.fail_on_error = false
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pokitdok-ruby-0.9.2 Rakefile
pokitdok-ruby-0.9.1 Rakefile
pokitdok-ruby-0.9.0 Rakefile
pokitdok-ruby-0.8.1 Rakefile
pokitdok-ruby-0.8.0 Rakefile