Sync from SUSE:SLFO:Main rubygem-globalid revision e599420032449c99d9fd5e7e89752fb7

This commit is contained in:
Adrian Schröter 2025-02-06 18:11:02 +01:00
commit d43effd1eb
5 changed files with 253 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

75
gem2rpm.yml Normal file
View File

@ -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

BIN
globalid-1.2.1.gem (Stored with Git LFS) Normal file

Binary file not shown.

93
rubygem-globalid.changes Normal file
View File

@ -0,0 +1,93 @@
-------------------------------------------------------------------
Tue Nov 14 15:03:01 UTC 2023 - Dan Čermák <dan.cermak@posteo.net>
- 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 <mrueckert@suse.de>
- 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 <mschnitzer@suse.com>
- 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 <mschnitzer@suse.com>
- 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 <mschnitzer@suse.com>
- 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)

59
rubygem-globalid.spec Normal file
View File

@ -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