<commit_before>﻿$versionToken = "__VERSION__";
$version = "v1.0.1"

$packageNameToken = "__PACKAGE_NAME__";
$packageName = "TidyJson.portable";

$projectBaseUrl = "https://github.com/MasterDevs/TidyJson";
$projectBaseUrlToken = "__PROJECT_BASE_URL__"

Get-ChildItem -r -include "chocolatey*.ps1","*.nuspec" |
 ForEach-Object { $file = $_; ( Get-Content $file ) |
 ForEach-Object { $_ -replace $versionToken, $version }  | 
 ForEach-Object { $_ -replace $packageNameToken, $packageName }  | 
 ForEach-Object { $_ -replace $projectBaseUrlToken, $projectBaseUrl }  | 
Set-Content $file.FullName  }<commit_msg>Specify encoding, and skip nuspec files<commit_after>﻿$versionToken = "__VERSION__";
$version = "v1.0.1"

$packageNameToken = "__PACKAGE_NAME__";
$packageName = "TidyJson.portable";

$projectBaseUrl = "https://github.com/MasterDevs/TidyJson";
$projectBaseUrlToken = "__PROJECT_BASE_URL__"

Get-ChildItem -r -include "chocolatey*.ps1" |
 ForEach-Object { $file = $_; ( Get-Content $file ) |
 ForEach-Object { $_ -replace $versionToken, $version }  | 
 ForEach-Object { $_ -replace $packageNameToken, $packageName }  | 
 ForEach-Object { $_ -replace $projectBaseUrlToken, $projectBaseUrl }  | 
Set-Content $file.FullName  -Encoding UTF8 }
{'fraction_non_alphanumeric': 0.15217391304347827, 'fraction_numerical': 0.007246376811594203, 'mean_word_length': 5.215, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, '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': '3737406', 'n_tokens_mistral': 432, 'n_tokens_neox': 431, 'n_words': 75}