forked from flavorjones/loofah
-
Notifications
You must be signed in to change notification settings - Fork 0
/
loofah.gemspec
69 lines (65 loc) · 5.14 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.1.0.rc2.20170210033517 ruby lib
Gem::Specification.new do |s|
s.name = "loofah".freeze
s.version = "2.1.0.rc2.20170210033517"
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1".freeze) if s.respond_to? :required_rubygems_version=
s.require_paths = ["lib".freeze]
s.authors = ["Mike Dalessio".freeze, "Bryan Helmkamp".freeze]
s.date = "2017-02-10"
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 (see\nhttps://github.com/flavorjones/loofah-activerecord).".freeze
s.email = ["[email protected]".freeze, "[email protected]".freeze]
s.extra_rdoc_files = ["CHANGELOG.rdoc".freeze, "MIT-LICENSE.txt".freeze, "Manifest.txt".freeze, "README.rdoc".freeze, "README.rdoc".freeze]
s.files = [".gemtest".freeze, "CHANGELOG.rdoc".freeze, "Gemfile".freeze, "MIT-LICENSE.txt".freeze, "Manifest.txt".freeze, "README.rdoc".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.rdoc".freeze]
s.rubygems_version = "2.6.8".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"])
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"])
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"])
s.add_dependency(%q<rdoc>.freeze, ["~> 4.0"])
s.add_dependency(%q<hoe>.freeze, ["~> 3.16"])
end
end