Skip to content

Commit

Permalink
Object-InsideOut v3.97
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhedden committed Apr 22, 2016
1 parent 169eb4f commit 8f75b9f
Show file tree
Hide file tree
Showing 21 changed files with 42 additions and 35 deletions.
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Revision history for Perl extension Object::InsideOut.

3.97 Thu Nov 15 13:34:15 2012
- Fix for panic during destroy from Krzysztof Lewicki

3.96 Mon Oct 1 12:22:50 2012
- Tweaks in tests for changes in core warning messages

Expand Down
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Object-InsideOut version 3.96
Object-InsideOut version 3.97
=============================

This module provides comprehensive support for implementing classes using the
Expand Down
4 changes: 2 additions & 2 deletions examples/YAPI.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Term::YAPI; {
use strict;
use warnings;

our $VERSION = '3.96';
our $VERSION = '3.97';

#####
#
Expand All @@ -22,7 +22,7 @@ package Term::YAPI; {
$threaded_okay = !$@;
}

use Object::InsideOut 3.96;
use Object::InsideOut 3.97;

# Default progress indicator is a twirling bar
my @yapi :Field
Expand Down
8 changes: 4 additions & 4 deletions lib/Bundle/Object/InsideOut.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package Bundle::Object::InsideOut;
use strict;
use warnings;

our $VERSION = '3.96';
our $VERSION = '3.97';
$VERSION = eval $VERSION;

1;
Expand Down Expand Up @@ -44,11 +44,11 @@ Test::Pod::Coverage 1.08 - Tests POD coverage
threads 1.86 - Support for threads
threads::shared 1.41 - Support for sharing objects between threads
threads::shared 1.42 - Support for sharing objects between threads
Want 0.21 - :lvalue accessor support
Data::Dumper 2.135 - Object serialization support
Data::Dumper 2.136 - Object serialization support
Storable 2.39 - Object serialization support
Expand All @@ -58,7 +58,7 @@ Class::Data::Inheritable 0.08 - Used by Exception::Class
Exception::Class 1.35 - Error handling
Object::InsideOut 3.96 - Inside-out object support
Object::InsideOut 3.97 - Inside-out object support
URI 1.60 - Used by LWP::UserAgent
Expand Down
10 changes: 5 additions & 5 deletions lib/Object/InsideOut.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ require 5.006;
use strict;
use warnings;

our $VERSION = '3.96';
our $VERSION = '3.97';
$VERSION = eval $VERSION;

use Object::InsideOut::Exception 3.96;
use Object::InsideOut::Util 3.96 qw(create_object hash_re is_it make_shared);
use Object::InsideOut::Metadata 3.96;
use Object::InsideOut::Exception 3.97;
use Object::InsideOut::Util 3.97 qw(create_object hash_re is_it make_shared);
use Object::InsideOut::Metadata 3.97;

require B;

Expand Down Expand Up @@ -1935,7 +1935,7 @@ sub DESTROY
my $err = $@;

# Preserve other error variables
local($., $!, $^E, $?);
local($!, $^E, $?);

# Workaround for Perl's "in cleanup" bug
if ($threads::shared::threads_shared && ! $GBL{'term'}) {
Expand Down
2 changes: 1 addition & 1 deletion lib/Object/InsideOut.pod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Object::InsideOut - Comprehensive inside-out object support module

=head1 VERSION

This document describes Object::InsideOut version 3.96
This document describes Object::InsideOut version 3.97

=head1 SYNOPSIS

Expand Down
2 changes: 1 addition & 1 deletion lib/Object/InsideOut/Autoload.pm
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ sub AUTOLOAD


# Ensure correct versioning
($Object::InsideOut::VERSION == 3.96)
($Object::InsideOut::VERSION == 3.97)
or die("Version mismatch\n");

# EOF
2 changes: 1 addition & 1 deletion lib/Object/InsideOut/Chained.pm
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ sub create_CHAINED :Sub(Private)


# Ensure correct versioning
($Object::InsideOut::VERSION == 3.96)
($Object::InsideOut::VERSION == 3.97)
or die("Version mismatch\n");

# EOF
8 changes: 4 additions & 4 deletions lib/Object/InsideOut/Cumulative.pm
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,11 @@ package Object::InsideOut::Results; {
use strict;
use warnings;

our $VERSION = '3.96';
our $VERSION = '3.97';
$VERSION = eval $VERSION;

use Object::InsideOut 3.96;
use Object::InsideOut::Metadata 3.96;
use Object::InsideOut 3.97;
use Object::InsideOut::Metadata 3.97;

my @VALUES :Field :Arg(VALUES);
my @CLASSES :Field :Arg(CLASSES);
Expand Down Expand Up @@ -260,7 +260,7 @@ add_meta('Object::InsideOut::Results', {


# Ensure correct versioning
($Object::InsideOut::VERSION == 3.96)
($Object::InsideOut::VERSION == 3.97)
or die("Version mismatch\n");

# EOF
2 changes: 1 addition & 1 deletion lib/Object/InsideOut/Dump.pm
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ sub dump


# Ensure correct versioning
($Object::InsideOut::VERSION == 3.96)
($Object::InsideOut::VERSION == 3.97)
or die("Version mismatch\n");

# EOF
2 changes: 1 addition & 1 deletion lib/Object/InsideOut/Dynamic.pm
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ sub create_field


# Ensure correct versioning
($Object::InsideOut::VERSION == 3.96)
($Object::InsideOut::VERSION == 3.97)
or die("Version mismatch\n");

# EOF
2 changes: 1 addition & 1 deletion lib/Object/InsideOut/Exception.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package Object::InsideOut::Exception; {
use strict;
use warnings;

our $VERSION = '3.96';
our $VERSION = '3.97';
$VERSION = eval $VERSION;

# Exceptions generated by this module
Expand Down
2 changes: 1 addition & 1 deletion lib/Object/InsideOut/Foreign.pm
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ sub inherit


# Ensure correct versioning
($Object::InsideOut::VERSION == 3.96)
($Object::InsideOut::VERSION == 3.97)
or die("Version mismatch\n");

# EOF
6 changes: 3 additions & 3 deletions lib/Object/InsideOut/Metadata.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package Object::InsideOut::Metadata; {
use strict;
use warnings;

our $VERSION = '3.96';
our $VERSION = '3.97';
$VERSION = eval $VERSION;

# Stores method metadata
Expand Down Expand Up @@ -99,7 +99,7 @@ __DATA__
### Object Interface ###
use Object::InsideOut 3.96;
use Object::InsideOut 3.97;
my @CLASSES :Field;
my @FOREIGN :Field;
Expand Down Expand Up @@ -268,7 +268,7 @@ Object::InsideOut::Metadata - Introspection for Object::InsideOut classes
=head1 VERSION
This document describes Object::InsideOut::Metadata version 3.96
This document describes Object::InsideOut::Metadata version 3.97
=head1 SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion lib/Object/InsideOut/Overload.pm
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ sub generate_OVERLOAD :Sub(Private)


# Ensure correct versioning
($Object::InsideOut::VERSION == 3.96)
($Object::InsideOut::VERSION == 3.97)
or die("Version mismatch\n");

# EOF
4 changes: 2 additions & 2 deletions lib/Object/InsideOut/Secure.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ package Object::InsideOut::Secure; {
use strict;
use warnings;

our $VERSION = '3.96';
our $VERSION = '3.97';
$VERSION = eval $VERSION;

use Object::InsideOut 3.96 ':hash_only';
use Object::InsideOut 3.97 ':hash_only';

# Holds used IDs
my %used :Field = ( 0 => undef );
Expand Down
2 changes: 1 addition & 1 deletion lib/Object/InsideOut/Universal.pm
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ sub install_UNIVERSAL


# Ensure correct versioning
($Object::InsideOut::VERSION == 3.96)
($Object::InsideOut::VERSION == 3.97)
or die("Version mismatch\n");

# EOF
4 changes: 2 additions & 2 deletions lib/Object/InsideOut/Util.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ require 5.006;
use strict;
use warnings;

our $VERSION = '3.96';
our $VERSION = '3.97';
$VERSION = eval $VERSION;

use Object::InsideOut::Metadata 3.96;
use Object::InsideOut::Metadata 3.97;

### Module Initialization ###

Expand Down
2 changes: 1 addition & 1 deletion lib/Object/InsideOut/attributes.pm
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ sub FETCH_CODE_ATTRIBUTES :Sub { return (FETCH_ATTRS('CODE', @_)); }


# Ensure correct versioning
($Object::InsideOut::VERSION == 3.96)
($Object::InsideOut::VERSION == 3.97)
or die("Version mismatch\n");

# EOF
2 changes: 1 addition & 1 deletion lib/Object/InsideOut/lvalue.pm
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ _PRE_


# Ensure correct versioning
($Object::InsideOut::VERSION == 3.96)
($Object::InsideOut::VERSION == 3.97)
or die("Version mismatch\n");

# EOF
6 changes: 5 additions & 1 deletion t/47-sh_reuse.t
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ MAIN:
my $fm_thr = Thread::Queue->new();

# Consumer
threads->create(\&consumer, $to_thr, $fm_thr)->detach();
my $thr = threads->create(\&consumer, $to_thr, $fm_thr);

# Producer
foreach (1..5) {
Expand All @@ -85,6 +85,10 @@ MAIN:

$to_thr->enqueue('done');
$fm_thr->dequeue();

$thr->join();
}

exit(0);

# EOF

0 comments on commit 8f75b9f

Please sign in to comment.