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
Add type for adapter class name inflection for DSL
3b141a8f576d3b981c01daa7bb7ec0337d6b57a9 authored over 10 years ago5dae621f3fa1a576cb0df0a725c894738e4cc2a3 authored over 10 years ago
This allows us to register multiple adapter of same adapter type, for example
```ruby
adapter :...
- make #or its own method rather than an alias for #where
- in #exclude, return a copy of the ar...
Preferring sequential over parallel assignment.
60c785125e27d322eeaf41aa8c0009a82dc3257a authored over 10 years ago783625be3cc054f18654c0b43209e5945f26bc07 authored over 10 years ago
6aeed8bc440623924345488fd013bebab6e10c45 authored over 10 years ago
Adding a line break for legibility
fa28277a6158669e0323e4d6f80e9d1b60f006e9 authored over 10 years agoRemoving trailing whitespace
e1ce716b8838f87eb5b7d45bc6a2737ee8f9cc67 authored over 10 years agoWordsmithing the EXAMPLE.md
29b20c1fc1955cbd9d4c044780f5621970588998 authored over 10 years agoWordsmithing the "an" and "a" articles
5da48ff199fc84624b08c6e5896eda1b2d42c0a1 authored over 10 years ago
In the case of the ever frustrating semantics of the English language,
adjusting the articles of...
Tightening up the language. Breaking large sentences into smaller
sentences.
Also adding a link...
2b459fc7bd839f27a0a3e7eff2f34df423e5f7be authored over 10 years ago
When I read the test file it was confusing. The hash keys were not at
the same indententation le...
88aa41b1ae2e1798ae93d31ec882571a126628f1 authored over 10 years ago
ba460bb9a75e899372e5356491280d860f13d4b7 authored over 10 years ago
5e2d5c22010fc7ace748271e6cb890c1e9c6ef90 authored over 10 years ago
049f0a8f4852d8f1e268a994f22b2ef814e82554 authored over 10 years ago
c259a9b68152ea8c8a945d05b3b7968c1ce50442 authored over 10 years ago
209b228d817381b1194edca4ade98466526217f9 authored over 10 years ago
Remove adapter param from #load! and use accessor instead
d045e369cfcaf100b8be1be1046a92f9ca42506e authored over 10 years agoa2f77e15200beeeb4feb3a0d4930d7e2bf3746fe authored over 10 years ago
e2172cd5e3b5114093d71fbc263245e3dd651d24 authored over 10 years ago
To allow duplication mechanism
850d320303ffc5deefc8934237b5a3aff47d3b86 authored over 10 years agoa5136a62b9815beac68ab75ef3dd9da411608e4b authored over 10 years ago
744dd8803b34bc18bb8d69b8af92099fb9f5cc39 authored over 10 years ago
8c1129e6f3d5e4de5e12c75c770a59a50827c464 authored over 10 years ago
31d8f668d0a02004afd90051bb8fc5db6b17783d authored over 10 years ago
Add a coercion for Symbols to the coercions
0b0e7ff3d2e60ef1126160cd4e4c783bef7b1731 authored over 10 years ago8818356236df62a22e732837c0997cea0a7fd426 authored over 10 years ago
984cb8c26b269a4349fc5ee9459daaa688617615 authored over 10 years ago
8be3022813ff56d2eecf94cd718328f803a0f746 authored over 10 years ago
Delegate to mapper then to collection
db60e4ea4792f06fae5054b59e05c13d11647dac authored over 10 years ago584389eff0a6f292af9e97c35756f8f1d0d469ef authored over 10 years ago
af19818081acbb1bbbc5b92ba822af3c24bd4d70 authored over 10 years ago
8cbccc0dd1eea5594c14f18d4185ad7ed18a1917 authored over 10 years ago
cd9e2f64327631dddeae7e5743956936db45ca18 authored over 10 years ago
b5dc1611dadb3e55868b6c4e3828d1b68e13a2be authored over 10 years ago
Fix for false-positive tests
62718ee6eb048f50259cd6fe8fb84a62e97a2598 authored over 10 years agob13d57aae297af8f61f0f3af1dc16f437d2d7288 authored over 10 years ago
Add support for BigDecimal coercion on Lotus::Model::Mapping::Coercions
9522f83e0529e04745faef079c25b3ebce3ce000 authored over 10 years ago
* Lotus Utils needs merge https://github.com/lotus/utils/pull/27 first
* Once PR is merged, test...
08ec78589e8387dc99b59d231ea2e904ddce194f authored over 10 years ago
084a9ec5a2fa73169a9cb7057b20c3c05f59864e authored over 10 years ago
8a08a2de2ebe937265d7d4b7de54a26208afcc65 authored over 10 years ago
ce3b2c7e952c9257318836ed73c67b6d54858532 authored over 10 years ago
549ac30375fe4cbf516e1efdced0edf7fd3166e3 authored over 10 years ago
Generate unrolled list of entity attributes
56eb7afb9e0129cf38cde909ab4a125442f0330a authored over 10 years ago
This commit improves the performance of Entity's constructor
by unrolling the list of its attrib...
Avoid array allocations for generated coercer code
faefc226584312bc6b0f3b8694700ee3476130e6 authored over 10 years agoBefore this commit the coercer generated following hashes:
Hash[*[:id, 1, :field, "string"]...
ea8b89c7b32003457b8916b1cbcab5a885443119 authored over 10 years agoNo need to `uniq` already unique columns
488dd1918bb672a22d4f9f77384481e97055af0b authored over 10 years ago`Lotus::Utils::Kernel.Array` returns an array with unique elements.
4e75100422725e955bb778446ae36b1db1f8aec9 authored over 10 years agoMake minor text correction on README
2998c3f79bd2a659e9b211b3395ac7d8c6782b4f authored over 10 years ago87fc33fb1fe9bebf19603113f26818ea15aaa33e authored over 10 years ago
2a4258bb645dfb67cbf2737584b2d2a7a7e220b5 authored over 10 years ago
c91aef2e6586486491c5d0127cb3fb2ddfe6db54 authored over 10 years ago
48ac05aa836debd0f49c7c8c37f6dd5c58e10c0b authored over 10 years ago
1b178b3f3d248ed9f0af4e89a52faa450e8c72f1 authored over 10 years ago
fd9a4523c60406aeb0e47a523bedd06f7b9a1a52 authored over 10 years ago
78e410ceabfd0ef84fbfa00a9dd42a849f5c739c authored over 10 years ago
10b4e3920e724dbd221b52776278bf835c27161a authored over 10 years ago
839f26a9a220d7e644cc18f1e8e1de22dcddf243 authored over 10 years ago
bee173dc94708b8d11b76b333b62c06265c344c8 authored over 10 years ago
6539840dc0ec562d4421829510ea39e5fac7424f authored over 10 years ago
Instantiate Adapter from Adapter config
2f91933ba22d3b1cf1568ccd2cff5a1f7141ba5a authored over 10 years agoadded expressions to where condition
135a8a7267e929d1d1c13bf8d41ad4fe79dc33b7 authored over 10 years ago5b14a18c00305deedf4f7e86654af207a7aaa5df authored over 10 years ago
be5787c7873fe0fa67cb2ea329f465e5efa183e4 authored over 10 years ago
2c54d630052718709e7623ed84ea58c97f4de39c authored over 10 years ago
bc6b86a3d978e9ca2d7f71c079bdafcbcd59c1a1 authored over 10 years ago
6dafb762e020d21db43630a0bf7ae2b249bf5332 authored over 10 years ago
4e59a6d1a8bc0cc78d0139921494124267cab715 authored over 10 years ago
20b5df5130d142315122bbebf9d184d6980aafb7 authored over 10 years ago
52d5fe0fa953e5e5a5bead00028d77895ec5dde0 authored over 10 years ago
61865290d74660b9eb9b729593ddcda090107ffa authored over 10 years ago
[WIP] Move lotus model adapter into Configuration
7f912c0a4a1c9e5820a25673c26f3d16c5032cac authored over 10 years ago9c191066c14aec07703907f86a0b3a79f08d788a authored over 10 years ago
88998ec8dbbd8516b10452dd4bb022aa47a0efb1 authored over 10 years ago
16fcc135fb5b154320d451b178aecf9601647dad authored over 10 years ago
https://github.com/lotus/model/issues/42#issuecomment-50452105
3fe74fcf50ab181611c29389f5009919c5aadcaa authored over 10 years ago43df9b569bdb7ec7ee6167b54c6425eb85b6baf6 authored over 10 years ago
c0417c1c8da89df5b9514a4d5dc99a115a958abc authored over 10 years ago
6b9be20af9fb6e63b7f68d2b75278e514b8fc39d authored over 10 years ago
ed8761181aadb6991da3da5aad69df4404a7f0e2 authored over 10 years ago
Clean up test
1b0ee81e99cc944e56b782d0340eaaa93023be86 authored over 10 years ago7c2d2621c4acdacbc84a1591f47e530620bfd7cc authored over 10 years ago
[WIP] Allow Lotus::Model to register adapter instance
932a726a14cbafbc3d8c16a6cc150de4e9c73c66 authored over 10 years ago
Sequel already has an option to define you condition in a code block,
like this:
```ruby
UserRe...
Add instruction on custom config repository
546f2950e920dcba3932afb7812eef218d6c748d authored over 10 years agobf9b3f20aa3f7eca07517ce324caf3011ad2d1db authored over 10 years ago
c60f969fc381a4ee03a777f8681032621154b327 authored over 10 years ago
Instead, set it to Model.adapters[:default]
9ce770dd71542e24b26e736996bc35bc9d474d1b authored over 10 years ago3b68b2a0acdddade723fdd7262f50ee2720b4c6e authored over 10 years ago
fb3cfe8a3edca370fb13b74624e13790e75eb839 authored over 10 years ago
85a0b6f6ee7174201ddb61dc8f8d8a54a984eff3 authored over 10 years ago
Allow configuring Repository class
ad4de0dbdaaaa3746c25af6f3fd4ac3135476443 authored over 10 years ago04c33a046c017760978508c5e53073a6354d9955 authored over 10 years ago
Syntax highlighting for Gemfile instruction
657d119c3baa30eb4fdd32bf65b6c70cec1b63e7 authored over 10 years ago[ci skip]
eeabcd5e99c70c048aa1ab7a3c9ec03ffbaac3ff authored over 10 years ago