./devel/ruby-globalid, Reference models by URI

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.2.1, Package name: ruby31-globalid-1.2.1, Maintainer: minskim

A Global ID is an app wide URI that uniquely identifies a model
instance. This is helpful when you need a single identifier to
reference different classes of objects. One example is job
scheduling. We need to reference a model object rather than serialize
the object itself. We can pass a Global ID that can be used to locate
the model when it's time to perform the job. The job scheduler doesn't
need to know the details of model naming and IDs, just that it has a
global identifier that references a model. Another example is a
drop-down list of options, consisting of both Users and
Groups. Normally we'd need to come up with our own ad hoc scheme to
reference them. With Global IDs, we have a universal identifier that
works for objects of both classes.


Required to run:
[lang/ruby26-base] [devel/ruby-activesupport52]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 14.5 KB

Version history: (Expand)


CVS history: (Expand)


   2023-11-11 13:14:22 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-globalid: update to 1.2.1

1.2.1 (2023-09-05)

* Merge pull request #168 from ghiculescu/handle-no-primary-key;
  Don't break on models where `primary_key` is not defined
   2023-09-03 17:54:40 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-globalid: update to 1.2.0

1.2.0 (2023-09-02)

What's Changed

* Drop support to Rails < 6.1 and Ruby <2.7 by @rafaelfranca in #153
* Don't show secrets for SignedGlobalID#inspect by @p8 in #160
* Allow for composite identifiers delimited by / by @nvasilevski in #163
* Add Eager Load Option by @rafacoello in #139

New Contributors

* @rafaelfranca made their first contribution in #153
* @p8 made their first contribution in #159
* @nvasilevski made their first contribution in #162
* @rafacoello made their first contribution in #139
   2023-01-19 14:58:19 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-globalid: update to 1.0.1

1.0.1 (2023-01-17)

Possible ReDoS based DoS vulnerability in GlobalID

There is a ReDoS based DoS vulnerability in the GlobalID gem.  This
vulnerability has been assigned the CVE identifier CVE-2023-22799.

Versions Affected: >= 0.2.1
Not affected: NOTAFFECTED
Fixed Versions: 1.0.1

Impact

There is a possible DoS vulnerability in the model name parsing section of
the GlobalID gem.  Carefully crafted input can cause the regular expression
engine to take an unexpected amount of time.  All users running an affected
release should either upgrade or use one of the workarounds immediately.

Releases

The FIXED releases are available at the normal locations.

Workarounds

There are no feasible workarounds for this issue.

Credits

Thank you ooooooo_k for reporting this!
   2021-11-28 08:55:48 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
devel/ruby-globalid: update to 1.0.0

0.6.0 (2021-11-24)

* Add ActiveRecord::FixtureSet.signed_global_id helper to generate signed
  ids inside fixtures.

1.0.0 (2021-11-25)

Stable API release.

The code is the same as the 0.6.0 release.
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2020-03-20 16:08:57 by Takahiro Kambe | Files touched by this commit (4)
Log message:
Bump PKGREVISION

* Bump PKGREVISION by RUBY_RAILS_DEFAULT change.
   2019-03-03 18:24:41 by Takahiro Kambe | Files touched by this commit (1)
Log message:
devel/ruby-globalid: relax rails version

Relax acceptable Ruby on Rails version.