Port details |
- rubygem-active_hash Include the ability to specify data using hashes, yml files or JSON files
- 3.3.1 devel =2 3.3.1Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2024-05-16 06:30:37
- Last Update: 2024-05-19 22:11:43
- Commit Hash: 8f83cd1
- 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/active-hash/active_hash
- Description:
- ActiveHash is a simple base class that allows you to use a ruby hash as a
readonly datasource for an ActiveRecord-like model.
ActiveHash assumes that every hash has an :id key, which is what you would
probably store in a database. This allows you to seamlessly upgrade from
ActiveHash objects to full ActiveRecord objects without having to change any
code in your app, or any foreign keys in your database.
It also allows you to use #has_many and #belongs_to (via belongs_to_active_hash)
in your AR objects.
ActiveHash can also be useful to create simple test classes that run without a
database - ideal for testing plugins or gems that rely on simple AR behavior,
but don't want to deal with databases or migrations for the spec suite.
ActiveHash also ships with:
- ActiveFile: a base class that you can use to create file data sources
- ActiveYaml: a base class that will turn YAML into a hash and load the data
into an ActiveHash object
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- rubygem-active_hash>0:devel/rubygem-active_hash
- To install the port:
- cd /usr/ports/devel/rubygem-active_hash/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/rubygem-active_hash
- pkg install rubygem-active_hash
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: rubygem-active_hash
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1716142154
SHA256 (rubygem/active_hash-3.3.1.gem) = 84477833a69ad6ea43d562bcaa4f1004aca7aed6dfa45e8d367fd3e7d4f36170
SIZE (rubygem/active_hash-3.3.1.gem) = 26112
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:
-
- ruby32 : lang/ruby32
- gem : devel/ruby-gems
- Runtime dependencies:
-
- rubygem-activesupport71>=5.0.0 : devel/rubygem-activesupport71
- ruby32 : lang/ruby32
- gem : devel/ruby-gems
- Patch dependencies:
-
- ruby32 : lang/ruby32
- gem : devel/ruby-gems
-
- This port is required by:
- for Run
-
- www/rubygem-bullet_train-roles
Configuration Options:
- No options to configure
- Options name:
- devel_rubygem-active_hash
- USES:
- gem
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 2
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
3.3.1 19 May 2024 22:11:43 |
Po-Chuan Hsieh (sunpoet) |
devel/rubygem-active_hash: Update to 3.3.1
Changes: https://github.com/active-hash/active_hash/releases |
3.3.0 16 May 2024 06:21:48 |
Po-Chuan Hsieh (sunpoet) |
devel/rubygem-active_hash: Add rubygem-active_hash 3.3.0
ActiveHash is a simple base class that allows you to use a ruby hash as a
readonly datasource for an ActiveRecord-like model.
ActiveHash assumes that every hash has an :id key, which is what you would
probably store in a database. This allows you to seamlessly upgrade from
ActiveHash objects to full ActiveRecord objects without having to change any
code in your app, or any foreign keys in your database.
It also allows you to use #has_many and #belongs_to (via belongs_to_active_hash)
in your AR objects.
ActiveHash can also be useful to create simple test classes that run without a
database - ideal for testing plugins or gems that rely on simple AR behavior,
but don't want to deal with databases or migrations for the spec suite.
ActiveHash also ships with:
- ActiveFile: a base class that you can use to create file data sources
- ActiveYaml: a base class that will turn YAML into a hash and load the data
into an ActiveHash object |
Number of commits found: 2
|