summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/ruby-anystyle-fix-dictionary-populate.patch
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-01-31 09:19:34 +0100
committerAndreas Enge <andreas@enge.fr>2025-06-20 20:39:54 +0200
commitd129a6fdaeaedd1e470ffcc952d750af276bb50f (patch)
treee139674a3d9d705444bf2f54398ab02bb9908918 /gnu/packages/patches/ruby-anystyle-fix-dictionary-populate.patch
parente68b589e9696d4499380337b10ef22e9430d4e49 (diff)
gnu: ruby-anystyle: Update to 1.4.2.
* gnu/packages/ruby.scm (ruby-anystyle): Update to 1.4.2. [native-inputs]: Add ruby-gdbm. * gnu/packages/patches/ruby-anystyle-fix-dictionary-populate.patch: Update patch. Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/patches/ruby-anystyle-fix-dictionary-populate.patch')
-rw-r--r--gnu/packages/patches/ruby-anystyle-fix-dictionary-populate.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/patches/ruby-anystyle-fix-dictionary-populate.patch b/gnu/packages/patches/ruby-anystyle-fix-dictionary-populate.patch
index b2e0498e8d..439df1244b 100644
--- a/gnu/packages/patches/ruby-anystyle-fix-dictionary-populate.patch
+++ b/gnu/packages/patches/ruby-anystyle-fix-dictionary-populate.patch
@@ -52,7 +52,7 @@ index 761ca36..b9529d0 100644
end
def open
-- if File.exists?(options[:path])
+- if File.exist?(options[:path])
- @db = ::Marshal.load(File.open(options[:path]))
- else
- @db = {}