diff options
Diffstat (limited to 'dev-ruby/crack')
-rw-r--r-- | dev-ruby/crack/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/crack/files/crack-0.4.4-psych4.patch | 30 |
2 files changed, 0 insertions, 31 deletions
diff --git a/dev-ruby/crack/Manifest b/dev-ruby/crack/Manifest index 3469dddeef68..1b386b06e340 100644 --- a/dev-ruby/crack/Manifest +++ b/dev-ruby/crack/Manifest @@ -1,4 +1,3 @@ -AUX crack-0.4.4-psych4.patch 1053 BLAKE2B 280da92d42ad5c4138b7f4293cbd9efafb0033914cd2b7014214052790e54b260c0eb68d118276b3a935c050407d067e75bf18886eaeb4e4f40999ff49e1a2b7 SHA512 1ea889b08f03e10f3359f1de0237f0890c7bc480d1b7a92c3c5fb75d7ebe0614c3cf6bb173ec33399fc9532060d7a2d7e60582b28369124f72a5c7dcd5f82e2c DIST crack-0.4.6.tar.gz 587341 BLAKE2B eafe4e3682cfbcfd2369c66cc47e7eab8557cce568f401599a6a72efac361be5b16f47ee7eb2916ada111b10c7ee6aa0dfa8cbb4988eb822304d22f3b8a51a6f SHA512 b004d4fc69319f4d05a79e34c04fe7d46bb78dc516d1481e09b07b9b0835e50925c5a1a89ee17070eceaf29ac1c371b6a590319b02b0d22b85c6ab26ee979d23 DIST crack-1.0.0.tar.gz 587402 BLAKE2B 265948336f3a0567d08766ddd179502e9dac0b0ef647a636d74b2bf7b6d8a2bb08385df566f118151cf4b72c700d17c3f69bfe8d61dc7035102319c2513190c1 SHA512 01f2231033a64aa3a107de3c0185559800be32c679671835962bd4e8f74cb644b9cb1e4895880ab03bc15e82aac465875d1ce187b977be65f514282718b7837c EBUILD crack-0.4.6.ebuild 1395 BLAKE2B 27b79cd264f9e54add6c1c35cef176f9965e71eda34d5c846e43c69bcb36361e9acd0a60e7ff64a2a1017f895fe06e194dfda96d408126e193ecdfed2e742830 SHA512 686680c7b5c1afe24455888eee5e7644fcf7e180af37712a6a8620f60965ea283ede05bd8695c1e2a53d3135c4588932e38748d89d45e074bd6772efde456943 diff --git a/dev-ruby/crack/files/crack-0.4.4-psych4.patch b/dev-ruby/crack/files/crack-0.4.4-psych4.patch deleted file mode 100644 index 4c4e96661ba9..000000000000 --- a/dev-ruby/crack/files/crack-0.4.4-psych4.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 7fa8d8aea4a041969e433debef7f4d5d59881ae2 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@redhat.com> -Date: Fri, 11 Mar 2022 18:29:43 +0100 -Subject: [PATCH] Use named parameters for `safe_load`. - -This is available since Psych 3.1 [[1], [2]], but mandatory since Psych -4.0 [[3]]. - -Fixes #72 - -[1]: https://github.com/ruby/psych/pull/358 -[2]: https://github.com/ruby/psych/pull/378 -[3]: https://github.com/ruby/psych/commit/0767227051dbddf1f949eef512c174deabf22891 ---- - lib/crack/json.rb | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lib/crack/json.rb b/lib/crack/json.rb -index 1a27ac7..528aad6 100644 ---- a/lib/crack/json.rb -+++ b/lib/crack/json.rb -@@ -13,7 +13,7 @@ def self.parser_exceptions - - def self.parse(json) - yaml = unescape(convert_json_to_yaml(json)) -- YAML.safe_load(yaml, [Regexp, Date, Time]) -+ YAML.safe_load(yaml, permitted_classes: [Regexp, Date, Time]) - rescue *parser_exceptions - raise ParseError, "Invalid JSON string" - rescue Psych::DisallowedClass |