{"action":"created","issue":{"url":"https://api.github.com/repos/simonc/memfs/issues/21","repository_url":"https://api.github.com/repos/simonc/memfs","labels_url":"https://api.github.com/repos/simonc/memfs/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/simonc/memfs/issues/21/comments","events_url":"https://api.github.com/repos/simonc/memfs/issues/21/events","html_url":"https://github.com/simonc/memfs/pull/21","id":158358737,"number":21,"title":"Support Dir.glob with Pathname.","user":{"login":"craigw","id":1540,"avatar_url":"https://avatars.githubusercontent.com/u/1540?v=3","gravatar_id":"","url":"https://api.github.com/users/craigw","html_url":"https://github.com/craigw","followers_url":"https://api.github.com/users/craigw/followers","following_url":"https://api.github.com/users/craigw/following{/other_user}","gists_url":"https://api.github.com/users/craigw/gists{/gist_id}","starred_url":"https://api.github.com/users/craigw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigw/subscriptions","organizations_url":"https://api.github.com/users/craigw/orgs","repos_url":"https://api.github.com/users/craigw/repos","events_url":"https://api.github.com/users/craigw/events{/privacy}","received_events_url":"https://api.github.com/users/craigw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-03T12:43:42Z","updated_at":"2016-06-03T12:48:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/simonc/memfs/pulls/21","html_url":"https://github.com/simonc/memfs/pull/21","diff_url":"https://github.com/simonc/memfs/pull/21.diff","patch_url":"https://github.com/simonc/memfs/pull/21.patch"},"body":"This works with stdlib:\r\n\r\n    require 'pathname'\r\n    p = Pathname.new('/')\r\n    Dir[p]\r\n    # => [\"/\"]\r\n\r\nBut before this change failed under MemFs:\r\n\r\n    TypeError:\r\n      no implicit conversion of Pathname into String\r\n\r\nThis is more likely to be encountered in a Rails project where\r\n`Rails.root` is a `Pathname`, but it's very possible to encounter this\r\nin an Ruby project."},"comment":{"url":"https://api.github.com/repos/simonc/memfs/issues/comments/223569743","html_url":"https://github.com/simonc/memfs/pull/21#issuecomment-223569743","issue_url":"https://api.github.com/repos/simonc/memfs/issues/21","id":223569743,"user":{"login":"craigw","id":1540,"avatar_url":"https://avatars.githubusercontent.com/u/1540?v=3","gravatar_id":"","url":"https://api.github.com/users/craigw","html_url":"https://github.com/craigw","followers_url":"https://api.github.com/users/craigw/followers","following_url":"https://api.github.com/users/craigw/following{/other_user}","gists_url":"https://api.github.com/users/craigw/gists{/gist_id}","starred_url":"https://api.github.com/users/craigw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigw/subscriptions","organizations_url":"https://api.github.com/users/craigw/orgs","repos_url":"https://api.github.com/users/craigw/repos","events_url":"https://api.github.com/users/craigw/events{/privacy}","received_events_url":"https://api.github.com/users/craigw/received_events","type":"User","site_admin":false},"created_at":"2016-06-03T12:48:40Z","updated_at":"2016-06-03T12:48:40Z","body":"Hmm I don't think Travis is supporting Ruby older than 2.0.0 any more. It fails wit this message:\r\n\r\n> Gem::InstallError: ruby_dep requires Ruby version >= 2.0.0, ~> 2.0."}}
{"actor":{"display_login":"craigw"}}