{"push_id":975124771,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"2cc6af20b4295ba31b10560788590401b5e1eec0","before":"b69fdc0b319ed5099272ab41db7133ca091227a9","commits":[{"sha":"6518a176a50bd35149aaec0828e4210ff87f2fe4","author":{"email":"825ddce82843096db002ecb0b26a7a8482b7304a@gmail.com","name":"Guilherme J. Tramontina"},"message":"String: handle printf's dynamic width and precision\n\nWidth field:\n------------\n\nThe Width field specifies a minimum number of characters to output, and\nis typically used to pad fixed-width fields in tabulated output, where\nthe fields would otherwise be smaller, although it does not cause\ntruncation of oversized fields.\n\nThe width field may be omitted, or a numeric integer value, or a dynamic\nvalue when passed as another argument when indicated by an asterisk \"`*`\".\nFor example, `printf(\"%*d\", 5, 10)` will result in \"`   10`\" being printed,\nwith a total width of 5 characters.\n\nThough not part of the width field, a leading zero is interpreted as the\nzero-padding flag mentioned above, and a negative value is treated as\nthe positive value in conjunction with the left-alignment \"`-`\" flag also\nmentioned above.\n\nPrecision field:\n----------------\n\nThe Precision field usually specifies a maximum limit on the output,\ndepending on the particular formatting type. For floating point numeric\ntypes, it specifies the number of digits to the right of the decimal\npoint that the output should be rounded. For the string type, it limits\nthe number of characters that should be output, after which the string\nis truncated.\n\nThe precision field may be omitted, or a numeric integer value, or a\ndynamic value when passed as another argument when indicated by an\nasterisk \"`*`\". For example, `printf(\"%.*s\", 3, \"abcdef\")` will result in\n\"`abc`\" being printed.\n\n-- Source: https://en.wikipedia.org/wiki/Printf_format_string\n\nCloses #2137","distinct":true,"url":"https://api.github.com/repos/manastech/crystal/commits/6518a176a50bd35149aaec0828e4210ff87f2fe4"},{"sha":"2cc6af20b4295ba31b10560788590401b5e1eec0","author":{"email":"5698df8edd0a5db33ac79bb82c4375037d6fad37@manas.com.ar","name":"Ary Borenszweig"},"message":"Merge pull request #2143 from gtramontina/fix-2137\n\nString: handle printf's dynamic width and precision","distinct":true,"url":"https://api.github.com/repos/manastech/crystal/commits/2cc6af20b4295ba31b10560788590401b5e1eec0"}]}