pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ruby-globalid Import ruby-globalid-0.4.0 as deve...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7e182d218241
branches: trunk
changeset: 361420:7e182d218241
user: minskim <minskim%pkgsrc.org@localhost>
date: Fri Apr 21 21:07:09 2017 +0000
description:
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.
diffstat:
devel/ruby-globalid/DESCR | 12 ++++++++++++
devel/ruby-globalid/Makefile | 14 ++++++++++++++
devel/ruby-globalid/PLIST | 14 ++++++++++++++
devel/ruby-globalid/distinfo | 6 ++++++
4 files changed, 46 insertions(+), 0 deletions(-)
diffs (62 lines):
diff -r 55c9f37fe5c0 -r 7e182d218241 devel/ruby-globalid/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-globalid/DESCR Fri Apr 21 21:07:09 2017 +0000
@@ -0,0 +1,12 @@
+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.
diff -r 55c9f37fe5c0 -r 7e182d218241 devel/ruby-globalid/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-globalid/Makefile Fri Apr 21 21:07:09 2017 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2017/04/21 21:07:09 minskim Exp $
+
+DISTNAME= globalid-0.4.0
+CATEGORIES= devel
+
+MAINTAINER= minskim%NetBSD.org@localhost
+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"
diff -r 55c9f37fe5c0 -r 7e182d218241 devel/ruby-globalid/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-globalid/PLIST Fri Apr 21 21:07:09 2017 +0000
@@ -0,0 +1,14 @@
+@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
diff -r 55c9f37fe5c0 -r 7e182d218241 devel/ruby-globalid/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-globalid/distinfo Fri Apr 21 21:07:09 2017 +0000
@@ -0,0 +1,6 @@
+$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
Home |
Main Index |
Thread Index |
Old Index