Fri Apr 21 21:07:09 2017 UTC ()
Import ruby-globalid-0.4.0 as devel/ruby-globalid

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.


(minskim)
diff -r0 -r1.1 pkgsrc/devel/ruby-globalid/DESCR
diff -r0 -r1.1 pkgsrc/devel/ruby-globalid/Makefile
diff -r0 -r1.1 pkgsrc/devel/ruby-globalid/PLIST
diff -r0 -r1.1 pkgsrc/devel/ruby-globalid/distinfo

File Added: pkgsrc/devel/ruby-globalid/DESCR
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.

File Added: pkgsrc/devel/ruby-globalid/Makefile
# $NetBSD: Makefile,v 1.1 2017/04/21 21:07:09 minskim Exp $

DISTNAME=	globalid-0.4.0
CATEGORIES=	devel

MAINTAINER=	minskim@NetBSD.org
HOMEPAGE=	http://www.rubyonrails.org/
COMMENT=	Reference models by URI
LICENSE=	mit

DEPENDS+=	${RUBY_PKGPREFIX}-activesupport>=4.2.0:../../devel/ruby-activesupport42

.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/devel/ruby-globalid/PLIST
@comment $NetBSD: PLIST,v 1.1 2017/04/21 21:07:09 minskim Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/MIT-LICENSE
${GEM_LIBDIR}/README.md
${GEM_LIBDIR}/lib/global_id.rb
${GEM_LIBDIR}/lib/global_id/global_id.rb
${GEM_LIBDIR}/lib/global_id/identification.rb
${GEM_LIBDIR}/lib/global_id/locator.rb
${GEM_LIBDIR}/lib/global_id/railtie.rb
${GEM_LIBDIR}/lib/global_id/signed_global_id.rb
${GEM_LIBDIR}/lib/global_id/uri/gid.rb
${GEM_LIBDIR}/lib/global_id/verifier.rb
${GEM_LIBDIR}/lib/globalid.rb
${GEM_HOME}/specifications/${GEM_NAME}.gemspec

File Added: pkgsrc/devel/ruby-globalid/distinfo
$NetBSD: distinfo,v 1.1 2017/04/21 21:07:09 minskim Exp $

SHA1 (globalid-0.4.0.gem) = 14070326d38485285bab9909c96b39aa6b6ddffc
RMD160 (globalid-0.4.0.gem) = 61741bdb7ed6e09385c49f6a98ba8e7afe140193
SHA512 (globalid-0.4.0.gem) = 7ec40db55495c374c9051a816a74cabff35aa1f24ec17f19950174b498ddaad60dcd26236d76d340e0b7dd885237bf5a9e71040cafe51dd8ab193eae43d2adc1
Size (globalid-0.4.0.gem) = 12800 bytes