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

Merge pull request #74 from joneslee85/adapter-name

Add type for adapter class name inflection for DSL

3b141a8f576d3b981c01daa7bb7ec0337d6b57a9 authored over 10 years ago
Merge branch 'master' of github.com:lotus/model into adapter-name

5dae621f3fa1a576cb0df0a725c894738e4cc2a3 authored over 10 years ago
Add adapter class type for Lotus::Model#adapter DSL

This allows us to register multiple adapter of same adapter type, for example

```ruby
adapter :...

785b5decc4c66b29050318409cba9f8e7dd9d6ff authored over 10 years ago
Make Memory::Query#where and #or behave more like SQL

- make #or its own method rather than an alias for #where
- in #exclude, return a copy of the ar...

7b46f12cabcabeff48ec3f984bfc35dc09e9c028 authored over 10 years ago
Merge pull request #69 from gotjosh/master

Preferring sequential over parallel assignment.

60c785125e27d322eeaf41aa8c0009a82dc3257a authored over 10 years ago
Also prefer sequential vs parallel assignment.

783625be3cc054f18654c0b43209e5945f26bc07 authored over 10 years ago
Preferring sequential over parallel assignment.

6aeed8bc440623924345488fd013bebab6e10c45 authored over 10 years ago
Merge pull request #62 from jeremyf/adding-line-break-for-clarity

Adding a line break for legibility

fa28277a6158669e0323e4d6f80e9d1b60f006e9 authored over 10 years ago
Merge pull request #63 from jeremyf/remove-trailing-whitespace

Removing trailing whitespace

e1ce716b8838f87eb5b7d45bc6a2737ee8f9cc67 authored over 10 years ago
Merge pull request #64 from jeremyf/wordsmithing-example

Wordsmithing the EXAMPLE.md

29b20c1fc1955cbd9d4c044780f5621970588998 authored over 10 years ago
Merge pull request #66 from jeremyf/wordsmithing-an-vs-a

Wordsmithing the "an" and "a" articles

5da48ff199fc84624b08c6e5896eda1b2d42c0a1 authored over 10 years ago
Wordsmithing the "an" and "a" articles

In the case of the ever frustrating semantics of the English language,
adjusting the articles of...

d4c8dc9361e289f883500a86a71d80b50311aba2 authored over 10 years ago
Wordsmithing the EXAMPLE.md

Tightening up the language. Breaking large sentences into smaller
sentences.

Also adding a link...

2b459fc7bd839f27a0a3e7eff2f34df423e5f7be authored over 10 years ago
Adding a line break for legibility

When I read the test file it was confusing. The hash keys were not at
the same indententation le...

73f2ad54f1de37877a0f9ec995475d7fb382122a authored over 10 years ago
Removing trailing whitespace

88aa41b1ae2e1798ae93d31ec882571a126628f1 authored over 10 years ago
Ruby 2.1.3 support

ba460bb9a75e899372e5356491280d860f13d4b7 authored over 10 years ago
Merge branch 'master' of github.com:lotus/model

5e2d5c22010fc7ace748271e6cb890c1e9c6ef90 authored over 10 years ago
Merge branch 'taoza-simplify-framework-initializaiton'

049f0a8f4852d8f1e268a994f22b2ef814e82554 authored over 10 years ago
Merge branch 'simplify-framework-initializaiton' of https://github.com/taoza/model into taoza-simplify-framework-initializaiton

c259a9b68152ea8c8a945d05b3b7968c1ce50442 authored over 10 years ago
Add integration test

209b228d817381b1194edca4ade98466526217f9 authored over 10 years ago
Refactor Collection

Remove adapter param from #load! and use accessor instead

d045e369cfcaf100b8be1be1046a92f9ca42506e authored over 10 years ago
Use ruby19 hash syntax

a2f77e15200beeeb4feb3a0d4930d7e2bf3746fe authored over 10 years ago
Catch AdapterNotFound

e2172cd5e3b5114093d71fbc263245e3dd651d24 authored over 10 years ago
Convert class instance var to instance var

To allow duplication mechanism

850d320303ffc5deefc8934237b5a3aff47d3b86 authored over 10 years ago
Remove param from Mapper#load!

a5136a62b9815beac68ab75ef3dd9da411608e4b authored over 10 years ago
Remove defaut value

744dd8803b34bc18bb8d69b8af92099fb9f5cc39 authored over 10 years ago
Fix typo

8c1129e6f3d5e4de5e12c75c770a59a50827c464 authored over 10 years ago
Enforcing convention on adapter class

31d8f668d0a02004afd90051bb8fc5db6b17783d authored over 10 years ago
Merge pull request #57 from felipesere/master

Add a coercion for Symbols to the coercions

0b0e7ff3d2e60ef1126160cd4e4c783bef7b1731 authored over 10 years ago
fix the version

8818356236df62a22e732837c0997cea0a7fd426 authored over 10 years ago
Fix typo in Symbol test

984cb8c26b269a4349fc5ee9459daaa688617615 authored over 10 years ago
Add a coercion for Symbols to the coercions

8be3022813ff56d2eecf94cd718328f803a0f746 authored over 10 years ago
Refactor the adapter assignment code

Delegate to mapper then to collection

db60e4ea4792f06fae5054b59e05c13d11647dac authored over 10 years ago
Assign default adapter for repo

584389eff0a6f292af9e97c35756f8f1d0d469ef authored over 10 years ago
Load mapper on loading configuration

af19818081acbb1bbbc5b92ba822af3c24bd4d70 authored over 10 years ago
Auto load sql and sql adapters

8cbccc0dd1eea5594c14f18d4185ad7ed18a1917 authored over 10 years ago
Raise error for mapping if no block is given

cd9e2f64327631dddeae7e5743956936db45ca18 authored over 10 years ago
Use same interface for adapter registry

b5dc1611dadb3e55868b6c4e3828d1b68e13a2be authored over 10 years ago
Merge pull request #53 from arthurgeek/fix_false_positive_tests

Fix for false-positive tests

62718ee6eb048f50259cd6fe8fb84a62e97a2598 authored over 10 years ago
Minor adjustments for BigDecimal coercion. Ref #55

b13d57aae297af8f61f0f3af1dc16f437d2d7288 authored over 10 years ago
Merge pull request #55 from fernandes/master

Add support for BigDecimal coercion on Lotus::Model::Mapping::Coercions

9522f83e0529e04745faef079c25b3ebce3ce000 authored over 10 years ago
Add support for BigDecimal coercion on Lotus::Model::Mapping::Coercions

* Lotus Utils needs merge https://github.com/lotus/utils/pull/27 first
* Once PR is merged, test...

8303430df4770b217b676f1f33bbc46e3259a91b authored over 10 years ago
More false-positives

08ec78589e8387dc99b59d231ea2e904ddce194f authored over 10 years ago
Those tests where passing even with `update` commented out

084a9ec5a2fa73169a9cb7057b20c3c05f59864e authored over 10 years ago
Allow to use custom adapter class for Lotus::Model::Config

8a08a2de2ebe937265d7d4b7de54a26208afcc65 authored over 10 years ago
Consolidate adapter_config and adapters through AdapterRegistry - experimental

ce3b2c7e952c9257318836ed73c67b6d54858532 authored over 10 years ago
Use Hash#default

549ac30375fe4cbf516e1efdced0edf7fd3166e3 authored over 10 years ago
Merge pull request #52 from splattael/speedup-entity

Generate unrolled list of entity attributes

56eb7afb9e0129cf38cde909ab4a125442f0330a authored over 10 years ago
Generate unrolled list of entity attributes

This commit improves the performance of Entity's constructor
by unrolling the list of its attrib...

e58be7ffcf14086b252b0397699f720d729bc743 authored over 10 years ago
Merge pull request #51 from splattael/speedup-coercer

Avoid array allocations for generated coercer code

faefc226584312bc6b0f3b8694700ee3476130e6 authored over 10 years ago
Avoid array allocations for generated coercer code

Before this commit the coercer generated following hashes:

Hash[*[:id, 1, :field, "string"]...

ea8b89c7b32003457b8916b1cbcab5a885443119 authored over 10 years ago
Merge pull request #50 from splattael/array-uniq

No need to `uniq` already unique columns

488dd1918bb672a22d4f9f77384481e97055af0b authored over 10 years ago
No need to `uniq` already unique columns

`Lotus::Utils::Kernel.Array` returns an array with unique elements.

4e75100422725e955bb778446ae36b1db1f8aec9 authored over 10 years ago
Merge pull request #49 from Erol/small-documentation-fix

Make minor text correction on README

2998c3f79bd2a659e9b211b3395ac7d8c6782b4f authored over 10 years ago
Make minor text correction on README

87fc33fb1fe9bebf19603113f26818ea15aaa33e authored over 10 years ago
Rename Lotus::Model::Config::Adapter#load! to build

2a4258bb645dfb67cbf2737584b2d2a7a7e220b5 authored over 10 years ago
It is good to unload in test

c91aef2e6586486491c5d0127cb3fb2ddfe6db54 authored over 10 years ago
You should be able to unload too! (reset?!)

48ac05aa836debd0f49c7c8c37f6dd5c58e10c0b authored over 10 years ago
The overlord load! is here

1b178b3f3d248ed9f0af4e89a52faa450e8c72f1 authored over 10 years ago
Ignore .ruby-version file

fd9a4523c60406aeb0e47a523bedd06f7b9a1a52 authored over 10 years ago
Should not commit .ruby-version

78e410ceabfd0ef84fbfa00a9dd42a849f5c739c authored over 10 years ago
Now the configuration does load!

10b4e3920e724dbd221b52776278bf835c27161a authored over 10 years ago
Update configuration doc

839f26a9a220d7e644cc18f1e8e1de22dcddf243 authored over 10 years ago
Fix mapping spec

bee173dc94708b8d11b76b333b62c06265c344c8 authored over 10 years ago
Add global mapper to configuration dsl

6539840dc0ec562d4421829510ea39e5fac7424f authored over 10 years ago
Merge pull request #47 from joneslee85/config-adapter-is-not-null-hell-no

Instantiate Adapter from Adapter config

2f91933ba22d3b1cf1568ccd2cff5a1f7141ba5a authored over 10 years ago
Merge pull request #46 from coenert/master

added expressions to where condition

135a8a7267e929d1d1c13bf8d41ad4fe79dc33b7 authored over 10 years ago
removed puts in test

5b14a18c00305deedf4f7e86654af207a7aaa5df authored over 10 years ago
Added examples and fixed typo

be5787c7873fe0fa67cb2ea329f465e5efa183e4 authored over 10 years ago
Get rid of @default

2c54d630052718709e7623ed84ea58c97f4de39c authored over 10 years ago
Fix typo

bc6b86a3d978e9ca2d7f71c079bdafcbcd59c1a1 authored over 10 years ago
Doc nitpick clean

6dafb762e020d21db43630a0bf7ae2b249bf5332 authored over 10 years ago
Add more tests

4e59a6d1a8bc0cc78d0139921494124267cab715 authored over 10 years ago
Add Lotus::Model::Config::Adapter#load!

20b5df5130d142315122bbebf9d184d6980aafb7 authored over 10 years ago
Refactor Configuration test

52d5fe0fa953e5e5a5bead00028d77895ec5dde0 authored over 10 years ago
implemented lambda expression for exclude and or

61865290d74660b9eb9b729593ddcda090107ffa authored over 10 years ago
Merge pull request #45 from tguo/move-configuration-out-of-model

[WIP] Move lotus model adapter into Configuration

7f912c0a4a1c9e5820a25673c26f3d16c5032cac authored over 10 years ago
Tweak Configuration#adapter doc

9c191066c14aec07703907f86a0b3a79f08d788a authored over 10 years ago
Minor clean up for Configuration test

88998ec8dbbd8516b10452dd4bb022aa47a0efb1 authored over 10 years ago
Add test for Configuration

16fcc135fb5b154320d451b178aecf9601647dad authored over 10 years ago
improved checking arguments where condition

https://github.com/lotus/model/issues/42#issuecomment-50452105

3fe74fcf50ab181611c29389f5009919c5aadcaa authored over 10 years ago
Not allow direct manipulation to adapters

43df9b569bdb7ec7ee6167b54c6425eb85b6baf6 authored over 10 years ago
Refactor Configuration

c0417c1c8da89df5b9514a4d5dc99a115a958abc authored over 10 years ago
Replace :: with .

6b9be20af9fb6e63b7f68d2b75278e514b8fc39d authored over 10 years ago
Move lotus model adapter into Configuration

ed8761181aadb6991da3da5aad69df4404a7f0e2 authored over 10 years ago
Merge pull request #44 from joneslee85/clean-up-test

Clean up test

1b0ee81e99cc944e56b782d0340eaaa93023be86 authored over 10 years ago
Clean up test

7c2d2621c4acdacbc84a1591f47e530620bfd7cc authored over 10 years ago
Merge pull request #41 from joneslee85/issue-33

[WIP] Allow Lotus::Model to register adapter instance

932a726a14cbafbc3d8c16a6cc150de4e9c73c66 authored over 10 years ago
added where condition in code block

Sequel already has an option to define you condition in a code block,
like this:

```ruby
UserRe...

