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
0299838bf20c8a1403b50f6cb31245c6e574448b authored almost 10 years ago by Luca Guidi <[email protected]>
5aae1a434bd7ea0f40a78b70773369268ef68fcc authored almost 10 years ago by Luca Guidi <[email protected]>
1cb597175bf9404dbcaa85c2a3faa1409d735f3f authored almost 10 years ago by Luca Guidi <[email protected]>
d768ea87b3bf8c1090639690d8132368069bf427 authored almost 10 years ago by Luca Guidi <[email protected]>
54a424779cde18364ebe1af5dd6ae4fe1440ae01 authored almost 10 years ago by Luca Guidi <[email protected]>
158c1b7b76dbd2ff613364d82c9a9347a0e2f4c4 authored almost 10 years ago by Alfonso Uceda Pompa <[email protected]>
Refactor attributes DSL
85b101b523d8fbc5d28263bf871b21d3b56c3e77 authored about 10 years ago by Trung Lê <[email protected]>844d2920dfd7ed2befff376fdd63bb758b4cd68f authored about 10 years ago by Trung Lê <[email protected]>
3996116a1f32532b425be77daf4587127a59721e authored about 10 years ago by Trung Lê <[email protected]>
The current test is a bad written one as it does not really test what we are supposed to test
I ...
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]>Fix conflict with ActiveSupport dependency loading
389c834109a4626f0268bddcb8cefaf83b12fa99 authored about 10 years ago by Luca Guidi <[email protected]>329b043936e3dc318aa7ba4bc129169f0500cfdf authored about 10 years ago by Luca Guidi <[email protected]>
0421db3cad0c07a734f51ecf1ac69cd8ecd45908 authored about 10 years ago by Luca Guidi <[email protected]>
`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]>17b037ea2cb5897ab565e3bc265451717fc53895 authored about 10 years ago by Luca Guidi <[email protected]>
Mention about the limitations of entities that inherit from other entiti...
8d816675757dca6ad773c5a187b55b1f9ca2b892 authored about 10 years ago by Luca Guidi <[email protected]>Lazy-loading Model::Configuration#mapper
f350359aa79607be3a521792f3b91040178141a5 authored about 10 years ago by Luca Guidi <[email protected]>94c9224f777704c18197397104a293f69fbd0616 authored about 10 years ago by Trung Lê <[email protected]>
f02f0a77847204338b03edbdd920f922177f7cbc authored about 10 years ago by Trung Lê <[email protected]>
c4332922b7216eda3f44fdb537c762b86fab33f6 authored about 10 years ago by Luca Guidi <[email protected]>
e40d918b4c8cd3c44306e17ce74b1288d3c2d0a5 authored about 10 years ago by Luca Guidi <[email protected]>
066299ae99119e488784de0f4d675482ced32cf6 authored about 10 years ago by Trung Lê <[email protected]>
File system adapter
fa6f0aa4b0b9e09c2b036afcf1246e98ff5f62d4 authored about 10 years ago by Luca Guidi <[email protected]>db1cf65fe75296e522170147ab48c9df7f24fb23 authored about 10 years ago by Luca Guidi <[email protected]>
Readme fixes
21adebc1fa6f219d704d9989df206cce2486c5a7 authored about 10 years ago by Luca Guidi <[email protected]>8615b5841e6c15c2835736635a3e27b7f151cc27 authored about 10 years ago by Erol Fornoles <[email protected]>
Change Entity#attributes= to Entity#attributes
50b66fb959854ec6c081c8c0b49efb7915bd83cf authored about 10 years ago by Luca Guidi <[email protected]>f07d16c8d9893c38d736a096bf5d3e5fe01a0dd6 authored about 10 years ago by Trung Lê <[email protected]>
3066f4da44512515ffa40227ffabf3d9bc1ad781 authored about 10 years ago by Luca Guidi <[email protected]>
f7368eaa8b5fd34d1db1e54681ffb42aaecb7c57 authored about 10 years ago by Luca Guidi <[email protected]>
d4728d3296b0d0ac8c768af8ef07c4cced111b99 authored about 10 years ago by Luca Guidi <[email protected]>
e619c2c8b3367e852df1d85243b013c1b3edc0d8 authored about 10 years ago by Trung Lê <[email protected]>
load utils/class for Mapping::Collection
55410e2f4234445eb3fa9e59385f54e6a75bf173 authored about 10 years ago by Luca Guidi <[email protected]>58f0e67e3809a45f47c88be8f02cfe70fcd7e25c authored about 10 years ago by Trung Lê <[email protected]>
Fixed entity when an attribute is false
0c69cea44b858ac55e4d68c601037c95bb6b3775 authored about 10 years ago by Luca Guidi <[email protected]>75e176860f8fd5a04550d7f6d7e76923d5a25bc2 authored about 10 years ago by Alfonso Uceda Pompa <[email protected]>
Allow mapping DSL to take file path
7c53a7dc7e6cd83fa1a948f251b72265bf8dc183 authored about 10 years ago by Luca Guidi <[email protected]>9273f0e975d279baa0bc4717b643a3bd83913b04 authored about 10 years ago by Trung Lê <[email protected]>
Add Entity#update method
a9e32323fe74f1632a90d68b052c9aaa840f4609 authored about 10 years ago by Luca Guidi <[email protected]>8814146e43145aaddebe6d2e2b13450d330ae16d authored about 10 years ago by Luca Guidi <[email protected]>
3c14322c64c2ea98939142758c79cf2112b288a1 authored about 10 years ago by Luca Guidi <[email protected]>
f8e3e7851abef00e795df06ba28bdedc496eff89 authored about 10 years ago by Luca Guidi <[email protected]>
f843a16d183057aa0e2bea503167f132aa399b09 authored about 10 years ago by Benny Klotz <[email protected]>
Test against 2.2.0
7373344f8aa775f4208c669ffd0358037ef057a7 authored about 10 years ago by Luca Guidi <[email protected]>This allows mass-assign attributes
266f5fed7d1c69f4082be5b1e51e116414bab183 authored about 10 years ago by Trung Lê <[email protected]>Reset mapper to NullMapper
3d6ef06b3d75cc4dbedf7bd0803788e0cf24949d authored about 10 years ago by Luca Guidi <[email protected]>This allows raising exceptions upon calling any methods on it
[resolve #107]
caa13947fb40b5ca14f7060157fd708c84f25444 authored about 10 years ago by Trung Lê <[email protected]>Make Memory::Query#offset behave like SQL
4ab6c8e165f0503de5dd8867a77789dd9bd96798 authored about 10 years ago by Luca Guidi <[email protected]>
Before this fix, offset(n) returned the last n records, while it should
return all records excep...
8314fd2632b32a9f8e4e72313cb8a49a151777ed authored about 10 years ago by Luca Guidi <[email protected]>
e590598c7cb6d5ded7d3b430760907176e72deaf authored about 10 years ago by Luca Guidi <[email protected]>
Lazy load entity and repository + presence validation of entity and repo on load
5a19520be30b42b6383cc7fb5ec40de6a1da0a7a authored about 10 years ago by Luca Guidi <[email protected]>Additonally, adding validation for presence of entity and repository for load!
e4e8e3ecef19515dcbe0619fafb788ce9c4ba033 authored about 10 years ago by Trung Lê <[email protected]>Initialize a repository with a null adapter for better error handling
eadd5ba08d434ae79d4ab852045bae9afe6f46ff authored about 10 years ago by Luca Guidi <[email protected]>Ensure attributes keys are symbols
ee2e3eeee8bff1f5b2d1e9067e01e055acdef341 authored about 10 years ago by Luca Guidi <[email protected]>Allow entity() and repository() to take in class name in String
da547cd44914948aa4cac5d7ae0f307f74736fb8 authored about 10 years ago by Luca Guidi <[email protected]>efd9cad8182715ace1ab04c38c8e8832f2872dfb authored about 10 years ago by Luca Guidi <[email protected]>
Conflicts:
test/model/configuration_test.rb
7460830971c940e2ef6e75ab8f6a48178184c305 authored about 10 years ago by Luca Guidi <[email protected]>
Add test for Lotus::Model::Configuration#reset
560317a039aae56d5a9bc54efe399d359f3f369b authored about 10 years ago by Luca Guidi <[email protected]>a2491102699e44dde9220a9bc917d36a1d645659 authored about 10 years ago by Benny Klotz <[email protected]>
1d0a0aa83e29211bf67e801a5a9a1f0e9ea45fb2 authored about 10 years ago by Benny Klotz <[email protected]>
3252460bb03bc5f022a6e021af14277f1dd2e8f8 authored about 10 years ago by Luca Guidi <[email protected]>
062890ff1764fc4091ae7b76e354419c6dc58aad authored about 10 years ago by Luca Guidi <[email protected]>
Benchmarks available at:
https://gist.github.com/jodosha/450f93dd46feea4379c1
Add Entity#to_h - old version
1cde1d896ca11d52eb5b79e1abb3526576c63644 authored about 10 years ago by Luca Guidi <[email protected]>2aeeab0083659b8f4f921edc79dc1e9fbe895840 authored about 10 years ago by Trung Lê <[email protected]>
c6430a542c3a844cb23c007ed8b672a347d75c14 authored about 10 years ago by Benny Klotz <[email protected]>
ce762fb071f7609c1bd082b35b57783996caf47b authored about 10 years ago by Trung Lê <[email protected]>
887dcde8fdb1578c7d4748a27e242381282729f6 authored about 10 years ago by Trung Lê <[email protected]>
964aa99565f6a49972d79537595b5fb3e1012dd5 authored about 10 years ago by Trung Lê <[email protected]>
Clean up removed name params for adapter DSL
783c843e300f9dac6475641413f2d67ef71b90f8 authored about 10 years ago by Luca Guidi <[email protected]>1944139c93d825edfc51418b3873b45e10d94015 authored about 10 years ago by Luca Guidi <[email protected]>
02bbf3d480bc3a1e8bfb79ee909c0f14b685635b authored about 10 years ago by Trung Lê <[email protected]>
1e853f6c1e0c0c91d88f3e601e62d6576433a2ca authored about 10 years ago by Trung Lê <[email protected]>
1808f36e7c48dbc1c7364e22089827d3521b51c0 authored about 10 years ago by Trung Lê <[email protected]>
Test against 2.1.4 and 2.1.5
1559db06e2320932846107a4a971f01487a38448 authored about 10 years ago by Luca Guidi <[email protected]>e30b7e8f2343cf82b7bcf54400fc93529480febc authored about 10 years ago by Trung Lê <[email protected]>
Remove support for multi adapters
de073cc69037c720978f6c73a41280bee8e866f6 authored about 10 years ago by Luca Guidi <[email protected]>8f3d0d2815855174c52485a90ed2c8e47e30bc8d authored about 10 years ago by Trung Lê <[email protected]>
Adding line numbers to class_eval
86da2bd6a51268276e7d54037b5c3bfebb7bed7e authored about 10 years ago by Luca Guidi <[email protected]>2dccf4eda9487e3c224ab9afe28646a7261fdd27 authored about 10 years ago by Luca Guidi <[email protected]>
Given the following:
```ruby
class MyApp::Document
include Lotus::Entity
self.attributes :t...
Make Memory::Query#where and #or behave more like SQL
f8d624f65c637caaf1fd5bcd4a9df339eaa55053 authored about 10 years ago by Luca Guidi <[email protected]>9e32a305ee11309561a07bd40fd64fb8b89ba44d authored about 10 years ago by Luca Guidi <[email protected]>
e8a82f1c15b46a19871514eb31afc512f7682ade authored about 10 years ago by Luca Guidi <[email protected]>
Lotus::Model::Configuration#adapter now takes in hash params
6d45978c414c3348ebf0d7a02807fc9c29e7b258 authored about 10 years ago by Luca Guidi <[email protected]>82c5e0ce4598e853986c5e771872f3facc5bdff8 authored about 10 years ago by Trung Lê <[email protected]>
Ruby 2.0 does not support required hash params :{
b0f7feb0351967db2c540287cb2a7a0ee37d3e00 authored about 10 years ago by Trung Lê <[email protected]>a11fd734997f761cdfa15fdbd4c249df3e71b405 authored about 10 years ago by Trung Lê <[email protected]>
5442f2e20634ac5208ea2384d51570b772c57b77 authored about 10 years ago by Luca Guidi <[email protected]>
Addressing some of Inch CI's suggestion
a1d9a84b25cb86a2fdb779476d0281626afd70cf authored about 10 years ago by Luca Guidi <[email protected]>
This also involves tweaking the parameter names to reflect their
usage
Lotus::Model::Configuration
http://inch-ci.org/github/lotus/model
9c3e7392b9800f150408a76e4127f561c7ca3f56 authored about 10 years ago by Jeremy Friesen <[email protected]>Clarifying interface for Lotus::Entity in README
115b71f71f14063842e5176f14e73a0c7f516f38 authored about 10 years ago by Luca Guidi <[email protected]>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]>887f24324044b4e5925ddaeffdb59eb1e88605c3 authored about 10 years ago by Luca Guidi <[email protected]>
71204357bb3e00f066ba9abaa74c835d9bbf5e97 authored about 10 years ago by Luca Guidi <[email protected]>
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]>