scribe/spec/classes
Edward Loveall f05a12a880
Add support for missing posts
Posts, like 8661f4724aa9, can go missing if the account or post was
removed. In this case, the API returns data like this:

```json
{
  "data": {
    "post": null
  }
}
```

When this happens, we can detect it because the parsed response now has
a nil value: `response.data.post == nil` and construct an `EmptyPage`
instead of a `Page`. The `Articles::Show` action can then render
conditionally based on if the response from `PageConverter` is a `Page`
or an `EmptyPage`.
2022-06-17 16:00:01 -04:00
..
article_id_parser_spec.cr Fix article ID parsing bug 2022-02-13 21:07:50 -05:00
embedded_converter_spec.cr Proxy GitHub gists with rate limiting 2022-01-23 15:05:46 -05:00
gist_scanner_spec.cr Proxy GitHub gists with rate limiting 2022-01-23 15:05:46 -05:00
gist_store_spec.cr Proxy GitHub gists with rate limiting 2022-01-23 15:05:46 -05:00
markup_converter_spec.cr Fix markup errors caused by UTF-16/8 differences 2022-01-30 11:53:22 -05:00
page_converter_spec.cr Add support for missing posts 2022-06-17 16:00:01 -04:00
paragraph_converter_spec.cr Proxy GitHub gists with rate limiting 2022-01-23 15:05:46 -05:00
rate_limited_gist_store_spec.cr Proxy GitHub gists with rate limiting 2022-01-23 15:05:46 -05:00