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

Introduced Adapter#disconnect. This also fixes the build on OS that don't support too many opened resources.

cb44d6ea027ea4309c74a372370b9c72b744592a authored over 9 years ago by Luca Guidi <[email protected]>
Create returns nil if entity already persisted.

f12952b014250f996329f43e6c71c625150e6e4c authored over 9 years ago by Pascal Betz <[email protected]>
Fix documentation for create/perist.

create/persist do not assign the id to the entity passed as parameter.
Instead they return a cop...

782309eed037f1237ca79bd6df6cbaa8b5c8d79c authored over 9 years ago by Pascal Betz <[email protected]>
Merge pull request #212 from ziggurat/postgres_migrator_create_fix

Load environment variables before executing createdb command. Removed…

c28cb0e877051f3d4a7409a071157cd3d498d1c2 authored over 9 years ago by Trung Lê <[email protected]>
Load environment variables before executing createdb command. Removed unneeded create options

5086e25ce31cce4a9036a2573a92db5f3690effa authored over 9 years ago by Manuel Corrales <[email protected]>
Merge pull request #204 from AlfonsoUceda/remove_dump_warnings

Mergind, the failing random test will be fixed in another PR

18806bc86b730ef575c394c8907b1cc28936765a authored over 9 years ago by Alfonso Uceda <[email protected]>
Prepare for v0.4.1

ba14b51566e7487f99a10a7be65b50e136b0cb38 authored over 9 years ago by Luca Guidi <[email protected]>
Implement command/query separation for Repository, by introducing #fetch

88317589aa4093893c0b90cffc3f5c78309847a0 authored over 9 years ago by Luca Guidi <[email protected]>
Removed dump warnings and added name test to database

584440ca9316c59d67238cde9f475f874857c501 authored over 9 years ago by Alfonso Uceda <[email protected]>
Merge pull request #200 from nickcoyne/master

Use createdb to create database

917d12783cf3acb6127660c5b12ed92fc5ba3fc3 authored over 9 years ago by Luca Guidi <[email protected]>
Use createdb to create database

