Sha256: 7e6ead636fe40b5d7d4716ec43ee12aceae196d9a92e7a4d753b4ee9aa738c4a

Contents?: true

Size: 1.15 KB

Versions: 3

Compression:

Stored size: 1.15 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-validate_uri"
    gem.summary = %Q{Provides an URI validator for Rails 3.}
    gem.description = %Q{It provides validation of URIs (URLs) to ActiveModel records and ActionControllers in Rails 3.}
    gem.email = "andre@vidibus.com"
    gem.homepage = "http://github.com/vidibus/vidibus-validate_uri"
    gem.authors = ["Andre Pankratz"]
    gem.add_development_dependency "rspec"
    gem.add_dependency "rails", "~> 3.0.0"
  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-core_extensions #{version}"
  rdoc.rdoc_files.include("README*")
  rdoc.rdoc_files.include("lib/**/*.rb")
  rdoc.options << "--charset=utf-8"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vidibus-validate_uri-0.1.3 Rakefile
vidibus-validate_uri-0.1.2 Rakefile
vidibus-validate_uri-0.1.1 Rakefile