{"action":"created","comment":{"url":"https://api.github.com/repos/dtrenz/LaunchGate/pulls/comments/51955131","id":51955131,"diff_hunk":"@@ -0,0 +1,15 @@\n+import Quick\n+import Nimble\n+\n+\n+@testable import LaunchGate\n+\n+class LaunchGateConfigurationSpec: QuickSpec {\n+  override func spec() {\n+\n+    describe(\"#init\") {\n+      \n+    }","path":"Example/Tests/LaunchGateConfigurationSpec.swift","position":12,"original_position":12,"commit_id":"b48aada6ae43112d0690e0a3b5b44c984f829d43","original_commit_id":"b48aada6ae43112d0690e0a3b5b44c984f829d43","user":{"login":"dtrenz","id":639833,"avatar_url":"https://avatars.githubusercontent.com/u/639833?v=3","gravatar_id":"","url":"https://api.github.com/users/dtrenz","html_url":"https://github.com/dtrenz","followers_url":"https://api.github.com/users/dtrenz/followers","following_url":"https://api.github.com/users/dtrenz/following{/other_user}","gists_url":"https://api.github.com/users/dtrenz/gists{/gist_id}","starred_url":"https://api.github.com/users/dtrenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtrenz/subscriptions","organizations_url":"https://api.github.com/users/dtrenz/orgs","repos_url":"https://api.github.com/users/dtrenz/repos","events_url":"https://api.github.com/users/dtrenz/events{/privacy}","received_events_url":"https://api.github.com/users/dtrenz/received_events","type":"User","site_admin":false},"body":"I should trash it until i need it.","created_at":"2016-02-04T23:24:51Z","updated_at":"2016-02-04T23:24:51Z","html_url":"https://github.com/dtrenz/LaunchGate/pull/11#discussion_r51955131","pull_request_url":"https://api.github.com/repos/dtrenz/LaunchGate/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/dtrenz/LaunchGate/pulls/comments/51955131"},"html":{"href":"https://github.com/dtrenz/LaunchGate/pull/11#discussion_r51955131"},"pull_request":{"href":"https://api.github.com/repos/dtrenz/LaunchGate/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/dtrenz/LaunchGate/pulls/11","id":58352187,"html_url":"https://github.com/dtrenz/LaunchGate/pull/11","diff_url":"https://github.com/dtrenz/LaunchGate/pull/11.diff","patch_url":"https://github.com/dtrenz/LaunchGate/pull/11.patch","issue_url":"https://api.github.com/repos/dtrenz/LaunchGate/issues/11","number":11,"state":"open","locked":false,"title":"Config JSON parsing completed.","user":{"login":"dtrenz","id":639833,"avatar_url":"https://avatars.githubusercontent.com/u/639833?v=3","gravatar_id":"","url":"https://api.github.com/users/dtrenz","html_url":"https://github.com/dtrenz","followers_url":"https://api.github.com/users/dtrenz/followers","following_url":"https://api.github.com/users/dtrenz/following{/other_user}","gists_url":"https://api.github.com/users/dtrenz/gists{/gist_id}","starred_url":"https://api.github.com/users/dtrenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtrenz/subscriptions","organizations_url":"https://api.github.com/users/dtrenz/orgs","repos_url":"https://api.github.com/users/dtrenz/repos","events_url":"https://api.github.com/users/dtrenz/events{/privacy}","received_events_url":"https://api.github.com/users/dtrenz/received_events","type":"User","site_admin":false},"body":"**Includes**\r\n- Configuration model\r\n- Parser protocol\r\n- Default parser\r\n- Test coverage\r\n- Test config fixtures\r\n\r\nIf the developer/consumer wants to use the default configuration JSON file format, the built-in parser will be used (`LaunchGateDefaultParser`).\r\n\r\nIf the dev wants or needs to use a custom formatted JSON file, they will need to implement their own parser class that conforms to the `LaunchGateParser` protocol, and set an instance of the custom parser on the `LaunchGate` instance.\r\n\r\n**Example:**\r\n\r\n```swift\r\nimport LaunchGate\r\n\r\n@UIApplicationMain\r\nclass AppDelegate: UIResponder, UIApplicationDelegate {\r\n\r\n  var window: UIWindow?\r\n\r\n  lazy var launchGate = LaunchGate(uri: \"https://www.example.com/config.json\")\r\n\r\n  func applicationDidBecomeActive(application: UIApplication) {\r\n    // optional; only required if using a custom config JSON format\r\n    launchGate.setParser(MyCustomParser())\r\n    launchGate.performCheck()\r\n  }\r\n\r\n}\r\n```\r\n\r\nCloses #2","created_at":"2016-02-04T21:31:06Z","updated_at":"2016-02-04T23:24:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"104085d0ab92803eccd7b84fa136a704881ed400","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dtrenz/LaunchGate/pulls/11/commits","review_comments_url":"https://api.github.com/repos/dtrenz/LaunchGate/pulls/11/comments","review_comment_url":"https://api.github.com/repos/dtrenz/LaunchGate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dtrenz/LaunchGate/issues/11/comments","statuses_url":"https://api.github.com/repos/dtrenz/LaunchGate/statuses/b48aada6ae43112d0690e0a3b5b44c984f829d43","head":{"label":"dtrenz:dtrenz-json-parsing","ref":"dtrenz-json-parsing","sha":"b48aada6ae43112d0690e0a3b5b44c984f829d43","user":{"login":"dtrenz","id":639833,"avatar_url":"https://avatars.githubusercontent.com/u/639833?v=3","gravatar_id":"","url":"https://api.github.com/users/dtrenz","html_url":"https://github.com/dtrenz","followers_url":"https://api.github.com/users/dtrenz/followers","following_url":"https://api.github.com/users/dtrenz/following{/other_user}","gists_url":"https://api.github.com/users/dtrenz/gists{/gist_id}","starred_url":"https://api.github.com/users/dtrenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtrenz/subscriptions","organizations_url":"https://api.github.com/users/dtrenz/orgs","repos_url":"https://api.github.com/users/dtrenz/repos","events_url":"https://api.github.com/users/dtrenz/events{/privacy}","received_events_url":"https://api.github.com/users/dtrenz/received_events","type":"User","site_admin":false},"repo":{"id":49987076,"name":"LaunchGate","full_name":"dtrenz/LaunchGate","owner":{"login":"dtrenz","id":639833,"avatar_url":"https://avatars.githubusercontent.com/u/639833?v=3","gravatar_id":"","url":"https://api.github.com/users/dtrenz","html_url":"https://github.com/dtrenz","followers_url":"https://api.github.com/users/dtrenz/followers","following_url":"https://api.github.com/users/dtrenz/following{/other_user}","gists_url":"https://api.github.com/users/dtrenz/gists{/gist_id}","starred_url":"https://api.github.com/users/dtrenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtrenz/subscriptions","organizations_url":"https://api.github.com/users/dtrenz/orgs","repos_url":"https://api.github.com/users/dtrenz/repos","events_url":"https://api.github.com/users/dtrenz/events{/privacy}","received_events_url":"https://api.github.com/users/dtrenz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dtrenz/LaunchGate","description":"","fork":false,"url":"https://api.github.com/repos/dtrenz/LaunchGate","forks_url":"https://api.github.com/repos/dtrenz/LaunchGate/forks","keys_url":"https://api.github.com/repos/dtrenz/LaunchGate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dtrenz/LaunchGate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dtrenz/LaunchGate/teams","hooks_url":"https://api.github.com/repos/dtrenz/LaunchGate/hooks","issue_events_url":"https://api.github.com/repos/dtrenz/LaunchGate/issues/events{/number}","events_url":"https://api.github.com/repos/dtrenz/LaunchGate/events","assignees_url":"https://api.github.com/repos/dtrenz/LaunchGate/assignees{/user}","branches_url":"https://api.github.com/repos/dtrenz/LaunchGate/branches{/branch}","tags_url":"https://api.github.com/repos/dtrenz/LaunchGate/tags","blobs_url":"https://api.github.com/repos/dtrenz/LaunchGate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dtrenz/LaunchGate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dtrenz/LaunchGate/git/refs{/sha}","trees_url":"https://api.github.com/repos/dtrenz/LaunchGate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dtrenz/LaunchGate/statuses/{sha}","languages_url":"https://api.github.com/repos/dtrenz/LaunchGate/languages","stargazers_url":"https://api.github.com/repos/dtrenz/LaunchGate/stargazers","contributors_url":"https://api.github.com/repos/dtrenz/LaunchGate/contributors","subscribers_url":"https://api.github.com/repos/dtrenz/LaunchGate/subscribers","subscription_url":"https://api.github.com/repos/dtrenz/LaunchGate/subscription","commits_url":"https://api.github.com/repos/dtrenz/LaunchGate/commits{/sha}","git_commits_url":"https://api.github.com/repos/dtrenz/LaunchGate/git/commits{/sha}","comments_url":"https://api.github.com/repos/dtrenz/LaunchGate/comments{/number}","issue_comment_url":"https://api.github.com/repos/dtrenz/LaunchGate/issues/comments{/number}","contents_url":"https://api.github.com/repos/dtrenz/LaunchGate/contents/{+path}","compare_url":"https://api.github.com/repos/dtrenz/LaunchGate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dtrenz/LaunchGate/merges","archive_url":"https://api.github.com/repos/dtrenz/LaunchGate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dtrenz/LaunchGate/downloads","issues_url":"https://api.github.com/repos/dtrenz/LaunchGate/issues{/number}","pulls_url":"https://api.github.com/repos/dtrenz/LaunchGate/pulls{/number}","milestones_url":"https://api.github.com/repos/dtrenz/LaunchGate/milestones{/number}","notifications_url":"https://api.github.com/repos/dtrenz/LaunchGate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dtrenz/LaunchGate/labels{/name}","releases_url":"https://api.github.com/repos/dtrenz/LaunchGate/releases{/id}","deployments_url":"https://api.github.com/repos/dtrenz/LaunchGate/deployments","created_at":"2016-01-19T22:17:17Z","updated_at":"2016-01-25T20:41:59Z","pushed_at":"2016-02-04T23:11:34Z","git_url":"git://github.com/dtrenz/LaunchGate.git","ssh_url":"git@github.com:dtrenz/LaunchGate.git","clone_url":"https://github.com/dtrenz/LaunchGate.git","svn_url":"https://github.com/dtrenz/LaunchGate","homepage":null,"size":245,"stargazers_count":2,"watchers_count":2,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":2,"default_branch":"develop"}},"base":{"label":"dtrenz:develop","ref":"develop","sha":"7b8201079802cd1aba52a3a784f06eafa032e111","user":{"login":"dtrenz","id":639833,"avatar_url":"https://avatars.githubusercontent.com/u/639833?v=3","gravatar_id":"","url":"https://api.github.com/users/dtrenz","html_url":"https://github.com/dtrenz","followers_url":"https://api.github.com/users/dtrenz/followers","following_url":"https://api.github.com/users/dtrenz/following{/other_user}","gists_url":"https://api.github.com/users/dtrenz/gists{/gist_id}","starred_url":"https://api.github.com/users/dtrenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtrenz/subscriptions","organizations_url":"https://api.github.com/users/dtrenz/orgs","repos_url":"https://api.github.com/users/dtrenz/repos","events_url":"https://api.github.com/users/dtrenz/events{/privacy}","received_events_url":"https://api.github.com/users/dtrenz/received_events","type":"User","site_admin":false},"repo":{"id":49987076,"name":"LaunchGate","full_name":"dtrenz/LaunchGate","owner":{"login":"dtrenz","id":639833,"avatar_url":"https://avatars.githubusercontent.com/u/639833?v=3","gravatar_id":"","url":"https://api.github.com/users/dtrenz","html_url":"https://github.com/dtrenz","followers_url":"https://api.github.com/users/dtrenz/followers","following_url":"https://api.github.com/users/dtrenz/following{/other_user}","gists_url":"https://api.github.com/users/dtrenz/gists{/gist_id}","starred_url":"https://api.github.com/users/dtrenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtrenz/subscriptions","organizations_url":"https://api.github.com/users/dtrenz/orgs","repos_url":"https://api.github.com/users/dtrenz/repos","events_url":"https://api.github.com/users/dtrenz/events{/privacy}","received_events_url":"https://api.github.com/users/dtrenz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dtrenz/LaunchGate","description":"","fork":false,"url":"https://api.github.com/repos/dtrenz/LaunchGate","forks_url":"https://api.github.com/repos/dtrenz/LaunchGate/forks","keys_url":"https://api.github.com/repos/dtrenz/LaunchGate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dtrenz/LaunchGate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dtrenz/LaunchGate/teams","hooks_url":"https://api.github.com/repos/dtrenz/LaunchGate/hooks","issue_events_url":"https://api.github.com/repos/dtrenz/LaunchGate/issues/events{/number}","events_url":"https://api.github.com/repos/dtrenz/LaunchGate/events","assignees_url":"https://api.github.com/repos/dtrenz/LaunchGate/assignees{/user}","branches_url":"https://api.github.com/repos/dtrenz/LaunchGate/branches{/branch}","tags_url":"https://api.github.com/repos/dtrenz/LaunchGate/tags","blobs_url":"https://api.github.com/repos/dtrenz/LaunchGate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dtrenz/LaunchGate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dtrenz/LaunchGate/git/refs{/sha}","trees_url":"https://api.github.com/repos/dtrenz/LaunchGate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dtrenz/LaunchGate/statuses/{sha}","languages_url":"https://api.github.com/repos/dtrenz/LaunchGate/languages","stargazers_url":"https://api.github.com/repos/dtrenz/LaunchGate/stargazers","contributors_url":"https://api.github.com/repos/dtrenz/LaunchGate/contributors","subscribers_url":"https://api.github.com/repos/dtrenz/LaunchGate/subscribers","subscription_url":"https://api.github.com/repos/dtrenz/LaunchGate/subscription","commits_url":"https://api.github.com/repos/dtrenz/LaunchGate/commits{/sha}","git_commits_url":"https://api.github.com/repos/dtrenz/LaunchGate/git/commits{/sha}","comments_url":"https://api.github.com/repos/dtrenz/LaunchGate/comments{/number}","issue_comment_url":"https://api.github.com/repos/dtrenz/LaunchGate/issues/comments{/number}","contents_url":"https://api.github.com/repos/dtrenz/LaunchGate/contents/{+path}","compare_url":"https://api.github.com/repos/dtrenz/LaunchGate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dtrenz/LaunchGate/merges","archive_url":"https://api.github.com/repos/dtrenz/LaunchGate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dtrenz/LaunchGate/downloads","issues_url":"https://api.github.com/repos/dtrenz/LaunchGate/issues{/number}","pulls_url":"https://api.github.com/repos/dtrenz/LaunchGate/pulls{/number}","milestones_url":"https://api.github.com/repos/dtrenz/LaunchGate/milestones{/number}","notifications_url":"https://api.github.com/repos/dtrenz/LaunchGate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dtrenz/LaunchGate/labels{/name}","releases_url":"https://api.github.com/repos/dtrenz/LaunchGate/releases{/id}","deployments_url":"https://api.github.com/repos/dtrenz/LaunchGate/deployments","created_at":"2016-01-19T22:17:17Z","updated_at":"2016-01-25T20:41:59Z","pushed_at":"2016-02-04T23:11:34Z","git_url":"git://github.com/dtrenz/LaunchGate.git","ssh_url":"git@github.com:dtrenz/LaunchGate.git","clone_url":"https://github.com/dtrenz/LaunchGate.git","svn_url":"https://github.com/dtrenz/LaunchGate","homepage":null,"size":245,"stargazers_count":2,"watchers_count":2,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/dtrenz/LaunchGate/pulls/11"},"html":{"href":"https://github.com/dtrenz/LaunchGate/pull/11"},"issue":{"href":"https://api.github.com/repos/dtrenz/LaunchGate/issues/11"},"comments":{"href":"https://api.github.com/repos/dtrenz/LaunchGate/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/dtrenz/LaunchGate/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/dtrenz/LaunchGate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dtrenz/LaunchGate/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/dtrenz/LaunchGate/statuses/b48aada6ae43112d0690e0a3b5b44c984f829d43"}}}}