[koha-commits] main Koha release repository branch master updated. v16.05.00-1123-g23c86c3
Git repo owner
gitmaster at git.koha-community.org
Fri Oct 21 19:38:52 CEST 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via 23c86c3769407a2387011ac82ee97685f1841d48 (commit)
via 60fc63ef4dd14fc6068ae5cfc202e5c200f0575b (commit)
via 71e7804d2c5b7576a86cfe2234cff34020742d77 (commit)
from ff9937a137518feaa7bd7dfcb32d01965da58f91 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 23c86c3769407a2387011ac82ee97685f1841d48
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Oct 13 14:17:13 2016 +0100
Bug 17425: Add the Object::MethodNotCoveredByTests exception
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
commit 60fc63ef4dd14fc6068ae5cfc202e5c200f0575b
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Tue Oct 11 13:33:24 2016 +0200
Bug 17425: Add Try::Tiny dependency
This patch just introduces Try::Tiny as a core Koha dependency.
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
commit 71e7804d2c5b7576a86cfe2234cff34020742d77
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Tue Oct 11 11:52:12 2016 +0200
Bug 17425: Make Koha::Object raise exceptions
This patch makes Koha::Object raise exceptions in the following
situations:
- When a non existent accessor is called
- When a non existent property is tried to be updated using ->set
On implementing this change, we introduce Koha::Exceptions::Object class
to contain all Koha::Object-specific exception definitions.
Unit tests for this change are introduced in
t/db_dependent/Koha/Objects.t
To test:
- Apply the patches on master
- Run:
$ prove t/db_dependent/Koha/Objects.t
=> SUCCESS: Tests return green
- Sign off
Note: A followup introduces the dependency for Try::Tiny. It needs to be
present for running the tests.
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
C4/Installer/PerlDependencies.pm | 5 +++++
Koha/Exceptions/Object.pm | 24 ++++++++++++++++++++++++
Koha/Object.pm | 9 ++++-----
t/db_dependent/Koha/Objects.t | 32 ++++++++++++++++++++++++++++----
4 files changed, 61 insertions(+), 9 deletions(-)
create mode 100644 Koha/Exceptions/Object.pm
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list