Ecosyste.ms: OpenCollective

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

github.com/hanami/model

Ruby persistence framework with entities and repositories
https://github.com/hanami/model

[ci skip] Fix API doc for v0.2.1

0299838bf20c8a1403b50f6cb31245c6e574448b authored almost 10 years ago by Luca Guidi <[email protected]>
Prepare for v0.2.1

5aae1a434bd7ea0f40a78b70773369268ef68fcc authored almost 10 years ago by Luca Guidi <[email protected]>
Merge branch 'lotus-validations-compat'

1cb597175bf9404dbcaa85c2a3faa1409d735f3f authored almost 10 years ago by Luca Guidi <[email protected]>
[ci skip] Removed unused line of code

d768ea87b3bf8c1090639690d8132368069bf427 authored almost 10 years ago by Luca Guidi <[email protected]>
Minimal integration between Entity and Lotus::Validations

54a424779cde18364ebe1af5dd6ae4fe1440ae01 authored almost 10 years ago by Luca Guidi <[email protected]>
Added support for transactions

158c1b7b76dbd2ff613364d82c9a9347a0e2f4c4 authored almost 10 years ago by Alfonso Uceda Pompa <[email protected]>
Merge pull request #137 from joneslee85/refactor-attributes-dsl

Refactor attributes DSL

85b101b523d8fbc5d28263bf871b21d3b56c3e77 authored about 10 years ago by Trung Lê <[email protected]>
Remove commented test

844d2920dfd7ed2befff376fdd63bb758b4cd68f authored about 10 years ago by Trung Lê <[email protected]>
Gracfully handle unknown attributes

3996116a1f32532b425be77daf4587127a59721e authored about 10 years ago by Trung Lê <[email protected]>
Comment out entity attributes() test

The current test is a bad written one as it does not really test what we are supposed to test
I ...

6e117145000793c5bb7f55b29d1dfc04c8c45d07 authored about 10 years ago by Trung Lê <[email protected]>
Consolidate constructor

includes other major breaking changes to make it consistent:

* Does not handle gracefully unkno...

8dd20cbf6759b08bb9e06b3118f169063d917423 authored about 10 years ago by Trung Lê <[email protected]>
Merge pull request #132 from stevehodgkiss/fix-conflict-with-activesupport-dependency-loading

Fix conflict with ActiveSupport dependency loading

389c834109a4626f0268bddcb8cefaf83b12fa99 authored about 10 years ago by Luca Guidi <[email protected]>
[ci skip] make yardoc happy

329b043936e3dc318aa7ba4bc129169f0500cfdf authored about 10 years ago by Luca Guidi <[email protected]>
Prepare for v0.2.0

0421db3cad0c07a734f51ecf1ac69cd8ecd45908 authored about 10 years ago by Luca Guidi <[email protected]>
Fix conflict with ActiveSupport dependency loading

`Object#require` in ActiveSupport attempts to call their own `load_dependency` method [1], which...

0432ccb1d8217403a57d1773c8ae28a9d53f390d authored about 10 years ago by Steve Hodgkiss <[email protected]>
[ci skip] Remove table aliasing from README, as we aren't going to ship it now. Ref #127

17b037ea2cb5897ab565e3bc265451717fc53895 authored about 10 years ago by Luca Guidi <[email protected]>
Merge pull request #127 from joneslee85/patch-issue-120

Mention about the limitations of entities that inherit from other entiti...

8d816675757dca6ad773c5a187b55b1f9ca2b892 authored about 10 years ago by Luca Guidi <[email protected]>
Merge pull request #129 from joneslee85/lazy-mapping

Lazy-loading Model::Configuration#mapper

f350359aa79607be3a521792f3b91040178141a5 authored about 10 years ago by Luca Guidi <[email protected]>
Delegate the Mapper configuration to Lotus::Model::Config::Mapper

94c9224f777704c18197397104a293f69fbd0616 authored about 10 years ago by Trung Lê <[email protected]>
Lazy-loading Model::Configuration#mapper

f02f0a77847204338b03edbdd920f922177f7cbc authored about 10 years ago by Trung Lê <[email protected]>
FileSystem adapter: ensure to safely query when the database is new. Thanks to @gogogarrett for catching this problem

