Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

rom

Persistence and mapping toolkit for Ruby
Collective - Host: opensource - https://opencollective.com/rom - Code: https://github.com/rom-rb/rom

Move Mapper#dump logic to AttributeSet#dump

github.com/rom-rb/rom - 787f6b14c6fac4a6b7762cdfb80d9d3be25e45c8 authored almost 12 years ago by snusnu <[email protected]>
Change Mapper#collection visibility to protected

github.com/rom-rb/rom - 8d77d67f920408b4d8d29d9d9406fe76ed47942c authored almost 12 years ago by snusnu <[email protected]>
[ci skip] Fix doc example in Mapper#each

This shows that we need to inject the environment
into Mapper#initialize too, in order to be abl...

github.com/rom-rb/rom - dabb9708144b86143804b8ec3fa78a7f8c58434e authored almost 12 years ago by snusnu <[email protected]>
Push enumerable inclusion back down to Mapper

github.com/rom-rb/rom - f08df65d477603efbe7d360f10233c3fe74fdec4 authored almost 12 years ago by snusnu <[email protected]>
Delegate Relation::{Mapper#first => Graph::Node#first}

While essentially that's the same, it feels more
consistent to just delegate to the equally name...

github.com/rom-rb/rom - 12efc81bfe2d33e94e35a0d39f68cc292017f38a authored almost 12 years ago by snusnu <[email protected]>
Implement Relation::{Mapper, Graph::Node}#replace

github.com/rom-rb/rom - af0596463c5947cab6d94cb938a062e71d94f117 authored almost 12 years ago by snusnu <[email protected]>
Implement Relation::{Mapper, Graph::Node}#delete

github.com/rom-rb/rom - 75368cf63e6eaf80bdba38a60a70f76c3bc9e1c1 authored almost 12 years ago by snusnu <[email protected]>
Implement Relation::{Mapper, Graph::Node}#update

github.com/rom-rb/rom - 881a793425b7098a788fe0b839b801e89fbdb22c authored almost 12 years ago by snusnu <[email protected]>
Implement Relation::{Mapper, Graph::Node}#insert

github.com/rom-rb/rom - f360a9b0090c01c0b8cb33b998b4a51c8ec0dcce authored almost 12 years ago by snusnu <[email protected]>
Implement Relation::{Mapper, Graph::Node}#drop

github.com/rom-rb/rom - c734b0b0b7262f720364b2588320215468b99dac authored almost 12 years ago by snusnu <[email protected]>
Implement Relation::{Mapper, Graph::Node}#last

github.com/rom-rb/rom - e592779441059d1565173603578916b22a96582d authored almost 12 years ago by snusnu <[email protected]>
Implement Relation::{Mapper, Graph::Node}#first

github.com/rom-rb/rom - 83179af89eb3eff13df211ad3e1e4085dc970de4 authored almost 12 years ago by snusnu <[email protected]>
Implement Relation::{Mapper, Graph::Node}#take

github.com/rom-rb/rom - c467838a536ea43549e0f4bf5108c9ea809993ee authored almost 12 years ago by snusnu <[email protected]>
Mark Relation::Graph::Node#update pending for now

github.com/rom-rb/rom - d54330f52119098ab6520455ed5be6a19376d82f authored almost 12 years ago by snusnu <[email protected]>
Update docs for Relation::Graph::Node

github.com/rom-rb/rom - 65af299f435460a99f106b40045cd6300cba66ba authored almost 12 years ago by snusnu <[email protected]>
Use described_class consistently in class method specs

github.com/rom-rb/rom - e8352f04df225289f49adcfacf73c49cf030908b authored almost 12 years ago by snusnu <[email protected]>
Nuke spec file for previously removed method

github.com/rom-rb/rom - 76cf7eec76749f986d98c3788ba4c033106cdc8a authored almost 12 years ago by snusnu <[email protected]>
Fix syntax errors on 1.8.7 rubies

github.com/rom-rb/rom - 9950b2857da3f66f8f7e46fc867a77658164f93d authored almost 12 years ago by snusnu <[email protected]>
Split Support::Graphviz into smaller methods

github.com/rom-rb/rom - f664eac6198a5b9661c14abb8fa637779ed4e065 authored almost 12 years ago by snusnu <[email protected]>
Simplify db_setup (to be improved soon)

github.com/rom-rb/rom - a734599a57a975aeed2a4213cbdde780b29e49e4 authored almost 12 years ago by snusnu <[email protected]>
Add module docs for Veritas::Adapter

github.com/rom-rb/rom - 657c564eca73aff52c466e3c8c5b20d33193ca6f authored almost 12 years ago by snusnu <[email protected]>
Add docs for Veritas::Adapter::InMemory

github.com/rom-rb/rom - e5d5970b686f31503d38ce33a9aa54dd9d9d33a3 authored almost 12 years ago by snusnu <[email protected]>
Add docs for Veritas::Adapter::DataObjects#uri

github.com/rom-rb/rom - d69c30cb4a631f0983d904b79a6c62e219f98dd0 authored almost 12 years ago by snusnu <[email protected]>
Add class comment for Environment

github.com/rom-rb/rom - 7828d9c4f301f5f3fd5e6fa4212298498def1382 authored almost 12 years ago by snusnu <[email protected]>
[ci skip] Nuke whitespace in specs

github.com/rom-rb/rom - 8a9c89d4a1130ec45e59a470646d79502a85e333 authored almost 12 years ago by snusnu <[email protected]>
Add specs for Environment.coerce

github.com/rom-rb/rom - 815773b846d2d782ff05ac929653158ec342333c authored almost 12 years ago by snusnu <[email protected]>
[ci skip] Add docs for Environment.coerce

github.com/rom-rb/rom - 596b2b79200809c78e6905f1feeb3fc64321a4c5 authored almost 12 years ago by snusnu <[email protected]>
Dry up spec helpers and use one configured DM_ENV

github.com/rom-rb/rom - 4a52859ca51ccaa895319b58dd5a48c5df81b887 authored almost 12 years ago by snusnu <[email protected]>
Remove unused rspec :focus metadata configuration

I actually remember that being kinda dangerous
from app development. If you happen to forget to
...

github.com/rom-rb/rom - e87a184e52132655739c6ba68a7ffee7465edc64 authored almost 12 years ago by snusnu <[email protected]>
Remove duplicate OpenStruct monkey patch for specs

github.com/rom-rb/rom - 132fff52902711b697aab0d9f5c350162f708630 authored almost 12 years ago by snusnu <[email protected]>
Refactor Repository and Veritas::Adapter objects

* Collapse Repository::{InMemory, Persistent} into
Repository only, which accepts a name + ada...

github.com/rom-rb/rom - 03f98c8c0520a3964c8bc7b96be0c986d31fdbe4 authored almost 12 years ago by snusnu <[email protected]>
Close #34 Move support code below lib/data_mapper

github.com/rom-rb/rom - 2071d96a7ae8ee0e8db539a200cd1dcace1bd62f authored almost 12 years ago by snusnu <[email protected]>
Put InMemory + Persistent repositories in separate files

github.com/rom-rb/rom - e4e0e357bcff2f9bf2a03cf8713705d12d2fd798 authored almost 12 years ago by snusnu <[email protected]>
[ci skip] Move TestEnv#draw => Support::Graphviz#draw

github.com/rom-rb/rom - 33f1a9849f8b285c2cf620b705cd8ded4e68f13c authored almost 12 years ago by snusnu <[email protected]>
[ci skip] Fix docs for Environment#setup

github.com/rom-rb/rom - 56889ad07430bdb4b4c3f92938754c2830b9bc9e authored almost 12 years ago by snusnu <[email protected]>
[ci skip] Rename TestEnv#{draw_relation_graph => draw}

github.com/rom-rb/rom - 5baf260974bc0348fcb93cc6beaefc86a2b924a9 authored almost 12 years ago by snusnu <[email protected]>
Move graphviz code to TestEnv#draw_relation_graph

github.com/rom-rb/rom - 7d9027a5489af8cbd1d0b8ae08e0e8a97cc9e681 authored almost 12 years ago by snusnu <[email protected]>
Remove useless curly braces for hash definition

github.com/rom-rb/rom - e985d084c2a5f51b192e00e9062b5e8f10c1488d authored almost 12 years ago by snusnu <[email protected]>
Fix alignment of the private directive

github.com/rom-rb/rom - c45a04f652d910864fac713af222d6047b2c1686 authored almost 12 years ago by snusnu <[email protected]>
Move include directive to the top of the class body

github.com/rom-rb/rom - 95bbf9e2c6504cd4ceca0c8596081c98f4549d79 authored almost 12 years ago by snusnu <[email protected]>
Fix docs for Environment#setup

github.com/rom-rb/rom - 8acdeb6ed5c8b02cc3c55b13dd6725b30bc917d7 authored almost 12 years ago by snusnu <[email protected]>
Avoid useless #to_sym call in Relation::Graph#node_for

github.com/rom-rb/rom - d6799f31db646b3c2e5ee7313047542f56641db0 authored almost 12 years ago by snusnu <[email protected]>
Split BaseRelationMappersFinalizer into smaller methods

github.com/rom-rb/rom - 5a50032319c31cd12018c8522a31be13bf9e7969 authored almost 12 years ago by snusnu <[email protected]>
Make Environment#repositories protected explicitly

github.com/rom-rb/rom - e88be25c2cc8f8a0211620033a432af73a0aece8 authored almost 12 years ago by snusnu <[email protected]>
Push Environment#reset down to TestEnv

As #reset is only used from specs currently, there
is no need to expose it as a public method to...

github.com/rom-rb/rom - 218e04d25a03ed51bd9c6e2d8f5207e63148624a authored almost 12 years ago by snusnu <[email protected]>
Push enumerable inclusion down to Relation::Mapper

github.com/rom-rb/rom - e48214408a64bd615f5e4599565aa370f6b0c94e authored almost 12 years ago by snusnu <[email protected]>
Push Mapper#environment down to Relation::Mapper

github.com/rom-rb/rom - 3310751eebb69bec49fb6bc62fc2c31e6354050e authored almost 12 years ago by snusnu <[email protected]>
[ci skip] Update SpecHelper.draw_relation_graph

github.com/rom-rb/rom - d17c73bd5bba40e579a7e129001ba2ab4e02a66d authored almost 12 years ago by snusnu <[email protected]>
Move integration specs out of the veritas directory

github.com/rom-rb/rom - 0d98e9f30eefabaa9f95e4a31f107e5b6448bf15 authored almost 12 years ago by snusnu <[email protected]>
Nuke Engine in favor of Environment#repositories

github.com/rom-rb/rom - a6c0ab3c8234c372f9bea7bd6be97f53995203ae authored almost 12 years ago by snusnu <[email protected]>
[WIP] Introduce DataMapper::Repository

github.com/rom-rb/rom - 748233255ffe1a170f5583dd98d0548bac61a7fc authored almost 12 years ago by snusnu <[email protected]>
Keep the relation graph in the Environment instance

github.com/rom-rb/rom - 28ea5ac105fe26061568a35ea6a6d04c76c00538 authored almost 12 years ago by snusnu <[email protected]>
Inject the environment in Mapper#initialize

github.com/rom-rb/rom - 6b15a56cf67315aa9857b1ac698a8b90ae560835 authored almost 12 years ago by snusnu <[email protected]>
Don't inject the engine into Relation::Graph#initialize

This was previously only used to determine the
#relation_node_class and #relation_edge_class to
...

github.com/rom-rb/rom - 8f7577a5a255006649ece3a9adb112ee31b1ad9e authored almost 12 years ago by snusnu <[email protected]>
Simplify Relationship::Iterator#each specs

This hopefully fixes the last remaining issue on
rbx-18

github.com/rom-rb/rom - 2237009ce2770458e4b38d69d7628d53d86654fa authored almost 12 years ago by snusnu <[email protected]>
Revert "Nuke pending flag from M:N self join specs < 1.9"

This reverts commit e321dc4670e427a64d7cc7e0b6f6ca34006a6b00.

github.com/rom-rb/rom - be3b838b43a4140fc3acd7e54507f54079388746 authored almost 12 years ago by snusnu <[email protected]>
Nuke pending flag from M:N self join specs < 1.9

github.com/rom-rb/rom - da04321806ad0df578d95c693fa488b5671e3bee authored almost 12 years ago by snusnu <[email protected]>
Pass the already coerced uri down to DataObjects

github.com/rom-rb/rom - 5caeea240e9d6bfce0eeca2a752862a76b228766 authored almost 12 years ago by snusnu <[email protected]>
Remove docs that no longer apply

github.com/rom-rb/rom - 33860eed9062a94c5b29348d223f9267af7bd860 authored almost 12 years ago by snusnu <[email protected]>
Make the uri param required in Engine#initialize

github.com/rom-rb/rom - ef6dc59215a43c9116178156153cc408cda2836a authored almost 12 years ago by snusnu <[email protected]>
Remove commented code

github.com/rom-rb/rom - ef5d8c38b9cd2189ea5593026d33084b2ee77fce authored almost 12 years ago by snusnu <[email protected]>
Move Engine::Veritas into {Engine, Relation::Graph::{Node, Edge}}

github.com/rom-rb/rom - 5148cab61d0eb6ea574beaf66976f66d14982af7 authored almost 12 years ago by snusnu <[email protected]>
Nuke all engines except for veritas

github.com/rom-rb/rom - fca8f2cd6f977a170b0c5975cf35831d038f321a authored almost 12 years ago by snusnu <[email protected]>
Use {} vs. do...end convention consistently

github.com/rom-rb/rom - 5fd43a12189accd4126c3bdf270333f44c97a313 authored almost 12 years ago by snusnu <[email protected]>
Use {} vs. do...end convention consistently

github.com/rom-rb/rom - 2bbe6636ad0b7a50d085fbc86bc833b80c710433 authored almost 12 years ago by snusnu <[email protected]>
Refactor code & specs for Environment#setup

github.com/rom-rb/rom - f4fc95deb58c896cc63fcc375b2e19946d271490 authored almost 12 years ago by snusnu <[email protected]>
Fix for 'uninitialized constant YAML' on ruby-head

* We need to require 'yaml' ourselves. Bundler version 1.3.0, the only
version of Bundler comp...

github.com/rom-rb/rom - a5834b9737febd3ca57c8fdc90fd45b9d8670057 authored almost 12 years ago by Alex Coles <[email protected]>
Depend on mbj/inflecto (previously mbj-inflector)

github.com/rom-rb/rom - 7d55cd32ca9954de980f649c1c8aa1fdc1dd2aed authored almost 12 years ago by snusnu <[email protected]>
Merge pull request #31 from Gibheer/master

update readme for ordering setup and building steps

github.com/rom-rb/rom - 7781cbc734a521d45aaac6f2ad900cd8b8a1c442 authored almost 12 years ago by Piotr Solnica <[email protected]>
Mark self referential 1:1 and 1:N pending on 1.8.7

github.com/rom-rb/rom - 5868b97c070c0486b51076e80d4c328ea29518bd authored almost 12 years ago by snusnu <[email protected]>
Cleanup self referential 1:1 veritas integration specs

github.com/rom-rb/rom - 1327b8f6bb8f96a999b51a06b6cea45f65c688c2 authored almost 12 years ago by snusnu <[email protected]>
Add self referential 1:1 veritas integration specs

github.com/rom-rb/rom - 24d49107c271532b17aaf9dd9a27798ff21c0bdc authored almost 12 years ago by snusnu <[email protected]>
[WIP] Workaround a bug with self referential joins

Currently, two different SQL queries are generated
if the M:1 relationship is either defined bef...

github.com/rom-rb/rom - 46473149784a6732269ab4507b5497201daf8a5c authored almost 12 years ago by snusnu <[email protected]>
Fix example description for self referential 1:N specs

github.com/rom-rb/rom - 0c17e04ea9b0936b2e338b5a29dd94e5a45437bf authored almost 12 years ago by snusnu <[email protected]>
Add self referential 1:N veritas integration specs

github.com/rom-rb/rom - cf18274d924c5046bedcbefd9f3f6a443036563f authored almost 12 years ago by snusnu <[email protected]>
Add self referential M:1 veritas integration specs

github.com/rom-rb/rom - 9779c3e8d02c08f05c062de190226b4828d26251 authored almost 12 years ago by snusnu <[email protected]>
Remove 1.8.7 from travis' allowed failures

github.com/rom-rb/rom - a6118bbc18d7109d604e9b90b2aca2145704a52d authored almost 12 years ago by snusnu <[email protected]>
Fix unit spec failures on 1.8.7

The 2nd block param was removed before to make
mutant happy. Changing the 2nd block param to *
i...

github.com/rom-rb/rom - 3af8dc76d157f560d28856bd2d4be4a1c9a8c7d1 authored almost 12 years ago by snusnu <[email protected]>
Require :engine option in Environment#setup (fixes #29)

github.com/rom-rb/rom - c285d9235747a0e0a0daf8ad275d8e47ea3ce405 authored almost 12 years ago by Piotr Solnica <[email protected]>
Fix docs for Relation::Header#initialize

github.com/rom-rb/rom - d7115ea7cd80d1826ab903e1d945be38afa8c014 authored almost 12 years ago by snusnu <[email protected]>
Decouple Relation::Graph::Node from AttributeSet

Initial step towards completely decoupling the
Relation::Graph namespace from anything mapper
re...

github.com/rom-rb/rom - 5dc42ee753f64eae0926911f72f54b0beeed6418 authored almost 12 years ago by snusnu <[email protected]>
Simplify Relationship::Iterator::Tuples#initialize_tuples

github.com/rom-rb/rom - ae8961e435c9a7b9d557a4fe6272d2c401a19171 authored almost 12 years ago by snusnu <[email protected]>
Use a frozen EMPTY_HASH for parameter default values

github.com/rom-rb/rom - 1326f0cb37d6605ceb8fc17edb163b01ada8a9e5 authored almost 12 years ago by snusnu <[email protected]>
Update Engine::Veritas::Node#sort_by signature

Accept what Veritas::Relation#sort_by accepts

github.com/rom-rb/rom - 48f240b10fbdb1b7a38af75c8f9d4534a8e03ed4 authored almost 12 years ago by snusnu <[email protected]>
Limit relation to two tuples for Relation::Mapper#one

This avoids fetching a large number of tuples when
only one is expected. Limits the relation to ...

github.com/rom-rb/rom - f29cf5a3d45ba1993d675c9edde92244cae6a068 authored almost 12 years ago by snusnu <[email protected]>
Extract private Relation::Mapper#restricted_relation

github.com/rom-rb/rom - 0f37bc25d75c0e15d0b1fef1cf81936be9489997 authored almost 12 years ago by snusnu <[email protected]>
Fix veritas integration specs for "finding one object"

github.com/rom-rb/rom - 690be957e3db694ee651b5e629ffb3df3bf90028 authored almost 12 years ago by snusnu <[email protected]>
Cover all mutations for Relation::Mapper#one

github.com/rom-rb/rom - 21bf4b5e9011a123ddfd0477eca48ca5e549f3b0 authored almost 12 years ago by snusnu <[email protected]>
Support injecting tuples into SpecHelper#mock_relation

github.com/rom-rb/rom - cd24cf4327c94f83e6eb4ee3924d3c136648b051 authored almost 12 years ago by snusnu <[email protected]>
Raise proper exceptions from Relation::Mapper#one

This is a follow up refactoring for #28

github.com/rom-rb/rom - dae888a7465e3eecd8dc18970f4ddd68601e4058 authored almost 12 years ago by snusnu <[email protected]>
Merge pull request #28 from indrekj/master

Show better error message when Mapper#one returns 0 results

github.com/rom-rb/rom - 5bc65b75f1ff4759e30d4bcc84f3125e28340acf authored almost 12 years ago by Martin Gamsjaeger <[email protected]>
Show better error message when Mapper#one returns 0 results

github.com/rom-rb/rom - cd3490884f264260e8cd246571fc93a308f87943 authored almost 12 years ago by Indrek Juhkam <[email protected]>
Fix minor refactoring leftovers in specs

github.com/rom-rb/rom - c6a190290aa8019c0fe865494c32db24902c6fb4 authored almost 12 years ago by snusnu <[email protected]>
Move Relation::Header#{each => aliases, header => each}

This commit finishes the [WIP] started with the
previous commit.

github.com/rom-rb/rom - 90714695caaa6af2745120a2072f1cc591a36a01 authored almost 12 years ago by snusnu <[email protected]>
[WIP] Rename Relation::{Aliases => Header}

Next step is to move Header#each functionality to
Header#aliases and Header#header functionality...

github.com/rom-rb/rom - e7c4d8d4441587da085c40f20f6576084b9a5f74 authored almost 12 years ago by snusnu <[email protected]>
Kill a mutation in Relation::Aliases#rename specs

@@ -1,4 +1,4 @@
def rename(aliases)
- new(attribute_index.rename_attributes(aliases), relation...

github.com/rom-rb/rom - e22ef450c6de7a90f8de94fef8da70e3e2f0f532 authored almost 12 years ago by snusnu <[email protected]>
Kill a mutation in Relation::Aliases::rename specs

@@ -1,4 +1,4 @@
def rename(aliases)
- new(attribute_index.rename_attributes(aliases), relation...

github.com/rom-rb/rom - a1e13d20dc8c17dbe3f6de9cc6630e666db609c8 authored almost 12 years ago by snusnu <[email protected]>
Rename abstract_{class => type}_behavior shared spec

github.com/rom-rb/rom - 2bf7f6df24a32e4ac1e77408c5348889135edfac authored almost 12 years ago by snusnu <[email protected]>
Simplify Relation::Aliases#relation_aliases

github.com/rom-rb/rom - d0f096d3c64ad704d11cff6ea843e5e3829d51c2 authored almost 12 years ago by snusnu <[email protected]>
Rename Relation::Aliases::AttributeIndex#{rename => rename_attributes}

github.com/rom-rb/rom - bbea1450fa81e421599de0f0c23868fd9b5f8b57 authored almost 12 years ago by snusnu <[email protected]>