From fa1f1b79a4b5fe2f71c1d3bd906b230a4c2e9808 Mon Sep 17 00:00:00 2001 From: Keita Jamadam Sugama Date: Thu, 12 Feb 2026 18:20:45 +0900 Subject: [PATCH 1/5] update cpanfile and meta --- META.json | 3 ++- cpanfile | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/META.json b/META.json index e3f3ac6..52a798a 100644 --- a/META.json +++ b/META.json @@ -120,11 +120,12 @@ "Class::Trigger" : "0", "DBI" : "0", "List::Util" : "0", - "perl" : "5.006001" + "perl" : "5.008001" } }, "test" : { "requires" : { + "Digest::SHA" : "0", "Tie::IxHash" : "0", "version" : "0" } diff --git a/cpanfile b/cpanfile index 3ea7334..d8c9b94 100644 --- a/cpanfile +++ b/cpanfile @@ -3,7 +3,7 @@ requires 'Class::Data::Inheritable'; requires 'Class::Trigger'; requires 'DBI'; requires 'List::Util'; -requires 'perl', '5.006001'; +requires 'perl', '5.008001'; recommends 'Text::SimpleTable'; on configure => sub { From 5a48de9d842a45f33b5986567481305273cbccfa Mon Sep 17 00:00:00 2001 From: Keita Jamadam Sugama Date: Thu, 12 Feb 2026 18:21:15 +0900 Subject: [PATCH 2/5] add missing methods in pod --- lib/Data/ObjectDriver/SQL.pm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/Data/ObjectDriver/SQL.pm b/lib/Data/ObjectDriver/SQL.pm index d5d8622..7989641 100644 --- a/lib/Data/ObjectDriver/SQL.pm +++ b/lib/Data/ObjectDriver/SQL.pm @@ -707,6 +707,10 @@ The list of name of indexes which to use. Returns the SQL fully representing the SQL statement C<$sql>. +=head2 C<$sql-Eas_subquery($alias)> + +Returns a string repesenting the SQL statement for subquery uses. C<$alias> is optional. + =head2 C<$sql-Eas_sql_having()> Returns the SQL representing the C portion of C<$sql>'s C clause of the statement. Returns the SQL representing the aggregation clause of type C<$set> for the SQL statement C<$sql>. Reasonable values of C<$set> are C and C. +=head2 C<$sql-Eas_escape()> + +Returns a string repesenting the C clause for use within C predicates. + =head1 DIAGNOSTICS =over 4 From 12ffb3c365a1cdf33fa6455567614b88a74805a6 Mon Sep 17 00:00:00 2001 From: Keita Jamadam Sugama Date: Thu, 12 Feb 2026 18:57:29 +0900 Subject: [PATCH 3/5] typo --- lib/Data/ObjectDriver/SQL.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Data/ObjectDriver/SQL.pm b/lib/Data/ObjectDriver/SQL.pm index 7989641..3fe9339 100644 --- a/lib/Data/ObjectDriver/SQL.pm +++ b/lib/Data/ObjectDriver/SQL.pm @@ -709,7 +709,7 @@ Returns the SQL fully representing the SQL statement C<$sql>. =head2 C<$sql-Eas_subquery($alias)> -Returns a string repesenting the SQL statement for subquery uses. C<$alias> is optional. +Returns a string representing the SQL statement for subquery. C<$alias> is optional. =head2 C<$sql-Eas_sql_having()> @@ -731,7 +731,7 @@ statement C<$sql>. Reasonable values of C<$set> are C and C. =head2 C<$sql-Eas_escape()> -Returns a string repesenting the C clause for use within C predicates. +Returns a string representing the C clause for use within C predicates. =head1 DIAGNOSTICS From 44551877733722c7e2868979f002a79ec417ed14 Mon Sep 17 00:00:00 2001 From: Keita Jamadam Sugama Date: Thu, 12 Feb 2026 21:14:53 +0900 Subject: [PATCH 4/5] better wording --- lib/Data/ObjectDriver/SQL.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Data/ObjectDriver/SQL.pm b/lib/Data/ObjectDriver/SQL.pm index 3fe9339..db1e1f9 100644 --- a/lib/Data/ObjectDriver/SQL.pm +++ b/lib/Data/ObjectDriver/SQL.pm @@ -709,7 +709,7 @@ Returns the SQL fully representing the SQL statement C<$sql>. =head2 C<$sql-Eas_subquery($alias)> -Returns a string representing the SQL statement for subquery. C<$alias> is optional. +Returns a string representation of C<$sql> as a subquery. C<$alias> is optional. =head2 C<$sql-Eas_sql_having()> @@ -731,7 +731,7 @@ statement C<$sql>. Reasonable values of C<$set> are C and C. =head2 C<$sql-Eas_escape()> -Returns a string representing the C clause for use within C predicates. +Returns a string representing the C clause for C predicates. =head1 DIAGNOSTICS From 0606e45adaa0897a8df40bab4a469bff61cfcd5f Mon Sep 17 00:00:00 2001 From: Keita Jamadam Sugama Date: Thu, 12 Feb 2026 21:24:55 +0900 Subject: [PATCH 5/5] add xt test job for ci --- .github/workflows/build.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5348bfb..61fb21f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -74,3 +74,15 @@ jobs: run: curl -sL https://git.io/cpm | sudo perl - install -g --with-recommends --with-test --with-configure --show-build-log-on-failure --feature=test_postgresql --feature=test_fork - name: Run tests run: DOD_TEST_DRIVER=PostgreSQL prove -lr -j4 t + + xt-tests: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: perl -V + run: perl -V + - name: Install dependencies + run: curl -sL https://git.io/cpm | sudo perl - install -g --with-recommends --with-test --with-configure --show-build-log-on-failure + - name: Run tests + run: prove -lr xt