From cd17423eb5f339777823c05c9bdbb25b0c4f5ec1 Mon Sep 17 00:00:00 2001 From: sergiotarxz Date: Tue, 29 Mar 2022 01:03:02 +0200 Subject: [PATCH] Improved the Peace::Model::Release generate_build. --- Build.PL | 1 + doc/index.html | 3 + doc/lib/Peace/Model/Release.pm.html | 11 ++ .../Peace/Test/Mock/Model/Application.pm.html | 2 +- doc/lib/Peace/Test/Mock/Model/Build.pm.html | 57 +++++++ lib/Peace/Model/Build.pm | 2 +- lib/Peace/Model/Release.pm | 141 ++++++++++++------ t/00009-release-model.t | 27 +++- web_tests/000001-release-model.t | 5 +- 9 files changed, 196 insertions(+), 53 deletions(-) create mode 100644 doc/lib/Peace/Test/Mock/Model/Build.pm.html diff --git a/Build.PL b/Build.PL index b2490a1..5721bf8 100644 --- a/Build.PL +++ b/Build.PL @@ -20,6 +20,7 @@ my $build = Module::Build->new( 'Test::Pod::Coverage' => 0, 'JSON' => 0, 'YAML' => 0, + 'Capture::Tiny' => 0, }, install_path => { 'templates' => "$HOME/.local/share/peace/template", diff --git a/doc/index.html b/doc/index.html index f675881..ba5c8ac 100644 --- a/doc/index.html +++ b/doc/index.html @@ -44,6 +44,9 @@
  • Peace::Test::Mock::Model::Application
  • +
  • + Peace::Test::Mock::Model::Build +
  • Peace::Test::Mock::Model::Developer
  • diff --git a/doc/lib/Peace/Model/Release.pm.html b/doc/lib/Peace/Model/Release.pm.html index 62e8a4c..89e2a97 100644 --- a/doc/lib/Peace/Model/Release.pm.html +++ b/doc/lib/Peace/Model/Release.pm.html @@ -22,6 +22,7 @@
  • METHODS