Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rubygem-globalid for openSUSE:Factory checked in at 2021-12-25 20:16:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-globalid (Old) and /work/SRC/openSUSE:Factory/.rubygem-globalid.new.2520 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-globalid" Sat Dec 25 20:16:44 2021 rev:9 rq:942431 version:1.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-globalid/rubygem-globalid.changes 2021-08-25 20:59:39.193047368 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-globalid.new.2520/rubygem-globalid.changes 2021-12-25 20:17:10.965275833 +0100 @@ -1,0 +2,16 @@ +Sat Dec 25 00:09:14 UTC 2021 - Manuel Schnitzer <mschnit...@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 <mschnit...@suse.com> + +- updated to version 0.6.0 + + * Add ActiveRecord::FixtureSet.signed_global_id helper to generate signed ids inside fixtures. + +------------------------------------------------------------------- Old: ---- globalid-0.5.2.gem New: ---- globalid-1.0.0.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-globalid.spec ++++++ --- /var/tmp/diff_new_pack.IX97ZT/_old 2021-12-25 20:17:11.413276198 +0100 +++ /var/tmp/diff_new_pack.IX97ZT/_new 2021-12-25 20:17:11.417276201 +0100 @@ -24,7 +24,7 @@ # Name: rubygem-globalid -Version: 0.5.2 +Version: 1.0.0 Release: 0 %define mod_name globalid %define mod_full_name %{mod_name}-%{version} ++++++ globalid-0.5.2.gem -> globalid-1.0.0.gem ++++++ Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/global_id/fixture_set.rb new/lib/global_id/fixture_set.rb --- old/lib/global_id/fixture_set.rb 1970-01-01 01:00:00.000000000 +0100 +++ new/lib/global_id/fixture_set.rb 2021-11-26 00:16:26.000000000 +0100 @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +class GlobalID + module FixtureSet + def signed_global_id(fixture_set_name, label, column_type: :integer, **options) + identifier = identify(label, column_type) + model_name = default_fixture_model_name(fixture_set_name) + uri = URI::GID.build([GlobalID.app, model_name, identifier, {}]) + + SignedGlobalID.new(uri, **options) + end + end +end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/global_id/railtie.rb new/lib/global_id/railtie.rb --- old/lib/global_id/railtie.rb 2021-08-02 15:07:32.000000000 +0200 +++ new/lib/global_id/railtie.rb 2021-11-26 00:16:26.000000000 +0100 @@ -37,6 +37,11 @@ require 'global_id/identification' send :include, GlobalID::Identification end + + ActiveSupport.on_load(:active_record_fixture_set) do + require 'global_id/fixture_set' + send :extend, GlobalID::FixtureSet + end end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2021-08-02 15:07:32.000000000 +0200 +++ new/metadata 2021-11-26 00:16:26.000000000 +0100 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: globalid version: !ruby/object:Gem::Version - version: 0.5.2 + version: 1.0.0 platform: ruby authors: - David Heinemeier Hansson autorequire: bindir: bin cert_chain: [] -date: 2021-08-02 00:00:00.000000000 Z +date: 2021-11-25 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: activesupport @@ -47,6 +47,7 @@ - MIT-LICENSE - README.md - lib/global_id.rb +- lib/global_id/fixture_set.rb - lib/global_id/global_id.rb - lib/global_id/identification.rb - lib/global_id/locator.rb @@ -74,7 +75,7 @@ - !ruby/object:Gem::Version version: '0' requirements: [] -rubygems_version: 3.2.24 +rubygems_version: 3.2.22 signing_key: specification_version: 4 summary: 'Refer to any model with a URI: gid://app/class/id'