Ecosyste.ms: OpenCollective

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

github.com/rom-rb/rom

Data mapping and persistence toolkit for Ruby
https://github.com/rom-rb/rom

Nuke leftover Spec.draw_relation_registry call

9598f637bf1a770abdd2fa2401f9d6a8b98e7f1e authored about 12 years ago by snusnu <[email protected]>
Rework relationships, finalization & aliasing

* via source_key & target_key are inferred during
Relationship#finalize
* Added support for co...

173475bfb427fdf16823fc71518ae241d9d1deb1 authored about 12 years ago by snusnu <[email protected]>
Don't equalize on relation (at least for now)

fixes #19

ea583005c8281e784d19e721a803e2e6522c110b authored about 12 years ago by Piotr Solnica <[email protected]>
Merge branch 'master' of github.com:mbj/dm-session

d87c9fc8c0095c2a9f2bba28fb92de456aa4a552 authored about 12 years ago by Markus Schirp <[email protected]>
Require abstract_type instead of abstract_class

1fdb999c775335ba0107a3fadec459225ac441e2 authored about 12 years ago by Markus Schirp <[email protected]>
Requrie abstract_type instead of abstract_class

dd7e5b660245353f390d1395110be9fe8d5d9bb3 authored about 12 years ago by Markus Schirp <[email protected]>
Fix rspec subclass#inspect does not return name

The rspec helper subclass dynamically creates a new subclass but does
not provide an implementat...

b50be88cdd182a252770d8a4e3c360a46fd65e14 authored about 12 years ago by Markus Schirp <[email protected]>
Fix require of abstract_type

c8644d12e49939b4bb8899da6447ea06eeb20d05 authored about 12 years ago by Markus Schirp <[email protected]>
Use abstract_type from rubygems (former abstract_class)

c101ff2e039f7c6ecec49bcdafbeff628236f4ba authored about 12 years ago by Markus Schirp <[email protected]>
Simplify states a lot.

* Sometimes a littlebit more procedural logic makes sense.

c7ad7512d09d69038ff9033c6b8edb6d7df5df85 authored about 12 years ago by Markus Schirp <[email protected]>
Pass operands to mapper not sessions

197c2957a225401c7d81a20e1874b955ee2eefd7 authored about 12 years ago by Markus Schirp <[email protected]>
Cleanup roles of mapping and state objects

8f64bdf8cd58b72a7811cd8038b8632e67a48f58 authored about 12 years ago by Markus Schirp <[email protected]>
Rename body and dump to tuple

8bacdfb6313902311b9696b4591fcc66fe5ff34b authored about 12 years ago by Markus Schirp <[email protected]>
Move specs into spec/unit so they are not scam anymore ;)

941d3f88a047b82317f66cf090e720eb90176a0c authored about 12 years ago by Markus Schirp <[email protected]>
Cleanup code and adjust scores

f21e8ecf27caec4e72f3671db3bef7e05c454e76 authored about 12 years ago by Markus Schirp <[email protected]>
Remove DataMapper::Session::Dump

03c58c08b521c266d8ed5072a191da826dce30b6 authored about 12 years ago by Markus Schirp <[email protected]>
Use mapper to decide about object identity

* This allows to track changes to a business object that is mutated in
functional style.
* As ...

64ae075317c97999b1a31f00aea9a6c6619e3844 authored about 12 years ago by Markus Schirp <[email protected]>
Add InmemoryEngine

040e7df9e32083690534a86042d00a61a29582b1 authored about 12 years ago by Piotr Solnica <[email protected]>
Add TODO note for AttributeSet#{remap => rename}

1d0235161c1fc87e67a5a29865da587c6fffe1f7 authored about 12 years ago by snusnu <[email protected]>
Use do/end blocks for #each in AttributeSet#merge

52069c50056a033c4840274d93398c07348391a8 authored about 12 years ago by snusnu <[email protected]>
Dry up AttributeSet#merge a little bit

43d30fb22dabef9fada95b422c3349b879724512 authored about 12 years ago by snusnu <[email protected]>
Make pp available in specs

bc89f2fcdfa7c17b236475526505c59d65a7500d authored about 12 years ago by snusnu <[email protected]>
Store yields from JoinKeyMap#each specs in a hash

900509e8b7dfacd6a2339eb25c14fbf77db717b3 authored about 12 years ago by snusnu <[email protected]>
Nuke specs for RelationNode's abstract_class behavior

8dccf82c8a2742d587434b1dfe63f70e39476d4e authored about 12 years ago by snusnu <[email protected]>
RelationNode is not an abstract class

