forked from rgrove/sanitize
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsanitize.gemspec
36 lines (32 loc) · 1.6 KB
/
sanitize.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = %q{sanitize}
s.version = "2.0.3"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = [%q{Ryan Grove}]
s.date = %q{2011-07-02}
s.email = %q{ryan@wonko.com}
s.files = [%q{HISTORY.md}, %q{LICENSE}, %q{README.rdoc}, %q{lib/sanitize/config/basic.rb}, %q{lib/sanitize/config/relaxed.rb}, %q{lib/sanitize/config/restricted.rb}, %q{lib/sanitize/config.rb}, %q{lib/sanitize/transformers/clean_cdata.rb}, %q{lib/sanitize/transformers/clean_comment.rb}, %q{lib/sanitize/transformers/clean_element.rb}, %q{lib/sanitize/version.rb}, %q{lib/sanitize.rb}]
s.homepage = %q{https://github.com/rgrove/sanitize/}
s.require_paths = [%q{lib}]
s.required_ruby_version = Gem::Requirement.new(">= 1.8.7")
s.rubyforge_project = %q{riposte}
s.rubygems_version = %q{1.8.5}
s.summary = %q{Whitelist-based HTML sanitizer.}
if s.respond_to? :specification_version then
s.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<nokogiri>, ["< 1.6", ">= 1.4.4"])
s.add_development_dependency(%q<minitest>, ["~> 2.0.0"])
s.add_development_dependency(%q<rake>, ["~> 0.8.0"])
else
s.add_dependency(%q<nokogiri>, ["< 1.6", ">= 1.4.4"])
s.add_dependency(%q<minitest>, ["~> 2.0.0"])
s.add_dependency(%q<rake>, ["~> 0.8.0"])
end
else
s.add_dependency(%q<nokogiri>, ["< 1.6", ">= 1.4.4"])
s.add_dependency(%q<minitest>, ["~> 2.0.0"])
s.add_dependency(%q<rake>, ["~> 0.8.0"])
end
end