BSD Ports

devel/rubygem-nenv 0.3.0 FreeBSD

Convenient wrapper for ENV

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
devel, rubygems
Package size
7.9 KiB, 16.6 KiB installed

Description

Using ENV in Ruby is like using raw SQL statements - it feels wrong, because it is. If you agree, this gem is for you.

The benefits over using ENV directly:

  • much friendlier stubbing in tests
  • you no longer have to care whether false is "0" or "false" or whatever
  • NO MORE ALL CAPS EVERYWHERE!
  • keys become methods
  • namespaces which can be passed around as objects
  • you can subclass!
  • you can marshal/unmarshal your own types automatically!
  • strict mode saves you from doing validation yourself
  • and there's more to come...
  • it's designed to be as lightweight and as fast as possible compared to ENV
  • designed to be both hackable and convenient

In the other systems

SystemPortVersion
FreeBSDdevel/rubygem-nenv0.3.0
DragonFlydevel/rubygem-nenv0.3.0

Install

Binary package:

pkg install rubygem-nenv

From the ports tree:

cd /usr/ports/devel/rubygem-nenv/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	rubygem-nenv>0:devel/rubygem-nenv

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.3.00.3.00.3.00.3.00.3.0
FreeBSD:14:quarterly0.3.00.3.0n/a0.3.00.3.0
FreeBSD:15:latest0.3.00.3.0n/a0.3.00.3.0
FreeBSD:15:quarterly0.3.00.3.0n/an/an/a
FreeBSD:16:latest0.3.00.3.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 6
Run dependencies 6

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/nenv-0.3.0.gem10240d9de6d8fb7072228463bf61843159419c969edb34b3cef51832b516ae7972765
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.