[libweasel-perl] 03/10: * Prepare 0.04 release

Robert James Clay jame at rocasa.us
Tue Aug 15 19:16:10 UTC 2017


This is an automated email from the git hooks/post-receive script.

jame-guest pushed a commit to tag v0.06
in repository libweasel-perl.

commit db4966781f22fb7c720438db349a50ecb2409f81
Author: Erik Huelsmann <ehuels at gmail.com>
Date:   Mon Jul 4 11:05:10 2016 +0200

    * Prepare 0.04 release
---
 CHANGES               | 4 ++++
 dist.ini              | 2 +-
 lib/Weasel.pm         | 4 ++--
 lib/Weasel/Session.pm | 3 ++-
 4 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/CHANGES b/CHANGES
index d56f0a7..35cb43c 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,7 @@
+** 0.0. / 2016-07-04\
+   - Fix timing problem initializing Session's 'page' attribute
+     (depends on 'page_class') by making it lazy
+
 ** 0.03 / 2016-07-03
    - Allow overriding the class of the object instantiated
      into the 'page' attribute
diff --git a/dist.ini b/dist.ini
index a1c66f8..628fa88 100644
--- a/dist.ini
+++ b/dist.ini
@@ -1,6 +1,6 @@
 name     = Weasel
 abstract = PHP's Mink inspired multi-protocol web-testing library for Perl
-version  = 0.03
+version  = 0.04
 author   = Erik Huelsmann <ehuels at gmail.com>
 copyright_holder = Erik Huelsmann
 main_module = lib/Pherkin/Extension/Weasel.pm
diff --git a/lib/Weasel.pm b/lib/Weasel.pm
index c661cc5..ee6a1ed 100644
--- a/lib/Weasel.pm
+++ b/lib/Weasel.pm
@@ -5,7 +5,7 @@ Weasel - Perl's php/Mink-inspired abstracted web-driver framework
 
 =head1 VERSION
 
-0.03
+0.04
 
 =head1 SYNOPSIS
 
@@ -110,7 +110,7 @@ use warnings;
 
 use Moose;
 
-our $VERSION = '0.03';
+our $VERSION = '0.04';
 
 =head1 ATTRIBUTES
 
diff --git a/lib/Weasel/Session.pm b/lib/Weasel/Session.pm
index 711a9c5..af700fb 100644
--- a/lib/Weasel/Session.pm
+++ b/lib/Weasel/Session.pm
@@ -88,7 +88,8 @@ Holds the root element of the target HTML page (the 'html' tag).
 
 has 'page' => (is => 'ro',
                isa => 'Weasel::Element::Document',
-               builder => '_page_builder');
+               builder => '_page_builder',
+               lazy => 1);
 
 sub _page_builder {
     my $self = shift;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libweasel-perl.git



More information about the Pkg-perl-cvs-commits mailing list