From b3f9639e7d7f1d12ef6170677b5dd63b617e4efc Mon Sep 17 00:00:00 2001 From: Ian Ker-Seymer Date: Mon, 13 Jan 2025 21:56:39 -0500 Subject: [PATCH 1/2] Add default string_scanner to `Liquid::VariableLookup.parse` --- lib/liquid/variable_lookup.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/liquid/variable_lookup.rb b/lib/liquid/variable_lookup.rb index 06c24b764..340c0b66d 100644 --- a/lib/liquid/variable_lookup.rb +++ b/lib/liquid/variable_lookup.rb @@ -6,7 +6,7 @@ class VariableLookup attr_reader :name, :lookups - def self.parse(markup, string_scanner, cache = nil) + def self.parse(markup, string_scanner = StringScanner.new(""), cache = nil) new(markup, string_scanner, cache) end From 8e37c5e18b853bee1c11ab2181082efa2924b8c5 Mon Sep 17 00:00:00 2001 From: Ian Ker-Seymer Date: Mon, 13 Jan 2025 21:57:52 -0500 Subject: [PATCH 2/2] Bump to v5.6.4 --- lib/liquid/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/liquid/version.rb b/lib/liquid/version.rb index 4cfca9b16..0cc2adc85 100644 --- a/lib/liquid/version.rb +++ b/lib/liquid/version.rb @@ -2,5 +2,5 @@ # frozen_string_literal: true module Liquid - VERSION = "5.6.3" + VERSION = "5.6.4" end