commit d43effd1eb755f624c9d49dca1123eafd9412bb7a89aaef350085bd86461a361 Author: Adrian Schröter Date: Thu Feb 6 18:11:02 2025 +0100 Sync from SUSE:SLFO:Main rubygem-globalid revision e599420032449c99d9fd5e7e89752fb7 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/gem2rpm.yml b/gem2rpm.yml new file mode 100644 index 0000000..8a8f76c --- /dev/null +++ b/gem2rpm.yml @@ -0,0 +1,75 @@ +# --- +# ## 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: +# ## 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: +# 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 +# +--- +:preamble: |- + %if 0%{?suse_version} == 1110 + %define rb_build_versions ruby21 + %endif diff --git a/globalid-1.2.1.gem b/globalid-1.2.1.gem new file mode 100644 index 0000000..e43c623 --- /dev/null +++ b/globalid-1.2.1.gem @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:70bf76711871f843dbba72beb8613229a49429d1866828476f9c9d6ccc327ce9 +size 14848 diff --git a/rubygem-globalid.changes b/rubygem-globalid.changes new file mode 100644 index 0000000..edc1063 --- /dev/null +++ b/rubygem-globalid.changes @@ -0,0 +1,93 @@ +------------------------------------------------------------------- +Tue Nov 14 15:03:01 UTC 2023 - Dan Čermák + +- New upstream release 1.2.1, no changelog found + +------------------------------------------------------------------- +Fri Jan 27 09:27:44 UTC 2023 - pgajdos@suse.com + +- version update to 1.1.0 + * URI::GID: Update #check_scheme, no need to call super by @alexcwatt in #146 + * JSON-encode GlobalIDs as strings by @georgeclaghorn in #149 + * Support pattern matching of GlobalID & GlobalID::URI by @ojab in #140 + * prevent double find by @ooooooo-q in #148 + * implement non signed global_id helper method on fixture set by @rainerborene in #144 + +------------------------------------------------------------------- +Mon Jan 23 23:46:01 UTC 2023 - Marcus Rueckert + +- update to 1.0.1 + Fix ReDoS vulnerability in name parsing (CVE-2023-22799 [bsc#1207587]) + +------------------------------------------------------------------- +Sat Dec 25 00:09:14 UTC 2021 - Manuel Schnitzer + +- updated to version 1.0.0 + + Stable API release. + + The code is the same as the 0.6.0 release. + +------------------------------------------------------------------- +Fri Dec 24 23:59:47 UTC 2021 - Manuel Schnitzer + +- updated to version 0.6.0 + + * Add ActiveRecord::FixtureSet.signed_global_id helper to generate signed ids inside fixtures. + +------------------------------------------------------------------- +Wed Aug 25 05:12:40 UTC 2021 - Manuel Schnitzer + +- updated to version 0.5.2 + + * Add back Ruby 2.5 support so gem install rails works out of the box, + thereby satisfying Rails' Ruby version requirement. See rails/rails#42931 + +------------------------------------------------------------------- +Mon Jan 14 08:04:04 UTC 2019 - mschnitzer@suse.com + +- updated to version 0.4.2 + + * Allow configuration in initialisers 3c8f909 + * Clear to_global_id memoization on dup #109 + * Adds hash equality #108 + +------------------------------------------------------------------- +Thu Oct 26 10:02:21 UTC 2017 - coolo@suse.com + +- updated to version 0.4.1 + no changelog found + +------------------------------------------------------------------- +Mon Apr 17 04:32:22 UTC 2017 - coolo@suse.com + +- updated to version 0.4.0 + no changelog found + +------------------------------------------------------------------- +Wed Jul 27 04:29:42 UTC 2016 - coolo@suse.com + +- updated to version 0.3.7 + no changelog found + +------------------------------------------------------------------- +Wed Aug 5 04:31:13 UTC 2015 - coolo@suse.com + +- updated to version 0.3.6 + no changelog found + +------------------------------------------------------------------- +Thu Apr 9 04:31:18 UTC 2015 - coolo@suse.com + +- updated to version 0.3.5 + +------------------------------------------------------------------- +Fri Feb 13 05:29:47 UTC 2015 - coolo@suse.com + +- updated to version 0.3.3 + +------------------------------------------------------------------- +Tue Feb 10 08:10:22 UTC 2015 - coolo@suse.com + +- initial package (version 0.3.2) + diff --git a/rubygem-globalid.spec b/rubygem-globalid.spec new file mode 100644 index 0000000..0e2f53b --- /dev/null +++ b/rubygem-globalid.spec @@ -0,0 +1,59 @@ +# +# spec file for package rubygem-globalid +# +# Copyright (c) 2023 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-globalid +Version: 1.2.1 +Release: 0 +%define mod_name globalid +%define mod_full_name %{mod_name}-%{version} +# MANUAL +%if 0%{?suse_version} == 1110 +%define rb_build_versions ruby21 +%endif +# /MANUAL +BuildRequires: ruby-macros >= 5 +BuildRequires: %{ruby >= 2.5.0} +BuildRequires: %{rubygem gem2rpm} +URL: http://www.rubyonrails.org +Source: https://rubygems.org/gems/%{mod_full_name}.gem +Source1: gem2rpm.yml +Summary: Refer to any model with a URI: gid://app/class/id +License: MIT + +%description +URIs for your models makes it easy to pass references around. + +%prep + +%build + +%install +%gem_install \ + --doc-files="MIT-LICENSE README.md" \ + -f + +%gem_packages + +%changelog