Sha256: 799444d15976829ab50305943f49d799736dcf3b865733f838b9cc4019f807f9

Contents?: true

Size: 1.56 KB

Versions: 3

Compression:

Stored size: 1.56 KB

Contents

require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name        = 'qik-loops'
    gemspec.summary     = 'Simple background loops framework for ruby (qik.com)'
    gemspec.description = 'Loops is a small and lightweight framework for Ruby on Rails, Merb and other ruby frameworks created to support simple background loops in your application which are usually used to do some background data processing on your servers (queue workers, batch tasks processors, etc).'
    gemspec.email       = 'gleb.pomykalov@qik.com'
    gemspec.homepage    = 'http://github.com/glebpom/loops'
    gemspec.authors     = ['Alexey Kovyrin', 'Dmytro Shteflyuk', 'Gleb Pomykalov']
    gemspec.files.include ['lib/**/*']
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts 'Jeweler not available. Install it with: sudo gem install jeweler'
end

begin
  require 'spec/rake/spectask'

  desc 'Default: run unit tests.'
  task :default => :spec

  desc 'Test the loops plugin.'
  Spec::Rake::SpecTask.new(:spec) do |t|
    t.libs << 'lib'
    t.pattern = 'spec/**/*_spec.rb'
    t.verbose = true
    t.spec_opts = ['-cfs']
  end
rescue LoadError
  puts 'RSpec not available. Install it with: sudo gem install rspec'
end

begin
  require 'yard'
  YARD::Rake::YardocTask.new(:yard) do |t|
    t.options = ['--title', 'Loops Documentation']
    if ENV['PRIVATE']
      t.options.concat ['--protected', '--private']
    else
      t.options.concat ['--protected', '--no-private']
    end
  end
rescue LoadError
  puts 'Yard not available. Install it with: sudo gem install yard'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
qik-loops-2.1.4 Rakefile
qik-loops-2.1.3 Rakefile
qik-loops-2.1.0 Rakefile