{"push_id":1063534491,"size":2,"distinct_size":2,"ref":"refs/heads/query_objects","head":"f8164f55498a1b6e39c9ce184e9a622ec1318dc9","before":"0e23d5b833f6f48cfeefb1c298cd22d20f9b5fb2","commits":[{"sha":"b69524d956147569ddb527b107ea3c301fb40d02","author":{"email":"e3579b1e47f273529f0f929453e939a68ede9fd1@andypike.com","name":"Andy Pike"},"message":"Add support for `Query#merge` and `Query.merge`\n\nAfter some discussion we decided that some users would prefer a\nslightly different way to compose query objects rather than using the\npipe operator.\n\nThe first option is to use `Query#merge` which is just an alias to `#|`\nand you use it like this:\n\n```\nFirstQuery.new(args).merge(SecondQuery.new)\n```\n\nWe also considered the case when users want to composed a longer list\nof queries and would like to format their code over multiple lines. For\nthat use case we now provide the class method `Query.merge` that takes a\nlist of queries and merges them all together:\n\n```\ncombined = Rectify::Query.merge(\n  FirstQuery.new(args),\n  SecondQuery.new,\n  AnotherQuery.new\n)\n```","distinct":true,"url":"https://api.github.com/repos/andypike/rectify/commits/b69524d956147569ddb527b107ea3c301fb40d02"},{"sha":"f8164f55498a1b6e39c9ce184e9a622ec1318dc9","author":{"email":"e3579b1e47f273529f0f929453e939a68ede9fd1@andypike.com","name":"Andy Pike"},"message":"Ensure that the database spec reporter doesn't raise if there are no queries","distinct":true,"url":"https://api.github.com/repos/andypike/rectify/commits/f8164f55498a1b6e39c9ce184e9a622ec1318dc9"}]}