Sequel can’t execute `CREATE` against postgresql. This changes the
`create` method to use the `c...

12c9b1d38e2b1a376a85ee835cc344d1332a1db4 authored over 9 years ago by Nick <[email protected]>
DB prepare now drops the database before to create it again

3563b81d6aac2243c87351593f3c1551e897aba6 authored over 9 years ago by Luca Guidi <[email protected]>
Prepare v0.4.0

9f9ebbd1fefd99999b49674d82a1291e50526ba3 authored over 9 years ago by Luca Guidi <[email protected]>
[ci skip] Cleanup per #195

7f76361d4fc45b88b2fceecf9c99fff7c9ca7742 authored over 9 years ago by Luca Guidi <[email protected]>
Merge branch 'g3d-readme/query_interface'

406cc063cb52c06d3da782fe81cf11e95e452860 authored over 9 years ago by Luca Guidi <[email protected]>
Merge branch 'readme/query_interface' of https://github.com/g3d/lotus-model into g3d-readme/query_interface

fefa5169f98b4ff95953d34443dbe7c16d384a75 authored over 9 years ago by Luca Guidi <[email protected]>
[ci skip] Typo in README

2cd71e2699f7ea3557b5e8c71fac0dfa3633e206 authored over 9 years ago by Luca Guidi <[email protected]>
Merge branch 'g3d-readme/repository_extracting'

30423d6ac842d1ab868017dfda4f231200d361e7 authored over 9 years ago by Luca Guidi <[email protected]>
Merge branch 'readme/repository_extracting' of https://github.com/g3d/lotus-model into g3d-readme/repository_extracting

91b51f5ff383833824f3eb57c12a6685aa5ef54c authored over 9 years ago by Luca Guidi <[email protected]>
Depend on lotus-utils ~> 0.5

7b4f3153a001f537ef900ae8af83488ae14fbf09 authored over 9 years ago by Luca Guidi <[email protected]>
Merge branch 'database-migrations'

98bc4e68afdcf2fbdcbe805684e16d302e871a76 authored over 9 years ago by Luca Guidi <[email protected]>
Rely on Lotus.root (if present) or fallback to Pathname.pwd

96446fb96985dfa70ccd79a1b895c9a86dbbdf2d authored over 9 years ago by Luca Guidi <[email protected]>
Introduced Migrator.version, to return current database version

fbb649c3aff7a9311bd22af2f8334b5b7d7b6212 authored over 9 years ago by Luca Guidi <[email protected]>
Define (unique) indexes, foreign keys and constraints

1c21b251856e9c282b24a62ab70ce997fb879732 authored over 9 years ago by Luca Guidi <[email protected]>
Started with unit tests for schema modifications

1b4d45638d8e9cbdce7b1c234d3c89ed293020e9 authored over 9 years ago by Luca Guidi <[email protected]>
Introduced Migrator.prepare for development and test mode: create, load schema and migrate.

a7967de6e75b9dfb013c103aa1b8940e53de5f74 authored over 9 years ago by Luca Guidi <[email protected]>
Escape informations that are used with databases CLI. API Docs.

f084aab8c1399358115bd89fd46e3285a5154d5a authored over 9 years ago by Luca Guidi <[email protected]>
Don't raise exception if schema configuration points to a file that doesn't exist yet

d1ac44ed15abce7db68c723a161526fb528f78de authored over 9 years ago by Luca Guidi <[email protected]>
Unit tests for Lotus::Model::Configuration#migrations and #schema

944a2636ef0ef3e0ccd150c2da26ff2740354f49 authored over 9 years ago by Luca Guidi <[email protected]>
Don't raise exception in case of missing migrations

0ab195994bfb1cb1761b8fb750f26dbcebc35369 authored over 9 years ago by Luca Guidi <[email protected]>
Compare only portions of schema.sql

896e1617a5789ef92afd5e492fe2d9ee8e2f8236 authored over 9 years ago by Luca Guidi <[email protected]>
Use complete authentication details for Postgres

0f5ec2995c1cb126533d2ee76721b1b500f5feb5 authored over 9 years ago by Luca Guidi <[email protected]>
Introduced experimental feature: Migrator.apply. It migrates, dumps the structure and deletes migrations.

2e91103e69f2a9d9d4944b70da3a4c7de0aa61da authored over 9 years ago by Luca Guidi <[email protected]>
Let Migrator to accept a target version to migrate up or down

9e863311d428b01123bfeb2e452fd0d6747c6137 authored over 9 years ago by Luca Guidi <[email protected]>
Fix CI database creation

26274ef60ea9d21312d28166f2df9c3e0cfed940 authored over 9 years ago by Luca Guidi <[email protected]>
Cleanup for #193

2d512d154c40e80f4bc890b7cfee41d123263a8f authored over 9 years ago by Luca Guidi <[email protected]>
Merge branch 'mjbellantoni-make-repository-execute-private'

f550ddf51f30d240be26604908bd14e670f8a5a6 authored over 9 years ago by Luca Guidi <[email protected]>
Migration support for all the databases. Postgres, MySQL & SQLite databases can be created via Migrator.

5e55e163627cf7226a1fa3ca3c22d27228706213 authored over 9 years ago by Luca Guidi <[email protected]>
Tests the private API Repository.execute.

0b38f2e3c7c45331c983c3b56970a5ec9f8505ff authored over 9 years ago by Matthew Bellantoni <[email protected]>
Updated readme for query interface

0dc4f08811bbef38f00b96be7fff054dfd8d24bb authored over 9 years ago by Bohdan V <[email protected]>
Added extracting example into readme

e18f746663c13a6b66acf64eb769bed529174f7f authored over 9 years ago by Bohdan V <[email protected]>
Make Respository.execute private (issue #190.)

Makes this method private and removes the associated tests.

d1211fad75e656da2ccf74f93047ca182681c013 authored over 9 years ago by Matthew Bellantoni <[email protected]>
Introduced Lotus::Model::Migrator with support for create, drop and migrate the database (only SQLite3)

c4925991f2499533044d57abc64bd6cfc5379d0b authored over 9 years ago by Luca Guidi <[email protected]>
Merge pull request #192 from guilhermeFranco/remove-unnecessary-inspect

Removed unnecessary inspect call from sql adapter

526f9212781a7e903a25662a551d74931cdcea29 authored over 9 years ago by Luca Guidi <[email protected]>
Removed unnecessary inspect call from sql adapter

32a77779a54bd2d274d0ea3d416550c85bafbec9 authored over 9 years ago by Guilherme Franco <[email protected]>
Prepare for v0.3.2

fa37e760a922168bf9cb6fca0bab8fef36d7edd9 authored over 9 years ago by Luca Guidi <[email protected]>
Cleanup and refactoring for #187

a230aeaae3a1098136f3d0087074105505a3696f authored over 9 years ago by Luca Guidi <[email protected]>
Merge branch 'dsnipe-refactoring-dirty-tracking'

dca5137b2e9b88241f131e2f58bd32b0a17970ee authored over 9 years ago by Luca Guidi <[email protected]>
Fix: #changed_attributes returns all changes

a1c8c943f1b2629315dc4727a5065080b08c9323 authored over 9 years ago by Dmitry Tymchuk <[email protected]>
Refactoring for DirtyTracking

0304f1940889876389f6132259c24ffad24eae8f authored over 9 years ago by Dmitry Tymchuk <[email protected]>
Prepare for v0.3.1

8d661957211b43587a5636278821b58b8d45089d authored over 9 years ago by Luca Guidi <[email protected]>
[ci skip] Added Dirty Tracking example to README. Ref #172

dfdb777be754ea94b2faa67e288e16deb0386e7c authored over 9 years ago by Luca Guidi <[email protected]>
Cleanup per #173 #176 #182

b4aa1a08c180003d5871de5f601ec15aab5194c0 authored over 9 years ago by Luca Guidi <[email protected]>
Merge pull request #185 from jeremyf/wordsmithing

Wordsmithing

0a1608fb1df0b33bce016c5d77994d45d11cb533 authored over 9 years ago by Trung Lê <[email protected]>
Wordsmithing

[skip ci]

8150df73bb15c06781baf124474cca8bb1c750ca authored over 9 years ago by Jeremy Friesen <[email protected]>
Clarifying README language

[skip ci]

2951781fd84d0500d9b2da6ef0aca52b78b4552a authored over 9 years ago by Jeremy Friesen <[email protected]>
Wordsmithing README.md

[skip ci]

c20c352458b4b80d9a1c90a71dce5d9b8f5fa982 authored over 9 years ago by Jeremy Friesen <[email protected]>
Cleanup per #184

9b8ace40c06809824ad33d1109f6354fd7875531 authored over 9 years ago by Luca Guidi <[email protected]>
Merge branch 'peterberkenbosch-add-raw-sql-support-with-execute'

8b94db8244cdebb09c3c1926aca9da7c1f13b028 authored over 9 years ago by Luca Guidi <[email protected]>
Merge branch 'add-raw-sql-support-with-execute' of https://github.com/peterberkenbosch/model into peterberkenbosch-add-raw-sql-support-with-execute

52885a82c42de75c7df8cf001d5f04b52efa32c4 authored over 9 years ago by Luca Guidi <[email protected]>
add execute to sql_adapter

add pry to development gems for debugging.

add test for exception being raised on invalid sql

a...

38d0da2fc847d169489ebf90232ff1d5934829e5 authored over 9 years ago by Peter Berkenbosch <[email protected]>
Clean up #182

3cfce37fd6e7401fa9c33245b767bf0d90cd2e0a authored over 9 years ago by Trung Lê <[email protected]>
Merge pull request #182 from LeoTeam/refactor-update-timestamps

Refactor update timestamps

7c48209125f0f01c27080478d0f2ba09d986c12a authored over 9 years ago by Trung Lê <[email protected]>
Refactor update timestamp

ed2cc899a2504ac0ca954ffa811bff588913faea authored over 9 years ago by My Mai <[email protected]>
Cleanup per #180

dcfbd71151a364e26a567b649f7014aeca8dfff2 authored over 9 years ago by Luca Guidi <[email protected]>
Merge branch 'add-block-conditions-to-memory-adapter' of https://github.com/guilhermeFranco/model

05e8e4fae159c9704ba0cffaab3255f7fa7eb44f authored over 9 years ago by Luca Guidi <[email protected]>
Improve API docs of memory adapter

14df75e95dfc75469d52bc74aa55323c30288515 authored over 9 years ago by Guilherme Franco <[email protected]>
Improve exception message assertions for memory adapter

9658db8f135efbfbd548f4f61f1ce74105acb8fd authored over 9 years ago by Guilherme Franco <[email protected]>
Improve exception message assertions for sql adapter

c4b86c789b80f203921d4daf168748e8e690fac7 authored over 9 years ago by Guilherme Franco <[email protected]>
Improve error raising for block condition on memory adapter

c13b0aae5a504187d8e6109388db89b63c740551 authored over 9 years ago by Guilherme Franco <[email protected]>
Fix code styles

acbe42da5b792e3929786efa80e6efb0cb2c3374 authored over 9 years ago by Guilherme Franco <[email protected]>
Merge pull request #181 from guilhermeFranco/refactor-sql-query-adapter

Extract push to condition behavior into private method

330873aaf5159427102fbe504d1e4ada46996beb authored over 9 years ago by Trung Lê <[email protected]>
Improve API docs

39acff72183f8c4afdace4289f1bce709337e0cb authored over 9 years ago by Guilherme Franco <[email protected]>
Add block conditions to #or and #exclude on memory adapter

a93bb23ea38e6518bf293f791f79342165ac389f authored over 9 years ago by Guilherme Franco <[email protected]>
Handles SQL adapter errors re-raising as InvalidQueryError

b92f1847e51799aedb1b436ec53a8e114591c3a4 authored over 9 years ago by Guilherme Franco <[email protected]>
Add Lotus::Model::InvalidQueryError

b40f1b5d74e50495d5aae9afcf0430bc27b5c833 authored over 9 years ago by Guilherme Franco <[email protected]>
Improve Sql::Query#_push_to_conditions method

Use OOP approach for raising error
Explict check for nil value on condition parameter
Add API docs

4b8f99f984969985b885495d4b722a772801ba0f authored over 9 years ago by Guilherme Franco <[email protected]>
Cleanup per #170

7dae0f6b216440b5d8ddba3be3d6485f4bc9cf03 authored over 9 years ago by Luca Guidi <[email protected]>
Merge branch 'dsnipe-dirty-checks'

4c12e4b4314cf060f5b1b6ee4e010fdb6ae9df34 authored over 9 years ago by Luca Guidi <[email protected]>
Merge branch 'dirty-checks' of https://github.com/dsnipe/model into dsnipe-dirty-checks

5b31dc01b012f75f2003b2461d5590597e4e83d9 authored over 9 years ago by Luca Guidi <[email protected]>
Extract push to condition behavior into private method

99c779f3c0640c35a84953caae9e6afaf71f8def authored over 9 years ago by Guilherme Franco <[email protected]>
[WIP] Add block conditions to where on memory adapter

42c33d8bcaf678fdb0031a43abbdada8fc0ac7cf authored over 9 years ago by Guilherme Franco <[email protected]>
Merge pull request #179 from LeoTeam/update-travis-ci

Add ruby version 2.1.6 & 2.2.2 at .travis.yml

29f4c67bc4d09003a036f381672f04a4bb12f916 authored over 9 years ago by Trung Lê <[email protected]>
Remove extra lines in comments

e5101f02b03f372b5a1c1107b9ea5e4bf1b182f8 authored over 9 years ago by Dmitry Tymchuk <[email protected]>
Add ruby version 2.1.6 & 2.2.2 at .travis.yml

f88d5f76f258cc033a685fbfc56ede53c44656a1 authored over 9 years ago by My Mai <[email protected]>
Fix fixtures in tests

db54a9561ee4c313f1aa20d28ccf47a55e86862c authored over 9 years ago by Dmitry Tymchuk <[email protected]>
Edits in comments

cb0a0d3c4f7760c32f4f5b4839ff490fa6b5f43c authored over 9 years ago by Dmitry Tymchuk <[email protected]>
Draft DirtyTracking module

4b1813bc01d0ddcff2ba6c1628e56e5ab2056d65 authored over 9 years ago by Dmitry Tymchuk <[email protected]>
Change implementation create setter methods

583e46aef5b6b82ca6709b3f8ed550ce368fd2f5 authored over 9 years ago by Dmitry Tymchuk <[email protected]>
Change dirty state

e37908507479febb003a8734785aee8ac24dba2b authored over 9 years ago by Dmitry Tymchuk <[email protected]>
Merge pull request #176 from LeoTeam/update-updated-at

Update updated at

feab0a11a4f4ae61a76a121715fdcb02b03d2a22 authored over 9 years ago by Trung Lê <[email protected]>
Use 'touches updated_at' instead of using 'updates updated_at attribute'

20104c2dc561d4f6b34324bfc03890753a54217e authored over 9 years ago by My Mai <[email protected]>
Add condition 'updates updated_at attribute' at .update

8c65bfc05ed5c7b010e93bce1a21ac3d8f50145c authored over 9 years ago by My Mai <[email protected]>
Remove require 'date'

0c54be948dad35c4afa58893e68e93d09ce05abc authored over 9 years ago by My Mai <[email protected]>
Split test case condition for case created_at & updated_at user non persisted at persist

76b470349bcaad7155d07ee5d3899a53322e027c authored over 9 years ago by My Mai <[email protected]>
Update test case for update updated_at

46f7c1d4ea2b1b315e819025a931869d02b4d6df authored over 9 years ago by My Mai <[email protected]>
Test case previous updated_at < latest updated_at

69c6428b369ee4040ea966c302d097974bcb42b8 authored over 9 years ago by My Mai <[email protected]>
Refactor _update_timestamps method in repository.rb

63c7b3f5f3fdb6d361d4af5f77ce5db2464222e6 authored over 9 years ago by My Mai <[email protected]>
Update method _update_timestamps(entity)

f4046432f56737361405ebdd288d7092662101a8 authored over 9 years ago by My Mai <[email protected]>
Resign variable for updated_

ae1fd29b08fc8e0eb7c325e61f4bc5dee03c64fb authored over 9 years ago by My Mai <[email protected]>