Skip to content

Commit

Permalink
refactor: fix casing for namespace DubUrl.OleDb (#655)
Browse files Browse the repository at this point in the history
  • Loading branch information
Seddryck authored Nov 12, 2023
1 parent 070840a commit a96dfd3
Show file tree
Hide file tree
Showing 28 changed files with 18 additions and 20 deletions.
2 changes: 1 addition & 1 deletion DubUrl.Adomd/DubUrl.Adomd.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<PackageId>DubUrl.Adomd</PackageId>
<RepositoryUrl>https://github.com/Seddryck/DubUrl</RepositoryUrl>
<PackageTags>connection-string;database;dax;adomd-net;powerbi</PackageTags>
<Description>Duburl provides a standardized URL-style mechanism for providing database connection information and opening a DbConnection in the .NET ecosystem</Description>
<Description>DubUrl provides a standardized URL-style mechanism for providing database connection information and opening a DbConnection in the .NET ecosystem</Description>
</PropertyGroup>

</Project>
4 changes: 2 additions & 2 deletions DubUrl.Core/DubUrl.csproj
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<PackageId>DubUrl</PackageId>
<RepositoryUrl>https://github.com/Seddryck/DubUrl</RepositoryUrl>
<PackageTags>connection-string;database;sql;odbc;ado-net;adonet</PackageTags>
<Description>Duburl provides a standardized URL-style mechanism for providing database connection information and opening a DbConnection in the .NET ecosystem</Description>
<Description>DubUrl provides a standardized URL-style mechanism for providing database connection information and opening a DbConnection in the .NET ecosystem</Description>
</PropertyGroup>

<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<PackageId>DubUrl.Extensions.DependencyInjection</PackageId>
<RepositoryUrl>https://github.com/Seddryck/DubUrl</RepositoryUrl>
<PackageTags>connection-string;database;sql;dependency-injection</PackageTags>
<Description>Duburl provides a standardized URL-style mechanism for providing database connection information and opening a DbConnection in the .NET ecosystem</Description>
<Description>DubUrl provides a standardized URL-style mechanism for providing database connection information and opening a DbConnection in the .NET ecosystem</Description>
</PropertyGroup>

</Project>
5 changes: 1 addition & 4 deletions DubUrl.OleDb.Testing/DubUrl.OleDb.Testing.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,9 @@
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Duburl.OleDb\DubUrl.OleDb.csproj" />
<ProjectReference Include="..\DubUrl.OleDb\DubUrl.OleDb.csproj" />
<ProjectReference Include="..\DubUrl.Testing\DubUrl.Testing.csproj" />
</ItemGroup>
<ItemGroup>
<Folder Include="Mapping\" />
</ItemGroup>
<PropertyGroup>
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Text;
using System.Threading.Tasks;
using DubUrl.Rewriting;
using Duburl.OleDb.Mapping;
using DubUrl.OleDb.Mapping;

namespace DubUrl.OleDb
{
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<ItemGroup>
<PackageReference Include="System.Data.OleDb" Version="7.0.0" />
Expand All @@ -12,7 +12,7 @@
<PackageId>DubUrl.OleDb</PackageId>
<RepositoryUrl>https://github.com/Seddryck/DubUrl</RepositoryUrl>
<PackageTags>connection-string;database;sql;oledb</PackageTags>
<Description>Duburl provides a standardized URL-style mechanism for providing database connection information and opening a DbConnection in the .NET ecosystem</Description>
<Description>DubUrl provides a standardized URL-style mechanism for providing database connection information and opening a DbConnection in the .NET ecosystem</Description>
</PropertyGroup>

</Project>
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Text;
using System.Threading.Tasks;

namespace Duburl.OleDb.Mapping
namespace DubUrl.OleDb.Mapping
{
public interface IOleDbMapper : IMapper { }
}
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
using DubUrl.Querying.Parametrizing;
using DubUrl.Rewriting.Tokening;
using DubUrl.Rewriting;
using Duburl.OleDb.Mapping;
using DubUrl.OleDb.Mapping;

namespace DubUrl.OleDb.Mapping
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using System.Text;
using System.Threading.Tasks;
using DubUrl.Rewriting;
using Duburl.OleDb.Mapping;
using DubUrl.OleDb.Mapping;

namespace DubUrl.OleDb
{
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Duburl.OleDb;
using DubUrl.OleDb;
using DubUrl.Mapping;
using System;
using System.Collections.Generic;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion DubUrl.QA/DubUrl.QA.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
<ProjectReference Include="..\DubUrl.Adomd\DubUrl.Adomd.csproj" />
<ProjectReference Include="..\DubUrl.Core\DubUrl.csproj" />
<ProjectReference Include="..\DubUrl.Extensions.DependencyInjection\DubUrl.Extensions.DependencyInjection.csproj" />
<ProjectReference Include="..\Duburl.OleDb\DubUrl.OleDb.csproj" />
<ProjectReference Include="..\DubUrl.OleDb\DubUrl.OleDb.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion DubUrl.QA/deploy-test-harness.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ if ($suites.Length -eq 0 -and "" -ne $suite -and $null -ne $suite) {

if ($suites.Length -eq 0) {
Write-Host "Executing test harness for all the test suites ..."
$suites = Get-ChildItem -Path ".\Duburl.QA" -Filter "deploy-*-test-env.ps1" -Recurse `
$suites = Get-ChildItem -Path ".\DubUrl.QA" -Filter "deploy-*-test-env.ps1" -Recurse `
| Select-Object "Name" | ForEach{$_.Name.Substring(7,$_.Name.Substring(7).IndexOf("-"))}

if ($exclude.Length -gt 0) {
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ test_script:
- pwsh: |
$force = ($env:APPVEYOR_REPO_BRANCH -eq "main") #Valid for a Pull Request or a Commit on main
& .\Duburl.QA\deploy-test-harness.ps1 -force:$force -config "Release" -frameworks @("net6.0") -exclude @("CockRoach", "Drill", "Trino", "PowerBIDesktop")
& .\DubUrl.QA\deploy-test-harness.ps1 -force:$force -config "Release" -frameworks @("net6.0") -exclude @("CockRoach", "Drill", "Trino", "PowerBIDesktop")
if ($lastexitcode -gt 0) {
throw "At least one of the test-suite was not successful. Build stopped."
}
Expand Down
5 changes: 3 additions & 2 deletions generate-oledb-provider-info.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ If(Test-Path -LiteralPath $destinationPath\$destinationFile -PathType leaf) {

########### Generate JSON file #############

$assemblyPath = "DubUrl.OleDb\bin"
$assemblyPath = "DubUrl.QA\bin"
Set-Location $assemblyPath
$dllfile = "net6.0\DubUrl.OleDb.dll"

Expand All @@ -25,6 +25,7 @@ If ((-not (Test-Path -Path "Release\$dllfile")) -or ("Release\$dllfile".Creation
$directory = "Release"
}

Add-Type -Path "$directory\net6.0\Antlr4.StringTemplate.dll"
Add-Type -Path "$directory\$dllfile"


Expand All @@ -51,4 +52,4 @@ If ($hash.Hash -eq (Get-FileHash $destinationPath\$destinationFile).Hash) {
Exit 1
}

Remove-Type -Path "$directory\$dllfile"
Remove-Type -Path "$directory\$dllfile"

0 comments on commit a96dfd3

Please sign in to comment.