Compare commits
10 Commits
c1e108dfe6
...
f90ff17a6b
Author | SHA256 | Date | |
---|---|---|---|
f90ff17a6b | |||
0a91cdf15f | |||
4fe4184ff5 | |||
181a99ba61 | |||
6e8bed5658 | |||
|
221766d5a2 | ||
|
c04e645442 | ||
30080ed888 | |||
|
53ac5f6cbe | ||
|
c3033e40b4 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3c88bd9322d3d1a215b0c8dad8b27f06885a063f8f47fb8747f6e86f8b9d7116
|
||||
size 69289
|
3
DBD-Mock-1.59.tar.gz
Normal file
3
DBD-Mock-1.59.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0a5aa5953ab65cf790681e6c0452e318ad57d80ac27f575f84918c603aa47406
|
||||
size 75533
|
@@ -1,3 +1,103 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 23 03:07:49 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 1.59
|
||||
see /usr/share/doc/packages/perl-DBD-Mock/Changes
|
||||
|
||||
1.59 2021-02-22T13:25:52Z
|
||||
- Added error detection for when a result set's callback doesn't return
|
||||
an arrayref or arrayrefs
|
||||
- Moved to GitLab for issue tracking
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 3 03:09:48 UTC 2020 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 1.58
|
||||
see /usr/share/doc/packages/perl-DBD-Mock/Changes
|
||||
|
||||
1.58 2020-11-02T13:34:48Z
|
||||
- Added the ability for mock result sets to set custom attributes for
|
||||
statement handles. Thanks to Erik Huelsmann for testing the new feature.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 19 03:08:38 UTC 2020 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 1.57
|
||||
see /usr/share/doc/packages/perl-DBD-Mock/Changes
|
||||
|
||||
1.57 2020-09-18T06:57:48Z
|
||||
- Fixed bug rt133358 t/016_mock_add_resultset_test.t fails (with older DBI)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 18 03:08:49 UTC 2020 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 1.56
|
||||
see /usr/share/doc/packages/perl-DBD-Mock/Changes
|
||||
|
||||
1.56 2020-09-17T14:35:10Z
|
||||
- The DBD::st module now supports the last_insert_id method
|
||||
- Result sets with callbacks can now specify a last_insert_id
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 31 03:07:21 UTC 2019 - <timueller+perl@suse.de>
|
||||
|
||||
- updated to 1.55
|
||||
see /usr/share/doc/packages/perl-DBD-Mock/Changes
|
||||
|
||||
1.55 2019-12-30T14:20:00Z
|
||||
- Fixed bug rt131264 t/033_table_info.t fails (with older DBI)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 24 03:07:20 UTC 2019 - <timueller+perl@suse.de>
|
||||
|
||||
- updated to 1.54
|
||||
see /usr/share/doc/packages/perl-DBD-Mock/Changes
|
||||
|
||||
1.54 2019-12-23T12:44:22Z
|
||||
- Added Bernhard Graf's 'Feature: one shot failure' merge request.
|
||||
- Fixed description of the failure attribute of mock_add_resultset. It
|
||||
no longer claims to support a hash ref (as it doesn't). Thanks to
|
||||
Bernhard Graf for both the bug report and a merge request that fixes it.
|
||||
- Fixed bug where it wasn't possible to replace a regular expression
|
||||
mock resultset. Thanks to Bernhard Graf for both the bug report and
|
||||
a merge request that fixes it.
|
||||
- Fixed bug where the failure attribute wasn't working with regular
|
||||
expression mock resultsets. Thanks to Bernhard Graf for both the bug
|
||||
report and a merge request that fixes it.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 4 03:07:45 UTC 2019 - <timueller+perl@suse.de>
|
||||
|
||||
- updated to 1.53
|
||||
see /usr/share/doc/packages/perl-DBD-Mock/Changes
|
||||
|
||||
1.53 2019-12-03T10:50:57Z
|
||||
- Error handling in mock_add_resultset is no longer experimental
|
||||
- Attribute Aliasing is no longer experimental
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 29 09:37:35 UTC 2019 - <timueller+perl@suse.de>
|
||||
|
||||
- updated to 1.52
|
||||
see /usr/share/doc/packages/perl-DBD-Mock/Changes
|
||||
|
||||
1.52 2019-10-28T11:35:41Z
|
||||
- Added in callback feature for result sets so that their contents
|
||||
can be more dynamic.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 24 09:42:18 UTC 2019 - <timueller+perl@suse.de>
|
||||
|
||||
- updated to 1.51
|
||||
see /usr/share/doc/packages/perl-DBD-Mock/Changes
|
||||
|
||||
1.51 2019-10-23T11:43:51Z
|
||||
- Fixed issue with using attribute aliases alongside a driver DSN
|
||||
in the DBI->connect call
|
||||
|
||||
1.50 2019-10-22T19:37:26Z
|
||||
- Added attribute aliases support for MariaDB
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 13 07:29:16 UTC 2019 - <timueller+perl@suse.de>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-DBD-Mock
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,26 +16,37 @@
|
||||
#
|
||||
|
||||
|
||||
Name: perl-DBD-Mock
|
||||
Version: 1.49
|
||||
Release: 0
|
||||
%define cpan_name DBD-Mock
|
||||
Summary: Mock database driver for testing
|
||||
Name: perl-DBD-Mock
|
||||
Version: 1.590.0
|
||||
Release: 0
|
||||
# 1.59 -> normalize -> 1.590.0
|
||||
%define cpan_version 1.59
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Group: Development/Libraries/Perl
|
||||
Url: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/J/JL/JLCOOPER/%{cpan_name}-%{version}.tar.gz
|
||||
Summary: Mock database driver for testing
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/J/JL/JLCOOPER/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(DBI) >= 1.3
|
||||
BuildRequires: perl(List::Util) >= 1.27
|
||||
BuildRequires: perl(Module::Build)
|
||||
BuildRequires: perl(Module::Build::Tiny) >= 0.035
|
||||
BuildRequires: perl(Test::Exception) >= 0.310000
|
||||
BuildRequires: perl(Test::Exception) >= 0.31
|
||||
Requires: perl(DBI) >= 1.3
|
||||
Requires: perl(List::Util) >= 1.27
|
||||
Provides: perl(DBD::Mock) = %{version}
|
||||
Provides: perl(DBD::Mock::Pool)
|
||||
Provides: perl(DBD::Mock::Pool::db)
|
||||
Provides: perl(DBD::Mock::Session)
|
||||
Provides: perl(DBD::Mock::StatementTrack)
|
||||
Provides: perl(DBD::Mock::StatementTrack::Iterator)
|
||||
Provides: perl(DBD::Mock::db)
|
||||
Provides: perl(DBD::Mock::dr)
|
||||
Provides: perl(DBD::Mock::st)
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@@ -65,8 +76,9 @@ article by chromatic about using Test::MockObject in this and other ways,
|
||||
strongly recommended. (See SEE ALSO for a link)
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||
|
||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
perl Build.PL --installdirs=vendor
|
||||
@@ -80,8 +92,7 @@ perl Build.PL --installdirs=vendor
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes CONTRIBUTING.md minil.toml README.md
|
||||
%doc Changes CONTRIBUTING.md README.md
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user