summaryrefslogtreecommitdiff
path: root/dev-ruby/liquid
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-03-28 09:06:35 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-03-28 09:06:35 +0000
commit94c7485e09acad6da9cb642244e796eff14515cb (patch)
tree38e384145c79223288f77fdb1abb843b37ae2c8d /dev-ruby/liquid
parentf33fc627f9a672fc99c0e2658ccfd2cbea76d665 (diff)
downloadbaldeagleos-repo-94c7485e09acad6da9cb642244e796eff14515cb.tar.gz
baldeagleos-repo-94c7485e09acad6da9cb642244e796eff14515cb.tar.xz
baldeagleos-repo-94c7485e09acad6da9cb642244e796eff14515cb.zip
Adding metadata
Diffstat (limited to 'dev-ruby/liquid')
-rw-r--r--dev-ruby/liquid/files/liquid-4.0.3-ruby30.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-ruby/liquid/files/liquid-4.0.3-ruby30.patch b/dev-ruby/liquid/files/liquid-4.0.3-ruby30.patch
new file mode 100644
index 000000000000..a25f4e217929
--- /dev/null
+++ b/dev-ruby/liquid/files/liquid-4.0.3-ruby30.patch
@@ -0,0 +1,23 @@
+From abfcec9a57543d9e1bdda7dab195607f8574d8b4 Mon Sep 17 00:00:00 2001
+From: Dylan Thacker-Smith <Dylan.Smith@shopify.com>
+Date: Tue, 31 Mar 2020 10:19:25 -0400
+Subject: [PATCH] Fix ParseTreeVisitorTest for ruby 3 compatibility
+
+(cherry picked from commit 81149344a5ba53b30e8ab7d77d605dc484a0a3ff)
+---
+ test/integration/parse_tree_visitor_test.rb | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/test/integration/parse_tree_visitor_test.rb b/test/integration/parse_tree_visitor_test.rb
+index 6ad6a2d00..933dbc3b0 100644
+--- a/test/integration/parse_tree_visitor_test.rb
++++ b/test/integration/parse_tree_visitor_test.rb
+@@ -238,7 +238,7 @@ def test_preserve_tree_structure
+ def traversal(template)
+ ParseTreeVisitor
+ .for(Template.parse(template).root)
+- .add_callback_for(VariableLookup, &:name)
++ .add_callback_for(VariableLookup) { |node| node.name } # rubocop:disable Style/SymbolProc
+ end
+
+ def visit(template)