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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/rubygem-nenv | 0.3.0 |
| DragonFly | devel/rubygem-nenv | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.3.0 | 0.3.0 | 0.3.0 | 0.3.0 | 0.3.0 |
| FreeBSD:14:quarterly | 0.3.0 | 0.3.0 | n/a | 0.3.0 | 0.3.0 |
| FreeBSD:15:latest | 0.3.0 | 0.3.0 | n/a | 0.3.0 | 0.3.0 |
| FreeBSD:15:quarterly | 0.3.0 | 0.3.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.3.0 | 0.3.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
| File | Size | SHA256 |
|---|---|---|
| rubygem/nenv-0.3.0.gem | 10240 | d9de6d8fb7072228463bf61843159419c969edb34b3cef51832b516ae7972765 |
Master sites 1
- RG
Commit history 0
No commits in the history this site was built from.