Port details |
- rubygem-cow_proxy Copy-on-write proxy for frozen Ruby objects
- 0.3.3 devel =2 0.3.3Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2022-08-27 10:34:51
- 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/activescaffold/cow_proxy
- Description:
- This is a copy-on-write proxy for frozen Ruby objects, so duplicating frozen
object is delayed until a method tries to change frozen object.
CowProxy classes for array, hash, string and struct are provided. Objects from
other classes will be proxied without copy-on-write, you have to create a
CowProxy class for them to enable copy-on-write. Also you have to create
CowProxy class for each object which have any getter method with arguments,
because default CowProxy won't wrap returned value. Immutable classes such as
Integer or TrueClass doesn't need copy-on-write proxy because they can't be
changed.
You can wrap every object in a proxy. Proxy will always send method calls to
wrapped object, and wrap returned value with a CowProxy class if method has no
argument, so a proxy will always return proxy objects for getters without
arguments. When a method tries to change a frozen object, if proxy has
copy-on-write enabled, it will duplicate frozen object and will send next method
calls to duplicated object, in other case an exception is raised.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- rubygem-cow_proxy>0:devel/rubygem-cow_proxy
- To install the port:
- cd /usr/ports/devel/rubygem-cow_proxy/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/rubygem-cow_proxy
- pkg install rubygem-cow_proxy
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: rubygem-cow_proxy
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1660576710
SHA256 (rubygem/cow_proxy-0.3.3.gem) = 705b307b714005366a64ce3ec15d5219cdfae0966a46fa4cf075d011bcc8618c
SIZE (rubygem/cow_proxy-0.3.3.gem) = 11264
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-active_scaffold
Configuration Options:
- No options to configure
- Options name:
- devel_rubygem-cow_proxy
- USES:
- gem
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 4
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.3.3 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.3 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.3 27 Aug 2022 10:10:49 |
Po-Chuan Hsieh (sunpoet) |
devel/rubygem-cow_proxy: Add rubygem-cow_proxy 0.3.3
This is a copy-on-write proxy for frozen Ruby objects, so duplicating frozen
object is delayed until a method tries to change frozen object.
CowProxy classes for array, hash, string and struct are provided. Objects from
other classes will be proxied without copy-on-write, you have to create a
CowProxy class for them to enable copy-on-write. Also you have to create
CowProxy class for each object which have any getter method with arguments,
because default CowProxy won't wrap returned value. Immutable classes such as
Integer or TrueClass doesn't need copy-on-write proxy because they can't be
changed.
You can wrap every object in a proxy. Proxy will always send method calls to
wrapped object, and wrap returned value with a CowProxy class if method has no
argument, so a proxy will always return proxy objects for getters without
arguments. When a method tries to change a frozen object, if proxy has
copy-on-write enabled, it will duplicate frozen object and will send next method
calls to duplicated object, in other case an exception is raised.
WWW: https://github.com/activescaffold/cow_proxy |
Number of commits found: 4
|