Skip to content

Commit

Permalink
Fix some minor typo (or misspelling)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshikazusawa committed Mar 6, 2024
1 parent eafd3d6 commit c0d4217
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Revision history for Perl extension Teng
- FIX: Perl 5.26+ removes dot from @INC(#161)
- ADD: default_row_class_prefix option to Teng::Schema::Dumper (#160 thanks onk)
- MODIFY: Extract trace_query_set_comment (#162 thanks onk)
- ADD: trace_ignore_if option for ignoreing class in tracing (#163 thanks onk)
- ADD: trace_ignore_if option for ignoring class in tracing (#163 thanks onk)

0.32 2020-03-25T06:22:57Z
- FIX: Temg::Row#set_column ignores to set original value again (thanks nipotan)
Expand Down Expand Up @@ -198,7 +198,7 @@ Revision history for Perl extension Teng
0.04
2011-01-19
- fixed Makefile.PL
- fixed error ocurred in a middle of a transaction.
- fixed error occurred in a middle of a transaction.

0.03
2011-01-19
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ products derived from this software without specific prior written permission.

10. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE.

The End
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,13 @@ Teng provides a number of methods to all your classes,

- `sql_builder`

Speficies the SQL builder object. By default SQL::Maker is used, and as such,
Specifies the SQL builder object. By default SQL::Maker is used, and as such,
if you provide your own SQL builder the interface needs to be compatible
with SQL::Maker.

- `sql_builder_class` : Str

Speficies the SQL builder class name. By default SQL::Maker is used, and as such,
Specifies the SQL builder class name. By default SQL::Maker is used, and as such,
if you provide your own SQL builder the interface needs to be compatible
with SQL::Maker.

Expand All @@ -188,7 +188,7 @@ Teng provides a number of methods to all your classes,

- `sql_builder_args` : HashRef

Speficies the arguments for constructor of `sql_builder_class`. This is not used when `sql_builder` is specified.
Specifies the arguments for constructor of `sql_builder_class`. This is not used when `sql_builder` is specified.

- `trace_ignore_if` : CodeRef

Expand Down
8 changes: 4 additions & 4 deletions lib/Teng.pm
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ sub reconnect {
# my $dbh3 = $dbh2->clone({});
# $dbh2 is ok, but $dbh3 is undef.
# ---
# Don't assign $self-{dbh} directry.
# Don't assign $self-{dbh} directly.
# Because if $self->{dbh} is undef then reconnect fail always.
# https://github.com/nekokak/p5-Teng/pull/98
my $new_dbh = eval { $dbh->clone }
Expand Down Expand Up @@ -943,13 +943,13 @@ If you specifies this to a C<true> value, C<set_column> or column name method wi
=item * C<sql_builder>
Speficies the SQL builder object. By default SQL::Maker is used, and as such,
Specifies the SQL builder object. By default SQL::Maker is used, and as such,
if you provide your own SQL builder the interface needs to be compatible
with SQL::Maker.
=item * C<sql_builder_class> : Str
Speficies the SQL builder class name. By default SQL::Maker is used, and as such,
Specifies the SQL builder class name. By default SQL::Maker is used, and as such,
if you provide your own SQL builder the interface needs to be compatible
with SQL::Maker.
Expand All @@ -964,7 +964,7 @@ This is not used when C<sql_builder> is specified.
=item * C<sql_builder_args> : HashRef
Speficies the arguments for constructor of C<sql_builder_class>. This is not used when C<sql_builder> is specified.
Specifies the arguments for constructor of C<sql_builder_class>. This is not used when C<sql_builder> is specified.
=item * C<trace_ignore_if> : CodeRef
Expand Down
2 changes: 1 addition & 1 deletion t/001_basic/001_compile.t
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ BEGIN { use_ok( 'Mock::Basic' ); }
isa_ok 'Mock::Basic', 'Teng';

use DBD::SQLite;
diag('DBD::SQLite versin is '.$DBD::SQLite::VERSION);
diag('DBD::SQLite version is '.$DBD::SQLite::VERSION);

done_testing;
2 changes: 1 addition & 1 deletion t/001_basic/003_schema_loader.t
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ subtest 'auto create teng class' => sub {
}
}

subtest 'constructor is overrided' => sub {
subtest 'constructor is overrode' => sub {
local $@;

my $db = eval {
Expand Down

0 comments on commit c0d4217

Please sign in to comment.