Skip to content

Commit

Permalink
Bump to 4.2.0-alpha2
Browse files Browse the repository at this point in the history
  • Loading branch information
nohwnd committed Dec 12, 2017
1 parent 3856f48 commit 4d964ef
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 4.2.0-alpha2 (December 12, 2017)
- Load dependencies optionally, because they are not part of the package build

## 4.2.0-alpha1 (December 12, 2017)
- Should Throw filters on exception type [GH-954]

Expand Down
4 changes: 2 additions & 2 deletions Pester.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,10 @@ PrivateData = @{
LicenseUri = "https://www.apache.org/licenses/LICENSE-2.0.html"

# Release notes for this particular version of the module
ReleaseNotes = 'https://github.com/pester/Pester/releases/tag/4.2.0-alpha1'
ReleaseNotes = 'https://github.com/pester/Pester/releases/tag/4.2.0-alpha2'

# Prerelease string of this module
Prerelease = 'alpha1'
Prerelease = 'alpha2'
}
}

Expand Down
9 changes: 5 additions & 4 deletions Pester.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -367,10 +367,11 @@ $Script:PesterRoot = & $SafeCommands['Split-Path'] -Path $MyInvocation.MyCommand
& $script:SafeCommands['Where-Object'] { -not ($_.ProviderPath.ToLower().Contains(".tests.")) } |
& $script:SafeCommands['ForEach-Object'] { . $_.ProviderPath }


# sub-modules
& $script:SafeCommands['Get-ChildItem'] "$PesterRoot\Dependencies\*\*.psm1" |
& $script:SafeCommands['ForEach-Object'] { & $script:SafeCommands['Import-Module'] $_.FullName -Force -DisableNameChecking }
if (& $script:SafeCommands['Test-Path'] "$PesterRoot\Dependencies") {
# sub-modules
& $script:SafeCommands['Get-ChildItem'] "$PesterRoot\Dependencies\*\*.psm1" |
& $script:SafeCommands['ForEach-Object'] { & $script:SafeCommands['Import-Module'] $_.FullName -Force -DisableNameChecking }
}

Add-Type -TypeDefinition @"
using System;
Expand Down

0 comments on commit 4d964ef

Please sign in to comment.