6cdfd861a1ebe6783410690effb5faebc1dd3c51 authored over 10 years ago
Merge pull request #43 from joneslee85/mention-about-custom-repo-on-readme

Add instruction on custom config repository

546f2950e920dcba3932afb7812eef218d6c748d authored over 10 years ago
[ci skip] Add instruction on custom config repository

bf9b3f20aa3f7eca07517ce324caf3011ad2d1db authored over 10 years ago
Initial work on Lotus::Model::Configuration

c60f969fc381a4ee03a777f8681032621154b327 authored over 10 years ago
Remove #default attribute from Config::Adapter

Instead, set it to Model.adapters[:default]

9ce770dd71542e24b26e736996bc35bc9d474d1b authored over 10 years ago
Add test for Lotus::Model.adapters

3b68b2a0acdddade723fdd7262f50ee2720b4c6e authored over 10 years ago
Replace Lotus::Model::Adapter with Lotus::Model::Config::Adapter

fb3cfe8a3edca370fb13b74624e13790e75eb839 authored over 10 years ago
Initial work on Lotus::Model.adapter

85a0b6f6ee7174201ddb61dc8f8d8a54a984eff3 authored over 10 years ago
Merge pull request #38 from joneslee85/ditch-naming-repo-after-entities

Allow configuring Repository class

ad4de0dbdaaaa3746c25af6f3fd4ac3135476443 authored over 10 years ago
Allow configuring Repository class

04c33a046c017760978508c5e53073a6354d9955 authored over 10 years ago
Merge pull request #37 from parndt/patch-1

Syntax highlighting for Gemfile instruction

657d119c3baa30eb4fdd32bf65b6c70cec1b63e7 authored over 10 years ago
Syntax highlighting for Gemfile instruction

[ci skip]

eeabcd5e99c70c048aa1ab7a3c9ec03ffbaac3ff authored over 10 years ago