{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/pulls/comments/76304204","id":76304204,"diff_hunk":"@@ -0,0 +1,31 @@\n+#\n+# Script module for module 'Docker'\n+#\n+# This is used to support cross platform modules and load\n+# the appropriate module based on which host / PS environment\n+# the module is in.\n+#\n+\n+$PSDefaultParameterValues.Clear()\n+Set-StrictMode -Version Latest\n+\n+$PSModule = $ExecutionContext.SessionState.Module\n+$PSModuleRoot = $PSModule.ModuleBase\n+\n+# Import the appropriate nested binary module based on the current PowerShell version\n+$binaryModuleRoot = $PSModuleRoot\n+if (($PSVersionTable.Keys -contains \"PSEdition\") -and ($PSVersionTable.PSEdition -ne 'Desktop')) {\n+    $binaryModuleRoot = Join-Path -Path $PSModuleRoot -ChildPath 'coreclr'\n+}\n+else\n+{\n+    $binaryModuleRoot = Join-Path -Path $PSModuleRoot -ChildPath 'clr' \n+}\n+\n+$binaryModulePath = Join-Path -Path $binaryModuleRoot -ChildPath 'Docker.PowerShell.dll'\n+$binaryModule = Import-Module -Name $binaryModulePath -PassThru\n+","path":"src/Docker.PowerShell/Docker.psm1","position":27,"original_position":27,"commit_id":"5f2897fe0b8e291e59b5f873495cad057f8fc739","original_commit_id":"5f2897fe0b8e291e59b5f873495cad057f8fc739","user":{"login":"swernli","id":10567287,"avatar_url":"https://avatars.githubusercontent.com/u/10567287?v=3","gravatar_id":"","url":"https://api.github.com/users/swernli","html_url":"https://github.com/swernli","followers_url":"https://api.github.com/users/swernli/followers","following_url":"https://api.github.com/users/swernli/following{/other_user}","gists_url":"https://api.github.com/users/swernli/gists{/gist_id}","starred_url":"https://api.github.com/users/swernli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swernli/subscriptions","organizations_url":"https://api.github.com/users/swernli/orgs","repos_url":"https://api.github.com/users/swernli/repos","events_url":"https://api.github.com/users/swernli/events{/privacy}","received_events_url":"https://api.github.com/users/swernli/received_events","type":"User","site_admin":false},"body":"This will force the formatting to work on 6.0.  I'll file an issue against them about not auto-loading this.","created_at":"2016-08-25T18:57:10Z","updated_at":"2016-08-25T18:57:10Z","html_url":"https://github.com/Microsoft/Docker-PowerShell/pull/130#discussion_r76304204","pull_request_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/pulls/130","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/Docker-PowerShell/pulls/comments/76304204"},"html":{"href":"https://github.com/Microsoft/Docker-PowerShell/pull/130#discussion_r76304204"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/Docker-PowerShell/pulls/130"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/pulls/130","id":82761215,"html_url":"https://github.com/Microsoft/Docker-PowerShell/pull/130","diff_url":"https://github.com/Microsoft/Docker-PowerShell/pull/130.diff","patch_url":"https://github.com/Microsoft/Docker-PowerShell/pull/130.patch","issue_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/issues/130","number":130,"state":"open","locked":false,"title":"Creates the cross-platform nupkg.","user":{"login":"jterry75","id":5858142,"avatar_url":"https://avatars.githubusercontent.com/u/5858142?v=3","gravatar_id":"","url":"https://api.github.com/users/jterry75","html_url":"https://github.com/jterry75","followers_url":"https://api.github.com/users/jterry75/followers","following_url":"https://api.github.com/users/jterry75/following{/other_user}","gists_url":"https://api.github.com/users/jterry75/gists{/gist_id}","starred_url":"https://api.github.com/users/jterry75/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jterry75/subscriptions","organizations_url":"https://api.github.com/users/jterry75/orgs","repos_url":"https://api.github.com/users/jterry75/repos","events_url":"https://api.github.com/users/jterry75/events{/privacy}","received_events_url":"https://api.github.com/users/jterry75/received_events","type":"User","site_admin":false},"body":"1. Refactors the *.nuspec to properly include both versions of the PS\r\nModule in the same package.\r\n2. Fixes the TAR package for net46 so we dont copy facade dll's for no\r\nreason.","created_at":"2016-08-25T17:34:00Z","updated_at":"2016-08-25T18:57:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"71f1d002b8571800eefb72b331ace2d664a2fc47","assignee":{"login":"swernli","id":10567287,"avatar_url":"https://avatars.githubusercontent.com/u/10567287?v=3","gravatar_id":"","url":"https://api.github.com/users/swernli","html_url":"https://github.com/swernli","followers_url":"https://api.github.com/users/swernli/followers","following_url":"https://api.github.com/users/swernli/following{/other_user}","gists_url":"https://api.github.com/users/swernli/gists{/gist_id}","starred_url":"https://api.github.com/users/swernli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swernli/subscriptions","organizations_url":"https://api.github.com/users/swernli/orgs","repos_url":"https://api.github.com/users/swernli/repos","events_url":"https://api.github.com/users/swernli/events{/privacy}","received_events_url":"https://api.github.com/users/swernli/received_events","type":"User","site_admin":false},"assignees":[{"login":"swernli","id":10567287,"avatar_url":"https://avatars.githubusercontent.com/u/10567287?v=3","gravatar_id":"","url":"https://api.github.com/users/swernli","html_url":"https://github.com/swernli","followers_url":"https://api.github.com/users/swernli/followers","following_url":"https://api.github.com/users/swernli/following{/other_user}","gists_url":"https://api.github.com/users/swernli/gists{/gist_id}","starred_url":"https://api.github.com/users/swernli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swernli/subscriptions","organizations_url":"https://api.github.com/users/swernli/orgs","repos_url":"https://api.github.com/users/swernli/repos","events_url":"https://api.github.com/users/swernli/events{/privacy}","received_events_url":"https://api.github.com/users/swernli/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/pulls/130/commits","review_comments_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/pulls/130/comments","review_comment_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/issues/130/comments","statuses_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/statuses/5f2897fe0b8e291e59b5f873495cad057f8fc739","head":{"label":"jterry75:master","ref":"master","sha":"5f2897fe0b8e291e59b5f873495cad057f8fc739","user":{"login":"jterry75","id":5858142,"avatar_url":"https://avatars.githubusercontent.com/u/5858142?v=3","gravatar_id":"","url":"https://api.github.com/users/jterry75","html_url":"https://github.com/jterry75","followers_url":"https://api.github.com/users/jterry75/followers","following_url":"https://api.github.com/users/jterry75/following{/other_user}","gists_url":"https://api.github.com/users/jterry75/gists{/gist_id}","starred_url":"https://api.github.com/users/jterry75/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jterry75/subscriptions","organizations_url":"https://api.github.com/users/jterry75/orgs","repos_url":"https://api.github.com/users/jterry75/repos","events_url":"https://api.github.com/users/jterry75/events{/privacy}","received_events_url":"https://api.github.com/users/jterry75/received_events","type":"User","site_admin":false},"repo":{"id":58068249,"name":"Docker-PowerShell","full_name":"jterry75/Docker-PowerShell","owner":{"login":"jterry75","id":5858142,"avatar_url":"https://avatars.githubusercontent.com/u/5858142?v=3","gravatar_id":"","url":"https://api.github.com/users/jterry75","html_url":"https://github.com/jterry75","followers_url":"https://api.github.com/users/jterry75/followers","following_url":"https://api.github.com/users/jterry75/following{/other_user}","gists_url":"https://api.github.com/users/jterry75/gists{/gist_id}","starred_url":"https://api.github.com/users/jterry75/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jterry75/subscriptions","organizations_url":"https://api.github.com/users/jterry75/orgs","repos_url":"https://api.github.com/users/jterry75/repos","events_url":"https://api.github.com/users/jterry75/events{/privacy}","received_events_url":"https://api.github.com/users/jterry75/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jterry75/Docker-PowerShell","description":"PowerShell Module for Docker","fork":true,"url":"https://api.github.com/repos/jterry75/Docker-PowerShell","forks_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/forks","keys_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/teams","hooks_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/hooks","issue_events_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/issues/events{/number}","events_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/events","assignees_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/assignees{/user}","branches_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/branches{/branch}","tags_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/tags","blobs_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/git/refs{/sha}","trees_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/statuses/{sha}","languages_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/languages","stargazers_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/stargazers","contributors_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/contributors","subscribers_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/subscribers","subscription_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/subscription","commits_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/commits{/sha}","git_commits_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/git/commits{/sha}","comments_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/comments{/number}","issue_comment_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/issues/comments{/number}","contents_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/contents/{+path}","compare_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/merges","archive_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/downloads","issues_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/issues{/number}","pulls_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/pulls{/number}","milestones_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/milestones{/number}","notifications_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/labels{/name}","releases_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/releases{/id}","deployments_url":"https://api.github.com/repos/jterry75/Docker-PowerShell/deployments","created_at":"2016-05-04T16:45:25Z","updated_at":"2016-05-05T01:43:50Z","pushed_at":"2016-08-25T18:46:45Z","git_url":"git://github.com/jterry75/Docker-PowerShell.git","ssh_url":"git@github.com:jterry75/Docker-PowerShell.git","clone_url":"https://github.com/jterry75/Docker-PowerShell.git","svn_url":"https://github.com/jterry75/Docker-PowerShell","homepage":null,"size":287,"stargazers_count":0,"watchers_count":0,"language":"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":"Microsoft:master","ref":"master","sha":"a0c973cbc450c983e795eff4d71f4c7a096f7c35","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":55193381,"name":"Docker-PowerShell","full_name":"Microsoft/Docker-PowerShell","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/Docker-PowerShell","description":"PowerShell Module for Docker","fork":false,"url":"https://api.github.com/repos/Microsoft/Docker-PowerShell","forks_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/forks","keys_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/teams","hooks_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/events","assignees_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/tags","blobs_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/languages","stargazers_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/subscription","commits_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/merges","archive_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/downloads","issues_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/Docker-PowerShell/deployments","created_at":"2016-04-01T01:01:11Z","updated_at":"2016-08-25T04:27:50Z","pushed_at":"2016-08-25T18:46:45Z","git_url":"git://github.com/Microsoft/Docker-PowerShell.git","ssh_url":"git@github.com:Microsoft/Docker-PowerShell.git","clone_url":"https://github.com/Microsoft/Docker-PowerShell.git","svn_url":"https://github.com/Microsoft/Docker-PowerShell","homepage":null,"size":1009,"stargazers_count":143,"watchers_count":143,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":11,"forks":28,"open_issues":11,"watchers":143,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/Docker-PowerShell/pulls/130"},"html":{"href":"https://github.com/Microsoft/Docker-PowerShell/pull/130"},"issue":{"href":"https://api.github.com/repos/Microsoft/Docker-PowerShell/issues/130"},"comments":{"href":"https://api.github.com/repos/Microsoft/Docker-PowerShell/issues/130/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/Docker-PowerShell/pulls/130/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/Docker-PowerShell/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/Docker-PowerShell/pulls/130/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/Docker-PowerShell/statuses/5f2897fe0b8e291e59b5f873495cad057f8fc739"}}}}
{"actor":{"display_login":"swernli"}}