BSD Ports

devel/ruby-deep_merge 1.2.2 NetBSD

Merge Deeply Nested Hashes

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
devel, ruby
Package size
27.2 KiB, 98.0 KiB installed

Description

DeepMerge Overview

Deep Merge is a simple set of utility functions for Hash. It permits you to merge elements inside a hash together recursively. The manner by which it does this is somewhat arbitrary (since there is no defining standard for this) but it should end up being pretty intuitive and do what you expect.

You can learn a lot more about this by reading the test file. It's pretty well documented and has many examples of various merges from very simple to pretty complex.

The primary need that caused me to write this library is the merging of elements coming from HTTP parameters and related stored parameters in session. This lets a user build up a set of parameters over time, modifying individual items.

In the other systems

SystemPortVersion
NetBSDdevel/ruby-deep_merge1.2.2
OpenBSDdevel/ruby-deep_merge1.2.2

Install

Binary package:

pkgin install ruby33-deep_merge

From pkgsrc:

cd /usr/pkgsrc/devel/ruby-deep_merge && make install clean

Packages

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

RepositoryVersion
NetBSD 10.1 x86_641.2.2
NetBSD 10.1 aarch641.2.2
SmartOS / illumos x86_641.2.2
macOS 15 arm641.2.2

Dependencies

Run dependencies 1
Required by 1

Configuration

No options to configure.

Service scripts
none
Flavors
ruby34-deep_merge-1.2.2, ruby40-deep_merge-1.2.2