Skip to content

Commit

Permalink
Merge pull request #216 from timlegge/release
Browse files Browse the repository at this point in the history
A few pre-release fixes
  • Loading branch information
timlegge authored Apr 20, 2024
2 parents 05ad9e3 + e0efd64 commit 78ac40d
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ my %WriteMakefileArgs = (
"URI::Encode" => 0,
"URI::Escape" => 0,
"URI::QueryParam" => 0,
"URN::OASIS::SAML2" => "0.003",
"URN::OASIS::SAML2" => "0.004",
"XML::Enc" => "0.13",
"XML::Generator" => "1.13",
"XML::LibXML" => 0,
Expand Down Expand Up @@ -124,7 +124,7 @@ my %FallbackPrereqs = (
"URI::Encode" => 0,
"URI::Escape" => 0,
"URI::QueryParam" => 0,
"URN::OASIS::SAML2" => "0.003",
"URN::OASIS::SAML2" => "0.004",
"XML::Enc" => "0.13",
"XML::Generator" => "1.13",
"XML::LibXML" => 0,
Expand Down
2 changes: 1 addition & 1 deletion cpanfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ requires "URI" => "0";
requires "URI::Encode" => "0";
requires "URI::Escape" => "0";
requires "URI::QueryParam" => "0";
requires "URN::OASIS::SAML2" => "0.003";
requires "URN::OASIS::SAML2" => "0.004";
requires "XML::Enc" => "0.13";
requires "XML::Generator" => "1.13";
requires "XML::LibXML" => "0";
Expand Down
2 changes: 1 addition & 1 deletion lib/Net/SAML2/Protocol/Artifact.pm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package Net::SAML2::Protocol::Artifact;
use Moose;
# VERSION

use Moose;
use MooseX::Types::DateTime qw/ DateTime /;
use DateTime::Format::XSD;
use Net::SAML2::XML::Util qw/ no_comments /;
Expand Down
14 changes: 13 additions & 1 deletion lib/Net/SAML2/Protocol/LogoutResponse.pm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package Net::SAML2::Protocol::LogoutResponse;
use Moose;
# VERSION

use Moose;
use MooseX::Types::URI qw/ Uri /;
use Net::SAML2::XML::Util qw/ no_comments /;
use Net::SAML2::Util qw/ deprecation_warning /;
Expand Down Expand Up @@ -83,12 +83,24 @@ around BUILDARGS => sub {
return $self->$orig(%args);
};

=head2 response_to()
Deprecated use B<in_response_to>
=cut

sub response_to {
my $self = shift;
deprecation_warning("Please use in_response_to instead of response_to");
return $self->in_response_to;
}

=head2 substatus()
Deprecated use B<sub_status>
=cut

sub substatus {
my $self = shift;
deprecation_warning("Please use sub_status instead of substatus");
Expand Down
4 changes: 2 additions & 2 deletions lib/Net/SAML2/Role/ProtocolMessage.pm
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package Net::SAML2::Role::ProtocolMessage;
# VERSION

use Moose::Role;

# VERSION

# ABSTRACT: Common behaviour for Protocol messages

use feature qw(state);
Expand Down

0 comments on commit 78ac40d

Please sign in to comment.