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.
This commit is contained in:
parent
dbc5785dd8
commit
6595d34edd
4 changed files with 48 additions and 0 deletions
12
devel/ruby-zeitwerk/DESCR
Normal file
12
devel/ruby-zeitwerk/DESCR
Normal file
|
@ -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.
|
14
devel/ruby-zeitwerk/Makefile
Normal file
14
devel/ruby-zeitwerk/Makefile
Normal file
|
@ -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
|
||||
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"
|
16
devel/ruby-zeitwerk/PLIST
Normal file
16
devel/ruby-zeitwerk/PLIST
Normal file
|
@ -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
|
6
devel/ruby-zeitwerk/distinfo
Normal file
6
devel/ruby-zeitwerk/distinfo
Normal file
|
@ -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
|
Loading…
Reference in a new issue