From 0f406bcdc5ad4b881352d624bdaa67dfd1c4214b Mon Sep 17 00:00:00 2001 From: Sam Batschelet Date: Mon, 12 Jun 2017 07:17:11 -0400 Subject: [PATCH] Bump version for release. --- Changes | 3 +++ README | 3 +++ README.md | 4 ++++ lib/Net/Etcd.pm | 2 +- lib/Net/Etcd/Auth.pm | 2 +- lib/Net/Etcd/Auth/Role.pm | 2 +- lib/Net/Etcd/Config.pm | 2 +- lib/Net/Etcd/KV.pm | 2 +- lib/Net/Etcd/KV/Put.pm | 2 +- lib/Net/Etcd/KV/Range.pm | 2 +- lib/Net/Etcd/KV/Txn.pm | 2 +- lib/Net/Etcd/Lease.pm | 2 +- lib/Net/Etcd/Maintenance.pm | 2 +- lib/Net/Etcd/Role/Actions.pm | 2 +- lib/Net/Etcd/User.pm | 2 +- lib/Net/Etcd/User/Role.pm | 2 +- lib/Net/Etcd/Watch.pm | 2 +- t/lease.t | 2 -- 18 files changed, 24 insertions(+), 16 deletions(-) diff --git a/Changes b/Changes index c20f72a..a4e51f7 100644 --- a/Changes +++ b/Changes @@ -1,4 +1,7 @@ Revision history for Net::Etcd +0.010 +[ ENHANCEMENTS ] +* Add intial support for snapshot 0.009 [ ENHANCEMENTS ] diff --git a/README b/README index 87a1618..52fcbd5 100644 --- a/README +++ b/README @@ -73,6 +73,9 @@ PUBLIC METHODS lease Returns a Net::Etcd::Lease object. + maintenance + Returns a Net::Etcd::Maintenance object. + user Returns a Net::Etcd::User object. diff --git a/README.md b/README.md index dbe9fc3..9a1fbf6 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,10 @@ Returns a [Net::Etcd::Auth](https://metacpan.org/pod/Net::Etcd::Auth) object. Returns a [Net::Etcd::Lease](https://metacpan.org/pod/Net::Etcd::Lease) object. +## maintenance + +Returns a [Net::Etcd::Maintenance](https://metacpan.org/pod/Net::Etcd::Maintenance) object. + ## user Returns a [Net::Etcd::User](https://metacpan.org/pod/Net::Etcd::User) object. diff --git a/lib/Net/Etcd.pm b/lib/Net/Etcd.pm index 448bda3..781a7e7 100644 --- a/lib/Net/Etcd.pm +++ b/lib/Net/Etcd.pm @@ -28,7 +28,7 @@ Net::Etcd =cut -our $VERSION = '0.009'; +our $VERSION = '0.010'; =head1 SYNOPSIS diff --git a/lib/Net/Etcd/Auth.pm b/lib/Net/Etcd/Auth.pm index 71786c4..48dbdee 100644 --- a/lib/Net/Etcd/Auth.pm +++ b/lib/Net/Etcd/Auth.pm @@ -24,7 +24,7 @@ Net::Etcd::Auth =cut -our $VERSION = '0.009'; +our $VERSION = '0.010'; =head1 DESCRIPTION diff --git a/lib/Net/Etcd/Auth/Role.pm b/lib/Net/Etcd/Auth/Role.pm index 8c0a01c..1ba73a0 100644 --- a/lib/Net/Etcd/Auth/Role.pm +++ b/lib/Net/Etcd/Auth/Role.pm @@ -20,7 +20,7 @@ Net::Etcd::Auth::Role =cut -our $VERSION = '0.009'; +our $VERSION = '0.010'; =head1 DESCRIPTION diff --git a/lib/Net/Etcd/Config.pm b/lib/Net/Etcd/Config.pm index 8705ac8..18cffee 100644 --- a/lib/Net/Etcd/Config.pm +++ b/lib/Net/Etcd/Config.pm @@ -13,7 +13,7 @@ Net::Etcd::Config =cut -our $VERSION = '0.009'; +our $VERSION = '0.010'; =head1 ACCESSORS diff --git a/lib/Net/Etcd/KV.pm b/lib/Net/Etcd/KV.pm index 8c8ae57..884208e 100644 --- a/lib/Net/Etcd/KV.pm +++ b/lib/Net/Etcd/KV.pm @@ -21,7 +21,7 @@ Net::Etcd::KV =cut -our $VERSION = '0.009'; +our $VERSION = '0.010'; =head1 DESCRIPTION diff --git a/lib/Net/Etcd/KV/Put.pm b/lib/Net/Etcd/KV/Put.pm index e35aefd..abd657d 100644 --- a/lib/Net/Etcd/KV/Put.pm +++ b/lib/Net/Etcd/KV/Put.pm @@ -19,7 +19,7 @@ Net::Etcd::Put =cut -our $VERSION = '0.009'; +our $VERSION = '0.010'; =head1 DESCRIPTION diff --git a/lib/Net/Etcd/KV/Range.pm b/lib/Net/Etcd/KV/Range.pm index 881bed4..3ca2702 100644 --- a/lib/Net/Etcd/KV/Range.pm +++ b/lib/Net/Etcd/KV/Range.pm @@ -20,7 +20,7 @@ Net::Etcd::Range =cut -our $VERSION = '0.009'; +our $VERSION = '0.010'; =head1 DESCRIPTION diff --git a/lib/Net/Etcd/KV/Txn.pm b/lib/Net/Etcd/KV/Txn.pm index 41b2f30..e522bf0 100644 --- a/lib/Net/Etcd/KV/Txn.pm +++ b/lib/Net/Etcd/KV/Txn.pm @@ -20,7 +20,7 @@ Net::Etcd::KV::Txn =cut -our $VERSION = '0.009'; +our $VERSION = '0.010'; =head1 DESCRIPTION diff --git a/lib/Net/Etcd/Lease.pm b/lib/Net/Etcd/Lease.pm index 6400331..e653635 100644 --- a/lib/Net/Etcd/Lease.pm +++ b/lib/Net/Etcd/Lease.pm @@ -20,7 +20,7 @@ Net::Etcd::Lease =cut -our $VERSION = '0.009'; +our $VERSION = '0.010'; =head1 DESCRIPTION diff --git a/lib/Net/Etcd/Maintenance.pm b/lib/Net/Etcd/Maintenance.pm index a4ba139..568d8d8 100644 --- a/lib/Net/Etcd/Maintenance.pm +++ b/lib/Net/Etcd/Maintenance.pm @@ -18,7 +18,7 @@ Net::Etcd::Maintenance =cut -our $VERSION = '0.009'; +our $VERSION = '0.010'; =head1 DESCRIPTION diff --git a/lib/Net/Etcd/Role/Actions.pm b/lib/Net/Etcd/Role/Actions.pm index 6f18a14..fc85e6b 100644 --- a/lib/Net/Etcd/Role/Actions.pm +++ b/lib/Net/Etcd/Role/Actions.pm @@ -22,7 +22,7 @@ Net::Etcd::Role::Actions =cut -our $VERSION = '0.009'; +our $VERSION = '0.010'; has etcd => ( is => 'ro', diff --git a/lib/Net/Etcd/User.pm b/lib/Net/Etcd/User.pm index 9648467..fd4dadb 100644 --- a/lib/Net/Etcd/User.pm +++ b/lib/Net/Etcd/User.pm @@ -20,7 +20,7 @@ Net::Etcd::User =cut -our $VERSION = '0.009'; +our $VERSION = '0.010'; =head1 DESCRIPTION diff --git a/lib/Net/Etcd/User/Role.pm b/lib/Net/Etcd/User/Role.pm index 438dac0..9ff1617 100644 --- a/lib/Net/Etcd/User/Role.pm +++ b/lib/Net/Etcd/User/Role.pm @@ -17,7 +17,7 @@ Net::Etcd::User::Role =cut -our $VERSION = '0.009'; +our $VERSION = '0.010'; =head1 DESCRIPTION diff --git a/lib/Net/Etcd/Watch.pm b/lib/Net/Etcd/Watch.pm index 34eefa5..ec24f01 100644 --- a/lib/Net/Etcd/Watch.pm +++ b/lib/Net/Etcd/Watch.pm @@ -20,7 +20,7 @@ Net::Etcd::Range =cut -our $VERSION = '0.009'; +our $VERSION = '0.010'; =head1 DESCRIPTION diff --git a/t/lease.t b/t/lease.t index 4b9a5e8..2c652fc 100644 --- a/t/lease.t +++ b/t/lease.t @@ -51,8 +51,6 @@ lives_ok( sub { $key = $etcd->range( { key => 'foo2' } )->get_value }, cmp_ok( $key, 'eq', 'bar2', "lease key value" ); -sleep 2; - # lease keep alive lives_ok( sub { $lease = $etcd->lease( { ID => $lease_id } )->keepalive }, "lease_keep_alive" );