{"pull_request":{"user":{"id":727170,"login":"hbpoison","url":"https://api.github.com/users/hbpoison","gravatar_id":"7add62b66bf6c205e2a40be5707a9b0d","avatar_url":"https://secure.gravatar.com/avatar/7add62b66bf6c205e2a40be5707a9b0d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"merged_at":null,"created_at":"2011-12-22T09:00:58Z","title":"Add redis orm Ohm support","review_comments":0,"state":"open","updated_at":"2011-12-22T09:00:58Z","id":622648,"patch_url":"https://github.com/bmabey/database_cleaner/pull/87.patch","closed_at":null,"html_url":"https://github.com/bmabey/database_cleaner/pull/87","deletions":28,"mergeable":null,"base":{"user":{"id":1837,"login":"bmabey","url":"https://api.github.com/users/bmabey","gravatar_id":"c694a032be7518a0d704318895f8fe1d","avatar_url":"https://secure.gravatar.com/avatar/c694a032be7518a0d704318895f8fe1d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"ref":"master","sha":"501025b9dea4bfa7a03b937eb959dd9c9c5aea95","repo":{"created_at":"2009-03-05T06:08:15Z","open_issues":19,"watchers":481,"git_url":"git://github.com/bmabey/database_cleaner.git","fork":false,"updated_at":"2011-12-21T12:44:38Z","id":143489,"language":"Ruby","html_url":"https://github.com/bmabey/database_cleaner","name":"database_cleaner","description":"Strategies for cleaning databases in Ruby.  Can be used to ensure a clean state for testing.","master_branch":null,"url":"https://api.github.com/repos/bmabey/database_cleaner","clone_url":"https://github.com/bmabey/database_cleaner.git","pushed_at":"2011-12-20T15:53:32Z","ssh_url":"git@github.com:bmabey/database_cleaner.git","forks":86,"owner":{"id":1837,"login":"bmabey","url":"https://api.github.com/users/bmabey","gravatar_id":"c694a032be7518a0d704318895f8fe1d","avatar_url":"https://secure.gravatar.com/avatar/c694a032be7518a0d704318895f8fe1d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"homepage":"http://gemcutter.org/gems/database_cleaner","size":356,"private":false,"svn_url":"https://svn.github.com/bmabey/database_cleaner"},"label":"bmabey:master"},"issue_url":"https://github.com/bmabey/database_cleaner/issues/87","body":"Ohm is a library for storing objects in Redis, a persistent key-value database. It includes an extensible list of validations and has very good performance. \r\nI add the Ohm support to database_cleaner and now it pass all spec and cucumber scenarios, it seems work well for me now.\r\n\r\nNote:\r\n* With orm Ohm, :only and :except accept options like \"Widget:Name*\" or \"*:id*\" that redis command KEYS accept\r\n* We can configure connections specified as redis url, for example\r\n<pre>DatabaseCleaner[ 'ohm', {:connection => 'redis://localhost:6379/1'} ].strategy = :truncation</pre>","commits":10,"number":87,"additions":351,"url":"https://api.github.com/repos/bmabey/database_cleaner/pulls/87","diff_url":"https://github.com/bmabey/database_cleaner/pull/87.diff","_links":{"review_comments":{"href":"https://api.github.com/repos/bmabey/database_cleaner/pulls/87/comments"},"html":{"href":"https://github.com/bmabey/database_cleaner/pull/87"},"self":{"href":"https://api.github.com/repos/bmabey/database_cleaner/pulls/87"},"comments":{"href":"https://api.github.com/repos/bmabey/database_cleaner/issues/87/comments"}},"merged_by":null,"comments":0,"head":{"user":{"id":727170,"login":"hbpoison","url":"https://api.github.com/users/hbpoison","gravatar_id":"7add62b66bf6c205e2a40be5707a9b0d","avatar_url":"https://secure.gravatar.com/avatar/7add62b66bf6c205e2a40be5707a9b0d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"ref":"master","sha":"f3f3f386f70b42e85404c8d75ef95eaecf12a190","repo":{"created_at":"2011-12-02T08:22:44Z","open_issues":0,"watchers":1,"git_url":"git://github.com/hbpoison/database_cleaner.git","fork":true,"updated_at":"2011-12-22T08:53:25Z","id":2897160,"language":"Ruby","html_url":"https://github.com/hbpoison/database_cleaner","name":"database_cleaner","description":"Strategies for cleaning databases in Ruby.  Can be used to ensure a clean state for testing.","master_branch":null,"url":"https://api.github.com/repos/hbpoison/database_cleaner","clone_url":"https://github.com/hbpoison/database_cleaner.git","pushed_at":"2011-12-22T08:53:25Z","ssh_url":"git@github.com:hbpoison/database_cleaner.git","forks":0,"owner":{"id":727170,"login":"hbpoison","url":"https://api.github.com/users/hbpoison","gravatar_id":"7add62b66bf6c205e2a40be5707a9b0d","avatar_url":"https://secure.gravatar.com/avatar/7add62b66bf6c205e2a40be5707a9b0d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"homepage":"http://gemcutter.org/gems/database_cleaner","size":140,"private":false,"svn_url":"https://svn.github.com/hbpoison/database_cleaner"},"label":"hbpoison:master"},"changed_files":21,"merged":false},"number":87,"action":"opened"}