Skip to content

Commit

Permalink
Merge pull request #6 from webmd-health-services/feature/reduce-nesting
Browse files Browse the repository at this point in the history
Reducing directory depth of internal, private nested module dependencies
  • Loading branch information
splatteredbits authored Dec 3, 2024
2 parents dcb2a9c + bc25d60 commit 62b6dc0
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 10 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,14 @@

# Carbon.FileSystem Changelog

## 1.1.1

Reducing directory nesting of internal, private, nested modules.

## 1.1.0

> Released 10 Jun 2024
### Upgrade Instructions

Added `Get-CNtfsPermission`, `Grant-CNtfsPermission`, `Revoke-CNtfsPermission`, and `Test-CNtfsPermission`, migrated
Expand All @@ -15,6 +21,7 @@ from Carbon to Carbon.FileSystem, do the following:
* Replace usages of the `Test-CNtfsPermission` function's `-Exact` switch to `-Strict`.
* Using the table below, replace usages of `Grant-CNtfsPermission` and `Test-CNtfsPermission` arguments in the left
column with the new arguments from the right column.

| Old Argument | New Argument(s)
|------------------------------------------------------|---------------------------------------------------------------------
| `-ApplyTo Container` | `-ApplyTo FolderOnly`
Expand Down
2 changes: 1 addition & 1 deletion Carbon.FileSystem/Carbon.FileSystem.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
RootModule = 'Carbon.FileSystem.psm1'

# Version number of this module.
ModuleVersion = '1.1.0'
ModuleVersion = '1.1.1'

# ID used to uniquely identify this module
GUID = '84e0a546-5791-4c7e-a05b-29d592029398'
Expand Down
6 changes: 2 additions & 4 deletions Carbon.FileSystem/prism.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"PSModules": [
{
"Name": "Carbon.Security",
"Version": "1.*-*"
"Version": "1.*"
}
],

"PSModulesDirectoryName": "Modules"
]
}
2 changes: 1 addition & 1 deletion Carbon.FileSystem/prism.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"PSModules": [
{
"name": "Carbon.Security",
"version": "1.0.0-rc6",
"version": "1.0.3",
"repositorySourceLocation": "https://www.powershellgallery.com/api/v2"
}
]
Expand Down
2 changes: 1 addition & 1 deletion Tests/Grant-CNtfsPermission.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ BeforeAll {
@optionalParams
$result = $result | Select-Object -Last 1
$result | Should -Not -BeNullOrEmpty
$result.IdentityReference | Should -Be (Resolve-CIdentityName $Identity)
$result.IdentityReference | Should -Be (Resolve-CPrincipalName $Identity)
$result | Should -BeOfType $expectedRuleType
if( -not $ExpectedPermission )
{
Expand Down
2 changes: 1 addition & 1 deletion Tests/Initialize-Test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ try
-Function @('Install-CDirectory')

Import-Module -Name (Join-Path -Path $PSScriptRoot -ChildPath '..\PSModules\Carbon.Accounts' -Resolve) `
-Function @('Resolve-CIdentityName')
-Function @('Resolve-CPrincipalName')
}
finally
{
Expand Down
2 changes: 1 addition & 1 deletion prism.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
{
"Name": "Carbon.Accounts",
"Version": "1.*-*"
"Version": "2.*"
}
]
}
2 changes: 1 addition & 1 deletion prism.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
{
"name": "Carbon.Accounts",
"version": "1.0.0-rc3",
"version": "2.0.2",
"repositorySourceLocation": "https://www.powershellgallery.com/api/v2"
}
]
Expand Down

0 comments on commit 62b6dc0

Please sign in to comment.