From f8ccacdf3866482ecd51bbae43cf456d71f59a912756db6944873b8ea27f3956 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Thu, 6 Feb 2025 14:15:26 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96:=20Automatic=20update=20to=201.13.?= =?UTF-8?q?1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-erubi?expand=0&rev=20 --- .gitattributes | 23 ++++++++++ .gitignore | 1 + erubi-1.13.0.gem | 3 ++ erubi-1.13.1.gem | 3 ++ gem2rpm.yml | 72 ++++++++++++++++++++++++++++++ rubygem-erubi.changes | 101 ++++++++++++++++++++++++++++++++++++++++++ rubygem-erubi.spec | 55 +++++++++++++++++++++++ 7 files changed, 258 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 erubi-1.13.0.gem create mode 100644 erubi-1.13.1.gem create mode 100644 gem2rpm.yml create mode 100644 rubygem-erubi.changes create mode 100644 rubygem-erubi.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/erubi-1.13.0.gem b/erubi-1.13.0.gem new file mode 100644 index 0000000..66aae83 --- /dev/null +++ b/erubi-1.13.0.gem @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fca61b47daefd865d0fb50d168634f27ad40181867445badf6427c459c33cd62 +size 13312 diff --git a/erubi-1.13.1.gem b/erubi-1.13.1.gem new file mode 100644 index 0000000..597ee8b --- /dev/null +++ b/erubi-1.13.1.gem @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a082103b0885dbc5ecf1172fede897f9ebdb745a4b97a5e8dc63953db1ee4ad9 +size 13312 diff --git a/gem2rpm.yml b/gem2rpm.yml new file mode 100644 index 0000000..d182d92 --- /dev/null +++ b/gem2rpm.yml @@ -0,0 +1,72 @@ +# --- +# ## used by gem2rpm +# :summary: this is a custom summary +# ## used by gem2rpm +# :description: |- +# this is a custom description +# +# it can be multiline +# ## used by gem2rpm +# :license: MIT or Ruby +# ## used by gem2rpm and gem_packages +# :version_suffix: -x_y +# ## used by gem2rpm and gem_packages +# :disable_docs: true +# ## used by gem2rpm +# :disable_automatic_rdoc_dep: true +# ## used by gem2rpm +# :preamble: |- +# BuildRequires: foobar +# Requires: foobar +# ## used by gem2rpm +# :patches: +# foo.patch: -p1 +# bar.patch: +# :post_patch: +# if you need to fiddle with the source dir before rebuilding the gem +# ## used by gem2rpm +:sources: +# - foo.desktop +# - bar.desktop +# :gem_install_args: '....' +# ## used by gem2rpm +# :pre_install: |- +# %if 0%{?use_system_libev} +# export USE_VENDORED_LIBEV="no" +# %endif +# ## used by gem2rpm +# :post_install: |- +# # delete custom files here or do other fancy stuff +# install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse +# ## used by gem2rpm +# :testsuite_command: |- +# (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test) +# ## used by gem2rpm +# :filelist: |- +# /usr/bin/gem2rpm-opensuse +# ## used by gem2rpm +# :scripts: +# :post: |- +# /bin/echo foo +# ## used by gem_packages +# :main: +# :preamble: |- +# Requires: util-linux +# Recommends: pwgen +# :filelist: |- +# /usr/bin/gem2rpm-opensuse +# ## used by gem_packages +# :custom_pkgs: +# apache: +# :preamble: |- +# Requires: ..... +# :filelist: |- +# /etc/apache2/conf.d/passenger.conf +# :summary: Custom summary is optional +# :description: |- +# Custom description is optional +# +# bar +# :post: |- +# /bin/echo foo +# diff --git a/rubygem-erubi.changes b/rubygem-erubi.changes new file mode 100644 index 0000000..f539100 --- /dev/null +++ b/rubygem-erubi.changes @@ -0,0 +1,101 @@ +------------------------------------------------------------------- +Mon Feb 3 09:38:09 UTC 2025 - Dan Čermák + +- === 1.13.1 (2024-12-19) + +* Avoid spurious frozen string literal warnings for chilled strings when using Ruby 3.4 (jeremyevans) + + +------------------------------------------------------------------- +Fri Jun 21 09:48:26 UTC 2024 - Dan Čermák + +- === 1.13.0 (2024-06-13) + +* Define Erubi.h as a module function (jeremyevans) + +* Add erubi/capture_block, supporting capturing block output via standard <%= and <%== tags (jeremyevans) + + +------------------------------------------------------------------- +Thu Nov 2 15:46:33 UTC 2023 - Dan Čermák + +- === 1.12.0 (2022-12-22) + +* Use erb/escape for faster html escaping if available (jeremyevans) + +* Default :freeze_template_literals option to false if running with --enable-frozen-string-literal (casperisfine) (#35) + + +------------------------------------------------------------------- +Thu Aug 4 13:08:31 UTC 2022 - Stephan Kulow + +updated to version 1.11.0 + see installed CHANGELOG + + === 1.11.0 (2022-08-02) + + * Support :freeze_template_literals option for configuring whether to add .freeze to template literal strings (casperisfine) (#33) + + * Support :chain_appends option for chaining appends to the buffer variable (casperisfine, jeremyevans) (#32) + + * Avoid unnecessary defined? usage on Ruby 3+ when using the :ensure option (jeremyevans) + + +------------------------------------------------------------------- +Fri Dec 11 03:11:59 UTC 2020 - Manuel Schnitzer + +- updated to version 1.10.0 + + * Improve template parsing, mostly by reducing allocations (jeremyevans) + + * Do not ship tests in the gem, reducing gem size about 20% (jeremyevans) + + * Support :literal_prefix and :literal_postfix options for how to output literal tags (e.g. <%% code %>) (jaredcwhite) (#26, #27) + +------------------------------------------------------------------- +Tue Nov 12 16:33:16 UTC 2019 - Manuel Schnitzer + +- updated to version 1.9.0 + + * Change default :bufvar from 'String.new' to '::String.new' to work with BasicObject (jeremyevans) + +------------------------------------------------------------------- +Wed Dec 19 07:06:00 UTC 2018 - Stephan Kulow + +- updated to version 1.8.0 + see installed CHANGELOG + + === 1.8.0 (2018-12-18) + + * Support :yield_returns_buffer option in capture_end for always returning the (potentially modified) buffer in <%|= tags (evanleck) (#15) + +------------------------------------------------------------------- +Tue Mar 6 05:29:49 UTC 2018 - factory-auto@kulow.org + +- updated to version 1.7.1 + see installed CHANGELOG + + === 1.7.1 (2018-03-05) + + * Make whitespace handling for <%# %> tags more compatible with Erubis (jeremyevans) (#14) + +------------------------------------------------------------------- +Fri Oct 13 11:19:23 UTC 2017 - mschnitzer@suse.com + +- updated to version 1.7.0 + * Fix escaping in erubi/capture_end, the setting was previously inverted (jeremyevans) (#10) + +------------------------------------------------------------------- +Thu Aug 3 19:11:27 UTC 2017 - coolo@suse.com + +- updated to version 1.6.1 + see installed CHANGELOG + + === 1.6.1 (2017-06-27) + + * Fix usage on newer versions of JRuby 9.1 (jeremyevans) + +------------------------------------------------------------------- +Mon Jun 19 08:10:58 UTC 2017 - enavarro@suse.com + +- Initial checkin. diff --git a/rubygem-erubi.spec b/rubygem-erubi.spec new file mode 100644 index 0000000..f1b4f94 --- /dev/null +++ b/rubygem-erubi.spec @@ -0,0 +1,55 @@ +# +# spec file for package rubygem-erubi +# +# Copyright (c) 2025 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +# +# This file was generated with a gem2rpm.yml and not just plain gem2rpm. +# All sections marked as MANUAL, license headers, summaries and descriptions +# can be maintained in that file. Please consult this file before editing any +# of those fields +# + +Name: rubygem-erubi +Version: 1.13.1 +Release: 0 +%define mod_name erubi +%define mod_full_name %{mod_name}-%{version} +BuildRequires: %{rubygem gem2rpm} +BuildRequires: %{rubygem rdoc > 3.10} +BuildRequires: %{ruby} +BuildRequires: ruby-macros >= 5 +URL: https://github.com/jeremyevans/erubi +Source: https://rubygems.org/gems/%{mod_full_name}.gem +Source1: gem2rpm.yml +Summary: Small ERB Implementation +License: MIT + +%description +Erubi is a ERB template engine for ruby. It is a simplified fork of Erubis. + +%prep + +%build + +%install +%gem_install \ + --doc-files="CHANGELOG MIT-LICENSE README.rdoc" \ + -f + +%gem_packages + +%changelog