Sha256: 33739df4e0fb074ae1bb3b77354f1beb2c7f3fc51b0f74b80b80c1b5cee9c7a2

Contents?: true

Size: 1 KB

Versions: 2

Compression:

Stored size: 1 KB

Contents

require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "ryba"
    s.summary = %Q{Russian faker}
    s.email = "olegdashevskii@gmail.com"
    s.homepage = "http://github.com/be9/ryba"
    s.description = "Russian names and addresses generator"
    s.authors = ["oleg dashevskii"]
  end

  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'ryba'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |t|
  t.libs << 'lib' << 'spec'
  t.spec_files = FileList['spec/**/*_spec.rb']
  t.spec_opts << '--colour'
end

Spec::Rake::SpecTask.new(:rcov) do |t|
  t.libs << 'lib' << 'spec'
  t.spec_files = FileList['spec/**/*_spec.rb']
  t.rcov = true
end

task :default => :spec

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ryba-0.1.1 Rakefile
ryba-0.1.0 Rakefile