diff options
Diffstat (limited to 'dev-ruby/sanitize')
-rw-r--r-- | dev-ruby/sanitize/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/sanitize/sanitize-5.2.0.ebuild | 32 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/sanitize/Manifest b/dev-ruby/sanitize/Manifest index 3c691eebd47d..25e87821f232 100644 --- a/dev-ruby/sanitize/Manifest +++ b/dev-ruby/sanitize/Manifest @@ -1,7 +1,9 @@ DIST sanitize-4.6.6.tar.gz 1349809 BLAKE2B d34f3359f1241881f96d48cfce6aa554796e7c7a2282c729dc93b6db7f1c5d2ec1677ebd1cddb79cb14f84d7724ddb7dad551136cd130bd89750ab5851a8094f SHA512 6f2567601dea9fd08996fe537e5543c7618e407a68580a19b74333a6e840d1123891a087e6c57c88f887390cd04e4c25af71547d7d9622e61369dc4ffe92f220 DIST sanitize-5.0.0.tar.gz 1350342 BLAKE2B 0c4a8e442a2dc9748dfb4ab2cf13862bbb2692665194ae8aa18bf84bac200e5622fa05cf2a022d7a0c3a7ddd901996f028948f517f8f6227d0aad2479f05996c SHA512 dcfaec0666bb017580deaa4a9fb2c6e50dc678fe26bd57db7451472e1558ff7adaa6e0bd43554ceb68501a92d25405415ce6570806b177d7d92f138666f5169c DIST sanitize-5.1.0.tar.gz 1351620 BLAKE2B 098fc23c87d02d73341e466b6bb4440037f5a46841a898e05f37bc3379df8534ade8948e58173725d93b620627d8ba9c5a9a9e55b6d29f52b43fd7328cd6fd3f SHA512 d6c1f28795f881ab7fd11283c29f8e09b15bf393ee1b419aa9b8bbe41a7a7a28b5644a1c55b8e87534acf0ac73f1a07c14964c3d158814302dee57eaf2e91f90 +DIST sanitize-5.2.0.tar.gz 1352054 BLAKE2B a0502805472bbe3d9bfb7c647bde6fd67d7204addf7e351c890e3db001c7095f0292d19b338aef73ef35f3f46525b9365bfcac820820025578b5bcf60afaa01d SHA512 9851145f9a4e07c18da15de809ca8120739d6062bdbc10d39947bbffc8b41385f6d8e8e5abebb5c4d29c5dfa68ff772767758cc079fe13b44e055a61bd978ab4 EBUILD sanitize-4.6.6.ebuild 857 BLAKE2B 9677015725246a86749b166be3de6ddc2e1b04775496a0b00bacaf5afefe038facee8f293d8d0819c68d66575c1ef24beca953dd1428bd082bb374a517e88b9c SHA512 6c8a5e5bd962d64e6e1c3a694c7e5d6b6b3ec6cfa02a4fa52cb02e846fdc4f3d6a9a9532d7ed86efb059a5220df6ca26e6201ce3e65ea22977e2b70a65e149e3 EBUILD sanitize-5.0.0.ebuild 855 BLAKE2B 46ffebefc43be19d3dbb26cf4e3bfb36724d059b8b62135fc690152dc10249f2ada975bebb05a009bd5a4a9cd8739429089f02a707f29edddaea3b19fdf9b8c5 SHA512 b17a69bec2a714a1c3f4845f9dc78b62d81a45a39dd9929695e4b791977fd79e0ea07ade99b9635084c849a3f92633e63ead9f2ac1eb66026b5cdbb5470e282e EBUILD sanitize-5.1.0.ebuild 848 BLAKE2B 5570d39dfea1921fad596c2856361c4dc45611764e121b1e61fec096c9430c96eef3b97a1b077cb0cdb81ff1e4b02af63fc2c4529e47b15bdf165017d65d15d8 SHA512 b3325100b742224c7c39a2134a77193e706eb56f55801df7bdbe363c2fe07f8e0e6ba77f101f6d2fa2c67679bfe40e6b81bbc578653f2bdba5bd678f7cf9f456 +EBUILD sanitize-5.2.0.ebuild 855 BLAKE2B 2bc11c252280f473bf827832171e54f9462f41cac7e442905da1742046d14dea9eb69641aeb88452cb81c9d0a8408525438c3fa9d0860bfeab7ab895aaecbe26 SHA512 621f10ee83df0d569c8f18b8f31b7a8c5e206639a1ff3a25974bd2964cc8bed458e55c65b80c969633ddfaa84fdf8cd96619fa9a85739f3386dea2644d7a988b MISC metadata.xml 341 BLAKE2B 8081029c35d5a56ed5a3399ecb63510e737a664e97a4eb363108b85fe75860cb8b171e8da497d669cb0491199bdbe94408570cb811a8c86d6d38541a0f65cbe4 SHA512 870423593eeb0219f2fa0b6bbb55a4a19063f5cf3d19d9c0bb352aec5632b3e5f5e717e7c6004413497a981091042d54bc092e2c029a511aa0c37e95d435996a diff --git a/dev-ruby/sanitize/sanitize-5.2.0.ebuild b/dev-ruby/sanitize/sanitize-5.2.0.ebuild new file mode 100644 index 000000000000..980f5a48297e --- /dev/null +++ b/dev-ruby/sanitize/sanitize-5.2.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="HISTORY.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Sanitize is a whitelist-based HTML sanitizer" +HOMEPAGE="https://github.com/rgrove/sanitize" +SRC_URI="https://github.com/rgrove/sanitize/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="5" +KEYWORDS="~amd64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +ruby_add_rdepend " + >=dev-ruby/crass-1.0.2 =dev-ruby/crass-1.0* + >=dev-ruby/nokogiri-1.8.0 + dev-ruby/nokogumbo:2" +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +each_ruby_test() { + ${RUBY} -Ilib test/test_sanitize.rb || die +} |