Commit Graph

2975 Commits

Author SHA1 Message Date
Anatoliy Chakkaev a4ec751424 Eliminated global leak 2013-02-12 17:25:59 +08:00
Anatoliy Chakkaev d2376a729a Merge pull request #206 from anatoliychakkaev/master
Documentation improvements
2013-02-12 01:05:48 -08:00
Anatoliy Chakkaev 4eda7df7bc Described custom validations 2013-02-12 17:05:04 +08:00
Anatoliy Chakkaev e371451d86 0.2.0-18 2013-02-10 04:59:35 +08:00
Anatoliy Chakkaev ccc30b565b Merge branch 'master' of github1602:1602/jugglingdb 2013-02-10 04:54:35 +08:00
Anatoliy Chakkaev 27a16dbeae Remove logging 2013-02-10 04:53:53 +08:00
Anatoliy Chakkaev 6e1037f987 Organize test with Log and Dog 2013-02-10 04:53:37 +08:00
Anatoliy Chakkaev 734ab8abd1 If property is array (List) need to convert it to JSON 2013-02-10 04:53:05 +08:00
Anatoliy Chakkaev 5ae052716f Merge pull request #205 from anatoliychakkaev/master
Fix pull request tests
2013-02-09 12:17:29 -08:00
Anatoliy Chakkaev 412a46d603 FIxed test for belongsTo 2013-02-10 04:15:43 +08:00
Anatoliy Chakkaev f407af6b87 Merge pull request #203 from danshultz/patch-1
Fixing Railway Hoisting Issue
2013-02-09 02:59:21 -08:00
dgsan 497dcc887d Unit test for bug fix related to belongsTo relation.
It declares a Schema, uses memory. If it should be run for ALL DBs it will need to be changed.

Should fail pre cba174b and pass currently.
2013-02-08 10:25:38 -07:00
dgsan cba174b4ff This fixes the apparent scope and comparison issues when calling a foreign key relation. 2013-02-01 10:15:03 -07:00
Dan Shultz bbf94dee15 Fixing Railway Hoisting Issue
orm is defined on the var declared two lines below the if block and not on the expected global reference
2013-02-01 09:07:00 -05:00
Anatoliy Chakkaev cdd328c902 Revert validatable fix 2013-01-30 23:08:52 +07:00
Anatoliy Chakkaev 03215fbf52 Merge pull request #201 from anatoliychakkaev/master
Some tweaks
2013-01-30 07:33:48 -08:00
Anatoliy Chakkaev ae60569b9d 0.2.0-17 2013-01-30 22:30:56 +07:00
Anatoliy Chakkaev 9f0dfeb58a Add attr param to custom validator, closes #200 2013-01-30 22:30:31 +07:00
Anatoliy Chakkaev 5b33c2a0f1 Removed unused experimental stuff 2013-01-29 18:47:03 +07:00
Anatoliy Chakkaev cddb24ec84 0.2.0-16 2013-01-23 07:51:07 +07:00
Anatoliy Chakkaev a5e84c9f32 Update broken test case 2013-01-23 07:48:56 +07:00
Anatoliy Chakkaev 785868962c 0.2.0-15 2013-01-23 06:31:22 +07:00
Anatoliy Chakkaev 707fb01713 Make pathTo available in db/schema 2013-01-23 06:31:02 +07:00
Anatoliy Chakkaev 16a55a1bce 0.2.0-14 2013-01-23 03:23:21 +07:00
Anatoliy Chakkaev 59e80e8454 Fix uniqueness validation (mongo ids) 2013-01-23 03:22:48 +07:00
Anatoliy Chakkaev d03dbfcb99 Throw error when model is not configured for webservice 2013-01-23 03:22:31 +07:00
Anatoliy Chakkaev c6d7360f51 Update test for #128 2013-01-22 23:57:30 +07:00
Anatoliy Chakkaev 9fcd8235fe Merge branch 'master' of github1602:1602/jugglingdb 2013-01-22 23:50:28 +07:00
Anatoliy Chakkaev cefd79dbf6 Return null when findOne could not find record, closes #128 2013-01-22 23:47:14 +07:00
Anatoliy Chakkaev c882c162c2 Merge pull request #198 from anatoliychakkaev/master
Fixed for cs-compound
2013-01-22 08:29:47 -08:00
Anatoliy Chakkaev 0096c94d8f 0.2.0-13 2013-01-22 23:27:57 +07:00
Anatoliy Chakkaev 8cfa00a1b2 Work with cs-compound 2013-01-22 23:27:49 +07:00
1602 a770f20c08 One more fix in updateAttribute test with uniqueness validation 2013-01-22 03:54:06 +07:00
Anatoliy Chakkaev 188d4c7b4f Merge branch 'master' of github1602:1602/jugglingdb 2013-01-22 03:49:21 +07:00
Anatoliy Chakkaev 3919630d9a Update validations test 2013-01-22 03:48:12 +07:00
Anatoliy Chakkaev a1678a3802 Merge pull request #197 from anatoliychakkaev/master
Implement schema.extendModel(model, props)
2013-01-21 10:48:58 -08:00
Anatoliy Chakkaev 0f592d4bf5 Implement schema.extendModel, closes #157 2013-01-22 01:48:04 +07:00
Anatoliy Chakkaev a58ace2f6b Merge pull request #196 from anatoliychakkaev/master
findOrCreate, misc amends
2013-01-21 10:22:50 -08:00
Anatoliy Chakkaev 60a680f039 Add adapter (memory-bogus) test 2013-01-22 01:22:08 +07:00
Anatoliy Chakkaev 91fee1d565 Make memory adapter async 2013-01-22 01:21:43 +07:00
Anatoliy Chakkaev 9dbc8fa50b Implement findOrCreate, requested in #190 2013-01-22 01:21:31 +07:00
Anatoliy Chakkaev 71e1b5159e Merge pull request #195 from anatoliychakkaev/master
Test case for uniqueness validation
2013-01-21 09:48:52 -08:00
Anatoliy Chakkaev 40b64cfc5e Added test for #191 2013-01-22 00:48:10 +07:00
Anatoliy Chakkaev 4d47d8348d Revert hasMany change 2013-01-21 23:08:13 +07:00
Anatoliy Chakkaev ea01571450 Update readme: clienside, describe built-in adapters 2013-01-21 22:52:17 +07:00
Anatoliy Chakkaev 44d8fbe963 Merge branch 'master' of github.com:1602/jugglingdb 2013-01-21 22:42:46 +07:00
Anatoliy Chakkaev 1010d5d64d Merge pull request #192 from robblovell/hasmany
Hasmany
2013-01-21 07:42:01 -08:00
Anatoliy Chakkaev 56e63bdacf Merge pull request #194 from anatoliychakkaev/master
Allow to set model configuration
2013-01-21 07:00:16 -08:00
Anatoliy Chakkaev aaf671bf9b 0.2.0-12 2013-01-21 20:37:15 +07:00
Anatoliy Chakkaev d5758ec8be Added schema::model::set for railway 2013-01-21 20:29:41 +07:00