Sha256: a0fabb40a4335b6b0e5a5eac09816067b777cd0142bb3397a3e49c6b48ec1380

Contents?: true

Size: 969 Bytes

Versions: 20

Compression:

Stored size: 969 Bytes

Contents

require 'bundler/setup'
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'coveralls/rake/task'
require 'yard'
Coveralls::RakeTask.new

RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.rspec_opts = ['--backtrace', '--fail-fast'] if ENV['DEBUG']
end

YARD::Config.options[:load_plugins] = true
YARD::Config.load_plugins

YARD::Rake::YardocTask.new do |t|
  t.files = ['lib/**/*.rb', 'spec/**/*_spec.rb'] # optional
  t.options = ['--any', '--extra', '--opts', '--markup-provider=redcarpet', '--markup=markdown', '--debug'] # optional
  t.stats_options = ['--list-undoc'] # optional
end

desc 'Default: run the unit tests.'
task default: [:all]

desc 'Test the plugin under all supported Rails versions.'
task :all do |_t|
  if ENV['TRAVIS']
    exec('bundle exec rake  spec && bundle exec rake coveralls:push')
  else
    exec('bundle exec rake spec')
  end
end

task :docs do
  exec('bundle exec inch --pedantic && bundle exec yard --list-undoc')
end

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
celluloid_pubsub_redis_adapter-0.4.0 Rakefile
celluloid_pubsub_redis_adapter-0.3.0 Rakefile
celluloid_pubsub_redis_adapter-0.2.0 Rakefile
celluloid_pubsub_redis_adapter-0.1.2 Rakefile
celluloid_pubsub-0.7.4 Rakefile
celluloid_pubsub-0.7.3 Rakefile
celluloid_pubsub-0.7.2 Rakefile
celluloid_pubsub_redis_adapter-0.1.1 Rakefile
celluloid_pubsub-0.7.1 Rakefile
celluloid_pubsub_redis_adapter-0.1.0 Rakefile
celluloid_pubsub-0.7.0 Rakefile
celluloid_pubsub_redis_adapter-0.0.2 Rakefile
celluloid_pubsub-0.6.1 Rakefile
celluloid_pubsub-0.6.0 Rakefile
celluloid_pubsub_redis_adapter-0.0.1 Rakefile
celluloid_pubsub-0.5.2 Rakefile
celluloid_pubsub-0.5.1 Rakefile
celluloid_pubsub-0.5.0 Rakefile
celluloid_pubsub-0.4.8 Rakefile
celluloid_pubsub-0.4.7 Rakefile