Sha256: 38cf9d06df0c83daf5f5751a4b2ee360dcfe0e2efd6b4d758e8ea4bd88198135

Contents?: true

Size: 1.14 KB

Versions: 3

Compression:

Stored size: 1.14 KB

Contents

require 'rake'
require 'rake/rdoctask'

require 'lib/sanitize/rails'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name             = 'sanitize-rails'

    gemspec.summary          = 'A sanitizer bridge for Rails applications'
    gemspec.authors          = ['Marcello Barnaba']
    gemspec.email            = 'vjt@openssl.it'
    gemspec.homepage         = 'http://github.com/vjt/sanitize-rails'

    gemspec.files            = %w( README.md Rakefile rails/init.rb ) + Dir['lib/**/*']
    gemspec.extra_rdoc_files = %w( README.md )
    gemspec.has_rdoc         = true

    gemspec.version          = Sanitize::Rails::Version
    gemspec.require_path     = 'lib'

    gemspec.add_dependency('rails', '~> 3.0')
    gemspec.add_dependency('sanitize')
  end
rescue LoadError
  puts 'Jeweler not available. Install it with: gem install jeweler'
end

desc 'Generate the rdoc'
Rake::RDocTask.new do |rdoc|
  rdoc.rdoc_files.add %w( README.md lib/**/*.rb )

  rdoc.main  = 'README.md'
  rdoc.title = 'Sanitizer-Rails'
end

desc 'Will someone help write tests?'
task :default do
  puts
  puts 'Can you help in writing tests? Please do :-)'
  puts
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sanitize-rails-0.6.1 Rakefile
sanitize-rails-0.6.0 Rakefile
sanitize-rails-0.5.0 Rakefile