Sha256: 17b942f0cb62f7048784de6b4e537be3365721866f1184018c08a508617ffdf7

Contents?: true

Size: 1.13 KB

Versions: 5

Compression:

Stored size: 1.13 KB

Contents

require "rubygems"
require "rake"
require "rake/rdoctask"
require "rspec"
require "rspec/core/rake_task"

begin
  require "jeweler"
  Jeweler::Tasks.new do |gem|
    gem.name = "vidibus-uuid"
    gem.summary = %Q{Provides UUID generation through UUID gem.}
    gem.description = %Q{Provides UUID generation for Mongoid models. It includes a validator for UUIDs.}
    gem.email = "andre@vidibus.com"
    gem.homepage = "http://github.com/vidibus/vidibus-uuid"
    gem.authors = ["Andre Pankratz"]
    gem.add_dependency "mongoid", "~> 2.0.0.beta.20"
    gem.add_dependency "uuid", "~> 2.3.1"
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

Rspec::Core::RakeTask.new(:rcov) do |t|
  t.pattern = "spec/**/*_spec.rb"
  t.rcov = true
  t.rcov_opts = ["--exclude", "^spec,/gems/"]
end

Rake::RDocTask.new do |rdoc|
  version = File.exist?("VERSION") ? File.read("VERSION") : ""
  rdoc.rdoc_dir = "rdoc"
  rdoc.title = "vidibus-uuid #{version}"
  rdoc.rdoc_files.include("README*")
  rdoc.rdoc_files.include("lib/**/*.rb")
  rdoc.options << "--charset=utf-8"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vidibus-uuid-0.4.0 Rakefile
vidibus-uuid-0.3.11 Rakefile
vidibus-uuid-0.3.10 Rakefile
vidibus-uuid-0.3.9 Rakefile
vidibus-uuid-0.3.8 Rakefile