{"push_id":1061729556,"size":16,"distinct_size":16,"ref":"refs/heads/master","head":"54bd043beddf5438221dc251dc531b007d368e44","before":"bbe794f6da62de83a2d1882f4653edcfe0735593","commits":[{"sha":"88276a890081c7d0a7a4b23073c86440d5b69550","author":{"email":"db58ed4615d8477b9b463e87ce1299cb67e3ddbf@gmail.com","name":"Jonas Arvidsson"},"message":"[Fix #2975] Make comment indentation the same before ),  }, and ]\n\nWe already had special handling of comments before closing curly\r\n\r\nbrace and closing square bracket. Handle a closing round parenthesis\r\n\r\nthe same way, which is that the comment should be indented one step\r\n\r\nmore than the following line.","distinct":true,"url":"https://api.github.com/repos/mikegee/rubocop/commits/88276a890081c7d0a7a4b23073c86440d5b69550"},{"sha":"8ac21ef886b0fe54e4104c1ed0863d61357284c5","author":{"email":"fc38b31f3a30fcf7b1516e2f95c59a2bbf37ab03@gmail.com","name":"Ryan"},"message":"Case when splat\n\n* CaseWhenSplat can now catch splat as any part of the condition\r\n\r\n* Fix new CaseWhenSplat offenses","distinct":true,"url":"https://api.github.com/repos/mikegee/rubocop/commits/8ac21ef886b0fe54e4104c1ed0863d61357284c5"},{"sha":"56c975b59c30851728671657c2fea187cb8779d0","author":{"email":"8396738a26fe54ac4ee55bb21fbf49f0125fd5c5@gmail.com","name":"Gerry"},"message":"Fix reset of encoding after US_ASCII test\n\nThe test originally attempted to reset the encoding after each example\r\n\r\nhowever due to the way let() works, orig_encoding was only set at the\r\n\r\ntime we wish to use it's value.\r\n\r\n\r\n\r\nDue to this flaw the after(:each) call set the encoding to US_ASCII\r\n\r\nagain.","distinct":true,"url":"https://api.github.com/repos/mikegee/rubocop/commits/56c975b59c30851728671657c2fea187cb8779d0"},{"sha":"0ce1dd00f5034ec23275f8bbac862de02c25c7cd","author":{"email":"72983587b9c0659e0b236adfb3d0e84524ad7c78@gmail.com","name":"Ted Johansson"},"message":"Add auto-correct for Style/NestedParenthesizedCalls cop\n\nExample:\r\n\r\n\r\n\r\n```\r\n\r\nexpect(shorten url).to be short_url\r\n\r\n```\r\n\r\n\r\n\r\nwill be auto-corrected to:\r\n\r\n\r\n\r\n```\r\n\r\nexpect(shorten(url)).to be short_url\r\n\r\n```","distinct":true,"url":"https://api.github.com/repos/mikegee/rubocop/commits/0ce1dd00f5034ec23275f8bbac862de02c25c7cd"},{"sha":"3fead1c1be8178d591eea753ac6b96d6c91cf60f","author":{"email":"72983587b9c0659e0b236adfb3d0e84524ad7c78@gmail.com","name":"Ted Johansson"},"message":"Add auto-correct for Style/RaiseArgs cop\n\nThis change adds auto-correct for `Style/RaiseArgs`. Examples:\r\n\r\n\r\n\r\n```\r\n\r\nraise StandardError.new(\"message\")\r\n\r\n```\r\n\r\n\r\n\r\nwill be corrected to:\r\n\r\n\r\n\r\n```\r\n\r\nraise StandardError, \"message\"\r\n\r\n```\r\n\r\n\r\n\r\n... and ...\r\n\r\n\r\n\r\n```\r\n\r\nraise StandardError, \"message\"\r\n\r\nraise StanrardError, arg1, arg2, arg3\r\n\r\n```\r\n\r\n\r\n\r\nwill be corrected to:\r\n\r\n\r\n\r\n```\r\n\r\nraise StandardError.new(\"message\")\r\n\r\nraise StandardError.new(arg1, arg2, arg3)\r\n\r\n```","distinct":true,"url":"https://api.github.com/repos/mikegee/rubocop/commits/3fead1c1be8178d591eea753ac6b96d6c91cf60f"},{"sha":"d75465a6685de7a4029e0aec8d8b41aa5f70f9ed","author":{"email":"72983587b9c0659e0b236adfb3d0e84524ad7c78@gmail.com","name":"Ted Johansson"},"message":"Move the #ternary? predicate method to IfNode module\n\nThis change removes the old method from:\r\n\r\n\r\n\r\n`RuboCop::Cop::Util#ternary_op?`\r\n\r\n\r\n\r\nand moves its functionality into:\r\n\r\n\r\n\r\n`RuboCop::Cop::Mixin::IfNode#ternary?`\r\n\r\n\r\n\r\nIt also replaces all use of the former, as well as all occurences of\r\n\r\ninlined duplication of the logic, with the latter.","distinct":true,"url":"https://api.github.com/repos/mikegee/rubocop/commits/d75465a6685de7a4029e0aec8d8b41aa5f70f9ed"},{"sha":"f370dd29ac071fda87b8ea080064b2a0288a2188","author":{"email":"59083d807cce0a9ec0ade7428d2f64e53139d958@gmail.com","name":"Brad Buchanan"},"message":"Document WordArray rule (#3014)\n\nThe `Style/WordArray` rule and its options were not well documented in the default configuration file.  After doing some digging, I've written some brief documentation for those options.","distinct":true,"url":"https://api.github.com/repos/mikegee/rubocop/commits/f370dd29ac071fda87b8ea080064b2a0288a2188"},{"sha":"792ec222c26eeb4fe7a0f9d816a6001f6e469245","author":{"email":"db58ed4615d8477b9b463e87ce1299cb67e3ddbf@gmail.com","name":"Jonas Arvidsson"},"message":"[Fix #2981] Avoid double trailing comma (#3015)\n\n* [Fix #2981] Do not add double comma when auto-correcting hash arg\r\n\r\nFor the enforced style `comma`, fix the handling\r\nof a braced hash as last method call argument in\r\nStyle/TrailingCommaInArguments. This cop should\r\nnot add a comma after the last argument if that\r\nargument has braces that will be removed by\r\nStyle/BracesAroundHashParameters.\r\n\r\n* Improve test coverage in TrailingComma mixin\r\n\r\nThis case was missing in the specs.","distinct":true,"url":"https://api.github.com/repos/mikegee/rubocop/commits/792ec222c26eeb4fe7a0f9d816a6001f6e469245"},{"sha":"fdf79e3727ce2a0242486291ee8dc968d19ccbd0","author":{"email":"9069d0e8b554bca3df1592c83c498c5cd0661c2e@owenstephens.co.uk","name":"Owen Stephens"},"message":"[Fix #3010] Remove warning/correction duplication (#3011)\n\nBoth `Style/SpaceAfterColon` and `Style/SpaceAroundOperators` were\r\ndetecting the missing space after a colon in a ternary operator, this\r\nled to redundant warnings and corrections. To fix, the ternary handling\r\nfrom `Style/SpaceAfterColon` was removed.","distinct":true,"url":"https://api.github.com/repos/mikegee/rubocop/commits/fdf79e3727ce2a0242486291ee8dc968d19ccbd0"},{"sha":"4592ceb3a15248f0355174fbb7f1fb917036031d","author":{"email":"329f2466b7e4c06e01c258faf9d80e0dcf17cb54@aikais.in","name":"Teemu"},"message":"Reduce Metrics/AbcSize Max to 27 (#2989)\n\n* Reduce complexity in RedundantMerge\r\n\r\nSplit `on_send` into smaller methods.\r\n\r\n* Reduce complexity in CLI\r\n\r\nSplit `RuboCop::CLI#print_cops_of_type` into smaller methods.\r\n\r\n* Reduce complexity in AndOr\r\n\r\nSplit `correct_send` into smaller methods.\r\n\r\n* Reduce complexity in ClangStyleFormatter\r\n\r\nSplit `report_file` into smaller methods.\r\n\r\n* Reduce complexity in ConditionalAssignment\r\n\r\nExtract `extract_branches` from\r\n`RuboCop::Cop::Style::IfCorrector#correct`.\r\n\r\n* Update .rubocop_todo.yml","distinct":true,"url":"https://api.github.com/repos/mikegee/rubocop/commits/4592ceb3a15248f0355174fbb7f1fb917036031d"},{"sha":"52a6314e3e9428ee0d39e22013eac1a4cf14d681","author":{"email":"3d091a8d3f7919497235a90bbba7d28f1b7a5739@gmail.com","name":"Masataka Kuwabara"},"message":"Add missing items into table of contents at README (#2990)","distinct":true,"url":"https://api.github.com/repos/mikegee/rubocop/commits/52a6314e3e9428ee0d39e22013eac1a4cf14d681"},{"sha":"6d6a8952d9aa8a906615aa864f62907a558dfdac","author":{"email":"329f2466b7e4c06e01c258faf9d80e0dcf17cb54@aikais.in","name":"Teemu"},"message":"[Fix #3006] Handle receivers in RedundantMerge (#3007)\n\nMake sure the receiver for `merge!` inside `each_with_object` is a\r\nlocal variable. This prevents the following from crashing:\r\n\r\n    t.each_with_object({}) { |_, r| r[:a].merge!(a: '') }","distinct":true,"url":"https://api.github.com/repos/mikegee/rubocop/commits/6d6a8952d9aa8a906615aa864f62907a558dfdac"},{"sha":"942a409f5a97a8ee5b4828fa149a702df3501ff4","author":{"email":"8396738a26fe54ac4ee55bb21fbf49f0125fd5c5@gmail.com","name":"Gerry"},"message":"Feature fix encoding fatal error (#3000)\n\n* Add test for html generated from a cached result\r\n\r\nThis test also demonstrates a bug \"incompatible character encodings:\r\nUTF-8 and ASCII-8BIT\". This bug only occurs when one of the scanned\r\nfiles contains a certain characters and the offense results are read\r\nfrom cache.\r\n\r\n* Add test to check encoding when using the cache\r\n\r\nThis tests makes sure that loading from the cache returns utf8\r\nencoded strings. Currently the encoding is being changed to\r\nASCII_8BIT and this can result in a fatal error for the end user.\r\n\r\nThis also modifies :location to match the pre cache-load\r\nbehaviour in lib/rubocop/processed_source.rb line 88.\r\n\r\n* Fix encoding crash on HTML output\r\n\r\nIf certain characters were encountered, RuboCop would crash during\r\nthe syntax highlighting stage. This would only happen when the\r\noffense was read from cache.\r\n\r\nWhen offenses are read from cache they come back with an ASCII-8BIT\r\nencoding. Certain characters, such as curly quotes, cause an error\r\nwhen there is an attempt to convert the string back to UTF-8 for\r\noutput to a HTML file.\r\n\r\nThis fix changes the cache serialization so that it generates\r\noffenses in the same way as processed_source.rb, where the source\r\nis assigned instead of being read directly from a file by Parser.\r\n\r\n* Add entry to change log for encoding fix","distinct":true,"url":"https://api.github.com/repos/mikegee/rubocop/commits/942a409f5a97a8ee5b4828fa149a702df3501ff4"},{"sha":"b605551b3fbb26eac618b090968cc0601e596b0c","author":{"email":"9069d0e8b554bca3df1592c83c498c5cd0661c2e@owenstephens.co.uk","name":"Owen Stephens"},"message":"[Fix #2993] Check for space after optional keyword args colon (#2994)","distinct":true,"url":"https://api.github.com/repos/mikegee/rubocop/commits/b605551b3fbb26eac618b090968cc0601e596b0c"},{"sha":"48466c2444392e37ed02626cd75d77ede5781796","author":{"email":"64b2b6d12bfe4baae7dad3d018f8cbf6b0e7a044@paulisageek.com","name":"Paul Tarjan"},"message":"Remove any references to rubocop-todo.yml (#3025)","distinct":true,"url":"https://api.github.com/repos/mikegee/rubocop/commits/48466c2444392e37ed02626cd75d77ede5781796"},{"sha":"54bd043beddf5438221dc251dc531b007d368e44","author":{"email":"27dfa702b5736100b21d1436d073d499e72009ce@batsov.com","name":"Bozhidar Batsov"},"message":"Add missing blank line","distinct":true,"url":"https://api.github.com/repos/mikegee/rubocop/commits/54bd043beddf5438221dc251dc531b007d368e44"}]}