f1380addd7e733ec2df49223053974c53d42758a authored about 12 years ago by Piotr Solnica <[email protected]>
whitespace fix

f50c0c14b678e269bf2cddee744adce6871df89b authored about 12 years ago by Markus Schirp <[email protected]>
Remove Identity class and unify key and identity attributes

This sharpens the interface the mapper has to provide. Will add a README
soon.

6610c7dca5ac8c3b4b4534f28a691b803005c9da authored about 12 years ago by Markus Schirp <[email protected]>
Fix reader support

722303f2f312b5653b2b40d5edb2d19c14520463 authored about 12 years ago by Markus Schirp <[email protected]>
docfix

877ce2b42298c82a16a60b7f3d272b499a2fb6f3 authored about 12 years ago by Markus Schirp <[email protected]>
Rename Loader#object to Loader#body

This brings Loader interface in sync with Dumper#body.

53890806e5c8183ee5047386cb97ebd8ef2149ca authored about 12 years ago by Markus Schirp <[email protected]>
Add equalizers for session object and registry

6bcf4a92ced8e945591c488f6ed9019e677ae0ef authored about 12 years ago by Markus Schirp <[email protected]>
Do not care about query when readong

* Session#read(model, query) => Session#reader(model)
* Introduce devtools

83db5c22c1cfad8e599dd9d9cd392296bbf8fc02 authored about 12 years ago by Markus Schirp <[email protected]>
Merge branch 'master' into simplify

Conflicts:
lib/data_mapper/command.rb
lib/data_mapper/mapping.rb
lib/data_mapper/registry.rb
...

0e31f9e22632d98e9b693263fed1c6f47a6ab8e8 authored about 12 years ago by Markus Schirp <[email protected]>
Make NodeName#initialize signature explicit

* Add missing unit specs
* Add a FIXME note about #to_connector_name with
an initial idea for ...

4db7fdc9208a58240babda7c31f5035816648a25 authored about 12 years ago by snusnu <[email protected]>
Really fix docs for NodeNameSet#initialize

36e19f45ff2d4a9b4ccf6485b6919e5adfd40550 authored about 12 years ago by snusnu <[email protected]>
Fix docs for NodeNameSet#initialize

660f57bd0d3bca67cac7c939fdbd2e8e7a0a81ee authored about 12 years ago by snusnu <[email protected]>
Tighten up NodeNameSet#initialize signature

Injecting the MapperRegistry provides everything
needed to perform initialization. It makes the
...

c06db1efc6eb6ca0a53aa0abfaca0a5f92d347f2 authored about 12 years ago by snusnu <[email protected]>
Remove useless NodeNameSet#relations attr_reader

b96964c2e89b6743ef97ecdf5f770e86e22dbdb5 authored about 12 years ago by snusnu <[email protected]>
Remove useless JoinKeyMap#{left_node, right_node}

aa21ef00c3082d288b84736890f67e9eb7084dc1 authored about 12 years ago by snusnu <[email protected]>
Split RelationRegistry::Builder into smaller methods

464cb8db1db774ceada3138f2722d0b17b0dbbc1 authored about 12 years ago by snusnu <[email protected]>
Make all but RelationRegistry::Builder.call private

9a9379948679a4811f908b72ff9d70d7adbc056a authored about 12 years ago by snusnu <[email protected]>
Merge pull request #13 from solnic/simplify-relationship-mapper-builder

Simplify relationship mapper builder

73696b057c9e418ec843df784f00a090fc528ac2 authored about 12 years ago by Piotr Solnica <[email protected]>
Remove obsolete spec

788a489f734e154acd0429c526500dda0cb29fa0 authored about 12 years ago by Piotr Solnica <[email protected]>
Simplify relationship mapper builder by going through source to target

e1e3530368f256511619fbe0fda28917bf74c3d3 authored about 12 years ago by Piotr Solnica <[email protected]>
[WIP] Refactor NodeNameSet to produce source-to-target names

6e012c7e0de385878845dac49a533093ec8e7d1c authored about 12 years ago by Piotr Solnica <[email protected]>
Make sure correct node and connector names are being created

When creating node names we must always take into account relationship
name but only if it has a...

fb2329d64cec00239a38015dbbf0e89304c411ae authored about 12 years ago by Piotr Solnica <[email protected]>
Add missing ivar (initialization) in m2m_through_spec

ac2e5481e28b6b91799ac73b7a4965253ec7c81b authored about 12 years ago by snusnu <[email protected]>
Add RelationRegistry::JoinKeyMap to attach to edges

eec65b06d42dd538a7d2447539e4dabff36847c8 authored about 12 years ago by snusnu <[email protected]>
Add shared_examples_for 'an #each method'

