{"pull_request":{"state":"closed","deletions":14,"user":{"avatar_url":"https://secure.gravatar.com/avatar/d7ed4dc5ad80ffecb3aed70fc7190e52?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"d7ed4dc5ad80ffecb3aed70fc7190e52","url":"https://api.github.com/users/larsbutler","login":"larsbutler","id":464394},"merged_by":{"avatar_url":"https://secure.gravatar.com/avatar/d7ed4dc5ad80ffecb3aed70fc7190e52?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"d7ed4dc5ad80ffecb3aed70fc7190e52","url":"https://api.github.com/users/larsbutler","login":"larsbutler","id":464394},"updated_at":"2011-11-14T11:09:36Z","base":{"ref":"master","user":{"avatar_url":"https://secure.gravatar.com/avatar/e180c2d7040302ddc13efce226e948bd?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","gravatar_id":"e180c2d7040302ddc13efce226e948bd","url":"https://api.github.com/users/gem","login":"gem","id":316546},"repo":{"name":"OpenSHA","pushed_at":"2011-11-14T11:09:36Z","fork":true,"master_branch":null,"open_issues":0,"updated_at":"2011-11-14T11:09:36Z","clone_url":"https://github.com/gem/OpenSHA.git","homepage":"http://www.opensha.org/","private":false,"svn_url":"https://svn.github.com/gem/OpenSHA","language":"Java","forks":7,"url":"https://api.github.com/repos/gem/OpenSHA","owner":{"avatar_url":"https://secure.gravatar.com/avatar/e180c2d7040302ddc13efce226e948bd?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","gravatar_id":"e180c2d7040302ddc13efce226e948bd","url":"https://api.github.com/users/gem","login":"gem","id":316546},"html_url":"https://github.com/gem/OpenSHA","description":"Raw OpenSHA source code from USGS","size":228,"id":1012256,"watchers":13,"git_url":"git://github.com/gem/OpenSHA.git","created_at":"2010-10-21T14:23:40Z","ssh_url":"git@github.com:gem/OpenSHA.git"},"label":"gem:master","sha":"0b6f7733d3bf4a1814277cd1b7d8d14057cfafed"},"commits":1,"comments":1,"closed_at":"2011-11-14T11:09:36Z","diff_url":"https://github.com/gem/OpenSHA/pull/10.diff","head":{"ref":"refactor-vs30-types","user":{"avatar_url":"https://secure.gravatar.com/avatar/d7ed4dc5ad80ffecb3aed70fc7190e52?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"d7ed4dc5ad80ffecb3aed70fc7190e52","url":"https://api.github.com/users/larsbutler","login":"larsbutler","id":464394},"repo":{"name":"OpenSHA","pushed_at":"2011-11-11T12:21:19Z","fork":true,"master_branch":null,"open_issues":0,"updated_at":"2011-11-11T12:21:39Z","clone_url":"https://github.com/larsbutler/OpenSHA.git","homepage":"http://www.opensha.org/","private":false,"svn_url":"https://svn.github.com/larsbutler/OpenSHA","language":"Java","forks":0,"url":"https://api.github.com/repos/larsbutler/OpenSHA","owner":{"avatar_url":"https://secure.gravatar.com/avatar/d7ed4dc5ad80ffecb3aed70fc7190e52?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"d7ed4dc5ad80ffecb3aed70fc7190e52","url":"https://api.github.com/users/larsbutler","login":"larsbutler","id":464394},"html_url":"https://github.com/larsbutler/OpenSHA","description":"Raw OpenSHA source code from USGS","size":160,"id":2160185,"watchers":1,"git_url":"git://github.com/larsbutler/OpenSHA.git","created_at":"2011-08-05T12:37:04Z","ssh_url":"git@github.com:larsbutler/OpenSHA.git"},"label":"larsbutler:refactor-vs30-types","sha":"787983a7b8f8f768d5212a4fdfb1437c21928a7e"},"additions":22,"url":"https://api.github.com/repos/gem/OpenSHA/pulls/10","merged":true,"merged_at":"2011-11-14T11:09:36Z","body":"Needed for some changes in the OpenQuake java code base to fix this bug: https://bugs.launchpad.net/openquake/+bug/887577\r\n\r\nBasically, we want to do some VS30 type validation in the OpenQuake Disaggregation calculator. In the future, we may add support for new VS30 types; changing the two constants for 'Measured' and 'Inferred' to an enum allows us to write a generic validator that loops over the enum values (and we don't have to update the check code if the enum is changed).","issue_url":"https://github.com/gem/OpenSHA/issues/10","_links":{"comments":{"href":"https://api.github.com/repos/gem/OpenSHA/issues/10/comments"},"html":{"href":"https://github.com/gem/OpenSHA/pull/10"},"review_comments":{"href":"https://api.github.com/repos/gem/OpenSHA/pulls/10/comments"},"self":{"href":"https://api.github.com/repos/gem/OpenSHA/pulls/10"}},"review_comments":0,"html_url":"https://github.com/gem/OpenSHA/pull/10","number":10,"title":"Refactored VS30 type constants into an enum","mergeable":null,"id":485792,"changed_files":6,"patch_url":"https://github.com/gem/OpenSHA/pull/10.patch","created_at":"2011-11-11T12:24:41Z"},"action":"closed","number":10}