{"action":"created","issue":{"url":"https://api.github.com/repos/janlelis/paint/issues/16","repository_url":"https://api.github.com/repos/janlelis/paint","labels_url":"https://api.github.com/repos/janlelis/paint/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/janlelis/paint/issues/16/comments","events_url":"https://api.github.com/repos/janlelis/paint/issues/16/events","html_url":"https://github.com/janlelis/paint/pull/16","id":201277918,"number":16,"title":"Adding xterm's colourXXX color definitions","user":{"login":"lnxbil","id":727711,"avatar_url":"https://avatars.githubusercontent.com/u/727711?v=3","gravatar_id":"","url":"https://api.github.com/users/lnxbil","html_url":"https://github.com/lnxbil","followers_url":"https://api.github.com/users/lnxbil/followers","following_url":"https://api.github.com/users/lnxbil/following{/other_user}","gists_url":"https://api.github.com/users/lnxbil/gists{/gist_id}","starred_url":"https://api.github.com/users/lnxbil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lnxbil/subscriptions","organizations_url":"https://api.github.com/users/lnxbil/orgs","repos_url":"https://api.github.com/users/lnxbil/repos","events_url":"https://api.github.com/users/lnxbil/events{/privacy}","received_events_url":"https://api.github.com/users/lnxbil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-01-17T13:08:06Z","updated_at":"2017-01-17T14:48:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/janlelis/paint/pulls/16","html_url":"https://github.com/janlelis/paint/pull/16","diff_url":"https://github.com/janlelis/paint/pull/16.diff","patch_url":"https://github.com/janlelis/paint/pull/16.patch"},"body":"Adding xterm-like color names from [1] as named RGB colors including a\r\nsimple test.\r\n\r\nThe marshaled color database has been changed as follows:\r\n(I want do document this, because it was the hardest part of the commit):\r\n\r\n1) unpack the marshalled file:\r\n\r\n        f = File.open(\"rgb_colors.rb\",\"w+\")\r\n        f.puts Marshal.load(Gem.gunzip(File.binread('rgb_colors.marshal.gz')))\r\n\r\n2) prefix the unpacked file with 'RGB_COLOR ='\r\n3) marshal the file again\r\n\r\n        require './rgb_colors.rb'\r\n        File.open(\"rgb_colors.marshal\", \"wb\") do |file|\r\n          Marshal.dump(RGB_COLORS,file)\r\n        end\r\n\r\n4) gzip the output and run the tests\r\n\r\n[1] http://vim.wikia.com/wiki/Xterm256_color_names_for_console_Vim"},"comment":{"url":"https://api.github.com/repos/janlelis/paint/issues/comments/273188454","html_url":"https://github.com/janlelis/paint/pull/16#issuecomment-273188454","issue_url":"https://api.github.com/repos/janlelis/paint/issues/16","id":273188454,"user":{"login":"lnxbil","id":727711,"avatar_url":"https://avatars.githubusercontent.com/u/727711?v=3","gravatar_id":"","url":"https://api.github.com/users/lnxbil","html_url":"https://github.com/lnxbil","followers_url":"https://api.github.com/users/lnxbil/followers","following_url":"https://api.github.com/users/lnxbil/following{/other_user}","gists_url":"https://api.github.com/users/lnxbil/gists{/gist_id}","starred_url":"https://api.github.com/users/lnxbil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lnxbil/subscriptions","organizations_url":"https://api.github.com/users/lnxbil/orgs","repos_url":"https://api.github.com/users/lnxbil/repos","events_url":"https://api.github.com/users/lnxbil/events{/privacy}","received_events_url":"https://api.github.com/users/lnxbil/received_events","type":"User","site_admin":false},"created_at":"2017-01-17T14:48:37Z","updated_at":"2017-01-17T14:48:37Z","body":"Sorry, for the \"after pull-request\" commits, but I run into trouble in my app and thought, let's fix it upstream."}}
{"actor":{"display_login":"lnxbil"}}