{"push_id":1322680930,"size":2,"distinct_size":0,"ref":"refs/heads/master","head":"e940bd257399d81afc0aeeff88ef31d5a998d8a9","before":"3b23b3d07c9be07da6b2bbbfc1dc1389e1af91d9","commits":[{"sha":"c1f0215a591b3938ff8b06067b9486d3a13ef7da","author":{"name":"Nobuyoshi Nakada","email":"d03bf885ec20d2f20baae2a9540465025efb8cde@ruby-lang.org"},"message":"Fix error message Gem::Security::Policy\n\nInclude the given name of the argument to --trust-policy in the\nerror message when it is invalid.  Get rid of building the message\nunnecessarily.","distinct":false,"url":"https://api.github.com/repos/rubygems/rubygems/commits/c1f0215a591b3938ff8b06067b9486d3a13ef7da"},{"sha":"e940bd257399d81afc0aeeff88ef31d5a998d8a9","author":{"name":"Homu","email":"d19a5ab8a9949b703fb53ed7faafd416a5b1e0ba@barosl.com"},"message":"Auto merge of #1724 - nobu:bug/fix-security-policy-message, r=segiddins\n\nFix error message Gem::Security::Policy\n\n# Description:\n\nWith invalid security policy, an error raises but the message does not show that policy name:\n\n```\n$ gem install --trust-policy Unknown foo\nERROR:  While executing gem ... (OptionParser::InvalidArgument)\n    invalid argument: --trust-policy  (AlmostNoSecurity, HighSecurity, LowSecurity, MediumSecurity, NoSecurity are valid)\n```\n\nThis is because `value` is clobbered before building the error message and always `nil` when the exception raises.","distinct":false,"url":"https://api.github.com/repos/rubygems/rubygems/commits/e940bd257399d81afc0aeeff88ef31d5a998d8a9"}]}
{"actor":{"display_login":"homu"}}