Commit Graph

893 Commits

Author SHA1 Message Date
dgsan 0503ad3295 This is the smash with blunt object fix for #215, since the more flexible #213 was rejected.
There needs to be something done so that types not in `BASE_TYPES` can be parsed without
throwing an exception and making things go nuts when they aren't JSON.

As noted this is the blunt object solution and will not cover all cases, but something needs to be done.
2013-03-05 12:02:07 -07:00
Anatoliy Chakkaev 8ca6d2e0ba 0.2.0-22 2013-03-01 21:14:29 +07:00
Anatoliy Chakkaev 358f7b788c FIxes in async validations (in sync case), closes 214 2013-03-01 21:13:04 +07:00
Anatoliy Chakkaev ded757bd50 0.2.0-21 2013-03-01 00:06:24 +07:00
Anatoliy Chakkaev b067100d96 Browserify-proof railway init 2013-03-01 00:06:11 +07:00
Anatoliy Chakkaev 7b7e9d0063 .version as getter 2013-02-23 03:29:18 +07:00
Anatoliy Chakkaev 93026b511c Merge branch 'master' of github1602:1602/jugglingdb 2013-02-22 01:26:04 +07:00
Anatoliy Chakkaev 7b6863bfd4 0.2.0-20 2013-02-22 01:24:30 +07:00
Anatoliy Chakkaev 35571dcd58 Add proper type registration 2013-02-22 01:24:20 +07:00
Anatoliy Chakkaev 5a1df1b418 0.2.0-19 2013-02-20 03:40:44 +08:00
Anatoliy Chakkaev ee6bc85e75 Merge pull request #210 from anatoliychakkaev/master
Amends for list and version exposing
2013-02-19 00:52:51 -08:00
Anatoliy Chakkaev 56db693454 List support for non-object values 2013-02-19 16:33:09 +08:00
Anatoliy Chakkaev b9eaba0166 Coding style in helper 2013-02-19 16:32:44 +08:00
Anatoliy Chakkaev 7bb233e269 Fix package version exposing 2013-02-19 16:32:21 +08:00
Anatoliy Chakkaev 07b6ad3731 Merge pull request #209 from anatoliychakkaev/master
List methods
2013-02-18 00:18:52 -08:00
Anatoliy Chakkaev 4d75cb74d7 Add some array methods for List 2013-02-18 16:18:09 +08:00
Anatoliy Chakkaev 3d64056c39 Absolute paths in README.md, fixes #208 2013-02-16 23:55:51 +08:00
Anatoliy Chakkaev e15085519e Merge branch 'master' of github1602:1602/jugglingdb 2013-02-12 17:26:46 +08:00
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