Changeset 174


Ignore:
Timestamp:
Jun 13, 2003, 2:57:39 PM (19 years ago)
Author:
kake
Message:

Fixed OpenGuides::Utils to take note of dbhost. Bumped version number.

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Changes

    r173 r174  
     10.17    13 June 2003
     2        Fixed OpenGuides::Utils to take note of dbhost.
     3
    140.16    26 May 2003
    25        Ivor fixed OpenGuides::Diff to diff by word instead of by character.
  • trunk/PREREQUISITES

    r173 r174  
    1 Modules required by OpenGuides 0.16
     1Modules required by OpenGuides 0.17
    22===================================
    33
  • trunk/lib/OpenGuides.pm

    r173 r174  
    44use vars qw( $VERSION );
    55
    6 $VERSION = '0.16';
     6$VERSION = '0.17';
    77
    88=head1 NAME
  • trunk/lib/OpenGuides/Utils.pm

    r173 r174  
    33use strict;
    44use vars qw( $VERSION );
    5 $VERSION = '0.02';
     5$VERSION = '0.03';
    66
    77use Carp qw( croak );
     
    6868        dbuser => $config->{_}{dbuser},
    6969        dbpass => $config->{_}{dbpass},
     70        dbhost => $config->{_}{dbhost},
    7071    );
    7172
  • trunk/t/11_utils.t

    r173 r174  
    11use strict;
    22use Config::Tiny;
    3 use Test::More tests => 8;
     3use Test::More tests => 9;
    44
    55# Need to use a BEGIN block for the test or we get "Too late to run INIT block"
     
    2525ok( $wiki->search_obj, "...and search defined" );
    2626ok( $wiki->formatter,  "...and formatter defined" );
     27
     28# Ensure that we take note of any defined dbhost - note that this test
     29# is only useful if we've defined a dbhost during perl Build.PL
     30is( $wiki->store->dbhost, $config->{_}->{dbhost}, "dbhost taken note of" );
  • trunk/wiki.cgi

    r173 r174  
    55
    66use vars qw( $VERSION );
    7 $VERSION = '0.16';
     7$VERSION = '0.17';
    88
    99use CGI qw/:standard/;
Note: See TracChangeset for help on using the changeset viewer.