{"action":"created","comment":{"url":"https://api.github.com/repos/appsquickly/Typhoon/pulls/comments/51740142","id":51740142,"diff_hunk":"@@ -30,4 +32,13 @@ - (id)anotherKnight\n     }];\n }\n \n+- (id)blockKnight\n+{\n+    return [TyphoonBlockDefinition withClass:[Knight class] block:^id{","path":"Tests/Factory/Assembly/TestAssemblies/TyphoonConfigAssembly.m","position":17,"original_position":17,"commit_id":"25f843f4b82888ca624dec114e40771192792459","original_commit_id":"d93bf13743331420f54618d3cb1aac33029d081a","user":{"login":"corristo","id":136644,"avatar_url":"https://avatars.githubusercontent.com/u/136644?v=3","gravatar_id":"","url":"https://api.github.com/users/corristo","html_url":"https://github.com/corristo","followers_url":"https://api.github.com/users/corristo/followers","following_url":"https://api.github.com/users/corristo/following{/other_user}","gists_url":"https://api.github.com/users/corristo/gists{/gist_id}","starred_url":"https://api.github.com/users/corristo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corristo/subscriptions","organizations_url":"https://api.github.com/users/corristo/orgs","repos_url":"https://api.github.com/users/corristo/repos","events_url":"https://api.github.com/users/corristo/events{/privacy}","received_events_url":"https://api.github.com/users/corristo/received_events","type":"User","site_admin":false},"body":"Thanks!","created_at":"2016-02-03T15:55:42Z","updated_at":"2016-02-03T15:55:42Z","html_url":"https://github.com/appsquickly/Typhoon/pull/475#discussion_r51740142","pull_request_url":"https://api.github.com/repos/appsquickly/Typhoon/pulls/475","_links":{"self":{"href":"https://api.github.com/repos/appsquickly/Typhoon/pulls/comments/51740142"},"html":{"href":"https://github.com/appsquickly/Typhoon/pull/475#discussion_r51740142"},"pull_request":{"href":"https://api.github.com/repos/appsquickly/Typhoon/pulls/475"}}},"pull_request":{"url":"https://api.github.com/repos/appsquickly/Typhoon/pulls/475","id":58072564,"html_url":"https://github.com/appsquickly/Typhoon/pull/475","diff_url":"https://github.com/appsquickly/Typhoon/pull/475.diff","patch_url":"https://github.com/appsquickly/Typhoon/pull/475.patch","issue_url":"https://api.github.com/repos/appsquickly/Typhoon/issues/475","number":475,"state":"open","locked":false,"title":"Block definitions","user":{"login":"nickynick","id":886155,"avatar_url":"https://avatars.githubusercontent.com/u/886155?v=3","gravatar_id":"","url":"https://api.github.com/users/nickynick","html_url":"https://github.com/nickynick","followers_url":"https://api.github.com/users/nickynick/followers","following_url":"https://api.github.com/users/nickynick/following{/other_user}","gists_url":"https://api.github.com/users/nickynick/gists{/gist_id}","starred_url":"https://api.github.com/users/nickynick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickynick/subscriptions","organizations_url":"https://api.github.com/users/nickynick/orgs","repos_url":"https://api.github.com/users/nickynick/repos","events_url":"https://api.github.com/users/nickynick/events{/privacy}","received_events_url":"https://api.github.com/users/nickynick/received_events","type":"User","site_admin":false},"body":"This is the implementation of an idea from #467. Please see `TyphoonBlockDefinition` for details :) There is already a bunch of tests for this - not sure if that's enough, but it's something to begin with. I'll be adding some docs shortly.\r\n\r\nAs a bonus, I also felt entitled to do some cleanup & reorganizing. In particular, all infrastructure-related stuff was moved from `Typhoon.h` umbrella header to `Typhoon+Infrastructure.h`. I feel like that's the way to go with all the stuff which is not intended for basic usage.","created_at":"2016-02-03T00:17:02Z","updated_at":"2016-02-03T15:55:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5c50cde1f6e135dfbc9aab8b7f5e6b2dd8eca09f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/appsquickly/Typhoon/pulls/475/commits","review_comments_url":"https://api.github.com/repos/appsquickly/Typhoon/pulls/475/comments","review_comment_url":"https://api.github.com/repos/appsquickly/Typhoon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/appsquickly/Typhoon/issues/475/comments","statuses_url":"https://api.github.com/repos/appsquickly/Typhoon/statuses/25f843f4b82888ca624dec114e40771192792459","head":{"label":"nickynick:block-definitions","ref":"block-definitions","sha":"25f843f4b82888ca624dec114e40771192792459","user":{"login":"nickynick","id":886155,"avatar_url":"https://avatars.githubusercontent.com/u/886155?v=3","gravatar_id":"","url":"https://api.github.com/users/nickynick","html_url":"https://github.com/nickynick","followers_url":"https://api.github.com/users/nickynick/followers","following_url":"https://api.github.com/users/nickynick/following{/other_user}","gists_url":"https://api.github.com/users/nickynick/gists{/gist_id}","starred_url":"https://api.github.com/users/nickynick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickynick/subscriptions","organizations_url":"https://api.github.com/users/nickynick/orgs","repos_url":"https://api.github.com/users/nickynick/repos","events_url":"https://api.github.com/users/nickynick/events{/privacy}","received_events_url":"https://api.github.com/users/nickynick/received_events","type":"User","site_admin":false},"repo":{"id":41107555,"name":"Typhoon","full_name":"nickynick/Typhoon","owner":{"login":"nickynick","id":886155,"avatar_url":"https://avatars.githubusercontent.com/u/886155?v=3","gravatar_id":"","url":"https://api.github.com/users/nickynick","html_url":"https://github.com/nickynick","followers_url":"https://api.github.com/users/nickynick/followers","following_url":"https://api.github.com/users/nickynick/following{/other_user}","gists_url":"https://api.github.com/users/nickynick/gists{/gist_id}","starred_url":"https://api.github.com/users/nickynick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickynick/subscriptions","organizations_url":"https://api.github.com/users/nickynick/orgs","repos_url":"https://api.github.com/users/nickynick/repos","events_url":"https://api.github.com/users/nickynick/events{/privacy}","received_events_url":"https://api.github.com/users/nickynick/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nickynick/Typhoon","description":"Poweful dependency injection for iOS & OSX (Objective-C & Swift)","fork":true,"url":"https://api.github.com/repos/nickynick/Typhoon","forks_url":"https://api.github.com/repos/nickynick/Typhoon/forks","keys_url":"https://api.github.com/repos/nickynick/Typhoon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nickynick/Typhoon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nickynick/Typhoon/teams","hooks_url":"https://api.github.com/repos/nickynick/Typhoon/hooks","issue_events_url":"https://api.github.com/repos/nickynick/Typhoon/issues/events{/number}","events_url":"https://api.github.com/repos/nickynick/Typhoon/events","assignees_url":"https://api.github.com/repos/nickynick/Typhoon/assignees{/user}","branches_url":"https://api.github.com/repos/nickynick/Typhoon/branches{/branch}","tags_url":"https://api.github.com/repos/nickynick/Typhoon/tags","blobs_url":"https://api.github.com/repos/nickynick/Typhoon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nickynick/Typhoon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nickynick/Typhoon/git/refs{/sha}","trees_url":"https://api.github.com/repos/nickynick/Typhoon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nickynick/Typhoon/statuses/{sha}","languages_url":"https://api.github.com/repos/nickynick/Typhoon/languages","stargazers_url":"https://api.github.com/repos/nickynick/Typhoon/stargazers","contributors_url":"https://api.github.com/repos/nickynick/Typhoon/contributors","subscribers_url":"https://api.github.com/repos/nickynick/Typhoon/subscribers","subscription_url":"https://api.github.com/repos/nickynick/Typhoon/subscription","commits_url":"https://api.github.com/repos/nickynick/Typhoon/commits{/sha}","git_commits_url":"https://api.github.com/repos/nickynick/Typhoon/git/commits{/sha}","comments_url":"https://api.github.com/repos/nickynick/Typhoon/comments{/number}","issue_comment_url":"https://api.github.com/repos/nickynick/Typhoon/issues/comments{/number}","contents_url":"https://api.github.com/repos/nickynick/Typhoon/contents/{+path}","compare_url":"https://api.github.com/repos/nickynick/Typhoon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nickynick/Typhoon/merges","archive_url":"https://api.github.com/repos/nickynick/Typhoon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nickynick/Typhoon/downloads","issues_url":"https://api.github.com/repos/nickynick/Typhoon/issues{/number}","pulls_url":"https://api.github.com/repos/nickynick/Typhoon/pulls{/number}","milestones_url":"https://api.github.com/repos/nickynick/Typhoon/milestones{/number}","notifications_url":"https://api.github.com/repos/nickynick/Typhoon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nickynick/Typhoon/labels{/name}","releases_url":"https://api.github.com/repos/nickynick/Typhoon/releases{/id}","deployments_url":"https://api.github.com/repos/nickynick/Typhoon/deployments","created_at":"2015-08-20T16:46:33Z","updated_at":"2016-01-24T14:16:14Z","pushed_at":"2016-02-03T10:20:04Z","git_url":"git://github.com/nickynick/Typhoon.git","ssh_url":"git@github.com:nickynick/Typhoon.git","clone_url":"https://github.com/nickynick/Typhoon.git","svn_url":"https://github.com/nickynick/Typhoon","homepage":"http://www.typhoonframework.org","size":131829,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","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":"appsquickly:master","ref":"master","sha":"82c3c4dba8d9dcacb8c367694b6289c56c2bf85c","user":{"login":"appsquickly","id":10112855,"avatar_url":"https://avatars.githubusercontent.com/u/10112855?v=3","gravatar_id":"","url":"https://api.github.com/users/appsquickly","html_url":"https://github.com/appsquickly","followers_url":"https://api.github.com/users/appsquickly/followers","following_url":"https://api.github.com/users/appsquickly/following{/other_user}","gists_url":"https://api.github.com/users/appsquickly/gists{/gist_id}","starred_url":"https://api.github.com/users/appsquickly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appsquickly/subscriptions","organizations_url":"https://api.github.com/users/appsquickly/orgs","repos_url":"https://api.github.com/users/appsquickly/repos","events_url":"https://api.github.com/users/appsquickly/events{/privacy}","received_events_url":"https://api.github.com/users/appsquickly/received_events","type":"Organization","site_admin":false},"repo":{"id":7374322,"name":"Typhoon","full_name":"appsquickly/Typhoon","owner":{"login":"appsquickly","id":10112855,"avatar_url":"https://avatars.githubusercontent.com/u/10112855?v=3","gravatar_id":"","url":"https://api.github.com/users/appsquickly","html_url":"https://github.com/appsquickly","followers_url":"https://api.github.com/users/appsquickly/followers","following_url":"https://api.github.com/users/appsquickly/following{/other_user}","gists_url":"https://api.github.com/users/appsquickly/gists{/gist_id}","starred_url":"https://api.github.com/users/appsquickly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appsquickly/subscriptions","organizations_url":"https://api.github.com/users/appsquickly/orgs","repos_url":"https://api.github.com/users/appsquickly/repos","events_url":"https://api.github.com/users/appsquickly/events{/privacy}","received_events_url":"https://api.github.com/users/appsquickly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/appsquickly/Typhoon","description":"Poweful dependency injection for iOS & OSX (Objective-C & Swift)","fork":false,"url":"https://api.github.com/repos/appsquickly/Typhoon","forks_url":"https://api.github.com/repos/appsquickly/Typhoon/forks","keys_url":"https://api.github.com/repos/appsquickly/Typhoon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/appsquickly/Typhoon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/appsquickly/Typhoon/teams","hooks_url":"https://api.github.com/repos/appsquickly/Typhoon/hooks","issue_events_url":"https://api.github.com/repos/appsquickly/Typhoon/issues/events{/number}","events_url":"https://api.github.com/repos/appsquickly/Typhoon/events","assignees_url":"https://api.github.com/repos/appsquickly/Typhoon/assignees{/user}","branches_url":"https://api.github.com/repos/appsquickly/Typhoon/branches{/branch}","tags_url":"https://api.github.com/repos/appsquickly/Typhoon/tags","blobs_url":"https://api.github.com/repos/appsquickly/Typhoon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/appsquickly/Typhoon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/appsquickly/Typhoon/git/refs{/sha}","trees_url":"https://api.github.com/repos/appsquickly/Typhoon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/appsquickly/Typhoon/statuses/{sha}","languages_url":"https://api.github.com/repos/appsquickly/Typhoon/languages","stargazers_url":"https://api.github.com/repos/appsquickly/Typhoon/stargazers","contributors_url":"https://api.github.com/repos/appsquickly/Typhoon/contributors","subscribers_url":"https://api.github.com/repos/appsquickly/Typhoon/subscribers","subscription_url":"https://api.github.com/repos/appsquickly/Typhoon/subscription","commits_url":"https://api.github.com/repos/appsquickly/Typhoon/commits{/sha}","git_commits_url":"https://api.github.com/repos/appsquickly/Typhoon/git/commits{/sha}","comments_url":"https://api.github.com/repos/appsquickly/Typhoon/comments{/number}","issue_comment_url":"https://api.github.com/repos/appsquickly/Typhoon/issues/comments{/number}","contents_url":"https://api.github.com/repos/appsquickly/Typhoon/contents/{+path}","compare_url":"https://api.github.com/repos/appsquickly/Typhoon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/appsquickly/Typhoon/merges","archive_url":"https://api.github.com/repos/appsquickly/Typhoon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/appsquickly/Typhoon/downloads","issues_url":"https://api.github.com/repos/appsquickly/Typhoon/issues{/number}","pulls_url":"https://api.github.com/repos/appsquickly/Typhoon/pulls{/number}","milestones_url":"https://api.github.com/repos/appsquickly/Typhoon/milestones{/number}","notifications_url":"https://api.github.com/repos/appsquickly/Typhoon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/appsquickly/Typhoon/labels{/name}","releases_url":"https://api.github.com/repos/appsquickly/Typhoon/releases{/id}","deployments_url":"https://api.github.com/repos/appsquickly/Typhoon/deployments","created_at":"2012-12-30T06:54:24Z","updated_at":"2016-02-03T14:02:27Z","pushed_at":"2016-02-03T10:20:04Z","git_url":"git://github.com/appsquickly/Typhoon.git","ssh_url":"git@github.com:appsquickly/Typhoon.git","clone_url":"https://github.com/appsquickly/Typhoon.git","svn_url":"https://github.com/appsquickly/Typhoon","homepage":"http://www.typhoonframework.org","size":134330,"stargazers_count":1660,"watchers_count":1660,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":178,"mirror_url":null,"open_issues_count":36,"forks":178,"open_issues":36,"watchers":1660,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/appsquickly/Typhoon/pulls/475"},"html":{"href":"https://github.com/appsquickly/Typhoon/pull/475"},"issue":{"href":"https://api.github.com/repos/appsquickly/Typhoon/issues/475"},"comments":{"href":"https://api.github.com/repos/appsquickly/Typhoon/issues/475/comments"},"review_comments":{"href":"https://api.github.com/repos/appsquickly/Typhoon/pulls/475/comments"},"review_comment":{"href":"https://api.github.com/repos/appsquickly/Typhoon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/appsquickly/Typhoon/pulls/475/commits"},"statuses":{"href":"https://api.github.com/repos/appsquickly/Typhoon/statuses/25f843f4b82888ca624dec114e40771192792459"}}}}