pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/ruby-globalid



Module Name:    pkgsrc
Committed By:   minskim
Date:           Fri Apr 21 21:07:09 UTC 2017

Added Files:
        pkgsrc/devel/ruby-globalid: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/ruby-globalid/DESCR \
    pkgsrc/devel/ruby-globalid/Makefile pkgsrc/devel/ruby-globalid/PLIST \
    pkgsrc/devel/ruby-globalid/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/ruby-globalid/DESCR
diff -u /dev/null pkgsrc/devel/ruby-globalid/DESCR:1.1
--- /dev/null   Fri Apr 21 21:07:09 2017
+++ pkgsrc/devel/ruby-globalid/DESCR    Fri Apr 21 21:07:09 2017
@@ -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.
Index: pkgsrc/devel/ruby-globalid/Makefile
diff -u /dev/null pkgsrc/devel/ruby-globalid/Makefile:1.1
--- /dev/null   Fri Apr 21 21:07:09 2017
+++ pkgsrc/devel/ruby-globalid/Makefile Fri Apr 21 21:07:09 2017
@@ -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"
Index: pkgsrc/devel/ruby-globalid/PLIST
diff -u /dev/null pkgsrc/devel/ruby-globalid/PLIST:1.1
--- /dev/null   Fri Apr 21 21:07:09 2017
+++ pkgsrc/devel/ruby-globalid/PLIST    Fri Apr 21 21:07:09 2017
@@ -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
Index: pkgsrc/devel/ruby-globalid/distinfo
diff -u /dev/null pkgsrc/devel/ruby-globalid/distinfo:1.1
--- /dev/null   Fri Apr 21 21:07:09 2017
+++ pkgsrc/devel/ruby-globalid/distinfo Fri Apr 21 21:07:09 2017
@@ -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