GitHub PullRequestEvent at 2014-12-23 06:09:52
Repository: w1thermsensor
Actor: timofurrer
Payload: {"action":"closed","number":7,"pull_request":{"url":"https://api.github.com/repos/timofurrer/w1thermsensor/pulls/7","id":26434825,"html_url":"https://github.com/timofurrer/w1thermsensor/pull/7","diff_url":"https://github.com/timofurrer/w1thermsensor/pull/7.diff","patch_url":"https://github.com/timofurrer/w1thermsensor/pull/7.patch","issue_url":"https://api.github.com/repos/timofurrer/w1thermsensor/issues/7","number":7,"state":"closed","locked":false,"title":"pretty_print_object","user":{"login":"claws","id":1298001,"avatar_url":"https://avatars.githubusercontent.com/u/1298001?v=3","gravatar_id":"","url":"https://api.github.com/users/claws","html_url":"https://github.com/claws","followers_url":"https://api.github.com/users/claws/followers","following_url":"https://api.github.com/users/claws/following{/other_user}","gists_url":"https://api.github.com/users/claws/gists{/gist_id}","starred_url":"https://api.github.com/users/claws/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claws/subscriptions","organizations_url":"https://api.github.com/users/claws/orgs","repos_url":"https://api.github.com/users/claws/repos","events_url":"https://api.github.com/users/claws/events{/privacy}","received_events_url":"https://api.github.com/users/claws/received_events","type":"User","site_admin":false},"body":"This pull request adds some common object utilities (`__str__` and `__repr__`) allowing the W1ThermSensor object to be nicely printed, providing a more meaningful output than the existing default.\r\n\r\nFor example, the output from this snippet:\r\n```python\r\ns1 = W1ThermSensor()\r\nprint(s1)\r\n```\r\nwill change from:\r\n```\r\n<w1thermsensor.W1ThermSensor object at 0xb6b26fd0>\r\n```\r\nto this:\r\n```\r\nW1ThermSensor(name='DS18B20', type=40(0x28), id='000003e9d591')\r\n```","created_at":"2014-12-22T01:05:56Z","updated_at":"2014-12-23T06:09:52Z","closed_at":"2014-12-23T06:09:52Z","merged_at":"2014-12-23T06:09:52Z","merge_commit_sha":"6213727b211a6cd098935fb3553392febeee9512","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/timofurrer/w1thermsensor/pulls/7/commits","review_comments_url":"https://api.github.com/repos/timofurrer/w1thermsensor/pulls/7/comments","review_comment_url":"https://api.github.com/repos/timofurrer/w1thermsensor/pulls/comments/{number}","comments_url":"https://api.github.com/repos/timofurrer/w1thermsensor/issues/7/comments","statuses_url":"https://api.github.com/repos/timofurrer/w1thermsensor/statuses/e7eb310a57e53a85a59edf41617c0f205cc65b42","head":{"label":"claws:pretty_print_object","ref":"pretty_print_object","sha":"e7eb310a57e53a85a59edf41617c0f205cc65b42","user":{"login":"claws","id":1298001,"avatar_url":"https://avatars.githubusercontent.com/u/1298001?v=3","gravatar_id":"","url":"https://api.github.com/users/claws","html_url":"https://github.com/claws","followers_url":"https://api.github.com/users/claws/followers","following_url":"https://api.github.com/users/claws/following{/other_user}","gists_url":"https://api.github.com/users/claws/gists{/gist_id}","starred_url":"https://api.github.com/users/claws/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claws/subscriptions","organizations_url":"https://api.github.com/users/claws/orgs","repos_url":"https://api.github.com/users/claws/repos","events_url":"https://api.github.com/users/claws/events{/privacy}","received_events_url":"https://api.github.com/users/claws/received_events","type":"User","site_admin":false},"repo":{"id":28318341,"name":"w1thermsensor","full_name":"claws/w1thermsensor","owner":{"login":"claws","id":1298001,"avatar_url":"https://avatars.githubusercontent.com/u/1298001?v=3","gravatar_id":"","url":"https://api.github.com/users/claws","html_url":"https://github.com/claws","followers_url":"https://api.github.com/users/claws/followers","following_url":"https://api.github.com/users/claws/following{/other_user}","gists_url":"https://api.github.com/users/claws/gists{/gist_id}","starred_url":"https://api.github.com/users/claws/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claws/subscriptions","organizations_url":"https://api.github.com/users/claws/orgs","repos_url":"https://api.github.com/users/claws/repos","events_url":"https://api.github.com/users/claws/events{/privacy}","received_events_url":"https://api.github.com/users/claws/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/claws/w1thermsensor","description":"This little pure python module provides a single class to get the temperature of a w1 sensor like DS1822, DS18S20 & DS18B20","fork":true,"url":"https://api.github.com/repos/claws/w1thermsensor","forks_url":"https://api.github.com/repos/claws/w1thermsensor/forks","keys_url":"https://api.github.com/repos/claws/w1thermsensor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/claws/w1thermsensor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/claws/w1thermsensor/teams","hooks_url":"https://api.github.com/repos/claws/w1thermsensor/hooks","issue_events_url":"https://api.github.com/repos/claws/w1thermsensor/issues/events{/number}","events_url":"https://api.github.com/repos/claws/w1thermsensor/events","assignees_url":"https://api.github.com/repos/claws/w1thermsensor/assignees{/user}","branches_url":"https://api.github.com/repos/claws/w1thermsensor/branches{/branch}","tags_url":"https://api.github.com/repos/claws/w1thermsensor/tags","blobs_url":"https://api.github.com/repos/claws/w1thermsensor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/claws/w1thermsensor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/claws/w1thermsensor/git/refs{/sha}","trees_url":"https://api.github.com/repos/claws/w1thermsensor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/claws/w1thermsensor/statuses/{sha}","languages_url":"https://api.github.com/repos/claws/w1thermsensor/languages","stargazers_url":"https://api.github.com/repos/claws/w1thermsensor/stargazers","contributors_url":"https://api.github.com/repos/claws/w1thermsensor/contributors","subscribers_url":"https://api.github.com/repos/claws/w1thermsensor/subscribers","subscription_url":"https://api.github.com/repos/claws/w1thermsensor/subscription","commits_url":"https://api.github.com/repos/claws/w1thermsensor/commits{/sha}","git_commits_url":"https://api.github.com/repos/claws/w1thermsensor/git/commits{/sha}","comments_url":"https://api.github.com/repos/claws/w1thermsensor/comments{/number}","issue_comment_url":"https://api.github.com/repos/claws/w1thermsensor/issues/comments/{number}","contents_url":"https://api.github.com/repos/claws/w1thermsensor/contents/{+path}","compare_url":"https://api.github.com/repos/claws/w1thermsensor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/claws/w1thermsensor/merges","archive_url":"https://api.github.com/repos/claws/w1thermsensor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/claws/w1thermsensor/downloads","issues_url":"https://api.github.com/repos/claws/w1thermsensor/issues{/number}","pulls_url":"https://api.github.com/repos/claws/w1thermsensor/pulls{/number}","milestones_url":"https://api.github.com/repos/claws/w1thermsensor/milestones{/number}","notifications_url":"https://api.github.com/repos/claws/w1thermsensor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/claws/w1thermsensor/labels{/name}","releases_url":"https://api.github.com/repos/claws/w1thermsensor/releases{/id}","created_at":"2014-12-22T00:10:49Z","updated_at":"2014-12-22T00:10:49Z","pushed_at":"2014-12-23T05:35:33Z","git_url":"git://github.com/claws/w1thermsensor.git","ssh_url":"git@github.com:claws/w1thermsensor.git","clone_url":"https://github.com/claws/w1thermsensor.git","svn_url":"https://github.com/claws/w1thermsensor","homepage":"","size":135,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"timofurrer:master","ref":"master","sha":"9dc097d599754e30616cf4ef41829b919d04a561","user":{"login":"timofurrer","id":1008252,"avatar_url":"https://avatars.githubusercontent.com/u/1008252?v=3","gravatar_id":"","url":"https://api.github.com/users/timofurrer","html_url":"https://github.com/timofurrer","followers_url":"https://api.github.com/users/timofurrer/followers","following_url":"https://api.github.com/users/timofurrer/following{/other_user}","gists_url":"https://api.github.com/users/timofurrer/gists{/gist_id}","starred_url":"https://api.github.com/users/timofurrer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timofurrer/subscriptions","organizations_url":"https://api.github.com/users/timofurrer/orgs","repos_url":"https://api.github.com/users/timofurrer/repos","events_url":"https://api.github.com/users/timofurrer/events{/privacy}","received_events_url":"https://api.github.com/users/timofurrer/received_events","type":"User","site_admin":false},"repo":{"id":18919781,"name":"w1thermsensor","full_name":"timofurrer/w1thermsensor","owner":{"login":"timofurrer","id":1008252,"avatar_url":"https://avatars.githubusercontent.com/u/1008252?v=3","gravatar_id":"","url":"https://api.github.com/users/timofurrer","html_url":"https://github.com/timofurrer","followers_url":"https://api.github.com/users/timofurrer/followers","following_url":"https://api.github.com/users/timofurrer/following{/other_user}","gists_url":"https://api.github.com/users/timofurrer/gists{/gist_id}","starred_url":"https://api.github.com/users/timofurrer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timofurrer/subscriptions","organizations_url":"https://api.github.com/users/timofurrer/orgs","repos_url":"https://api.github.com/users/timofurrer/repos","events_url":"https://api.github.com/users/timofurrer/events{/privacy}","received_events_url":"https://api.github.com/users/timofurrer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/timofurrer/w1thermsensor","description":"This little pure python module provides a single class to get the temperature of a w1 sensor like DS1822, DS18S20 & DS18B20","fork":false,"url":"https://api.github.com/repos/timofurrer/w1thermsensor","forks_url":"https://api.github.com/repos/timofurrer/w1thermsensor/forks","keys_url":"https://api.github.com/repos/timofurrer/w1thermsensor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timofurrer/w1thermsensor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timofurrer/w1thermsensor/teams","hooks_url":"https://api.github.com/repos/timofurrer/w1thermsensor/hooks","issue_events_url":"https://api.github.com/repos/timofurrer/w1thermsensor/issues/events{/number}","events_url":"https://api.github.com/repos/timofurrer/w1thermsensor/events","assignees_url":"https://api.github.com/repos/timofurrer/w1thermsensor/assignees{/user}","branches_url":"https://api.github.com/repos/timofurrer/w1thermsensor/branches{/branch}","tags_url":"https://api.github.com/repos/timofurrer/w1thermsensor/tags","blobs_url":"https://api.github.com/repos/timofurrer/w1thermsensor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timofurrer/w1thermsensor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timofurrer/w1thermsensor/git/refs{/sha}","trees_url":"https://api.github.com/repos/timofurrer/w1thermsensor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timofurrer/w1thermsensor/statuses/{sha}","languages_url":"https://api.github.com/repos/timofurrer/w1thermsensor/languages","stargazers_url":"https://api.github.com/repos/timofurrer/w1thermsensor/stargazers","contributors_url":"https://api.github.com/repos/timofurrer/w1thermsensor/contributors","subscribers_url":"https://api.github.com/repos/timofurrer/w1thermsensor/subscribers","subscription_url":"https://api.github.com/repos/timofurrer/w1thermsensor/subscription","commits_url":"https://api.github.com/repos/timofurrer/w1thermsensor/commits{/sha}","git_commits_url":"https://api.github.com/repos/timofurrer/w1thermsensor/git/commits{/sha}","comments_url":"https://api.github.com/repos/timofurrer/w1thermsensor/comments{/number}","issue_comment_url":"https://api.github.com/repos/timofurrer/w1thermsensor/issues/comments/{number}","contents_url":"https://api.github.com/repos/timofurrer/w1thermsensor/contents/{+path}","compare_url":"https://api.github.com/repos/timofurrer/w1thermsensor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timofurrer/w1thermsensor/merges","archive_url":"https://api.github.com/repos/timofurrer/w1thermsensor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timofurrer/w1thermsensor/downloads","issues_url":"https://api.github.com/repos/timofurrer/w1thermsensor/issues{/number}","pulls_url":"https://api.github.com/repos/timofurrer/w1thermsensor/pulls{/number}","milestones_url":"https://api.github.com/repos/timofurrer/w1thermsensor/milestones{/number}","notifications_url":"https://api.github.com/repos/timofurrer/w1thermsensor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timofurrer/w1thermsensor/labels{/name}","releases_url":"https://api.github.com/repos/timofurrer/w1thermsensor/releases{/id}","created_at":"2014-04-18T17:19:40Z","updated_at":"2014-12-20T17:02:02Z","pushed_at":"2014-12-23T06:09:52Z","git_url":"git://github.com/timofurrer/w1thermsensor.git","ssh_url":"git@github.com:timofurrer/w1thermsensor.git","clone_url":"https://github.com/timofurrer/w1thermsensor.git","svn_url":"https://github.com/timofurrer/w1thermsensor","homepage":"","size":282,"stargazers_count":35,"watchers_count":35,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":0,"forks":14,"open_issues":0,"watchers":35,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/timofurrer/w1thermsensor/pulls/7"},"html":{"href":"https://github.com/timofurrer/w1thermsensor/pull/7"},"issue":{"href":"https://api.github.com/repos/timofurrer/w1thermsensor/issues/7"},"comments":{"href":"https://api.github.com/repos/timofurrer/w1thermsensor/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/timofurrer/w1thermsensor/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/timofurrer/w1thermsensor/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/timofurrer/w1thermsensor/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/timofurrer/w1thermsensor/statuses/e7eb310a57e53a85a59edf41617c0f205cc65b42"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"timofurrer","id":1008252,"avatar_url":"https://avatars.githubusercontent.com/u/1008252?v=3","gravatar_id":"","url":"https://api.github.com/users/timofurrer","html_url":"https://github.com/timofurrer","followers_url":"https://api.github.com/users/timofurrer/followers","following_url":"https://api.github.com/users/timofurrer/following{/other_user}","gists_url":"https://api.github.com/users/timofurrer/gists{/gist_id}","starred_url":"https://api.github.com/users/timofurrer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timofurrer/subscriptions","organizations_url":"https://api.github.com/users/timofurrer/orgs","repos_url":"https://api.github.com/users/timofurrer/repos","events_url":"https://api.github.com/users/timofurrer/events{/privacy}","received_events_url":"https://api.github.com/users/timofurrer/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":3,"additions":22,"deletions":2,"changed_files":2}}