[Bps-public-commit] app-aws-cloudwatch-monitor branch master updated. bbbeddfb76cb37de528715cf375b646b4d8399d0
BPS Git Server
git at git.bestpractical.com
Wed Jun 1 18:15:11 UTC 2022
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 "app-aws-cloudwatch-monitor".
The branch, master has been updated
via bbbeddfb76cb37de528715cf375b646b4d8399d0 (commit)
from f44b3ed829af9fa86234c819b00e47f53968f1bc (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 bbbeddfb76cb37de528715cf375b646b4d8399d0
Author: Blaine Motsinger <blaine at bestpractical.com>
Date: Wed Jun 1 13:14:55 2022 -0500
Prepare version 0.03
diff --git a/Changes b/Changes
index db563a3..802cb61 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,10 @@
Revision history for perl module App::AWS::CloudWatch::Monitor
+0.03 2022-06-01
+ - Fix meta-data caching writes
+ - Add tests for get_meta_data
+ - Add test dep for Test::Warnings
+
0.02 2022-05-17
- Add LWP::Protocol::https to deps list
- Optimize datetime
diff --git a/MANIFEST b/MANIFEST
index 37b3296..6bccd95 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -20,6 +20,7 @@ README
t/00_load.t
t/check-constants.t
t/check.t
+t/cloudwatchclient-get_meta_data.t
t/config.ini
t/config.t
t/lib/App/AWS/CloudWatch/Monitor/Check/TestArgs.pm
diff --git a/bin/aws-cloudwatch-monitor b/bin/aws-cloudwatch-monitor
index 4dd7d74..0768834 100755
--- a/bin/aws-cloudwatch-monitor
+++ b/bin/aws-cloudwatch-monitor
@@ -21,7 +21,7 @@ use Getopt::Long qw(:config pass_through);
use Pod::Usage ();
use App::AWS::CloudWatch::Monitor;
-my $VERSION = '0.02';
+my $VERSION = '0.03';
Getopt::Long::GetOptions(
\my %opt,
diff --git a/lib/App/AWS/CloudWatch/Monitor.pm b/lib/App/AWS/CloudWatch/Monitor.pm
index 7b243e7..1eca77b 100644
--- a/lib/App/AWS/CloudWatch/Monitor.pm
+++ b/lib/App/AWS/CloudWatch/Monitor.pm
@@ -23,7 +23,7 @@ use List::Util;
use Try::Tiny;
use Module::Loader;
-our $VERSION = '0.02';
+our $VERSION = '0.03';
my $config;
diff --git a/lib/App/AWS/CloudWatch/Monitor/AwsSignatureV4.pm b/lib/App/AWS/CloudWatch/Monitor/AwsSignatureV4.pm
index a49c771..d229d53 100644
--- a/lib/App/AWS/CloudWatch/Monitor/AwsSignatureV4.pm
+++ b/lib/App/AWS/CloudWatch/Monitor/AwsSignatureV4.pm
@@ -41,7 +41,7 @@ use Digest::SHA qw(sha256_hex hmac_sha256 hmac_sha256_hex);
# For using PurePerl implementation of SHA functions
# use Digest::SHA::PurePerl qw(sha256_hex hmac_sha256 hmac_sha256_hex);
-our $VERSION = '0.02';
+our $VERSION = '0.03';
# RFC3986 safe/unsafe characters
our $SAFE_CHARACTERS = 'A-Za-z0-9\-\._~';
diff --git a/lib/App/AWS/CloudWatch/Monitor/Check.pm b/lib/App/AWS/CloudWatch/Monitor/Check.pm
index fb31bb3..744aee7 100644
--- a/lib/App/AWS/CloudWatch/Monitor/Check.pm
+++ b/lib/App/AWS/CloudWatch/Monitor/Check.pm
@@ -19,7 +19,7 @@ use warnings;
use Capture::Tiny;
-our $VERSION = '0.02';
+our $VERSION = '0.03';
sub new {
my $class = shift;
diff --git a/lib/App/AWS/CloudWatch/Monitor/Check/DiskSpace.pm b/lib/App/AWS/CloudWatch/Monitor/Check/DiskSpace.pm
index b0d330b..3fac519 100644
--- a/lib/App/AWS/CloudWatch/Monitor/Check/DiskSpace.pm
+++ b/lib/App/AWS/CloudWatch/Monitor/Check/DiskSpace.pm
@@ -21,7 +21,7 @@ use parent 'App::AWS::CloudWatch::Monitor::Check';
use Getopt::Long qw(:config pass_through);
-our $VERSION = '0.02';
+our $VERSION = '0.03';
sub check {
my $self = shift;
diff --git a/lib/App/AWS/CloudWatch/Monitor/Check/Inode.pm b/lib/App/AWS/CloudWatch/Monitor/Check/Inode.pm
index 1806490..7633476 100644
--- a/lib/App/AWS/CloudWatch/Monitor/Check/Inode.pm
+++ b/lib/App/AWS/CloudWatch/Monitor/Check/Inode.pm
@@ -21,7 +21,7 @@ use parent 'App::AWS::CloudWatch::Monitor::Check';
use Getopt::Long qw(:config pass_through);
-our $VERSION = '0.02';
+our $VERSION = '0.03';
sub check {
my $self = shift;
diff --git a/lib/App/AWS/CloudWatch/Monitor/Check/LoadAvg.pm b/lib/App/AWS/CloudWatch/Monitor/Check/LoadAvg.pm
index a5bd636..b396db6 100644
--- a/lib/App/AWS/CloudWatch/Monitor/Check/LoadAvg.pm
+++ b/lib/App/AWS/CloudWatch/Monitor/Check/LoadAvg.pm
@@ -19,7 +19,7 @@ use warnings;
use parent 'App::AWS::CloudWatch::Monitor::Check';
-our $VERSION = '0.02';
+our $VERSION = '0.03';
sub check {
my $self = shift;
diff --git a/lib/App/AWS/CloudWatch/Monitor/Check/Memory.pm b/lib/App/AWS/CloudWatch/Monitor/Check/Memory.pm
index 82cc7e1..4174ce2 100644
--- a/lib/App/AWS/CloudWatch/Monitor/Check/Memory.pm
+++ b/lib/App/AWS/CloudWatch/Monitor/Check/Memory.pm
@@ -19,7 +19,7 @@ use warnings;
use parent 'App::AWS::CloudWatch::Monitor::Check';
-our $VERSION = '0.02';
+our $VERSION = '0.03';
sub check {
my $self = shift;
diff --git a/lib/App/AWS/CloudWatch/Monitor/Check/Process.pm b/lib/App/AWS/CloudWatch/Monitor/Check/Process.pm
index a487d39..8afae3f 100644
--- a/lib/App/AWS/CloudWatch/Monitor/Check/Process.pm
+++ b/lib/App/AWS/CloudWatch/Monitor/Check/Process.pm
@@ -21,7 +21,7 @@ use parent 'App::AWS::CloudWatch::Monitor::Check';
use Getopt::Long qw(:config pass_through);
-our $VERSION = '0.02';
+our $VERSION = '0.03';
sub check {
my $self = shift;
diff --git a/lib/App/AWS/CloudWatch/Monitor/CloudWatchClient.pm b/lib/App/AWS/CloudWatch/Monitor/CloudWatchClient.pm
index c7fcabe..e078f3d 100644
--- a/lib/App/AWS/CloudWatch/Monitor/CloudWatchClient.pm
+++ b/lib/App/AWS/CloudWatch/Monitor/CloudWatchClient.pm
@@ -45,7 +45,7 @@ use LWP 6;
use LWP::Simple qw($ua get);
$ua->timeout(2); # timeout for meta-data calls
-our $VERSION = '0.02';
+our $VERSION = '0.03';
our %version_prefix_map = ( '2010-08-01' => [ 'GraniteServiceVersion20100801', 'com.amazonaws.cloudwatch.v2010_08_01#' ] );
diff --git a/lib/App/AWS/CloudWatch/Monitor/Config.pm b/lib/App/AWS/CloudWatch/Monitor/Config.pm
index 2ffdfe3..ad67546 100644
--- a/lib/App/AWS/CloudWatch/Monitor/Config.pm
+++ b/lib/App/AWS/CloudWatch/Monitor/Config.pm
@@ -19,7 +19,7 @@ use warnings;
use Config::Tiny;
-our $VERSION = '0.02';
+our $VERSION = '0.03';
sub load {
my $config = _load_and_verify();
diff --git a/t/lib/App/AWS/CloudWatch/Monitor/Check/TestArgs.pm b/t/lib/App/AWS/CloudWatch/Monitor/Check/TestArgs.pm
index 4a576f4..830ec84 100644
--- a/t/lib/App/AWS/CloudWatch/Monitor/Check/TestArgs.pm
+++ b/t/lib/App/AWS/CloudWatch/Monitor/Check/TestArgs.pm
@@ -7,7 +7,7 @@ use parent 'App::AWS::CloudWatch::Monitor::Check';
use Getopt::Long qw(:config pass_through);
-our $VERSION = '0.02';
+our $VERSION = '0.03';
sub check {
my $self = shift;
diff --git a/t/lib/App/AWS/CloudWatch/Monitor/Check/TestSuccess.pm b/t/lib/App/AWS/CloudWatch/Monitor/Check/TestSuccess.pm
index ac00c0d..01c8b97 100644
--- a/t/lib/App/AWS/CloudWatch/Monitor/Check/TestSuccess.pm
+++ b/t/lib/App/AWS/CloudWatch/Monitor/Check/TestSuccess.pm
@@ -5,7 +5,7 @@ use warnings;
use parent 'App::AWS::CloudWatch::Monitor::Check';
-our $VERSION = '0.02';
+our $VERSION = '0.03';
sub check {
my $self = shift;
diff --git a/t/lib/App/AWS/CloudWatch/Monitor/Test.pm b/t/lib/App/AWS/CloudWatch/Monitor/Test.pm
index 2d93c11..b96fe8f 100644
--- a/t/lib/App/AWS/CloudWatch/Monitor/Test.pm
+++ b/t/lib/App/AWS/CloudWatch/Monitor/Test.pm
@@ -5,7 +5,7 @@ use warnings;
use parent 'Test::More';
-our $VERSION = '0.02';
+our $VERSION = '0.03';
sub import {
my $class = shift;
-----------------------------------------------------------------------
Summary of changes:
Changes | 5 +++++
MANIFEST | 1 +
bin/aws-cloudwatch-monitor | 2 +-
lib/App/AWS/CloudWatch/Monitor.pm | 2 +-
lib/App/AWS/CloudWatch/Monitor/AwsSignatureV4.pm | 2 +-
lib/App/AWS/CloudWatch/Monitor/Check.pm | 2 +-
lib/App/AWS/CloudWatch/Monitor/Check/DiskSpace.pm | 2 +-
lib/App/AWS/CloudWatch/Monitor/Check/Inode.pm | 2 +-
lib/App/AWS/CloudWatch/Monitor/Check/LoadAvg.pm | 2 +-
lib/App/AWS/CloudWatch/Monitor/Check/Memory.pm | 2 +-
lib/App/AWS/CloudWatch/Monitor/Check/Process.pm | 2 +-
lib/App/AWS/CloudWatch/Monitor/CloudWatchClient.pm | 2 +-
lib/App/AWS/CloudWatch/Monitor/Config.pm | 2 +-
t/lib/App/AWS/CloudWatch/Monitor/Check/TestArgs.pm | 2 +-
t/lib/App/AWS/CloudWatch/Monitor/Check/TestSuccess.pm | 2 +-
t/lib/App/AWS/CloudWatch/Monitor/Test.pm | 2 +-
16 files changed, 20 insertions(+), 14 deletions(-)
hooks/post-receive
--
app-aws-cloudwatch-monitor
More information about the Bps-public-commit
mailing list