{"action":"created","issue":{"url":"https://api.github.com/repos/jazzband/inflect/issues/72","repository_url":"https://api.github.com/repos/jazzband/inflect","labels_url":"https://api.github.com/repos/jazzband/inflect/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/jazzband/inflect/issues/72/comments","events_url":"https://api.github.com/repos/jazzband/inflect/issues/72/events","html_url":"https://github.com/jazzband/inflect/pull/72","id":391406534,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4OTI5MDEz","number":72,"title":"Fix usage of `inflect()` in README","user":{"login":"shello","id":30915,"node_id":"MDQ6VXNlcjMwOTE1","avatar_url":"https://avatars1.githubusercontent.com/u/30915?v=4","gravatar_id":"","url":"https://api.github.com/users/shello","html_url":"https://github.com/shello","followers_url":"https://api.github.com/users/shello/followers","following_url":"https://api.github.com/users/shello/following{/other_user}","gists_url":"https://api.github.com/users/shello/gists{/gist_id}","starred_url":"https://api.github.com/users/shello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shello/subscriptions","organizations_url":"https://api.github.com/users/shello/orgs","repos_url":"https://api.github.com/users/shello/repos","events_url":"https://api.github.com/users/shello/events{/privacy}","received_events_url":"https://api.github.com/users/shello/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-15T19:48:42Z","updated_at":"2018-12-15T19:52:11Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/jazzband/inflect/pulls/72","html_url":"https://github.com/jazzband/inflect/pull/72","diff_url":"https://github.com/jazzband/inflect/pull/72.diff","patch_url":"https://github.com/jazzband/inflect/pull/72.patch"},"body":"The usage of the string interpolation method `inflect()` was not\r\nupdated with the change in 8b164396, and thus none of the examples\r\nworked as intended:\r\n\r\n    >>> import inflect\r\n    >>> p = inflect.engine()\r\n    >>> word = 'leaf'\r\n    >>>\r\n    >>> print(p.inflect(\"The plural of {0} is plural({0})\".format(word)))\r\n    Traceback (most recent call last):\r\n      ...\r\n      File \"/app/inflect/inflect.py\", line 2132, in _get_value_from_ast\r\n        raise NameError(\"name '%s' is not defined\" % obj.id)\r\n    NameError: name 'leaf' is not defined\r\n    >>>\r\n    >>> print(p.inflect(\"The plural of {0} is plural('{0}')\".format(word)))\r\n    The plural of leaf is leaves\r\n\r\nThis change adds single quotes (for readability) on all examples of\r\n`infect()` in README."},"comment":{"url":"https://api.github.com/repos/jazzband/inflect/issues/comments/447593536","html_url":"https://github.com/jazzband/inflect/pull/72#issuecomment-447593536","issue_url":"https://api.github.com/repos/jazzband/inflect/issues/72","id":447593536,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzU5MzUzNg==","user":{"login":"coveralls","id":2354108,"node_id":"MDQ6VXNlcjIzNTQxMDg=","avatar_url":"https://avatars1.githubusercontent.com/u/2354108?v=4","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2018-12-15T19:52:11Z","updated_at":"2018-12-15T19:52:11Z","author_association":"NONE","body":"## Pull Request Test Coverage Report for [Build 110](https://coveralls.io/builds/20655365)\n\n* **0** of **0**   changed or added relevant lines in **0** files are covered.\n* No unchanged relevant lines lost coverage.\n* Overall coverage remained the same at **99.134%**\n\n---\n\n\n\n|  Totals | [![Coverage Status](https://coveralls.io/builds/20655365/badge)](https://coveralls.io/builds/20655365) |\n| :-- | --: |\n| Change from base [Build 107](https://coveralls.io/builds/20058206): |  0.0% |\n| Covered Lines: | 1145 |\n| Relevant Lines: | 1155 |\n\n---\n##### 💛  - [Coveralls](https://coveralls.io)\n"}}
{"actor":{"display_login":"coveralls"}}