GitHub PullRequestEvent at 2014-04-28 17:13:41
Repository: mongo-ruby-driver
Actor: estolfo
Payload: {"action":"opened","number":405,"pull_request":{"url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/pulls/405","id":15248587,"html_url":"https://github.com/mongodb/mongo-ruby-driver/pull/405","diff_url":"https://github.com/mongodb/mongo-ruby-driver/pull/405.diff","patch_url":"https://github.com/mongodb/mongo-ruby-driver/pull/405.patch","issue_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/issues/405","number":405,"state":"open","title":"Operations Draft","user":{"login":"estolfo","id":699369,"avatar_url":"https://avatars.githubusercontent.com/u/699369?","gravatar_id":"36a412f9961180973697973cc7b30a52","url":"https://api.github.com/users/estolfo","html_url":"https://github.com/estolfo","followers_url":"https://api.github.com/users/estolfo/followers","following_url":"https://api.github.com/users/estolfo/following{/other_user}","gists_url":"https://api.github.com/users/estolfo/gists{/gist_id}","starred_url":"https://api.github.com/users/estolfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/estolfo/subscriptions","organizations_url":"https://api.github.com/users/estolfo/orgs","repos_url":"https://api.github.com/users/estolfo/repos","events_url":"https://api.github.com/users/estolfo/events{/privacy}","received_events_url":"https://api.github.com/users/estolfo/received_events","type":"User","site_admin":false},"body":"This is a draft of Operations models. The Insert and Update write operations and Insert and Update write commands are not pushed yet. They will be very similar to the Delete write operation and Delete write command.\r\n\r\n#### Namespaces:\r\nTop level namespaces are Read and Write\r\nWrite then has a WriteCommand namespace\r\n\r\n#### Functional Modules:\r\nExecutable is a functional module that is included in most Operation classes.\r\n\r\n### Classes\r\n\r\n* Aggregate (sometimes a read, sometimes a write)\r\n* MapReduce (sometimes a read, sometimes a write)\r\n\r\n    #### Read\r\n\r\n    * Query\r\n    * GetMore\r\n\r\n    #### Write\r\n\r\n    * Delete\r\n    * Insert (not yet pushed)\r\n    * Update (not yet pushed)\r\n    * WriteCommand namespace\r\n        * Delete\r\n        * Insert (not yet pushed)\r\n        * Update (not yet pushed)\r\n\r\n### Notes about #execute\r\nThe write operations (delete, update, insert) check out a connection from the provided client and check the wire version. If the a write command should be used instead, a write command message is constructed and sent on the connection (/socket).\r\n\r\n#### Todo\r\n* Insert, Update write operations\r\n* Insert, Update write commands\r\n* Refactor rspec tests to use a shared set.\r\n* Updates after the read preference code is merged.\r\n* Documentation\r\n* Updates after the connection API is defined. Especially for the exhaust query option.","created_at":"2014-04-28T17:13:40Z","updated_at":"2014-04-28T17:13:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/pulls/405/commits","review_comments_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/pulls/405/comments","review_comment_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/pulls/comments/{number}","comments_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/issues/405/comments","statuses_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/statuses/a2160f9bb1eb2d0e3b96071df91af2d8cb898347","head":{"label":"estolfo:operations","ref":"operations","sha":"a2160f9bb1eb2d0e3b96071df91af2d8cb898347","user":{"login":"estolfo","id":699369,"avatar_url":"https://avatars.githubusercontent.com/u/699369?","gravatar_id":"36a412f9961180973697973cc7b30a52","url":"https://api.github.com/users/estolfo","html_url":"https://github.com/estolfo","followers_url":"https://api.github.com/users/estolfo/followers","following_url":"https://api.github.com/users/estolfo/following{/other_user}","gists_url":"https://api.github.com/users/estolfo/gists{/gist_id}","starred_url":"https://api.github.com/users/estolfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/estolfo/subscriptions","organizations_url":"https://api.github.com/users/estolfo/orgs","repos_url":"https://api.github.com/users/estolfo/repos","events_url":"https://api.github.com/users/estolfo/events{/privacy}","received_events_url":"https://api.github.com/users/estolfo/received_events","type":"User","site_admin":false},"repo":{"id":8504548,"name":"mongo-ruby-driver","full_name":"estolfo/mongo-ruby-driver","owner":{"login":"estolfo","id":699369,"avatar_url":"https://avatars.githubusercontent.com/u/699369?","gravatar_id":"36a412f9961180973697973cc7b30a52","url":"https://api.github.com/users/estolfo","html_url":"https://github.com/estolfo","followers_url":"https://api.github.com/users/estolfo/followers","following_url":"https://api.github.com/users/estolfo/following{/other_user}","gists_url":"https://api.github.com/users/estolfo/gists{/gist_id}","starred_url":"https://api.github.com/users/estolfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/estolfo/subscriptions","organizations_url":"https://api.github.com/users/estolfo/orgs","repos_url":"https://api.github.com/users/estolfo/repos","events_url":"https://api.github.com/users/estolfo/events{/privacy}","received_events_url":"https://api.github.com/users/estolfo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/estolfo/mongo-ruby-driver","description":"My fork of the Ruby driver to MongoDB","fork":true,"url":"https://api.github.com/repos/estolfo/mongo-ruby-driver","forks_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/forks","keys_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/teams","hooks_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/hooks","issue_events_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/issues/events{/number}","events_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/events","assignees_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/assignees{/user}","branches_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/branches{/branch}","tags_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/tags","blobs_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/languages","stargazers_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/stargazers","contributors_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/contributors","subscribers_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/subscribers","subscription_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/subscription","commits_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/issues/comments/{number}","contents_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/contents/{+path}","compare_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/merges","archive_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/downloads","issues_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/issues{/number}","pulls_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/labels{/name}","releases_url":"https://api.github.com/repos/estolfo/mongo-ruby-driver/releases{/id}","created_at":"2013-03-01T15:47:27Z","updated_at":"2014-04-28T17:13:41Z","pushed_at":"2014-04-28T17:01:40Z","git_url":"git://github.com/estolfo/mongo-ruby-driver.git","ssh_url":"git@github.com:estolfo/mongo-ruby-driver.git","clone_url":"https://github.com/estolfo/mongo-ruby-driver.git","svn_url":"https://github.com/estolfo/mongo-ruby-driver","homepage":"http://api.mongodb.org/ruby","size":31632,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"2.x-master"}},"base":{"label":"mongodb:master","ref":"master","sha":"936676330ab160202e2196f4cc294eebd2d714dc","user":{"login":"mongodb","id":45120,"avatar_url":"https://avatars.githubusercontent.com/u/45120?","gravatar_id":"c17ac52a9e94e768c4fab0ce37065841","url":"https://api.github.com/users/mongodb","html_url":"https://github.com/mongodb","followers_url":"https://api.github.com/users/mongodb/followers","following_url":"https://api.github.com/users/mongodb/following{/other_user}","gists_url":"https://api.github.com/users/mongodb/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb/subscriptions","organizations_url":"https://api.github.com/users/mongodb/orgs","repos_url":"https://api.github.com/users/mongodb/repos","events_url":"https://api.github.com/users/mongodb/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb/received_events","type":"Organization","site_admin":false},"repo":{"id":108125,"name":"mongo-ruby-driver","full_name":"mongodb/mongo-ruby-driver","owner":{"login":"mongodb","id":45120,"avatar_url":"https://avatars.githubusercontent.com/u/45120?","gravatar_id":"c17ac52a9e94e768c4fab0ce37065841","url":"https://api.github.com/users/mongodb","html_url":"https://github.com/mongodb","followers_url":"https://api.github.com/users/mongodb/followers","following_url":"https://api.github.com/users/mongodb/following{/other_user}","gists_url":"https://api.github.com/users/mongodb/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb/subscriptions","organizations_url":"https://api.github.com/users/mongodb/orgs","repos_url":"https://api.github.com/users/mongodb/repos","events_url":"https://api.github.com/users/mongodb/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mongodb/mongo-ruby-driver","description":"Ruby driver for MongoDB","fork":false,"url":"https://api.github.com/repos/mongodb/mongo-ruby-driver","forks_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/forks","keys_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/teams","hooks_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/hooks","issue_events_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/issues/events{/number}","events_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/events","assignees_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/assignees{/user}","branches_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/branches{/branch}","tags_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/tags","blobs_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/languages","stargazers_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/stargazers","contributors_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/contributors","subscribers_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/subscribers","subscription_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/subscription","commits_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/issues/comments/{number}","contents_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/contents/{+path}","compare_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/merges","archive_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/downloads","issues_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/issues{/number}","pulls_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/labels{/name}","releases_url":"https://api.github.com/repos/mongodb/mongo-ruby-driver/releases{/id}","created_at":"2009-01-15T16:40:45Z","updated_at":"2014-04-28T08:06:48Z","pushed_at":"2014-04-23T13:41:43Z","git_url":"git://github.com/mongodb/mongo-ruby-driver.git","ssh_url":"git@github.com:mongodb/mongo-ruby-driver.git","clone_url":"https://github.com/mongodb/mongo-ruby-driver.git","svn_url":"https://github.com/mongodb/mongo-ruby-driver","homepage":"http://api.mongodb.org/ruby","size":35260,"stargazers_count":991,"watchers_count":991,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":305,"mirror_url":null,"open_issues_count":3,"forks":305,"open_issues":3,"watchers":991,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mongodb/mongo-ruby-driver/pulls/405"},"html":{"href":"https://github.com/mongodb/mongo-ruby-driver/pull/405"},"issue":{"href":"https://api.github.com/repos/mongodb/mongo-ruby-driver/issues/405"},"comments":{"href":"https://api.github.com/repos/mongodb/mongo-ruby-driver/issues/405/comments"},"review_comments":{"href":"https://api.github.com/repos/mongodb/mongo-ruby-driver/pulls/405/comments"},"review_comment":{"href":"https://api.github.com/repos/mongodb/mongo-ruby-driver/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/mongodb/mongo-ruby-driver/pulls/405/commits"},"statuses":{"href":"https://api.github.com/repos/mongodb/mongo-ruby-driver/statuses/a2160f9bb1eb2d0e3b96071df91af2d8cb898347"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":23,"additions":1413,"deletions":35,"changed_files":19}}