Port details |
- rubygem-nenv Convenient wrapper for ENV
- 0.3.0 devel =2 0.3.0Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2014-12-20 18:20:50
- Last Update: 2023-01-14 23:08:33
- Commit Hash: 18c6e18
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: rubygems
- License: MIT
- WWW:
- https://github.com/e2/nenv
- 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
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- rubygem-nenv>0:devel/rubygem-nenv
- To install the port:
- cd /usr/ports/devel/rubygem-nenv/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/rubygem-nenv
- pkg install rubygem-nenv
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: rubygem-nenv
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (rubygem/nenv-0.3.0.gem) = d9de6d8fb7072228463bf61843159419c969edb34b3cef51832b516ae7972765
SIZE (rubygem/nenv-0.3.0.gem) = 10240
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- ruby30 : lang/ruby30
- gem : devel/ruby-gems
- Runtime dependencies:
-
- ruby30 : lang/ruby30
- gem : devel/ruby-gems
- Patch dependencies:
-
- ruby30 : lang/ruby30
- gem : devel/ruby-gems
-
- This port is required by:
- for Run
-
- devel/rubygem-notiffany
- sysutils/rubygem-guard
- sysutils/rubygem-guard-cucumber
Configuration Options:
- No options to configure
- Options name:
- devel_rubygem-nenv
- USES:
- gem
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.3.0 14 Jan 2023 23:08:33 |
Muhammad Moinur Rahman (bofh) |
Mk/**ruby.mk: Switch from USE_RUBY=yes to USES=ruby
Switch from Mk/bsd.ruby.mk to Mk/Uses/ruby.mk
Notable changes are.
- Mk/bsd.ruby.mk is moved to Mk/Uses/ruby.mk.
- USE_RUBY=yes is replaced with USES=ruby.
- USE_RUBY_EXTCONF is replaced with USES=ruby:extconf.
- USE_RUBY_RDOC is replaced with USES=ruby:rdoc.
- USE_RUBY_SETUP is replaces with USES=ruby:setup.
- RUBY_NO_BUILD_DEPENDS and RUBY_NO_RUN_DEPENDS are replaced with
USES=ruby:{build,none,run}.
- RUBY_REQUIRE isn't used anywhere, so removed.
- USES=gem now implies USES=ruby.
This is mainly the work of yasu@ at https://reviews.freebsd.org/D27863
I have just made some cosmetic changes and ran exp-run to test that the
tree is not in a BROKEN state.
Approved by: portmgr
Differential Revision: https://reviews.freebsd.org/D37925 |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.3.0 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.3.0 20 Jul 2022 14:21:35 |
Tobias C. Berner (tcberner) |
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
0.3.0 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
0.3.0 03 Nov 2019 17:18:30 |
sunpoet |
Cosmetic change |
0.3.0 27 Apr 2016 21:57:32 |
swills |
Convert USES=gem:autoplist to USES=gem since autoplist is default |
0.3.0 27 Apr 2016 16:36:42 |
swills |
create USES=gem and update rubygem- ports to use it
Note that for now ports still have to have USE_RUBY=yes to use USES=gem
PR: 209041
Differential Revision: https://reviews.freebsd.org/D6070 |
0.3.0 06 Mar 2016 06:25:04 |
sunpoet |
- Update to 0.3.0
- Add LICENSE_FILE
Changes: https://github.com/e2/nenv/releases |
0.2.0 13 Aug 2015 17:39:32 |
sunpoet |
- Remove RG link |
0.2.0 06 Jul 2015 18:05:38 |
sunpoet |
- Remove blank line between NO_ARCH and USE_RUBY |
0.2.0 02 Jul 2015 16:01:08 |
pgollucci |
Set NO_ARCH for remaining rubygem-* ports with no arch dependent files
Obtained from: DEVELOPER_MODE
With Hat: ruby@
Sponsored by: RideCharge Inc / Curb |
0.2.0 18 Jan 2015 10:34:23 |
sunpoet |
- Update to 0.2.0
Changes: https://github.com/e2/nenv/releases |
0.1.1 20 Dec 2014 18:15:00 |
sunpoet |
- Add rubygem-nenv 0.1.1
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
WWW: https://github.com/e2/nenv
RG: https://rubygems.org/gems/nenv |