{"action":"closed","number":332,"pull_request":{"url":"https://api.github.com/repos/RubyMoney/money-rails/pulls/332","id":37150414,"html_url":"https://github.com/RubyMoney/money-rails/pull/332","diff_url":"https://github.com/RubyMoney/money-rails/pull/332.diff","patch_url":"https://github.com/RubyMoney/money-rails/pull/332.patch","issue_url":"https://api.github.com/repos/RubyMoney/money-rails/issues/332","number":332,"state":"closed","locked":false,"title":"Respect raise_error_on_money_parsing before raising ReadOnlyCurrencyException","user":{"login":"chewi","id":35072,"avatar_url":"https://avatars.githubusercontent.com/u/35072?v=3","gravatar_id":"","url":"https://api.github.com/users/chewi","html_url":"https://github.com/chewi","followers_url":"https://api.github.com/users/chewi/followers","following_url":"https://api.github.com/users/chewi/following{/other_user}","gists_url":"https://api.github.com/users/chewi/gists{/gist_id}","starred_url":"https://api.github.com/users/chewi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chewi/subscriptions","organizations_url":"https://api.github.com/users/chewi/orgs","repos_url":"https://api.github.com/users/chewi/repos","events_url":"https://api.github.com/users/chewi/events{/privacy}","received_events_url":"https://api.github.com/users/chewi/received_events","type":"User","site_admin":false},"body":"If the user gives a currency when they're not supposed to then it\r\nmakes sense to react as though the value is generally invalid.\r\n\r\nI can merge this myself but I'd like some feedback first.","created_at":"2015-06-08T12:59:33Z","updated_at":"2015-06-09T10:00:04Z","closed_at":"2015-06-09T10:00:04Z","merged_at":"2015-06-09T10:00:04Z","merge_commit_sha":"f1a7ac5547fb6ed109337456d8d20e17e99d094f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/RubyMoney/money-rails/pulls/332/commits","review_comments_url":"https://api.github.com/repos/RubyMoney/money-rails/pulls/332/comments","review_comment_url":"https://api.github.com/repos/RubyMoney/money-rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RubyMoney/money-rails/issues/332/comments","statuses_url":"https://api.github.com/repos/RubyMoney/money-rails/statuses/76947ed4e87a694ca6003894f6bef82255dc004f","head":{"label":"RubyMoney:read_only_currency_nil","ref":"read_only_currency_nil","sha":"76947ed4e87a694ca6003894f6bef82255dc004f","user":{"login":"RubyMoney","id":351550,"avatar_url":"https://avatars.githubusercontent.com/u/351550?v=3","gravatar_id":"","url":"https://api.github.com/users/RubyMoney","html_url":"https://github.com/RubyMoney","followers_url":"https://api.github.com/users/RubyMoney/followers","following_url":"https://api.github.com/users/RubyMoney/following{/other_user}","gists_url":"https://api.github.com/users/RubyMoney/gists{/gist_id}","starred_url":"https://api.github.com/users/RubyMoney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RubyMoney/subscriptions","organizations_url":"https://api.github.com/users/RubyMoney/orgs","repos_url":"https://api.github.com/users/RubyMoney/repos","events_url":"https://api.github.com/users/RubyMoney/events{/privacy}","received_events_url":"https://api.github.com/users/RubyMoney/received_events","type":"Organization","site_admin":false},"repo":{"id":3833911,"name":"money-rails","full_name":"RubyMoney/money-rails","owner":{"login":"RubyMoney","id":351550,"avatar_url":"https://avatars.githubusercontent.com/u/351550?v=3","gravatar_id":"","url":"https://api.github.com/users/RubyMoney","html_url":"https://github.com/RubyMoney","followers_url":"https://api.github.com/users/RubyMoney/followers","following_url":"https://api.github.com/users/RubyMoney/following{/other_user}","gists_url":"https://api.github.com/users/RubyMoney/gists{/gist_id}","starred_url":"https://api.github.com/users/RubyMoney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RubyMoney/subscriptions","organizations_url":"https://api.github.com/users/RubyMoney/orgs","repos_url":"https://api.github.com/users/RubyMoney/repos","events_url":"https://api.github.com/users/RubyMoney/events{/privacy}","received_events_url":"https://api.github.com/users/RubyMoney/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RubyMoney/money-rails","description":"Integration of RubyMoney - Money with Rails","fork":false,"url":"https://api.github.com/repos/RubyMoney/money-rails","forks_url":"https://api.github.com/repos/RubyMoney/money-rails/forks","keys_url":"https://api.github.com/repos/RubyMoney/money-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RubyMoney/money-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RubyMoney/money-rails/teams","hooks_url":"https://api.github.com/repos/RubyMoney/money-rails/hooks","issue_events_url":"https://api.github.com/repos/RubyMoney/money-rails/issues/events{/number}","events_url":"https://api.github.com/repos/RubyMoney/money-rails/events","assignees_url":"https://api.github.com/repos/RubyMoney/money-rails/assignees{/user}","branches_url":"https://api.github.com/repos/RubyMoney/money-rails/branches{/branch}","tags_url":"https://api.github.com/repos/RubyMoney/money-rails/tags","blobs_url":"https://api.github.com/repos/RubyMoney/money-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RubyMoney/money-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RubyMoney/money-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/RubyMoney/money-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RubyMoney/money-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/RubyMoney/money-rails/languages","stargazers_url":"https://api.github.com/repos/RubyMoney/money-rails/stargazers","contributors_url":"https://api.github.com/repos/RubyMoney/money-rails/contributors","subscribers_url":"https://api.github.com/repos/RubyMoney/money-rails/subscribers","subscription_url":"https://api.github.com/repos/RubyMoney/money-rails/subscription","commits_url":"https://api.github.com/repos/RubyMoney/money-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/RubyMoney/money-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/RubyMoney/money-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/RubyMoney/money-rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/RubyMoney/money-rails/contents/{+path}","compare_url":"https://api.github.com/repos/RubyMoney/money-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RubyMoney/money-rails/merges","archive_url":"https://api.github.com/repos/RubyMoney/money-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RubyMoney/money-rails/downloads","issues_url":"https://api.github.com/repos/RubyMoney/money-rails/issues{/number}","pulls_url":"https://api.github.com/repos/RubyMoney/money-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/RubyMoney/money-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/RubyMoney/money-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RubyMoney/money-rails/labels{/name}","releases_url":"https://api.github.com/repos/RubyMoney/money-rails/releases{/id}","created_at":"2012-03-26T14:59:07Z","updated_at":"2015-06-07T22:17:10Z","pushed_at":"2015-06-09T10:00:04Z","git_url":"git://github.com/RubyMoney/money-rails.git","ssh_url":"git@github.com:RubyMoney/money-rails.git","clone_url":"https://github.com/RubyMoney/money-rails.git","svn_url":"https://github.com/RubyMoney/money-rails","homepage":"","size":1501,"stargazers_count":589,"watchers_count":589,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":199,"mirror_url":null,"open_issues_count":18,"forks":199,"open_issues":18,"watchers":589,"default_branch":"master"}},"base":{"label":"RubyMoney:master","ref":"master","sha":"30f07b91a9c17d512f537583c02b4a62485ad0f3","user":{"login":"RubyMoney","id":351550,"avatar_url":"https://avatars.githubusercontent.com/u/351550?v=3","gravatar_id":"","url":"https://api.github.com/users/RubyMoney","html_url":"https://github.com/RubyMoney","followers_url":"https://api.github.com/users/RubyMoney/followers","following_url":"https://api.github.com/users/RubyMoney/following{/other_user}","gists_url":"https://api.github.com/users/RubyMoney/gists{/gist_id}","starred_url":"https://api.github.com/users/RubyMoney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RubyMoney/subscriptions","organizations_url":"https://api.github.com/users/RubyMoney/orgs","repos_url":"https://api.github.com/users/RubyMoney/repos","events_url":"https://api.github.com/users/RubyMoney/events{/privacy}","received_events_url":"https://api.github.com/users/RubyMoney/received_events","type":"Organization","site_admin":false},"repo":{"id":3833911,"name":"money-rails","full_name":"RubyMoney/money-rails","owner":{"login":"RubyMoney","id":351550,"avatar_url":"https://avatars.githubusercontent.com/u/351550?v=3","gravatar_id":"","url":"https://api.github.com/users/RubyMoney","html_url":"https://github.com/RubyMoney","followers_url":"https://api.github.com/users/RubyMoney/followers","following_url":"https://api.github.com/users/RubyMoney/following{/other_user}","gists_url":"https://api.github.com/users/RubyMoney/gists{/gist_id}","starred_url":"https://api.github.com/users/RubyMoney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RubyMoney/subscriptions","organizations_url":"https://api.github.com/users/RubyMoney/orgs","repos_url":"https://api.github.com/users/RubyMoney/repos","events_url":"https://api.github.com/users/RubyMoney/events{/privacy}","received_events_url":"https://api.github.com/users/RubyMoney/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RubyMoney/money-rails","description":"Integration of RubyMoney - Money with Rails","fork":false,"url":"https://api.github.com/repos/RubyMoney/money-rails","forks_url":"https://api.github.com/repos/RubyMoney/money-rails/forks","keys_url":"https://api.github.com/repos/RubyMoney/money-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RubyMoney/money-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RubyMoney/money-rails/teams","hooks_url":"https://api.github.com/repos/RubyMoney/money-rails/hooks","issue_events_url":"https://api.github.com/repos/RubyMoney/money-rails/issues/events{/number}","events_url":"https://api.github.com/repos/RubyMoney/money-rails/events","assignees_url":"https://api.github.com/repos/RubyMoney/money-rails/assignees{/user}","branches_url":"https://api.github.com/repos/RubyMoney/money-rails/branches{/branch}","tags_url":"https://api.github.com/repos/RubyMoney/money-rails/tags","blobs_url":"https://api.github.com/repos/RubyMoney/money-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RubyMoney/money-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RubyMoney/money-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/RubyMoney/money-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RubyMoney/money-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/RubyMoney/money-rails/languages","stargazers_url":"https://api.github.com/repos/RubyMoney/money-rails/stargazers","contributors_url":"https://api.github.com/repos/RubyMoney/money-rails/contributors","subscribers_url":"https://api.github.com/repos/RubyMoney/money-rails/subscribers","subscription_url":"https://api.github.com/repos/RubyMoney/money-rails/subscription","commits_url":"https://api.github.com/repos/RubyMoney/money-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/RubyMoney/money-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/RubyMoney/money-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/RubyMoney/money-rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/RubyMoney/money-rails/contents/{+path}","compare_url":"https://api.github.com/repos/RubyMoney/money-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RubyMoney/money-rails/merges","archive_url":"https://api.github.com/repos/RubyMoney/money-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RubyMoney/money-rails/downloads","issues_url":"https://api.github.com/repos/RubyMoney/money-rails/issues{/number}","pulls_url":"https://api.github.com/repos/RubyMoney/money-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/RubyMoney/money-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/RubyMoney/money-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RubyMoney/money-rails/labels{/name}","releases_url":"https://api.github.com/repos/RubyMoney/money-rails/releases{/id}","created_at":"2012-03-26T14:59:07Z","updated_at":"2015-06-07T22:17:10Z","pushed_at":"2015-06-09T10:00:04Z","git_url":"git://github.com/RubyMoney/money-rails.git","ssh_url":"git@github.com:RubyMoney/money-rails.git","clone_url":"https://github.com/RubyMoney/money-rails.git","svn_url":"https://github.com/RubyMoney/money-rails","homepage":"","size":1501,"stargazers_count":589,"watchers_count":589,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":199,"mirror_url":null,"open_issues_count":18,"forks":199,"open_issues":18,"watchers":589,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RubyMoney/money-rails/pulls/332"},"html":{"href":"https://github.com/RubyMoney/money-rails/pull/332"},"issue":{"href":"https://api.github.com/repos/RubyMoney/money-rails/issues/332"},"comments":{"href":"https://api.github.com/repos/RubyMoney/money-rails/issues/332/comments"},"review_comments":{"href":"https://api.github.com/repos/RubyMoney/money-rails/pulls/332/comments"},"review_comment":{"href":"https://api.github.com/repos/RubyMoney/money-rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RubyMoney/money-rails/pulls/332/commits"},"statuses":{"href":"https://api.github.com/repos/RubyMoney/money-rails/statuses/76947ed4e87a694ca6003894f6bef82255dc004f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"chewi","id":35072,"avatar_url":"https://avatars.githubusercontent.com/u/35072?v=3","gravatar_id":"","url":"https://api.github.com/users/chewi","html_url":"https://github.com/chewi","followers_url":"https://api.github.com/users/chewi/followers","following_url":"https://api.github.com/users/chewi/following{/other_user}","gists_url":"https://api.github.com/users/chewi/gists{/gist_id}","starred_url":"https://api.github.com/users/chewi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chewi/subscriptions","organizations_url":"https://api.github.com/users/chewi/orgs","repos_url":"https://api.github.com/users/chewi/repos","events_url":"https://api.github.com/users/chewi/events{/privacy}","received_events_url":"https://api.github.com/users/chewi/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":13,"deletions":8,"changed_files":3}}