Skip to content

Commit 7c666b4

Browse files
📖 [Docs]: Rename module to CasingStyle (#4)
## Description This pull request includes updates to URLs and test descriptions to ensure consistency with the name change to `CasingStyle`. Documentation updates: * [`README.md`](diffhunk://#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L98-R100): Updated URLs for `ConvertTo-CasingStyle`, `Get-CasingStyle`, and `Split-CasingStyle` to reflect the correct paths. * [`src/functions/public/ConvertTo-CasingStyle.ps1`](diffhunk://#diff-258b23af5ee150cb504dd0c5ae9ca077838800780474332a2bdca6831e5e7ba0L26-R26): Updated the `.LINK` URL to the correct path. * [`src/functions/public/Get-CasingStyle.ps1`](diffhunk://#diff-95b4ce37b8898c19567d7a2598dc12aa9e21c40f97459f2883b6dafc14c9b063L63-R63): Updated the `.LINK` URL to the correct path. * [`src/functions/public/Split-CasingStyle.ps1`](diffhunk://#diff-fc6326239979c77a5e409ef744f5c3c80f517308d5fa4489f08c0a46d617bcd2L64-R64): Updated the `.LINK` URL to the correct path. Test updates: * [`tests/Casing.Tests.ps1`](diffhunk://#diff-2f2303af7c9cde9c678233849880c4fbbd3a657ae65db7ee89ccdf0e659d373bL1-R1): Changed the test description context from 'Casing' to 'CasingStyle' for consistency. ## Type of change <!-- Use the check-boxes [x] on the options that are relevant. --> - [ ] 📖 [Docs] - [ ] 🪲 [Fix] - [ ] 🩹 [Patch] - [ ] ⚠️ [Security fix] - [ ] 🚀 [Feature] - [ ] 🌟 [Breaking change] ## Checklist <!-- Use the check-boxes [x] on the options that are relevant. --> - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas
1 parent f75dd55 commit 7c666b4

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ Get-Help ConvertTo-CasingStyle -Examples
9595

9696
For further documentation, please visit the official documentation pages for each function:
9797

98-
- [ConvertTo-CasingStyle](https://psmodule.io/Casing/Functions/ConvertTo-CasingStyle/)
99-
- [Get-CasingStyle](https://psmodule.io/Casing/Functions/Get-CasingStyle/)
100-
- [Split-CasingStyle](https://psmodule.io/Casing/Functions/Split-CasingStyle/)
98+
- [ConvertTo-CasingStyle](https://psmodule.io/CasingStyle/Functions/ConvertTo-CasingStyle/)
99+
- [Get-CasingStyle](https://psmodule.io/CasingStyle/Functions/Get-CasingStyle/)
100+
- [Split-CasingStyle](https://psmodule.io/CasingStyle/Functions/Split-CasingStyle/)
101101

102102
## Contributing
103103

src/functions/public/ConvertTo-CasingStyle.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
[string] - The converted string
2424
2525
.LINK
26-
https://psmodule.io/Casing/Functions/ConvertTo-CasingStyle/
26+
https://psmodule.io/CasingStyle/Functions/ConvertTo-CasingStyle/
2727
#>
2828
[OutputType([string])]
2929
[CmdletBinding()]

src/functions/public/Get-CasingStyle.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
[string] - The detected casing style of the input string
6161
6262
.LINK
63-
https://psmodule.io/Casing/Functions/Get-CasingStyle/
63+
https://psmodule.io/CasingStyle/Functions/Get-CasingStyle/
6464
#>
6565
[OutputType([string])]
6666
[CmdletBinding()]

src/functions/public/Split-CasingStyle.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
[string[]] - An array of strings, each representing a word in the original string
6262
6363
.LINK
64-
https://psmodule.io/Casing/Functions/Split-CasingStyle/
64+
https://psmodule.io/CasingStyle/Functions/Split-CasingStyle/
6565
#>
6666
[CmdletBinding()]
6767
param(

tests/Casing.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Describe 'Casing' {
1+
Describe 'CasingStyle' {
22
Context 'Function: Get-CasingStyle' {
33
It "Get-CasingStyle: Detects 'testtesttest' as lowercase" {
44
'testtesttest' | Get-CasingStyle | Should -Be 'lowercase'

0 commit comments

Comments
 (0)