c4332922b7216eda3f44fdb537c762b86fab33f6 authored about 10 years ago by Luca Guidi <[email protected]>
Handle relative and absolute paths for file system adapter

e40d918b4c8cd3c44306e17ce74b1288d3c2d0a5 authored about 10 years ago by Luca Guidi <[email protected]>
Mention about the limitations of entities that inherit from other entities

066299ae99119e488784de0f4d675482ced32cf6 authored about 10 years ago by Trung Lê <[email protected]>
Merge pull request #125 from lotus/filesystem-adapter

File system adapter

fa6f0aa4b0b9e09c2b036afcf1246e98ff5f62d4 authored about 10 years ago by Luca Guidi <[email protected]>
File system adapter :sparkling_heart:

db1cf65fe75296e522170147ab48c9df7f24fb23 authored about 10 years ago by Luca Guidi <[email protected]>
Merge pull request #123 from Erol/readme-fixes

Readme fixes

21adebc1fa6f219d704d9989df206cce2486c5a7 authored about 10 years ago by Luca Guidi <[email protected]>
Small README corrections

8615b5841e6c15c2835736635a3e27b7f151cc27 authored about 10 years ago by Erol Fornoles <[email protected]>
Merge pull request #124 from joneslee85/issue-119

Change Entity#attributes= to Entity#attributes

50b66fb959854ec6c081c8c0b49efb7915bd83cf authored about 10 years ago by Luca Guidi <[email protected]>
Change Entity#attributes= to Entity#attributes

f07d16c8d9893c38d736a096bf5d3e5fe01a0dd6 authored about 10 years ago by Trung Lê <[email protected]>
Overload Configuration#adapter to make it a getter too

3066f4da44512515ffa40227ffabf3d9bc1ad781 authored about 10 years ago by Luca Guidi <[email protected]>
Remove from Model.duplicate the generation of a Ruby module where to put models. Ref #122

f7368eaa8b5fd34d1db1e54681ffb42aaecb7c57 authored about 10 years ago by Luca Guidi <[email protected]>
Merge branch 'joneslee85-dup-yolo'

d4728d3296b0d0ac8c768af8ef07c4cced111b99 authored about 10 years ago by Luca Guidi <[email protected]>
Duplicate Entity and Repository

e619c2c8b3367e852df1d85243b013c1b3edc0d8 authored about 10 years ago by Trung Lê <[email protected]>
Merge pull request #121 from joneslee85/fix-missing-utils-load

load utils/class for Mapping::Collection

55410e2f4234445eb3fa9e59385f54e6a75bf173 authored about 10 years ago by Luca Guidi <[email protected]>
load utils/class for Mapping::Collection

58f0e67e3809a45f47c88be8f02cfe70fcd7e25c authored about 10 years ago by Trung Lê <[email protected]>
Merge pull request #118 from AlfonsoUceda/master

Fixed entity when an attribute is false

0c69cea44b858ac55e4d68c601037c95bb6b3775 authored about 10 years ago by Luca Guidi <[email protected]>
Fixed entity when an attribute is false

75e176860f8fd5a04550d7f6d7e76923d5a25bc2 authored about 10 years ago by Alfonso Uceda Pompa <[email protected]>
Merge pull request #114 from joneslee85/mapping-path

Allow mapping DSL to take file path

