File: whitewash.gemspec

package info (click to toggle)
ruby-whitewash 2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 220 kB
  • sloc: ruby: 1,217; makefile: 3
file content (23 lines) | stat: -rw-r--r-- 955 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Gem::Specification.new do |spec|
  spec.name        = 'whitewash'
  spec.version     = '2.1'
  spec.author      = 'Dmitry Borodaenko'
  spec.email       = 'angdraug@debian.org'
  spec.homepage    = 'https://github.com/angdraug/whitewash'
  spec.summary     = 'Whitelist-based HTML filter for Ruby'
  spec.description = <<-EOF
This module allows Ruby programs to clean up any HTML document or
fragment coming from an untrusted source and to remove all dangerous
constructs that could be used for cross-site scripting or request
forgery.
    EOF
  spec.files       = %w(COPYING ChangeLog.mtn README.rdoc
                        setup.rb Rakefile whitewash.gemspec) +
                     Dir['{lib,spec}/**/*.rb'] +
                     Dir['data/**/*.yaml']
  spec.test_files  = Dir['spec/*_spec.rb']
  spec.license     = 'GPL-3.0+'
  spec.add_dependency('nokogiri')
  spec.add_development_dependency('rake')
  spec.add_development_dependency('rspec')
end