{"action":"created","issue":{"url":"https://api.github.com/repos/unexpectedjs/unexpected/issues/320","repository_url":"https://api.github.com/repos/unexpectedjs/unexpected","labels_url":"https://api.github.com/repos/unexpectedjs/unexpected/issues/320/labels{/name}","comments_url":"https://api.github.com/repos/unexpectedjs/unexpected/issues/320/comments","events_url":"https://api.github.com/repos/unexpectedjs/unexpected/issues/320/events","html_url":"https://github.com/unexpectedjs/unexpected/pull/320","id":165069018,"node_id":"MDExOlB1bGxSZXF1ZXN0NzcxMTE3NjQ=","number":320,"title":"Truncate subject within begin and end with assertions","user":{"login":"alexjeffburke","id":721814,"node_id":"MDQ6VXNlcjcyMTgxNA==","avatar_url":"https://avatars0.githubusercontent.com/u/721814?v=4","gravatar_id":"","url":"https://api.github.com/users/alexjeffburke","html_url":"https://github.com/alexjeffburke","followers_url":"https://api.github.com/users/alexjeffburke/followers","following_url":"https://api.github.com/users/alexjeffburke/following{/other_user}","gists_url":"https://api.github.com/users/alexjeffburke/gists{/gist_id}","starred_url":"https://api.github.com/users/alexjeffburke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexjeffburke/subscriptions","organizations_url":"https://api.github.com/users/alexjeffburke/orgs","repos_url":"https://api.github.com/users/alexjeffburke/repos","events_url":"https://api.github.com/users/alexjeffburke/events{/privacy}","received_events_url":"https://api.github.com/users/alexjeffburke/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-07-12T12:34:16Z","updated_at":"2018-09-01T10:48:14Z","closed_at":"2018-09-01T10:48:14Z","author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/unexpectedjs/unexpected/pulls/320","html_url":"https://github.com/unexpectedjs/unexpected/pull/320","diff_url":"https://github.com/unexpectedjs/unexpected/pull/320.diff","patch_url":"https://github.com/unexpectedjs/unexpected/pull/320.patch"},"body":"Hey,\n\nThis is my first attempt at doing this - feedback both requested and very welcome.\n\nI might have gone a little overboard, the the current implementation details are as follows:\nThis commit uses 25 characters of context beyond the length of the prefix/suffix respectively. Should the subject be longer than the needle + 25, it is shortened. I implemented a slightly more intelligent truncation where it searches those additional 25 characters for a space and breaks there if found. The partialMatch is also updated to show a truncated version of the subject.\n\nI'm conscious this is my first submission to a core assertion and am more than willing to rework this. Looking forward to your thoughts.\n\nAJB\n"},"comment":{"url":"https://api.github.com/repos/unexpectedjs/unexpected/issues/comments/417850177","html_url":"https://github.com/unexpectedjs/unexpected/pull/320#issuecomment-417850177","issue_url":"https://api.github.com/repos/unexpectedjs/unexpected/issues/320","id":417850177,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzg1MDE3Nw==","user":{"login":"alexjeffburke","id":721814,"node_id":"MDQ6VXNlcjcyMTgxNA==","avatar_url":"https://avatars0.githubusercontent.com/u/721814?v=4","gravatar_id":"","url":"https://api.github.com/users/alexjeffburke","html_url":"https://github.com/alexjeffburke","followers_url":"https://api.github.com/users/alexjeffburke/followers","following_url":"https://api.github.com/users/alexjeffburke/following{/other_user}","gists_url":"https://api.github.com/users/alexjeffburke/gists{/gist_id}","starred_url":"https://api.github.com/users/alexjeffburke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexjeffburke/subscriptions","organizations_url":"https://api.github.com/users/alexjeffburke/orgs","repos_url":"https://api.github.com/users/alexjeffburke/repos","events_url":"https://api.github.com/users/alexjeffburke/events{/privacy}","received_events_url":"https://api.github.com/users/alexjeffburke/received_events","type":"User","site_admin":false},"created_at":"2018-09-01T10:48:14Z","updated_at":"2018-09-01T10:48:14Z","author_association":"COLLABORATOR","body":"This PR is replaced by https://github.com/unexpectedjs/unexpected/pull/504."}}
{"actor":{"display_login":"alexjeffburke"}}