7c53a7dc7e6cd83fa1a948f251b72265bf8dc183 authored about 10 years ago by Luca Guidi <[email protected]>
Allow mapping DSL to take file path. [resolves #108]

9273f0e975d279baa0bc4717b643a3bd83913b04 authored about 10 years ago by Trung Lê <[email protected]>
Merge pull request #111 from joneslee85/add-entity-update-api

Add Entity#update method

a9e32323fe74f1632a90d68b052c9aaa840f4609 authored about 10 years ago by Luca Guidi <[email protected]>
Added extra test case. Ref #105

8814146e43145aaddebe6d2e2b13450d330ae16d authored about 10 years ago by Luca Guidi <[email protected]>
Merge branch 'bennyklotz-master'

3c14322c64c2ea98939142758c79cf2112b288a1 authored about 10 years ago by Luca Guidi <[email protected]>
Merge branch 'master' of https://github.com/bennyklotz/model into bennyklotz-master

f8e3e7851abef00e795df06ba28bdedc496eff89 authored about 10 years ago by Luca Guidi <[email protected]>
Implement entity attribute inheritance thanks to @joneslee85

f843a16d183057aa0e2bea503167f132aa399b09 authored about 10 years ago by Benny Klotz <[email protected]>
Merge pull request #92 from joneslee85/patch-3

Test against 2.2.0

7373344f8aa775f4208c669ffd0358037ef057a7 authored about 10 years ago by Luca Guidi <[email protected]>
Add Entity#update method

This allows mass-assign attributes

266f5fed7d1c69f4082be5b1e51e116414bab183 authored about 10 years ago by Trung Lê <[email protected]>
Merge pull request #110 from joneslee85/meaningful-mapping-missing-exception

Reset mapper to NullMapper

3d6ef06b3d75cc4dbedf7bd0803788e0cf24949d authored about 10 years ago by Luca Guidi <[email protected]>
Reset mapper to NullMapper

This allows raising exceptions upon calling any methods on it

[resolve #107]

caa13947fb40b5ca14f7060157fd708c84f25444 authored about 10 years ago by Trung Lê <[email protected]>
Merge pull request #109 from rhynix/memory_adapter_offset_fix

Make Memory::Query#offset behave like SQL

4ab6c8e165f0503de5dd8867a77789dd9bd96798 authored about 10 years ago by Luca Guidi <[email protected]>
Fix bug in memory adapter offset

Before this fix, offset(n) returned the last n records, while it should
return all records excep...

2fcac6ed4a677822a4347bc5db1fa93e862d2764 authored about 10 years ago by Rik Tonnard <[email protected]>
Lotus::Model.configure to return self

8314fd2632b32a9f8e4e72313cb8a49a151777ed authored about 10 years ago by Luca Guidi <[email protected]>
Bump version to v0.2.0.dev

e590598c7cb6d5ded7d3b430760907176e72deaf authored about 10 years ago by Luca Guidi <[email protected]>
Merge pull request #106 from joneslee85/lazy-load-entity-and-repo

Lazy load entity and repository + presence validation of entity and repo on load

5a19520be30b42b6383cc7fb5ec40de6a1da0a7a authored about 10 years ago by Luca Guidi <[email protected]>
Lazy load entity and repository

Additonally, adding validation for presence of entity and repository for load!

e4e8e3ecef19515dcbe0619fafb788ce9c4ba033 authored about 10 years ago by Trung Lê <[email protected]>
Merge pull request #104 from lotus/null-adapter

Initialize a repository with a null adapter for better error handling

eadd5ba08d434ae79d4ab852045bae9afe6f46ff authored about 10 years ago by Luca Guidi <[email protected]>
Merge pull request #101 from bennyklotz/master

Ensure attributes keys are symbols

ee2e3eeee8bff1f5b2d1e9067e01e055acdef341 authored about 10 years ago by Luca Guidi <[email protected]>
Merge pull request #90 from joneslee85/patch-xxx

Allow entity() and repository() to take in class name in String

da547cd44914948aa4cac5d7ae0f307f74736fb8 authored about 10 years ago by Luca Guidi <[email protected]>
Merge branch 'joneslee85-duplication-mechanism'

efd9cad8182715ace1ab04c38c8e8832f2872dfb authored about 10 years ago by Luca Guidi <[email protected]>
Merge branch 'duplication-mechanism' of https://github.com/joneslee85/model into joneslee85-duplication-mechanism

Conflicts:
test/model/configuration_test.rb

05b9cf1d063fa2b539e5139bdedc097ca7c43214 authored about 10 years ago by Luca Guidi <[email protected]>
Initialize a repository with a null adapter for better error handling

7460830971c940e2ef6e75ab8f6a48178184c305 authored about 10 years ago by Luca Guidi <[email protected]>
Merge pull request #95 from joneslee85/add-test-for-configuration-reset

Add test for Lotus::Model::Configuration#reset

560317a039aae56d5a9bc54efe399d359f3f369b authored about 10 years ago by Luca Guidi <[email protected]>
Don't iterate through user given attributes and call #to_sym on every key (DOS vulnerable), use string key if attribute for symbol key returns nil

a2491102699e44dde9220a9bc917d36a1d645659 authored about 10 years ago by Benny Klotz <[email protected]>
added test for attributes string keys

1d0a0aa83e29211bf67e801a5a9a1f0e9ea45fb2 authored about 10 years ago by Benny Klotz <[email protected]>
Lotus::Repository doc cleanup. Per #103

3252460bb03bc5f022a6e021af14277f1dd2e8f8 authored about 10 years ago by Luca Guidi <[email protected]>
Merge branch 'joneslee85-deprecate-entity-not-found-exception'

062890ff1764fc4091ae7b76e354419c6dc58aad authored about 10 years ago by Luca Guidi <[email protected]>
Make Lotus::Entity#to_h twice faster. Ref #99

Benchmarks available at:
https://gist.github.com/jodosha/450f93dd46feea4379c1

c4af5dff2212f550779388a9a10d3210f1cbab78 authored about 10 years ago by Luca Guidi <[email protected]>
Merge pull request #99 from joneslee85/old-hash

Add Entity#to_h - old version

1cde1d896ca11d52eb5b79e1abb3526576c63644 authored about 10 years ago by Luca Guidi <[email protected]>
Repository#find returns nil instead of raising exception

2aeeab0083659b8f4f921edc79dc1e9fbe895840 authored about 10 years ago by Trung Lê <[email protected]>
all attributes keys should be converted to symbols before trying access entries via symbols

c6430a542c3a844cb23c007ed8b672a347d75c14 authored about 10 years ago by Benny Klotz <[email protected]>
Add Entity#to_h

ce762fb071f7609c1bd082b35b57783996caf47b authored about 10 years ago by Trung Lê <[email protected]>
Add test for Lotus::Model::Configuration#reset

887dcde8fdb1578c7d4748a27e242381282729f6 authored about 10 years ago by Trung Lê <[email protected]>
Add Lotus::Model.duplicate

964aa99565f6a49972d79537595b5fb3e1012dd5 authored about 10 years ago by Trung Lê <[email protected]>
Merge pull request #93 from joneslee85/clean-up-test

Clean up removed name params for adapter DSL

783c843e300f9dac6475641413f2d67ef71b90f8 authored about 10 years ago by Luca Guidi <[email protected]>
Updated lotus-utils dependency

1944139c93d825edfc51418b3873b45e10d94015 authored about 10 years ago by Luca Guidi <[email protected]>
Allow entity() and repository() to take in String class name

02bbf3d480bc3a1e8bfb79ee909c0f14b685635b authored about 10 years ago by Trung Lê <[email protected]>
Clean up removed name params for adapter DSL

1e853f6c1e0c0c91d88f3e601e62d6576433a2ca authored about 10 years ago by Trung Lê <[email protected]>
Test against 2.2.0

1808f36e7c48dbc1c7364e22089827d3521b51c0 authored about 10 years ago by Trung Lê <[email protected]>
Merge pull request #91 from joneslee85/patch-2

Test against 2.1.4 and 2.1.5

1559db06e2320932846107a4a971f01487a38448 authored about 10 years ago by Luca Guidi <[email protected]>
Test against 2.1.4 and 2.1.5

e30b7e8f2343cf82b7bcf54400fc93529480febc authored about 10 years ago by Trung Lê <[email protected]>
Merge pull request #87 from joneslee85/only-support-one-adapter

Remove support for multi adapters

de073cc69037c720978f6c73a41280bee8e866f6 authored about 10 years ago by Luca Guidi <[email protected]>
Remove support for multi adapters

8f3d0d2815855174c52485a90ed2c8e47e30bc8d authored about 10 years ago by Trung Lê <[email protected]>
Merge pull request #86 from jeremyf/adding-line-number-to-eval

Adding line numbers to class_eval

86da2bd6a51268276e7d54037b5c3bfebb7bed7e authored about 10 years ago by Luca Guidi <[email protected]>
[ci skip] Updated EXAMPLE.md Ref #33

2dccf4eda9487e3c224ab9afe28646a7261fdd27 authored about 10 years ago by Luca Guidi <[email protected]>
Adding line numbers to class_eval

Given the following:

```ruby
class MyApp::Document
include Lotus::Entity
self.attributes :t...

04ab511ed9cf1ff6cdf2483bcd758538a45b1123 authored about 10 years ago by Jeremy Friesen <[email protected]>
Merge pull request #73 from viking/issue-72

Make Memory::Query#where and #or behave more like SQL

f8d624f65c637caaf1fd5bcd4a9df339eaa55053 authored about 10 years ago by Luca Guidi <[email protected]>
Renaming Sql::Collection collection into mapped_collection. Thanks to @jeremyf :+1:. Closes #67

9e32a305ee11309561a07bd40fd64fb8b89ba44d authored about 10 years ago by Luca Guidi <[email protected]>
Added more tests for Configuration#adapter named args. Ref #83

e8a82f1c15b46a19871514eb31afc512f7682ade authored about 10 years ago by Luca Guidi <[email protected]>
Merge pull request #83 from joneslee85/patch-9

Lotus::Model::Configuration#adapter now takes in hash params

6d45978c414c3348ebf0d7a02807fc9c29e7b258 authored about 10 years ago by Luca Guidi <[email protected]>
Drop param check for AdapterRegistry

82c5e0ce4598e853986c5e771872f3facc5bdff8 authored about 10 years ago by Trung Lê <[email protected]>
Check hash params for Lotus::Mapper#adapter

Ruby 2.0 does not support required hash params :{

b0f7feb0351967db2c540287cb2a7a0ee37d3e00 authored about 10 years ago by Trung Lê <[email protected]>
Lotus::Model::Configuration#adapter now takes in hash params

a11fd734997f761cdfa15fdbd4c249df3e71b405 authored about 10 years ago by Trung Lê <[email protected]>
[ci skip] Remove TODO, thanks to @jeremyf :+1: Ref lotus/model#81

5442f2e20634ac5208ea2384d51570b772c57b77 authored about 10 years ago by Luca Guidi <[email protected]>
Merge pull request #80 from jeremyf/wordsmithing

Addressing some of Inch CI's suggestion

a1d9a84b25cb86a2fdb779476d0281626afd70cf authored about 10 years ago by Luca Guidi <[email protected]>
Expanding the AdapterRegistry documentation

This also involves tweaking the parameter names to reflect their
usage

1f9b880cd5a23ee85db3607e3f7e345dd97b3c5c authored about 10 years ago by Jeremy Friesen <[email protected]>
Addressing some of Inch CI's suggestion

Lotus::Model::Configuration

http://inch-ci.org/github/lotus/model

9c3e7392b9800f150408a76e4127f561c7ca3f56 authored about 10 years ago by Jeremy Friesen <[email protected]>
Merge pull request #79 from jeremyf/updating-readme-regarding-lotus-model

Clarifying interface for Lotus::Entity in README

115b71f71f14063842e5176f14e73a0c7f516f38 authored about 10 years ago by Luca Guidi <[email protected]>
Clarifying interface for Lotus::Entity in README

Also synchronizing README and Lotus::Entity's inline comments.

Related to lotus/model#78

[skip...

04fdec2511afb59f368c1efa30b936b76db4c252 authored about 10 years ago by Jeremy Friesen <[email protected]>
Avoid the overhead of creating a block when using Repository.persist. Ref #58

887f24324044b4e5925ddaeffdb59eb1e88605c3 authored about 10 years ago by Luca Guidi <[email protected]>
Merge branch 'benaskins-persist-persisted-entity'

71204357bb3e00f066ba9abaa74c835d9bbf5e97 authored about 10 years ago by Luca Guidi <[email protected]>
Always return the entity from Repository#persist

Test that persisting a *new* entity returns that entity

Failing test - persisting an already pe...

c76f0b1dcf7cc6423aec4f289eb42c7b7ac5b5b6 authored about 10 years ago by Ben Askins <[email protected]>