<commit_before>#! 
# https://www.sitepoint.com/creating-your-first-gem/
gem build $PSScriptRoot/kitchen-pester.gemspec

rm -EA SilentlyContinue -Force ~/appdata/local/chefdk/gem/ruby/*/cache/kitchen-pester-*.gem
rm -EA SilentlyContinue -Force ~/appdata/local/chefdk/gem/ruby/*/specifications/kitchen-dsc-*.gemspec
rm -EA SilentlyContinue -Force ~/appdata/local/chefdk/gem/ruby/*/gems/kitchen-pester-* -Recurse

rm -EA SilentlyContinue -Force C:\tools\ruby30\lib\ruby\gems\*\cache\kitchen-pester-*.gem
rm -EA SilentlyContinue -Force C:\tools\ruby30\lib\ruby\gems\*\gems\kitchen-pester- -Recurse
rm -EA SilentlyContinue -Force C:\tools\ruby30\lib\ruby\gems\*\specifications\kitchen-pester-*.gemspec

Get-Date
gem install (gi $PSScriptRoot/kitchen-pester-*.gem).Name<commit_msg>fixed comments<commit_after>param (
    [Parameter()]
    [String[]]
    $FilesAndFoldersToClean = @(
        '~/appdata/local/chefdk/gem/ruby/*/cache/kitchen-pester-*.gem'
        '~/appdata/local/chefdk/gem/ruby/*/specifications/kitchen-dsc-*.gemspec'
        '~/appdata/local/chefdk/gem/ruby/*/gems/kitchen-pester-*'
        'C:\tools\ruby30\lib\ruby\gems\*\cache\kitchen-pester-*.gem'
        'C:\tools\ruby30\lib\ruby\gems\*\gems\kitchen-pester-*'
        'C:\tools\ruby30\lib\ruby\gems\*\specifications\kitchen-pester-*.gemspec'
    )
)
#! 
# https://www.sitepoint.com/creating-your-first-gem/
gem build $PSScriptRoot/kitchen-pester.gemspec

$FilesAndFoldersToClean | ForEach-Object -Process {
    Remove-Item -ErrorAction SilentlyContinue -Force -Recurse -Path $_
}


Get-Date
gem install (Get-Item -Path $PSScriptRoot/kitchen-pester-*.gem).Name
{'fraction_non_alphanumeric': 0.17086662569145666, 'fraction_numerical': 0.007375537799631223, 'mean_word_length': 3.7052023121387285, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2800416', 'n_tokens_mistral': 659, 'n_tokens_neox': 606, 'n_words': 71}