From f3dd74f210dc091259685cb60b2a3aacbf45ed13 Mon Sep 17 00:00:00 2001 From: Luis Majano Date: Mon, 22 Apr 2024 14:26:55 +0200 Subject: [PATCH] name updates --- .github/workflows/release.yml | 2 +- .github/workflows/snapshot.yml | 2 +- .github/workflows/tests.yml | 2 +- src/build/SetupTemplate.cfc | 70 ------------------- .../modules/bxmariadb/MariaDBDriver.java | 2 +- 5 files changed, 4 insertions(+), 74 deletions(-) delete mode 100644 src/build/SetupTemplate.cfc diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2b790d5..ac02c83 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,6 @@ # This workflow is used to build releases # It can also be called by other workflows to reuse the release flow. -name: BoxLang PostgreSQL Release +name: BoxLang MariaDB Release on: # If you push to main this will trigger a stable release diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 4154f1b..1a00f04 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -1,4 +1,4 @@ -name: BoxLang PostgreSQL Snapshots +name: BoxLang MariaDB Snapshots on: push: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b97a8f3..b41867c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,4 +1,4 @@ -name: BoxLang PostgreSQL Test Suites +name: BoxLang MariaDB Test Suites # We are a reusable Workflow only on: diff --git a/src/build/SetupTemplate.cfc b/src/build/SetupTemplate.cfc deleted file mode 100644 index 9939edc..0000000 --- a/src/build/SetupTemplate.cfc +++ /dev/null @@ -1,70 +0,0 @@ -/** - * Setup the Module Template according to your needs - */ -component { - - /** - * Constructor - */ - function init(){ - // Setup Pathing - variables.cwd = getCWD().reReplace( "\.$", "" ); - return this; - } - - /** - * Setup the module template - */ - function run(){ - - // remove old .git - //directoryDelete( variables.cwd & ".git", true ); - - // Create new git repo - //command( "!git init" ).run(); - - var moduleName = ask( "What is the human readable name of your module?" ); - if( !len( moduleName ) ){ - error( "Module Name is required" ); - } - var moduleSlug = ask( "What is the slug for your module?" ); - if( !len( moduleSlug ) ){ - error( "Module Slug is required" ); - } - var moduleDescription = ask( "Short description of your module?" ); - if( !len( moduleDescription ) ){ - error( "Module Description is required" ); - } - - command( "tokenReplace" ) - .params( - path = "/#variables.cwd#/**", - token = "BoxLang Apache Derby", - replacement = moduleName - ) - .run(); - - command( "tokenReplace" ) - .params( - path = "/#variables.cwd#/**", - token = "bx-postgresql", - replacement = moduleSlug - ) - .run(); - - command( "tokenReplace" ) - .params( - path = "/#variables.cwd#/**", - token = "Apache Derby JDBC Support", - replacement = moduleDescription - ) - .run(); - - // Finalize Message - print - .line() - .boldMagentaLine( "Your module template is now ready for development! Just add the github origin, commit some code and Go rock it!" ) - .toConsole(); - } - -} diff --git a/src/main/java/ortus/boxlang/modules/bxmariadb/MariaDBDriver.java b/src/main/java/ortus/boxlang/modules/bxmariadb/MariaDBDriver.java index 7612f37..02ff971 100644 --- a/src/main/java/ortus/boxlang/modules/bxmariadb/MariaDBDriver.java +++ b/src/main/java/ortus/boxlang/modules/bxmariadb/MariaDBDriver.java @@ -107,8 +107,8 @@ public String buildConnectionURL( DatasourceConfig config ) { ) ); } - // Append the : to the protocol if it exists + // Append the : to the protocol if it exists if ( protocol.length() > 0 ) { protocol += ":"; }