{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":59509,"defaultBranch":"main","name":"mocha","ownerLogin":"freerange","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2008-10-04T13:34:25.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/61936?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1718562328.0","currentOid":""},"activityList":{"items":[{"before":"c973ca53a7e05d39b2dafe7e1674205ed6faf381","after":"5a3a208ecaee9c4dce7cc38313b543704f0aa3ad","ref":"refs/heads/main","pushedAt":"2024-06-16T18:25:04.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"floehopper","name":"James Mead","path":"/floehopper","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3169?s=80&v=4"},"commit":{"message":"[skip ci] Update documentation for v2.4.0","shortMessageHtmlLink":"[skip ci] Update documentation for v2.4.0"}},{"before":"4ea9e38dff37901ca918707ab74870f5b3c52742","after":"c973ca53a7e05d39b2dafe7e1674205ed6faf381","ref":"refs/heads/main","pushedAt":"2024-06-16T18:22:01.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"floehopper","name":"James Mead","path":"/floehopper","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3169?s=80&v=4"},"commit":{"message":"Bump version to 2.4.0 & prepare for release","shortMessageHtmlLink":"Bump version to 2.4.0 & prepare for release"}},{"before":"19a3d21c959d61ff343d105cbc1378dca66f13de","after":"4ea9e38dff37901ca918707ab74870f5b3c52742","ref":"refs/heads/main","pushedAt":"2024-06-16T12:19:35.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"floehopper","name":"James Mead","path":"/floehopper","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3169?s=80&v=4"},"commit":{"message":"Improve rendering of keyword arguments\n\nUsing the `=>` for them was a bit confusing.\n\nThe string representation of the keyword hash `{a: true, b: 'c'}` is\nnow 'a: true, b: \"c\"' instead of ':a => true, :b => \"c\"'.\n\nOne reason (perhaps the only reason?) we didn't make this change when we\nintroduced keyword argument matching was the theoretical edge case where\na keyword-style hash could have a non-symbol key.\n\nHowever, the changes in this commit handle that scenario while still\nrendering a less-confusing string representation of a keyword hash in\nthe most common scenario where the keys are all symbols.","shortMessageHtmlLink":"Improve rendering of keyword arguments"}},{"before":"c9a1b1d0f50e17aae8605a015832b758d936951d","after":null,"ref":"refs/heads/keyword-arguments-rendering","pushedAt":"2024-06-16T12:19:35.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"floehopper","name":"James Mead","path":"/floehopper","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3169?s=80&v=4"}},{"before":"ec32a9c3997808b44e74f8122af37e59bbc55904","after":"c9a1b1d0f50e17aae8605a015832b758d936951d","ref":"refs/heads/keyword-arguments-rendering","pushedAt":"2024-06-16T12:16:50.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"floehopper","name":"James Mead","path":"/floehopper","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3169?s=80&v=4"},"commit":{"message":"Improve rendering of keyword arguments\n\nUsing the `=>` for them was a bit confusing.\n\nThe string representation of the keyword hash `{a: true, b: 'c'}` is\nnow 'a: true, b: \"c\"' instead of ':a => true, :b => \"c\"'.\n\nOne reason (perhaps the only reason?) we didn't make this change when we\nintroduced keyword argument matching was the theoretical edge case where\na keyword-style hash could have a non-symbol key.\n\nHowever, the changes in this commit handle that scenario while still\nrendering a less-confusing string representation of a keyword hash in\nthe most common scenario where the keys are all symbols.","shortMessageHtmlLink":"Improve rendering of keyword arguments"}},{"before":"97a40c48938996743efd1b731c5a4912d553181a","after":"ec32a9c3997808b44e74f8122af37e59bbc55904","ref":"refs/heads/keyword-arguments-rendering","pushedAt":"2024-06-16T12:13:42.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"floehopper","name":"James Mead","path":"/floehopper","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3169?s=80&v=4"},"commit":{"message":"Improve rendering of keyword arguments\n\nUsing the `=>` for them was a bit confusing.\n\nOne reason (perhaps the only reason?) we didn't make this change when we\nintroduced keyword argument matching was the theoretical edge case where\na keyword-style hash could have a non-symbol key.\n\nHowever, the changes in this commit handle that scenario while still\nrendering a less-confusing string representation of a keyword hash in\nthe most common scenario where the keys are all symbols.","shortMessageHtmlLink":"Improve rendering of keyword arguments"}},{"before":null,"after":"97a40c48938996743efd1b731c5a4912d553181a","ref":"refs/heads/keyword-arguments-rendering","pushedAt":"2024-06-16T12:08:00.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"floehopper","name":"James Mead","path":"/floehopper","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3169?s=80&v=4"},"commit":{"message":"Improve rendering of keyword arguments\n\nUsing the `=>` for them is a bit confusing in my opinion.","shortMessageHtmlLink":"Improve rendering of keyword arguments"}},{"before":"be443e354fb0e86ecbff37d1fe42cc09d5ecb6cf","after":null,"ref":"refs/heads/improvements-to-mocha-inspect-unit-tests","pushedAt":"2024-06-16T11:48:53.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"floehopper","name":"James Mead","path":"/floehopper","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3169?s=80&v=4"}},{"before":"a50f9e547796ebbb853c19d03697879c4210f125","after":"19a3d21c959d61ff343d105cbc1378dca66f13de","ref":"refs/heads/main","pushedAt":"2024-06-16T11:48:52.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"floehopper","name":"James Mead","path":"/floehopper","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3169?s=80&v=4"},"commit":{"message":"Improve unit tests for Hash#mocha_inspect\n\nI can't work out what the origins of the\n`test_should_keep_spacing_between_key_value` test name was and I don't\nthink it's very helpful, so I have renamed it.\n\nI suspect the `test_should_use_mocha_inspect_on_each_item` test name was\ncopied from `ArrayInspectTest`. The idea of an item doesn't make so much\nsense for a `Hash` and so I have renamed it to make things clearer.\n\nI've also added a unit test for the behaviour for a keyword hash.\nAlthough this behaviour is well-covered by acceptance tests, I think\nthat adding this is worthwhile.","shortMessageHtmlLink":"Improve unit tests for Hash#mocha_inspect"}},{"before":"92a9021b60a738b9d8bb007a526e0976d104f3c1","after":"be443e354fb0e86ecbff37d1fe42cc09d5ecb6cf","ref":"refs/heads/improvements-to-mocha-inspect-unit-tests","pushedAt":"2024-06-16T11:47:11.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"floehopper","name":"James Mead","path":"/floehopper","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3169?s=80&v=4"},"commit":{"message":"Improve unit tests for Hash#mocha_inspect\n\nI can't work out what the origins of the\n`test_should_keep_spacing_between_key_value` test name was and I don't\nthink it's very helpful, so I have renamed it.\n\nI suspect the `test_should_use_mocha_inspect_on_each_item` test name was\ncopied from `ArrayInspectTest`. The idea of an item doesn't make so much\nsense for a `Hash` and so I have renamed it to make things clearer.\n\nI've also added a unit test for the behaviour for a keyword hash.\nAlthough this behaviour is well-covered by acceptance tests, I think\nthat adding this is worthwhile.","shortMessageHtmlLink":"Improve unit tests for Hash#mocha_inspect"}},{"before":null,"after":"92a9021b60a738b9d8bb007a526e0976d104f3c1","ref":"refs/heads/improvements-to-mocha-inspect-unit-tests","pushedAt":"2024-06-16T11:45:19.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"floehopper","name":"James Mead","path":"/floehopper","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3169?s=80&v=4"},"commit":{"message":"Improve unit tests for Hash#mocha_inspect\n\nI can't work out what the origins of the\n`test_should_keep_spacing_between_key_value` test name was and I don't\nthink it's very helpful, so I have renamed it.\n\nI suspect the `test_should_use_mocha_inspect_on_each_item` test name was\ncopied from `ArrayInspectTest`. The idea of an item doesn't make so much\nsense for a `Hash` and so I have renamed it to make things clearer.\n\nI've also added a unit test for the behaviour for a keyword hash.\nAlthough this behaviour is well-covered by acceptance tests, I think\nthat adding this is worthwhile.","shortMessageHtmlLink":"Improve unit tests for Hash#mocha_inspect"}},{"before":"49750a3cb3b24d141d95b099a02f9b35830f0920","after":"a50f9e547796ebbb853c19d03697879c4210f125","ref":"refs/heads/main","pushedAt":"2024-05-17T16:30:24.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"floehopper","name":"James Mead","path":"/floehopper","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3169?s=80&v=4"},"commit":{"message":"[skip ci] Update documentation for v2.3.0","shortMessageHtmlLink":"[skip ci] Update documentation for v2.3.0"}},{"before":"f94e250414335d822ec8d0a1331cb25cf90bf837","after":"49750a3cb3b24d141d95b099a02f9b35830f0920","ref":"refs/heads/main","pushedAt":"2024-05-17T16:27:57.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"floehopper","name":"James Mead","path":"/floehopper","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3169?s=80&v=4"},"commit":{"message":"Bump version to 2.3.0 & prepare for release","shortMessageHtmlLink":"Bump version to 2.3.0 & prepare for release"}},{"before":"290f781ed8c5ec28decf59529897ab539f24188e","after":null,"ref":"refs/heads/fix-nested-parameter-matching-for-keyword-arguments","pushedAt":"2024-05-17T16:23:14.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"floehopper","name":"James Mead","path":"/floehopper","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3169?s=80&v=4"}},{"before":"5324009b296939c0a0da9d05c13b823a6dceb643","after":"f94e250414335d822ec8d0a1331cb25cf90bf837","ref":"refs/heads/main","pushedAt":"2024-05-17T16:23:13.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"floehopper","name":"James Mead","path":"/floehopper","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3169?s=80&v=4"},"commit":{"message":"Fix nested parameter matching for keyword arguments\n\nPreviously, parameter matching for keyword arguments only worked when\nthe matchers specified the exact value of each argument. This change\nmeans that we make use of the `HasEntries` matcher to ensure that any\nmatchers for each of the keyword arguments are also taken into account.\n\nFixes #647.","shortMessageHtmlLink":"Fix nested parameter matching for keyword arguments"}},{"before":"d6375ae4e327e5ccc3093734ad4ba54be736008e","after":"290f781ed8c5ec28decf59529897ab539f24188e","ref":"refs/heads/fix-nested-parameter-matching-for-keyword-arguments","pushedAt":"2024-05-16T21:29:02.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"floehopper","name":"James Mead","path":"/floehopper","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3169?s=80&v=4"},"commit":{"message":"Fix nested parameter matching for keyword arguments\n\nPreviously, parameter matching for keyword arguments only worked when\nthe matchers specified the exact value of each argument. This change\nmeans that we make use of the `HasEntries` matcher to ensure that any\nmatchers for each of the keyword arguments are also taken into account.\n\nFixes #647.","shortMessageHtmlLink":"Fix nested parameter matching for keyword arguments"}},{"before":null,"after":"d6375ae4e327e5ccc3093734ad4ba54be736008e","ref":"refs/heads/fix-nested-parameter-matching-for-keyword-arguments","pushedAt":"2024-05-16T09:00:34.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"floehopper","name":"James Mead","path":"/floehopper","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3169?s=80&v=4"},"commit":{"message":"WIP: Fix nested paramter matching for kwargs","shortMessageHtmlLink":"WIP: Fix nested paramter matching for kwargs"}},{"before":"9d2b88ef018cdd988a0d97507615af79b925924c","after":"5324009b296939c0a0da9d05c13b823a6dceb643","ref":"refs/heads/main","pushedAt":"2024-04-10T08:24:08.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"floehopper","name":"James Mead","path":"/floehopper","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3169?s=80&v=4"},"commit":{"message":"[skip ci] Update documentation for v2.2.0","shortMessageHtmlLink":"[skip ci] Update documentation for v2.2.0"}},{"before":"ca3ff8ebff9fca17fa6a602725e050d27812ba91","after":null,"ref":"refs/heads/improve-expired-error","pushedAt":"2024-04-10T08:03:19.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"floehopper","name":"James Mead","path":"/floehopper","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3169?s=80&v=4"}},{"before":"85848fb07216464f4a100428110ed5885e922613","after":"9d2b88ef018cdd988a0d97507615af79b925924c","ref":"refs/heads/main","pushedAt":"2024-04-10T08:03:18.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"floehopper","name":"James Mead","path":"/floehopper","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3169?s=80&v=4"},"commit":{"message":"Include the original test name in expired stub error messages\n\nIt is currently very hard to track down such leaked stubs, when\nthey happen, as they might be created in one test and cause an\nexception dozens of tests later.\n\nBy including the name of the test that invalidated them, it makes\nthe debugging process a bit easier.\n\nNote, I made `setup` also accept the current test instance purely\nfor consistency with `teardown` but it's not strictly necessary.","shortMessageHtmlLink":"Include the original test name in expired stub error messages"}},{"before":"9062645d59f4d2fd5145c62bbe8aa14c10577ae0","after":"ca3ff8ebff9fca17fa6a602725e050d27812ba91","ref":"refs/heads/improve-expired-error","pushedAt":"2024-04-10T08:00:45.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"floehopper","name":"James Mead","path":"/floehopper","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3169?s=80&v=4"},"commit":{"message":"Include the original test name in expired stub error messages\n\nIt is currently very hard to track down such leaked stubs, when\nthey happen, as they might be created in one test and cause an\nexception dozens of tests later.\n\nBy including the name of the test that invalidated them, it makes\nthe debugging process a bit easier.\n\nNote, I made `setup` also accept the current test instance purely\nfor consistency with `teardown` but it's not strictly necessary.","shortMessageHtmlLink":"Include the original test name in expired stub error messages"}},{"before":"2e06b98bdcd5363e42fd85f696ca7ed6cf37efc7","after":"9062645d59f4d2fd5145c62bbe8aa14c10577ae0","ref":"refs/heads/improve-expired-error","pushedAt":"2024-04-10T07:59:25.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"floehopper","name":"James Mead","path":"/floehopper","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3169?s=80&v=4"},"commit":{"message":"Add integration test for leaky mock\n\nThis seems worthwhile now that more behaviour is in the two test library\nadapters.","shortMessageHtmlLink":"Add integration test for leaky mock"}},{"before":null,"after":"2e06b98bdcd5363e42fd85f696ca7ed6cf37efc7","ref":"refs/heads/improve-expired-error","pushedAt":"2024-04-10T07:49:41.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"floehopper","name":"James Mead","path":"/floehopper","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3169?s=80&v=4"},"commit":{"message":"Add integration test for leaky mock\n\nThis seems worthwhile now that more behaviour is in the two test library\nadapters.","shortMessageHtmlLink":"Add integration test for leaky mock"}},{"before":"ce31b544ca765b930db1dcbb02570863bc7c24eb","after":"85848fb07216464f4a100428110ed5885e922613","ref":"refs/heads/main","pushedAt":"2024-04-09T08:17:49.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"floehopper","name":"James Mead","path":"/floehopper","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3169?s=80&v=4"},"commit":{"message":"Drop support for Ruby v2.0\n\nRecently the image that the CircleCI builds were using has stopped\nworking [1]. I don't have time to dig into that and in any case Ruby\nv2.0 has been EOL since 2016-02-24 [2], so regrettably I'm going to drop\nsupport.\n\nCloses #642.\n\n[1]: https://app.circleci.com/pipelines/github/freerange/mocha/494/workflows/8d9720cf-6dd7-4c4b-a072-4d0978edbb25/jobs/7120\n[2]: https://www.ruby-lang.org/en/downloads/branches/","shortMessageHtmlLink":"Drop support for Ruby v2.0"}},{"before":"a74f41b32ccf66a542b71b1e98f02ec2560d9c09","after":null,"ref":"refs/heads/drop-support-for-ruby-v2.0","pushedAt":"2024-04-09T08:17:49.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"floehopper","name":"James Mead","path":"/floehopper","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3169?s=80&v=4"}},{"before":"03e13d146984733932f700a7c889943c80518103","after":"a74f41b32ccf66a542b71b1e98f02ec2560d9c09","ref":"refs/heads/drop-support-for-ruby-v2.0","pushedAt":"2024-04-09T08:09:02.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"floehopper","name":"James Mead","path":"/floehopper","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3169?s=80&v=4"},"commit":{"message":"Drop support for Ruby v2.0\n\nRecently the image that the CircleCI builds were using has stopped\nworking [1]. I don't have time to dig into that and in any case Ruby\nv2.0 has been EOL since 2016-02-24 [2], so regrettably I'm going to drop\nsupport.\n\nCloses #642.\n\n[1]: https://app.circleci.com/pipelines/github/freerange/mocha/494/workflows/8d9720cf-6dd7-4c4b-a072-4d0978edbb25/jobs/7120\n[2]: https://www.ruby-lang.org/en/downloads/branches/","shortMessageHtmlLink":"Drop support for Ruby v2.0"}},{"before":null,"after":"03e13d146984733932f700a7c889943c80518103","ref":"refs/heads/drop-support-for-ruby-v2.0","pushedAt":"2024-04-09T08:08:21.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"floehopper","name":"James Mead","path":"/floehopper","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3169?s=80&v=4"},"commit":{"message":"Drop support for Ruby v2.0\n\nRecently the image that the CircleCI builds were using has stopped\nworking [1]. I don't have time to dig into that and in any case Ruby\nv2.0 has been EOL since 2016-02-24 [2], so regrettably I'm going to drop\nsupport.\n\n[1]: https://app.circleci.com/pipelines/github/freerange/mocha/494/workflows/8d9720cf-6dd7-4c4b-a072-4d0978edbb25/jobs/7120\n[2]: https://www.ruby-lang.org/en/downloads/branches/","shortMessageHtmlLink":"Drop support for Ruby v2.0"}},{"before":"50301b0f3046d22361b59af66c263c15adbf6b9e","after":"f86107436a083f5f6ec1d83dfa7ceef628be9d43","ref":"refs/heads/foo","pushedAt":"2024-01-01T14:34:20.000Z","pushType":"push","commitsCount":8,"pusher":{"login":"floehopper","name":"James Mead","path":"/floehopper","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3169?s=80&v=4"},"commit":{"message":"Inline StubbedMethod sub-classes: InstanceMethod & AnyInstanceMethod\n\nThis leaves some of the unit tests in a bit of a mess, but hopefully I\ncan clean them up or remove them later.","shortMessageHtmlLink":"Inline StubbedMethod sub-classes: InstanceMethod & AnyInstanceMethod"}},{"before":"503e2243cc9623fc3f2dc6d682bc34ddb8037e7f","after":"50301b0f3046d22361b59af66c263c15adbf6b9e","ref":"refs/heads/foo","pushedAt":"2023-12-28T18:04:29.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"floehopper","name":"James Mead","path":"/floehopper","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3169?s=80&v=4"},"commit":{"message":"Consistently use parentheses in StubbedMethod#stub","shortMessageHtmlLink":"Consistently use parentheses in StubbedMethod#stub"}},{"before":null,"after":"503e2243cc9623fc3f2dc6d682bc34ddb8037e7f","ref":"refs/heads/foo","pushedAt":"2023-12-28T18:01:11.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"floehopper","name":"James Mead","path":"/floehopper","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3169?s=80&v=4"},"commit":{"message":"Consistently use parentheses in StubbedMethod#stub","shortMessageHtmlLink":"Consistently use parentheses in StubbedMethod#stub"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEZsHtzwA","startCursor":null,"endCursor":null}},"title":"Activity ยท freerange/mocha"}