{"action":"created","comment":{"url":"https://api.github.com/repos/thoughtbot/Runes/pulls/comments/32147109","id":32147109,"diff_hunk":"@@ -42,6 +39,39 @@ use_frameworks!\n \n Then run `pod install` with CocoaPods 0.36 or newer.\n \n+## Adding Runes as a Framework Dependency ##\n+\n+Runes can also be used as a low-overhead dependency for defining these\n+operators for your own types. After linking to `Runes.swift`, you will be able\n+to define implementations for your types, and your users will be able to just\n+import your framework to use these operators.\n+\n+### [Carthage] ###\n+\n+```\n+github \"thoughtbot/runes\"\n+```\n+\n+Then run `carthage update`. Once you've checked out the required version, you\n+can link `Carthage/Checkouts/Runes/Source/Runes.swift` directly into your\n+framework.\n+\n+### [CocoaPods] ###\n+\n+First, you will need to make sure that Runes is added as a submodule for your\n+repo. Then, you'll need to make sure to enable submodule support for your\n+source directive:","path":"README.md","position":37,"original_position":37,"commit_id":"269bee6e51b4b9de5c2658f1927a8fa6a1a731f8","original_commit_id":"269bee6e51b4b9de5c2658f1927a8fa6a1a731f8","user":{"login":"tonyd256","id":1169797,"avatar_url":"https://avatars.githubusercontent.com/u/1169797?v=3","gravatar_id":"","url":"https://api.github.com/users/tonyd256","html_url":"https://github.com/tonyd256","followers_url":"https://api.github.com/users/tonyd256/followers","following_url":"https://api.github.com/users/tonyd256/following{/other_user}","gists_url":"https://api.github.com/users/tonyd256/gists{/gist_id}","starred_url":"https://api.github.com/users/tonyd256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonyd256/subscriptions","organizations_url":"https://api.github.com/users/tonyd256/orgs","repos_url":"https://api.github.com/users/tonyd256/repos","events_url":"https://api.github.com/users/tonyd256/events{/privacy}","received_events_url":"https://api.github.com/users/tonyd256/received_events","type":"User","site_admin":false},"body":"maybe say something here to explain why they would do this ... do define the operators so you can use a common source etc ... would also then add that you'll be using Argo as an example framework OR replace that with something like `/your/framework`","created_at":"2015-06-10T18:03:46Z","updated_at":"2015-06-10T18:03:46Z","html_url":"https://github.com/thoughtbot/Runes/pull/36#discussion_r32147109","pull_request_url":"https://api.github.com/repos/thoughtbot/Runes/pulls/36","_links":{"self":{"href":"https://api.github.com/repos/thoughtbot/Runes/pulls/comments/32147109"},"html":{"href":"https://github.com/thoughtbot/Runes/pull/36#discussion_r32147109"},"pull_request":{"href":"https://api.github.com/repos/thoughtbot/Runes/pulls/36"}}},"pull_request":{"url":"https://api.github.com/repos/thoughtbot/Runes/pulls/36","id":37385182,"html_url":"https://github.com/thoughtbot/Runes/pull/36","diff_url":"https://github.com/thoughtbot/Runes/pull/36.diff","patch_url":"https://github.com/thoughtbot/Runes/pull/36.patch","issue_url":"https://api.github.com/repos/thoughtbot/Runes/issues/36","number":36,"state":"open","locked":false,"title":"Allow Runes to be used as a framework dependency","user":{"login":"gfontenot","id":124499,"avatar_url":"https://avatars.githubusercontent.com/u/124499?v=3","gravatar_id":"","url":"https://api.github.com/users/gfontenot","html_url":"https://github.com/gfontenot","followers_url":"https://api.github.com/users/gfontenot/followers","following_url":"https://api.github.com/users/gfontenot/following{/other_user}","gists_url":"https://api.github.com/users/gfontenot/gists{/gist_id}","starred_url":"https://api.github.com/users/gfontenot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfontenot/subscriptions","organizations_url":"https://api.github.com/users/gfontenot/orgs","repos_url":"https://api.github.com/users/gfontenot/repos","events_url":"https://api.github.com/users/gfontenot/events{/privacy}","received_events_url":"https://api.github.com/users/gfontenot/received_events","type":"User","site_admin":false},"body":"This comes out of discussion in antitypical/Result#54. The end goal is\nto be able to use the operator definitions in Runes _without_ needing to\ninclude the entire Runes.framework as a dependency. This will allow 3rd\nparty frameworks to stay light-weight while centralizing the operator\ndefinitions for the sake of consistency.","created_at":"2015-06-10T17:47:47Z","updated_at":"2015-06-10T18:03:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"db899335fdc08aa628ca762ee3bd1fe2c26c9c9e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/thoughtbot/Runes/pulls/36/commits","review_comments_url":"https://api.github.com/repos/thoughtbot/Runes/pulls/36/comments","review_comment_url":"https://api.github.com/repos/thoughtbot/Runes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thoughtbot/Runes/issues/36/comments","statuses_url":"https://api.github.com/repos/thoughtbot/Runes/statuses/269bee6e51b4b9de5c2658f1927a8fa6a1a731f8","head":{"label":"thoughtbot:gf-framework-dependency","ref":"gf-framework-dependency","sha":"269bee6e51b4b9de5c2658f1927a8fa6a1a731f8","user":{"login":"thoughtbot","id":6183,"avatar_url":"https://avatars.githubusercontent.com/u/6183?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtbot","html_url":"https://github.com/thoughtbot","followers_url":"https://api.github.com/users/thoughtbot/followers","following_url":"https://api.github.com/users/thoughtbot/following{/other_user}","gists_url":"https://api.github.com/users/thoughtbot/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtbot/subscriptions","organizations_url":"https://api.github.com/users/thoughtbot/orgs","repos_url":"https://api.github.com/users/thoughtbot/repos","events_url":"https://api.github.com/users/thoughtbot/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtbot/received_events","type":"Organization","site_admin":false},"repo":{"id":28986245,"name":"Runes","full_name":"thoughtbot/Runes","owner":{"login":"thoughtbot","id":6183,"avatar_url":"https://avatars.githubusercontent.com/u/6183?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtbot","html_url":"https://github.com/thoughtbot","followers_url":"https://api.github.com/users/thoughtbot/followers","following_url":"https://api.github.com/users/thoughtbot/following{/other_user}","gists_url":"https://api.github.com/users/thoughtbot/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtbot/subscriptions","organizations_url":"https://api.github.com/users/thoughtbot/orgs","repos_url":"https://api.github.com/users/thoughtbot/repos","events_url":"https://api.github.com/users/thoughtbot/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtbot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thoughtbot/Runes","description":"Infix operators for monadic functions in Swift","fork":false,"url":"https://api.github.com/repos/thoughtbot/Runes","forks_url":"https://api.github.com/repos/thoughtbot/Runes/forks","keys_url":"https://api.github.com/repos/thoughtbot/Runes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thoughtbot/Runes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thoughtbot/Runes/teams","hooks_url":"https://api.github.com/repos/thoughtbot/Runes/hooks","issue_events_url":"https://api.github.com/repos/thoughtbot/Runes/issues/events{/number}","events_url":"https://api.github.com/repos/thoughtbot/Runes/events","assignees_url":"https://api.github.com/repos/thoughtbot/Runes/assignees{/user}","branches_url":"https://api.github.com/repos/thoughtbot/Runes/branches{/branch}","tags_url":"https://api.github.com/repos/thoughtbot/Runes/tags","blobs_url":"https://api.github.com/repos/thoughtbot/Runes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thoughtbot/Runes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thoughtbot/Runes/git/refs{/sha}","trees_url":"https://api.github.com/repos/thoughtbot/Runes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thoughtbot/Runes/statuses/{sha}","languages_url":"https://api.github.com/repos/thoughtbot/Runes/languages","stargazers_url":"https://api.github.com/repos/thoughtbot/Runes/stargazers","contributors_url":"https://api.github.com/repos/thoughtbot/Runes/contributors","subscribers_url":"https://api.github.com/repos/thoughtbot/Runes/subscribers","subscription_url":"https://api.github.com/repos/thoughtbot/Runes/subscription","commits_url":"https://api.github.com/repos/thoughtbot/Runes/commits{/sha}","git_commits_url":"https://api.github.com/repos/thoughtbot/Runes/git/commits{/sha}","comments_url":"https://api.github.com/repos/thoughtbot/Runes/comments{/number}","issue_comment_url":"https://api.github.com/repos/thoughtbot/Runes/issues/comments{/number}","contents_url":"https://api.github.com/repos/thoughtbot/Runes/contents/{+path}","compare_url":"https://api.github.com/repos/thoughtbot/Runes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thoughtbot/Runes/merges","archive_url":"https://api.github.com/repos/thoughtbot/Runes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thoughtbot/Runes/downloads","issues_url":"https://api.github.com/repos/thoughtbot/Runes/issues{/number}","pulls_url":"https://api.github.com/repos/thoughtbot/Runes/pulls{/number}","milestones_url":"https://api.github.com/repos/thoughtbot/Runes/milestones{/number}","notifications_url":"https://api.github.com/repos/thoughtbot/Runes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thoughtbot/Runes/labels{/name}","releases_url":"https://api.github.com/repos/thoughtbot/Runes/releases{/id}","created_at":"2015-01-08T21:09:23Z","updated_at":"2015-06-08T18:08:45Z","pushed_at":"2015-06-10T17:47:48Z","git_url":"git://github.com/thoughtbot/Runes.git","ssh_url":"git@github.com:thoughtbot/Runes.git","clone_url":"https://github.com/thoughtbot/Runes.git","svn_url":"https://github.com/thoughtbot/Runes","homepage":"https://thoughtbot.com/open-source","size":589,"stargazers_count":164,"watchers_count":164,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":14,"mirror_url":null,"open_issues_count":4,"forks":14,"open_issues":4,"watchers":164,"default_branch":"master"}},"base":{"label":"thoughtbot:master","ref":"master","sha":"65e38287b3f919fe033a0eec699d40ed34f4744d","user":{"login":"thoughtbot","id":6183,"avatar_url":"https://avatars.githubusercontent.com/u/6183?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtbot","html_url":"https://github.com/thoughtbot","followers_url":"https://api.github.com/users/thoughtbot/followers","following_url":"https://api.github.com/users/thoughtbot/following{/other_user}","gists_url":"https://api.github.com/users/thoughtbot/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtbot/subscriptions","organizations_url":"https://api.github.com/users/thoughtbot/orgs","repos_url":"https://api.github.com/users/thoughtbot/repos","events_url":"https://api.github.com/users/thoughtbot/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtbot/received_events","type":"Organization","site_admin":false},"repo":{"id":28986245,"name":"Runes","full_name":"thoughtbot/Runes","owner":{"login":"thoughtbot","id":6183,"avatar_url":"https://avatars.githubusercontent.com/u/6183?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtbot","html_url":"https://github.com/thoughtbot","followers_url":"https://api.github.com/users/thoughtbot/followers","following_url":"https://api.github.com/users/thoughtbot/following{/other_user}","gists_url":"https://api.github.com/users/thoughtbot/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtbot/subscriptions","organizations_url":"https://api.github.com/users/thoughtbot/orgs","repos_url":"https://api.github.com/users/thoughtbot/repos","events_url":"https://api.github.com/users/thoughtbot/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtbot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thoughtbot/Runes","description":"Infix operators for monadic functions in Swift","fork":false,"url":"https://api.github.com/repos/thoughtbot/Runes","forks_url":"https://api.github.com/repos/thoughtbot/Runes/forks","keys_url":"https://api.github.com/repos/thoughtbot/Runes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thoughtbot/Runes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thoughtbot/Runes/teams","hooks_url":"https://api.github.com/repos/thoughtbot/Runes/hooks","issue_events_url":"https://api.github.com/repos/thoughtbot/Runes/issues/events{/number}","events_url":"https://api.github.com/repos/thoughtbot/Runes/events","assignees_url":"https://api.github.com/repos/thoughtbot/Runes/assignees{/user}","branches_url":"https://api.github.com/repos/thoughtbot/Runes/branches{/branch}","tags_url":"https://api.github.com/repos/thoughtbot/Runes/tags","blobs_url":"https://api.github.com/repos/thoughtbot/Runes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thoughtbot/Runes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thoughtbot/Runes/git/refs{/sha}","trees_url":"https://api.github.com/repos/thoughtbot/Runes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thoughtbot/Runes/statuses/{sha}","languages_url":"https://api.github.com/repos/thoughtbot/Runes/languages","stargazers_url":"https://api.github.com/repos/thoughtbot/Runes/stargazers","contributors_url":"https://api.github.com/repos/thoughtbot/Runes/contributors","subscribers_url":"https://api.github.com/repos/thoughtbot/Runes/subscribers","subscription_url":"https://api.github.com/repos/thoughtbot/Runes/subscription","commits_url":"https://api.github.com/repos/thoughtbot/Runes/commits{/sha}","git_commits_url":"https://api.github.com/repos/thoughtbot/Runes/git/commits{/sha}","comments_url":"https://api.github.com/repos/thoughtbot/Runes/comments{/number}","issue_comment_url":"https://api.github.com/repos/thoughtbot/Runes/issues/comments{/number}","contents_url":"https://api.github.com/repos/thoughtbot/Runes/contents/{+path}","compare_url":"https://api.github.com/repos/thoughtbot/Runes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thoughtbot/Runes/merges","archive_url":"https://api.github.com/repos/thoughtbot/Runes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thoughtbot/Runes/downloads","issues_url":"https://api.github.com/repos/thoughtbot/Runes/issues{/number}","pulls_url":"https://api.github.com/repos/thoughtbot/Runes/pulls{/number}","milestones_url":"https://api.github.com/repos/thoughtbot/Runes/milestones{/number}","notifications_url":"https://api.github.com/repos/thoughtbot/Runes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thoughtbot/Runes/labels{/name}","releases_url":"https://api.github.com/repos/thoughtbot/Runes/releases{/id}","created_at":"2015-01-08T21:09:23Z","updated_at":"2015-06-08T18:08:45Z","pushed_at":"2015-06-10T17:47:48Z","git_url":"git://github.com/thoughtbot/Runes.git","ssh_url":"git@github.com:thoughtbot/Runes.git","clone_url":"https://github.com/thoughtbot/Runes.git","svn_url":"https://github.com/thoughtbot/Runes","homepage":"https://thoughtbot.com/open-source","size":589,"stargazers_count":164,"watchers_count":164,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":14,"mirror_url":null,"open_issues_count":4,"forks":14,"open_issues":4,"watchers":164,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thoughtbot/Runes/pulls/36"},"html":{"href":"https://github.com/thoughtbot/Runes/pull/36"},"issue":{"href":"https://api.github.com/repos/thoughtbot/Runes/issues/36"},"comments":{"href":"https://api.github.com/repos/thoughtbot/Runes/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/thoughtbot/Runes/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/thoughtbot/Runes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thoughtbot/Runes/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/thoughtbot/Runes/statuses/269bee6e51b4b9de5c2658f1927a8fa6a1a731f8"}}}}