Переглянути джерело

Add minimum version of JSON::MaybeXS, constructor was not in there originally

Also add vim swapfiles to gatherdir ignore
George S. Baugh 11 роки тому
батько
коміт
a0b9ed7843
2 змінених файлів з 3 додано та 1 видалено
  1. 2 0
      dist.ini
  2. 1 1
      lib/TestRail/API.pm

+ 2 - 0
dist.ini

@@ -15,6 +15,8 @@ homepage          = https://github.com/teodesian/TestRail-Perl
 
 [GatherDir]
 include_dotfiles = 1
+exclude_match = .*\.swp
+exclude_match = .*\.swo
 
 [PruneCruft]
 except = \.travis.yml

+ 1 - 1
lib/TestRail/API.pm

@@ -33,7 +33,7 @@ use Scalar::Util qw{reftype looks_like_number};
 use Clone 'clone';
 use Try::Tiny;
 
-use JSON::MaybeXS ();
+use JSON::MaybeXS 1.001000 ();
 use HTTP::Request;
 use LWP::UserAgent;
 use Data::Validate::URI qw{is_uri};