From 5096ae84fe991a4202667c6d193bef6fa1c4c641 Mon Sep 17 00:00:00 2001
From: Anton Soldatov <igelhaus@gmail.com>
Date: Mon, 14 Apr 2014 20:50:48 +0400
Subject: [PATCH] * A short README added * Minor changes in the perlcritic test

---
 README            | 14 ++++++++++++++
 t/06-perlcritic.t | 21 ++++++++++-----------
 2 files changed, 24 insertions(+), 11 deletions(-)
 create mode 100644 README

diff --git a/README b/README
new file mode 100644
index 0000000..18c0d76
--- /dev/null
+++ b/README
@@ -0,0 +1,14 @@
+WebService::Redmine
+
+This is a Perl binding to Redmine REST API (http://www.redmine.org/projects/redmine/wiki/Rest_api).
+
+This is the part of the redminer project (https://github.com/igelhaus/redminer).
+
+For more details, please see README.md file or POD documentation shipped with the module.
+
+INSTALLATION
+
+$ perl Makefile.PL
+$ make
+$ make test
+$ make install
diff --git a/t/06-perlcritic.t b/t/06-perlcritic.t
index 84f5cc0..39e35a2 100644
--- a/t/06-perlcritic.t
+++ b/t/06-perlcritic.t
@@ -1,17 +1,16 @@
-# BEGIN {
-# 	if (!$ENV{REDMINER_DEVEL}) {
-# 		require Test::More;
-# 		Test::More::plan(skip_all => 'Development tests (REDMINER_DEVEL not set)' );
-# 	}
-# }
+BEGIN {
+	use strict;
+	use warnings;
+	if (!$ENV{REDMINER_DEVEL}) {
+		require Test::More;
+		Test::More::plan(skip_all => 'Development tests (REDMINER_DEVEL not set)' );
+	}
+};
 
-use strict;
-use warnings;
+eval 'use Test::Perl::Critic';
 
-use Test::More;
+plan(skip_all => 'Test::Perl::Critic required to criticise code') if $@;
 
-eval 'use Test::Perl::Critic';
-plan skip_all => 'Test::Perl::Critic required to criticise code' if $@;
 Test::Perl::Critic->import(-profile => 'xt/perlcritic.rc') if -e 'xt/perlcritic.rc';
 
 all_critic_ok();
-- 
GitLab