forked from flavorjones/loofah
-
Notifications
You must be signed in to change notification settings - Fork 0
/
loofah.gemspec
69 lines (65 loc) · 5.15 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
# -*- encoding: utf-8 -*-
# stub: loofah 2.2.0.20180212085853 ruby lib
Gem::Specification.new do |s|
s.name = "loofah".freeze
s.version = "2.2.0.20180212085853"
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
s.require_paths = ["lib".freeze]
s.authors = ["Mike Dalessio".freeze, "Bryan Helmkamp".freeze]
s.date = "2018-02-12"
s.description = "Loofah is a general library for manipulating and transforming HTML/XML\ndocuments and fragments. It's built on top of Nokogiri and libxml2, so\nit's fast and has a nice API.\n\nLoofah excels at HTML sanitization (XSS prevention). It includes some\nnice HTML sanitizers, which are based on HTML5lib's whitelist, so it\nmost likely won't make your codes less secure. (These statements have\nnot been evaluated by Netexperts.)\n\nActiveRecord extensions for sanitization are available in the\n[`loofah-activerecord` gem](https://github.com/flavorjones/loofah-activerecord).".freeze
s.email = ["[email protected]".freeze, "[email protected]".freeze]
s.extra_rdoc_files = ["CHANGELOG.md".freeze, "MIT-LICENSE.txt".freeze, "Manifest.txt".freeze, "README.md".freeze, "CHANGELOG.md".freeze, "README.md".freeze]
s.files = [".gemtest".freeze, "CHANGELOG.md".freeze, "Gemfile".freeze, "MIT-LICENSE.txt".freeze, "Manifest.txt".freeze, "README.md".freeze, "Rakefile".freeze, "benchmark/benchmark.rb".freeze, "benchmark/fragment.html".freeze, "benchmark/helper.rb".freeze, "benchmark/www.slashdot.com.html".freeze, "lib/loofah.rb".freeze, "lib/loofah/elements.rb".freeze, "lib/loofah/helpers.rb".freeze, "lib/loofah/html/document.rb".freeze, "lib/loofah/html/document_fragment.rb".freeze, "lib/loofah/html5/scrub.rb".freeze, "lib/loofah/html5/whitelist.rb".freeze, "lib/loofah/instance_methods.rb".freeze, "lib/loofah/metahelpers.rb".freeze, "lib/loofah/scrubber.rb".freeze, "lib/loofah/scrubbers.rb".freeze, "lib/loofah/xml/document.rb".freeze, "lib/loofah/xml/document_fragment.rb".freeze, "test/assets/testdata_sanitizer_tests1.dat".freeze, "test/helper.rb".freeze, "test/html5/test_sanitizer.rb".freeze, "test/integration/test_ad_hoc.rb".freeze, "test/integration/test_helpers.rb".freeze, "test/integration/test_html.rb".freeze, "test/integration/test_scrubbers.rb".freeze, "test/integration/test_xml.rb".freeze, "test/unit/test_api.rb".freeze, "test/unit/test_encoding.rb".freeze, "test/unit/test_helpers.rb".freeze, "test/unit/test_scrubber.rb".freeze, "test/unit/test_scrubbers.rb".freeze]
s.homepage = "https://github.com/flavorjones/loofah".freeze
s.licenses = ["MIT".freeze]
s.rdoc_options = ["--main".freeze, "README.md".freeze]
s.rubygems_version = "2.6.12".freeze
s.summary = "Loofah is a general library for manipulating and transforming HTML/XML documents and fragments".freeze
if s.respond_to? :specification_version then
s.specification_version = 4
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<nokogiri>.freeze, [">= 1.5.9"])
s.add_runtime_dependency(%q<crass>.freeze, ["~> 1.0.2"])
s.add_development_dependency(%q<rake>.freeze, [">= 0.8"])
s.add_development_dependency(%q<minitest>.freeze, ["~> 2.2"])
s.add_development_dependency(%q<rr>.freeze, ["~> 1.2.0"])
s.add_development_dependency(%q<json>.freeze, [">= 0"])
s.add_development_dependency(%q<hoe-gemspec>.freeze, [">= 0"])
s.add_development_dependency(%q<hoe-debugging>.freeze, [">= 0"])
s.add_development_dependency(%q<hoe-bundler>.freeze, [">= 0"])
s.add_development_dependency(%q<hoe-git>.freeze, [">= 0"])
s.add_development_dependency(%q<concourse>.freeze, [">= 0.15.0"])
s.add_development_dependency(%q<rdoc>.freeze, ["~> 4.0"])
s.add_development_dependency(%q<hoe>.freeze, ["~> 3.16"])
else
s.add_dependency(%q<nokogiri>.freeze, [">= 1.5.9"])
s.add_dependency(%q<crass>.freeze, ["~> 1.0.2"])
s.add_dependency(%q<rake>.freeze, [">= 0.8"])
s.add_dependency(%q<minitest>.freeze, ["~> 2.2"])
s.add_dependency(%q<rr>.freeze, ["~> 1.2.0"])
s.add_dependency(%q<json>.freeze, [">= 0"])
s.add_dependency(%q<hoe-gemspec>.freeze, [">= 0"])
s.add_dependency(%q<hoe-debugging>.freeze, [">= 0"])
s.add_dependency(%q<hoe-bundler>.freeze, [">= 0"])
s.add_dependency(%q<hoe-git>.freeze, [">= 0"])
s.add_dependency(%q<concourse>.freeze, [">= 0.15.0"])
s.add_dependency(%q<rdoc>.freeze, ["~> 4.0"])
s.add_dependency(%q<hoe>.freeze, ["~> 3.16"])
end
else
s.add_dependency(%q<nokogiri>.freeze, [">= 1.5.9"])
s.add_dependency(%q<crass>.freeze, ["~> 1.0.2"])
s.add_dependency(%q<rake>.freeze, [">= 0.8"])
s.add_dependency(%q<minitest>.freeze, ["~> 2.2"])
s.add_dependency(%q<rr>.freeze, ["~> 1.2.0"])
s.add_dependency(%q<json>.freeze, [">= 0"])
s.add_dependency(%q<hoe-gemspec>.freeze, [">= 0"])
s.add_dependency(%q<hoe-debugging>.freeze, [">= 0"])
s.add_dependency(%q<hoe-bundler>.freeze, [">= 0"])
s.add_dependency(%q<hoe-git>.freeze, [">= 0"])
s.add_dependency(%q<concourse>.freeze, [">= 0.15.0"])
s.add_dependency(%q<rdoc>.freeze, ["~> 4.0"])
s.add_dependency(%q<hoe>.freeze, ["~> 3.16"])
end
end