Viscalyx.Assert.psd1

@{
    # Script module or binary module file associated with this manifest.
    RootModule           = 'Viscalyx.Assert.psm1'

    # Version number of this module.
    ModuleVersion        = '1.2.1'

    # ID used to uniquely identify this module
    GUID                 = '40fd578c-f818-46bc-84d3-8de933d0cf7d'

    # Author of this module
    Author               = 'Viscalyx' # cSpell: ignore Viscalyx

    # Company or vendor of this module
    CompanyName          = 'Viscalyx'

    # Copyright statement for this module
    Copyright            = 'Copyright the Viscalyx.Assert contributors. All rights reserved.'

    # Description of the functionality provided by this module
    Description          = 'Assertions for Pester that can improve your tests.'

    # Minimum version of the PowerShell engine required by this module
    PowerShellVersion    = '5.1'

    # Modules that must be imported into the global environment prior to importing this module
    RequiredModules      = @()

    # Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
    FunctionsToExport    = @('Assert-BitwiseFlag','Assert-BlockString','Assert-NotBitwiseFlag','Assert-ObjectMethod','Assert-ObjectProperty')

    # Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
    CmdletsToExport      = @()

    # Variables to export from this module
    VariablesToExport    = @()

    # Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
    AliasesToExport      = @('Should-HaveFlag','Should-BeBlockString','Should-NotHaveFlag','Should-HaveMethod','Should-HaveProperty')

    # DSC resources to export from this module
    DscResourcesToExport = @()

    # Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
    PrivateData          = @{
        PSData = @{
            # Tags applied to this module. These help with module discovery in online galleries.
            Tags         = @('Pester', 'Assertion', 'Testing', 'TDD', 'BDD', 'Assert', 'PesterAssertion')

            # A URL to the license for this module.
            LicenseUri   = 'https://github.com/viscalyx/Viscalyx.Assert/blob/main/LICENSE'

            # A URL to the main website for this project.
            ProjectUri   = 'https://github.com/viscalyx/Viscalyx.Assert'

            # A URL to an icon representing this module.
            IconUri      = 'https://avatars.githubusercontent.com/u/53994072'

            # ReleaseNotes of this module
            ReleaseNotes = '## [1.2.1] - 2025-12-15

### Added

- `Assert-BitwiseFlag`
  - New command to assert that a value has the specified bitwise flag set.
    Supports integers, enums, and array processing with `-Each` parameter.
    Alias: `Should-HaveFlag`.
  - Added `-All` parameter to require all array elements have the flag set
    (default behavior when used with `-Each`).
  - Added `-Any` parameter to require at least one array element has the flag
    set when used with `-Each`.
- `Assert-NotBitwiseFlag`
  - New command to assert that an integer value does not have specific bitwise
    flags set. Supports integers, enums, and array processing with `-Each`
    parameter. Alias: `Should-NotHaveFlag`.
  - Added `-All` parameter to require all array elements do not have the flag set
    (default behavior when used with `-Each`).
  - Added `-Any` parameter to require at least one array element does not
    have the flag set when used with `-Each`.
- Added private functions:
  - `Assert-BitwiseType` - Validates that a value is compatible with bitwise
    operations (integer or enum type).
  - `Get-ProcessedPipelineInput` - Processes pipeline input for assertion
    commands, handling single-element array unwrapping.
  - `Test-BitwiseCompatible` - Tests whether a value can be used in bitwise
    operations (integers and enums).
  - `Test-BitwiseFlagSet` - Tests if a value has specific bitwise flags set.

### Changed

- Bump action codeql-action/upload-sarif to v4
- Bump action checkout to v6

'


            # Prerelease string of this module
            Prerelease   = ''
        } # End of PSData hashtable
    } # End of PrivateData hashtable
}