diff --git a/fix-check-error-to-ignore-import-stackprof.patch b/fix-check-error-to-ignore-import-stackprof.patch deleted file mode 100644 index 0d4c5d564cb1e98062d8ef98997ae5b3cbc01208..0000000000000000000000000000000000000000 --- a/fix-check-error-to-ignore-import-stackprof.patch +++ /dev/null @@ -1,34 +0,0 @@ -diff --git a/test/integration/context_test.rb b/test/integration/context_test.rb -index 58f1c33..b8dcc5f 100644 ---- a/test/integration/context_test.rb -+++ b/test/integration/context_test.rb -@@ -458,13 +458,6 @@ class ContextTest < Minitest::Test - assert_equal(@context, @context['category'].context) - end - -- def test_interrupt_avoids_object_allocations -- @context.interrupt? # ruby 3.0.0 allocates on the first call -- assert_no_object_allocations do -- @context.interrupt? -- end -- end -- - def test_context_initialization_with_a_proc_in_environment - contx = Context.new([test: ->(c) { c['poutine'] }], test: :foo) - -@@ -620,15 +613,4 @@ class ContextTest < Minitest::Test - - private - -- def assert_no_object_allocations -- unless RUBY_ENGINE == 'ruby' -- skip("stackprof needed to count object allocations") -- end -- require 'stackprof' -- -- profile = StackProf.run(mode: :object) do -- yield -- end -- assert_equal(0, profile[:samples]) -- end - end # ContextTest diff --git a/liquid-5.3.0.gem b/liquid-5.3.0.gem deleted file mode 100644 index 94f60ac6085e9c807914ea4b728a8b1c2a5a397b..0000000000000000000000000000000000000000 Binary files a/liquid-5.3.0.gem and /dev/null differ diff --git a/liquid-5.4.0.gem b/liquid-5.4.0.gem new file mode 100644 index 0000000000000000000000000000000000000000..44aa8ef57d4f0b02256994b5a61fc37456e8db59 Binary files /dev/null and b/liquid-5.4.0.gem differ diff --git a/rubygem-liquid.spec b/rubygem-liquid.spec index 8852febf10aa713b8aba2cd2d4b06003b5e8d8e4..563f6bf84e451e348dc22650a306a50315d44129 100644 --- a/rubygem-liquid.spec +++ b/rubygem-liquid.spec @@ -1,12 +1,11 @@ %global gem_name liquid Name: rubygem-%{gem_name} Summary: Secure, non-evaling end user template engine -Version: 5.3.0 +Version: 5.4.0 Release: 1 License: MIT URL: http://www.liquidmarkup.org Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem -Patch1: fix-check-error-to-ignore-import-stackprof.patch BuildArch: noarch BuildRequires: ruby(release) ruby >= 2.1.0 rubygems-devel >= 1.3.7 BuildRequires: rubygem(bigdecimal) rubygem(minitest) @@ -31,7 +30,6 @@ Documentation for %{name}. %prep %setup -q -n %{gem_name}-%{version} -%patch1 -p1 %build gem build ../%{gem_name}-%{version}.gemspec @@ -41,11 +39,6 @@ gem build ../%{gem_name}-%{version}.gemspec mkdir -p %{buildroot}%{gem_dir} cp -a ./%{gem_dir}/* %{buildroot}%{gem_dir}/ -%check -pushd .%{gem_instdir} -ruby -I"lib:test" -e 'Dir.glob "./test/**/*_test.rb", &method(:require)' -popd - %files %license %{gem_instdir}/LICENSE %dir %{gem_instdir} @@ -57,9 +50,14 @@ popd %doc %{gem_instdir}/History.md %doc %{gem_instdir}/README.md %doc %{gem_docdir} -%{gem_instdir}/test %changelog +* Tue Jun 10 2025 openeuler_bot - 5.4.0-1 +- Allow `#` to be used as an inline comment tag (#1498) [CP Clermont] (version:5.4.0) +- Drop support for end-of-life Ruby versions (2.5 and 2.6) (#1578) [Andy Waite] (version:5.4.0) +- `PartialCache` now shares snippet cache with subcontexts by default (#1553) [Chris AtLee] (version:5.4.0) +- Hash registers no longer leak into subcontexts as static registers (#1564) [Chris AtLee] (version:5.4.0) + * Thu Jun 30 2022 xu_ping - 5.3.0-1 - Upgrade 5.3.0 @@ -67,4 +65,4 @@ popd - Fix ParseTreeVisitor error and DropsTest failure * Thu Jul 30 2020 wutao - 4.0.3-1 -- package init +- package init \ No newline at end of file