Skip to content

Commit

Permalink
Update the tests and functions to accomodate latest master changes
Browse files Browse the repository at this point in the history
  • Loading branch information
HowardWolosky committed Jul 18, 2020
1 parent 1970ebd commit 228231b
Show file tree
Hide file tree
Showing 18 changed files with 502 additions and 238 deletions.
4 changes: 4 additions & 0 deletions GitHubAssignees.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ filter Get-GitHubAssignee
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
GitHub.User
Expand Down Expand Up @@ -159,6 +160,7 @@ filter Test-GitHubAssignee
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
GitHub.User
Expand Down Expand Up @@ -303,6 +305,7 @@ function Add-GitHubAssignee
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
GitHub.User
Expand Down Expand Up @@ -481,6 +484,7 @@ function Remove-GitHubAssignee
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
.OUTPUTS
Expand Down
1 change: 1 addition & 0 deletions GitHubBranches.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ filter Get-GitHubRepositoryBranch
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
.OUTPUTS
Expand Down
1 change: 1 addition & 0 deletions GitHubContents.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
.OUTPUTS
Expand Down
2 changes: 1 addition & 1 deletion GitHubCore.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ function Invoke-GHRestMethod
$finalResult = $finalResult
}

if (-not (Get-GitHubConfiguration -Name DisableSmarterObjects))
if ((-not $Save) -and (-not (Get-GitHubConfiguration -Name DisableSmarterObjects)))
{
# In the case of getting raw content from the repo, we'll end up with a large object/byte
# array which isn't convertible to a smarter object, but by _trying_ we'll end up wasting
Expand Down
1 change: 1 addition & 0 deletions GitHubEvents.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ filter Get-GitHubEvent
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
.OUTPUTS
Expand Down
4 changes: 4 additions & 0 deletions GitHubIssueComments.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ filter Get-GitHubIssueComment
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
.OUTPUTS
Expand Down Expand Up @@ -346,6 +347,7 @@ filter New-GitHubIssueComment
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
GitHub.User
Expand Down Expand Up @@ -490,6 +492,7 @@ filter Set-GitHubIssueComment
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
GitHub.User
Expand Down Expand Up @@ -621,6 +624,7 @@ filter Remove-GitHubIssueComment
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
.EXAMPLE
Expand Down
6 changes: 6 additions & 0 deletions GitHubIssues.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ filter Get-GitHubIssue
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
GitHub.User
Expand Down Expand Up @@ -434,6 +435,7 @@ filter Get-GitHubIssueTimeline
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
.OUTPUTS
Expand Down Expand Up @@ -573,6 +575,7 @@ filter New-GitHubIssue
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
.OUTPUTS
Expand Down Expand Up @@ -742,6 +745,7 @@ filter Set-GitHubIssue
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
.OUTPUTS
Expand Down Expand Up @@ -893,6 +897,7 @@ filter Lock-GitHubIssue
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
.EXAMPLE
Expand Down Expand Up @@ -1024,6 +1029,7 @@ filter Unlock-GitHubIssue
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
.EXAMPLE
Expand Down
8 changes: 8 additions & 0 deletions GitHubLabels.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ filter Get-GitHubLabel
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
.OUTPUTS
Expand Down Expand Up @@ -253,6 +254,7 @@ filter New-GitHubLabel
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
.OUTPUTS
Expand Down Expand Up @@ -395,6 +397,7 @@ filter Remove-GitHubLabel
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
.EXAMPLE
Expand Down Expand Up @@ -553,6 +556,7 @@ filter Set-GitHubLabel
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
.OUTPUTS
Expand Down Expand Up @@ -700,6 +704,7 @@ filter Initialize-GitHubLabel
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
.EXAMPLE
Expand Down Expand Up @@ -840,6 +845,7 @@ function Add-GitHubIssueLabel
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
.OUTPUTS
Expand Down Expand Up @@ -1001,6 +1007,7 @@ function Set-GitHubIssueLabel
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
.OUTPUTS
Expand Down Expand Up @@ -1193,6 +1200,7 @@ filter Remove-GitHubIssueLabel
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
.EXAMPLE
Expand Down
4 changes: 4 additions & 0 deletions GitHubMilestones.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ filter Get-GitHubMilestone
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
.OUTPUTS
Expand Down Expand Up @@ -272,6 +273,7 @@ filter New-GitHubMilestone
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
.OUTPUTS
Expand Down Expand Up @@ -454,6 +456,7 @@ filter Set-GitHubMilestone
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
.OUTPUTS
Expand Down Expand Up @@ -635,6 +638,7 @@ filter Remove-GitHubMilestone
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
.EXAMPLE
Expand Down
2 changes: 2 additions & 0 deletions GitHubMiscellaneous.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ filter Get-GitHubLicense
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
.OUTPUTS
Expand Down Expand Up @@ -488,6 +489,7 @@ filter Get-GitHubCodeOfConduct
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
.OUTPUTS
Expand Down
4 changes: 4 additions & 0 deletions GitHubProjects.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ filter Get-GitHubProject
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
.OUTPUTS
Expand Down Expand Up @@ -277,6 +278,7 @@ filter New-GitHubProject
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
.OUTPUTS
Expand Down Expand Up @@ -457,6 +459,7 @@ filter Set-GitHubProject
GitHub.ProjectCard
GitHub.ProjectColumn
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
.OUTPUTS
Expand Down Expand Up @@ -585,6 +588,7 @@ filter Remove-GitHubProject
GitHub.ProjectCard
GitHub.ProjectColumn
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
.EXAMPLE
Expand Down
2 changes: 2 additions & 0 deletions GitHubPullRequests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ filter Get-GitHubPullRequest
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
.OUTPUTS
Expand Down Expand Up @@ -274,6 +275,7 @@ filter New-GitHubPullRequest
GitHub.ProjectColumn
GitHub.Reaction
GitHub.Release
GitHub.ReleaseAsset
GitHub.Repository
.OUTPUTS
Expand Down
Loading

0 comments on commit 228231b

Please sign in to comment.