forked from flavorjones/loofah
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathloofah.gemspec
71 lines (65 loc) · 4.34 KB
/
loofah.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = %q{loofah}
s.version = "1.2.0.20110808125339"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Mike Dalessio", "Bryan Helmkamp"]
s.date = %q{2011-08-08}
s.description = %q{Loofah is a general library for manipulating and transforming HTML/XML
documents and fragments. It's built on top of Nokogiri and libxml2, so
it's fast and has a nice API.
Loofah excels at HTML sanitization (XSS prevention). It includes some
nice HTML sanitizers, which are based on HTML5lib's whitelist, so it
most likely won't make your codes less secure. (These statements have
not been evaluated by Netexperts.)
ActiveRecord extensions for sanitization are available in the
`loofah-activerecord` gem (see
http://github.com/flavorjones/loofah-activerecord).}
s.email = ["[email protected]", "[email protected]"]
s.extra_rdoc_files = ["MIT-LICENSE.txt", "Manifest.txt", "CHANGELOG.rdoc", "README.rdoc"]
s.files = ["CHANGELOG.rdoc", "Gemfile", "MIT-LICENSE.txt", "Manifest.txt", "README.rdoc", "Rakefile", "benchmark/benchmark.rb", "benchmark/fragment.html", "benchmark/helper.rb", "benchmark/www.slashdot.com.html", "lib/loofah.rb", "lib/loofah/elements.rb", "lib/loofah/helpers.rb", "lib/loofah/html/document.rb", "lib/loofah/html/document_fragment.rb", "lib/loofah/html5/scrub.rb", "lib/loofah/html5/whitelist.rb", "lib/loofah/instance_methods.rb", "lib/loofah/metahelpers.rb", "lib/loofah/scrubber.rb", "lib/loofah/scrubbers.rb", "lib/loofah/xml/document.rb", "lib/loofah/xml/document_fragment.rb", "test/assets/testdata_sanitizer_tests1.dat", "test/helper.rb", "test/html5/test_sanitizer.rb", "test/integration/test_ad_hoc.rb", "test/integration/test_helpers.rb", "test/integration/test_html.rb", "test/integration/test_scrubbers.rb", "test/integration/test_xml.rb", "test/unit/test_api.rb", "test/unit/test_encoding.rb", "test/unit/test_helpers.rb", "test/unit/test_scrubber.rb", "test/unit/test_scrubbers.rb", ".gemtest"]
s.homepage = %q{http://github.com/flavorjones/loofah}
s.rdoc_options = ["--main", "README.rdoc"]
s.require_paths = ["lib"]
s.rubyforge_project = %q{loofah}
s.rubygems_version = %q{1.6.0}
s.summary = %q{Loofah is a general library for manipulating and transforming HTML/XML documents and fragments}
s.test_files = ["test/unit/test_scrubber.rb", "test/unit/test_helpers.rb", "test/unit/test_api.rb", "test/unit/test_scrubbers.rb", "test/unit/test_encoding.rb", "test/html5/test_sanitizer.rb", "test/integration/test_helpers.rb", "test/integration/test_scrubbers.rb", "test/integration/test_ad_hoc.rb", "test/integration/test_xml.rb", "test/integration/test_html.rb"]
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.4.4"])
s.add_development_dependency(%q<rake>, [">= 0.8"])
s.add_development_dependency(%q<minitest>, ["~> 2.2"])
s.add_development_dependency(%q<rr>, ["~> 1.0"])
s.add_development_dependency(%q<json>, [">= 0"])
s.add_development_dependency(%q<hoe-gemspec>, [">= 0"])
s.add_development_dependency(%q<hoe-debugging>, [">= 0"])
s.add_development_dependency(%q<hoe-bundler>, [">= 0"])
s.add_development_dependency(%q<hoe-git>, [">= 0"])
s.add_development_dependency(%q<hoe>, ["~> 2.10"])
else
s.add_dependency(%q<nokogiri>, [">= 1.4.4"])
s.add_dependency(%q<rake>, [">= 0.8"])
s.add_dependency(%q<minitest>, ["~> 2.2"])
s.add_dependency(%q<rr>, ["~> 1.0"])
s.add_dependency(%q<json>, [">= 0"])
s.add_dependency(%q<hoe-gemspec>, [">= 0"])
s.add_dependency(%q<hoe-debugging>, [">= 0"])
s.add_dependency(%q<hoe-bundler>, [">= 0"])
s.add_dependency(%q<hoe-git>, [">= 0"])
s.add_dependency(%q<hoe>, ["~> 2.10"])
end
else
s.add_dependency(%q<nokogiri>, [">= 1.4.4"])
s.add_dependency(%q<rake>, [">= 0.8"])
s.add_dependency(%q<minitest>, ["~> 2.2"])
s.add_dependency(%q<rr>, ["~> 1.0"])
s.add_dependency(%q<json>, [">= 0"])
s.add_dependency(%q<hoe-gemspec>, [">= 0"])
s.add_dependency(%q<hoe-debugging>, [">= 0"])
s.add_dependency(%q<hoe-bundler>, [">= 0"])
s.add_dependency(%q<hoe-git>, [">= 0"])
s.add_dependency(%q<hoe>, ["~> 2.10"])
end
end