pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ruby-zeitwerk devel/ruby-zeitwerk: add version 2...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3fbe6353d97b
branches:  trunk
changeset: 409690:3fbe6353d97b
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Jan 19 15:04:46 2020 +0000

description:
devel/ruby-zeitwerk: add version 2.2.2 package

Add ruby-zeitwerk version 2.2.2 package.


Zeitwerk is an efficient and thread-safe code loader for Ruby.

Given a conventional file structure, Zeitwerk is able to load your project's
classes and modules on demand (autoloading), or upfront (eager loading).  You
don't need to write `require` calls for your own files, rather, you can
streamline your programming knowing that your classes and modules are
available everywhere.  This feature is efficient, thread-safe, and matches
Ruby's semantics for constants.

Zeitwerk is also able to reload code, which may be handy while developing web
applications.  Coordination is needed to reload in a thread-safe manner. The
documentation below explains how to do this.

diffstat:

 devel/ruby-zeitwerk/DESCR    |  12 ++++++++++++
 devel/ruby-zeitwerk/Makefile |  14 ++++++++++++++
 devel/ruby-zeitwerk/PLIST    |  16 ++++++++++++++++
 devel/ruby-zeitwerk/distinfo |   6 ++++++
 4 files changed, 48 insertions(+), 0 deletions(-)

diffs (64 lines):

diff -r 91caa5b71c7a -r 3fbe6353d97b devel/ruby-zeitwerk/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-zeitwerk/DESCR Sun Jan 19 15:04:46 2020 +0000
@@ -0,0 +1,12 @@
+Zeitwerk is an efficient and thread-safe code loader for Ruby.
+
+Given a conventional file structure, Zeitwerk is able to load your project's
+classes and modules on demand (autoloading), or upfront (eager loading).  You
+don't need to write `require` calls for your own files, rather, you can
+streamline your programming knowing that your classes and modules are
+available everywhere.  This feature is efficient, thread-safe, and matches
+Ruby's semantics for constants.
+
+Zeitwerk is also able to reload code, which may be handy while developing web
+applications.  Coordination is needed to reload in a thread-safe manner. The
+documentation below explains how to do this.
diff -r 91caa5b71c7a -r 3fbe6353d97b devel/ruby-zeitwerk/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-zeitwerk/Makefile      Sun Jan 19 15:04:46 2020 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2020/01/19 15:04:46 taca Exp $
+
+DISTNAME=      zeitwerk-2.2.2
+CATEGORIES=    devel
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/fxn/zeitwerk
+COMMENT=       Efficient and thread-safe constant autoloader
+LICENSE=       mit
+
+USE_LANGUAGES= # none
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 91caa5b71c7a -r 3fbe6353d97b devel/ruby-zeitwerk/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-zeitwerk/PLIST Sun Jan 19 15:04:46 2020 +0000
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1 2020/01/19 15:04:46 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/MIT-LICENSE
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/lib/zeitwerk.rb
+${GEM_LIBDIR}/lib/zeitwerk/error.rb
+${GEM_LIBDIR}/lib/zeitwerk/explicit_namespace.rb
+${GEM_LIBDIR}/lib/zeitwerk/gem_inflector.rb
+${GEM_LIBDIR}/lib/zeitwerk/inflector.rb
+${GEM_LIBDIR}/lib/zeitwerk/kernel.rb
+${GEM_LIBDIR}/lib/zeitwerk/loader.rb
+${GEM_LIBDIR}/lib/zeitwerk/loader/callbacks.rb
+${GEM_LIBDIR}/lib/zeitwerk/real_mod_name.rb
+${GEM_LIBDIR}/lib/zeitwerk/registry.rb
+${GEM_LIBDIR}/lib/zeitwerk/version.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r 91caa5b71c7a -r 3fbe6353d97b devel/ruby-zeitwerk/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-zeitwerk/distinfo      Sun Jan 19 15:04:46 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/19 15:04:46 taca Exp $
+
+SHA1 (zeitwerk-2.2.2.gem) = 0c671da0e494281d575ce84c4a6c293462e938c8
+RMD160 (zeitwerk-2.2.2.gem) = 7ce982f94d53dbd65c82929629e93ab6cde93c45
+SHA512 (zeitwerk-2.2.2.gem) = 888928b47a1b07d89fbdba4d3d862182f01efe192b9a16f984cc2dea1a9d7c1ee84d4b00017299a2b9b6c96c15fb04f7f7493fb184d5a258202b469181486809
+Size (zeitwerk-2.2.2.gem) = 23552 bytes



Home | Main Index | Thread Index | Old Index