{"push_id":1008659646,"size":5,"distinct_size":5,"ref":"refs/heads/issue/pup-5902/type-mismatch-expand-alias","head":"ec597c48efe6b62906c56934c17ebb71b6f97fe5","before":"a1f8c6a9aba613a9a07647bf17b989b523a1f61e","commits":[{"sha":"8ee2f0bf12739b27a173a1bdc91395b289275d31","author":{"email":"5f50a84c1fa3bcff146405017f36aec1a10a9e38@tada.se","name":"Thomas Hallgren"},"message":"(PUP-5902) Move types_setup rspec context to shared_contexts\n\nThis commit moves the shared context \"types_setup\" from the unit test\nfile for TypeCalculator into a file of its own under \"shared_contexts\".","distinct":true,"url":"https://api.github.com/repos/thallgren/puppet/commits/8ee2f0bf12739b27a173a1bdc91395b289275d31"},{"sha":"706d6651f04c05a706a2a8290edd4883d46c6cfa","author":{"email":"5f50a84c1fa3bcff146405017f36aec1a10a9e38@tada.se","name":"Thomas Hallgren"},"message":"(PUP-5902) Move stringifying of Puppet types to a separate class\n\nBefore this commit, the TypeCalculator was responsible for creating a\nstring from a type in the Puppet type system. This commit moves this\nresponsibility to a separate TypeStringifier class.\n\nThe commit also changes the logic so that formatting of arrays and\nhashes are moved to a common place. The intention is to make it easier\nto add different types of formatting such as 'compact' or 'pretty'.\n\nA minor bug in 'debug_string' is also fixed in this transition. The\nold implementation would only output strings at the top level in debug\nformat while types nested in other types would still be output using the\nnormal 'string' method and hence without debug info. Now the debug\nformat is retained when stringifying contained types.","distinct":true,"url":"https://api.github.com/repos/thallgren/puppet/commits/706d6651f04c05a706a2a8290edd4883d46c6cfa"},{"sha":"d43f145049d692fbf46499864b4a958ed049fd65","author":{"email":"5f50a84c1fa3bcff146405017f36aec1a10a9e38@tada.se","name":"Thomas Hallgren"},"message":"(PUP-5902) Change all references to TypeCalculator.string\n\nThis commit changes all references to the now deprecated\nTypeCalculator#string to either a simple #to_s on the actual type\ninstance or to use the new TypeStringifier#string.","distinct":true,"url":"https://api.github.com/repos/thallgren/puppet/commits/d43f145049d692fbf46499864b4a958ed049fd65"},{"sha":"412b29a65185fae640406a431ed781d4f5b7a41d","author":{"email":"5f50a84c1fa3bcff146405017f36aec1a10a9e38@tada.se","name":"Thomas Hallgren"},"message":"(PUP-5902) Make Type stringifier use white space more consistently\n\nThe type stringifier consistently adds a white space after each comma\nbut it does not use white space when it outputs the '=>' operator. This\ncommit ensures that the '=>' is surrounded by whitespace.\n\nLater, we might want to consider using different modes. One that is\ncompact (no whitespace anywhere), one semi-compact (what this commit\nprovides) and one that uses pretty formatting with newlines and indents.","distinct":true,"url":"https://api.github.com/repos/thallgren/puppet/commits/412b29a65185fae640406a431ed781d4f5b7a41d"},{"sha":"ec597c48efe6b62906c56934c17ebb71b6f97fe5","author":{"email":"5f50a84c1fa3bcff146405017f36aec1a10a9e38@tada.se","name":"Thomas Hallgren"},"message":"(PUP-5902) Output type alias mismatches with aliased type\n\nBefore this commit, a type alias would simply be output as the name of\nthe alias in a type mismatch. This is now changed so that an alias\nis output as A=T where A is the name of the alias and T is the type\nthat it represents. The change applies is also applied to aliases\nnested inside of other types.","distinct":true,"url":"https://api.github.com/repos/thallgren/puppet/commits/ec597c48efe6b62906c56934c17ebb71b6f97fe5"}]}