f7757ed6eb149561e8e24b57fabaf69022b86953 authored about 12 years ago by snusnu <[email protected]>
Add shared_examples_for 'a command method'

bb0c1331a98d4e31d5c3ecdec458a5fcf661f581 authored about 12 years ago by snusnu <[email protected]>
Add :via inference in Relationship::ManyToMany

e56e2e2970ee4493c991b888c024b1206dfba5ec authored about 12 years ago by snusnu <[email protected]>
Accept and store :via option for Relationships

9ba90e37bba0535734c6b3a3418605f75a6f68ff authored about 12 years ago by snusnu <[email protected]>
Rename Relationship{#via => #through}

21dc7540bd538c9e6ff60ea6f4e400126a50403c authored about 12 years ago by snusnu <[email protected]>
Add pending spec for a broken case where a relationship is via a restricted relation

76a6afdec4c40a88fcfc49d6f216bc62f8c2716b authored about 12 years ago by Piotr Solnica <[email protected]>
Port AliasSet changes from arel-engine branch

Conflicts:
lib/data_mapper/alias_set.rb
lib/data_mapper/engine/arel_engine.rb
lib/data_mapper...

cbcabcde24eecb8c18d68912e69cb09e3300ac72 authored about 12 years ago by Piotr Solnica <[email protected]>
Accept relationships in mock_mapper spec helper

6a20429b174622a37a44b633d598443c3b177ba6 authored about 12 years ago by snusnu <[email protected]>
Rename private names and improve docs in NodeNameSet

The algorithmic code in the private methods lends
itself well to short variable names in my opin...

363404536496153f7207b5c0c324d333e519f12a authored about 12 years ago by snusnu <[email protected]>
Simplify Mapper::AttributeSet#merge

4243c3d981f3453485dd0b3eca8c571573bb97de authored about 12 years ago by snusnu <[email protected]>
Simplify Mapper::Builder#remap_fields

9ce4a0964b371cbd66f906a28c5314d7fadc2d22 authored about 12 years ago by snusnu <[email protected]>
Improve RelationEdge#initialize docs + param names

a55e2f9814e1a8834540aeb48018279b103b5788 authored about 12 years ago by snusnu <[email protected]>
Simplify RelationRegistry::RelationEdge#relation

Joins are commutative

33b10cb41e0f1cd86e314cab7f1a61ca80e22278 authored about 12 years ago by snusnu <[email protected]>
Simplify RelationRegistry::Builder#build_node a little

e6e53a4741d0480666bebefad473d3fab8afe1af authored about 12 years ago by snusnu <[email protected]>
Clarify RelationRegistry::Builder#build_relation signature

cd1ae9752b0a623c118b883ef1ef5957dcb0dfb5 authored about 12 years ago by snusnu <[email protected]>
Add missing unit spec files for all public methods

54ce3c0274a507a2c79d867968269caa27d9804d authored about 12 years ago by snusnu <[email protected]>
Add specs for RelationRegistry::Connector#relationship

3165fd8d5b71e8b158437b8398c7d3b521b50e0a authored about 12 years ago by snusnu <[email protected]>
Add specs for RelationRegistry::Connector#relations

54a853ec303b47c3c911491f82dabbcd5b315001 authored about 12 years ago by snusnu <[email protected]>
Add specs for RelationRegistry::Connector#node

fa98cd1064a1f7a9e04f0f0e1582dec5595e2795 authored about 12 years ago by snusnu <[email protected]>
Add specs for RelationRegistry::Connector#name

897bc2dcd7f7990b460653f3ded66cc920ad5165 authored about 12 years ago by snusnu <[email protected]>
Don't pass name to Connector#initialize

c21dec6fbb1e6d671ee041e9710629ef4a72ea0b authored about 12 years ago by snusnu <[email protected]>
Fix docs for Mapper::Builder.call

81f2bd0d2f0a742d9b3b326500936630e3dfcd8c authored about 12 years ago by snusnu <[email protected]>
Make Mapper::Builder build mappers in #initialize

32c6375289bdab9e4396aff95932d87f9d4714f6 authored about 12 years ago by snusnu <[email protected]>
Use Connector#source_mapper in Mapper::Builder#initialize

30bf6c172bf2c154c32f64a9e70440a97b7f94a0 authored about 12 years ago by snusnu <[email protected]>
Split RelationshipMappersFinalizer into smaller methods

fdd58220acd176c1da51b6e08df43fb5487061f9 authored about 12 years ago by snusnu <[email protected]>
Split BaseRelationMappersFinalizer into smaller methods

1406a7b6163bd506166bcfc8d92aef87262d60e4 authored about 12 years ago by snusnu <[email protected]>
Simplify {Dependent}RelationshipSet

* Accept (and default to) a relationship array in
RelationshipSet#initialize

* Change #find_d...

39a85fa64e29376fbc32e85d5f3f1e9e0dfa5904 authored about 12 years ago by snusnu <[email protected]>
Monkeypatch abstract_class in prep for a proper PR

23ef10d4495e647707f72d05f23be110a3191157 authored about 12 years ago by snusnu <[email protected]>
Add specs for DataMapper::AliasSet#initialize

9f9f9c7c914f3f37f68d9b5a63456781287f75f8 authored about 12 years ago by snusnu <[email protected]>
Add specs for DataMapper::AliasSet#excluded

535af3554af8a0fd9b8c6ee29f8cf2a74a056983 authored about 12 years ago by snusnu <[email protected]>
Add specs for DataMapper::AliasSet#prefix

7b1f49c53740e1d16ffc9db783011e2ae3a1c476 authored about 12 years ago by snusnu <[email protected]>
Add specs for DataMapper::AliasSet#attributes

c75bd3d47db1a529e4f22d2296b6eb76a8a59b59 authored about 12 years ago by snusnu <[email protected]>
Equalize on Mapper::AttributeSet#attributes

3823e495d0ccdad44c1680aad5e17e822da90700 authored about 12 years ago by snusnu <[email protected]>
Add (temporary) specs for RelationNode.new

12d7494b3394a99de197b520edce14142d82b74e authored about 12 years ago by snusnu <[email protected]>
Add missing @return yard tag

94c2a454401cbba1eea253de968aa9b570971714 authored about 12 years ago by snusnu <[email protected]>
Make RelationRegistry::RelationNode an abstract class

See the TODO comments in RelationNode.new

e7afe7a17cba7d4af8aa0c8047fd530d48dbcd39 authored about 12 years ago by snusnu <[email protected]>
Add missing @raise tag for Engine#base_relation

165ef5b6d1139700ca18dc87e925910b4c47be8a authored about 12 years ago by snusnu <[email protected]>
Add specs for Mapper::Attribute#initialize

d1b9113a98a9ee2205d1c76f9aa139adc44f0321 authored about 12 years ago by snusnu <[email protected]>
Make DataMapper::Mapper::Attribute an abstract class

c7a191987d34c6c9237b90bcf8a3bf324785786a authored about 12 years ago by snusnu <[email protected]>
Make RelationRegistry::Builder an abstract class

d049f90cd8c59fa8216e3cc4b1310850b10ed347 authored about 12 years ago by snusnu <[email protected]>
Add specs for DataMapper::Relationship#initialize

80597260bf737140c683f886bdf2790d548bf830 authored about 12 years ago by snusnu <[email protected]>
Make DataMapper::Relationship an abstract class

681d5ae7192f726980ef91dcf693a50d5901a584 authored about 12 years ago by snusnu <[email protected]>
Add specs for Engine::VeritasEngine#initialize

34dd96a1be4fa9ac03abe870812aa8e8e055a25b authored about 12 years ago by snusnu <[email protected]>
Add specs for Engine::VeritasEngine#adapter

904dacbc6622a4433d0af9cee9b6379110875d44 authored about 12 years ago by snusnu <[email protected]>
Add specs for DataMapper::Engine#adapter

7a9e6a7b1dc344f6ead4fa7113392e3843753954 authored about 12 years ago by snusnu <[email protected]>
Add specs for DataMapper::Engine#initialize

f8e3cc4c9e47b9b6ac3bcc2392af169101ebd181 authored about 12 years ago by snusnu <[email protected]>
Make DataMapper::Engine an abstract class

43df82caf9ca7d383fd6430f3055e0a85f7521f2 authored about 12 years ago by snusnu <[email protected]>
Add dkubb/abstract_class and a #subclass rspec helper

cc8fd2ca317533791528946ea78cc8bb8d086c23 authored about 12 years ago by snusnu <[email protected]>
Follow heckle spec file naming conventions

190955a47e322b6b6ad9aff6ab66b25c86904dc3 authored about 12 years ago by snusnu <[email protected]>
Rename DataMapper{.generate_mapper_for => .build}

316121e223ee8b73b74d16e79262b350be242c2b authored about 12 years ago by snusnu <[email protected]>
Default inflections are now included in mbj/inflector

fc410f596f3a1c6b70a2bad8b35a014a66d060fe authored about 12 years ago by snusnu <[email protected]>