chiark
/
gitweb
/
~ianmdlvl
/
nailing-cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f640f65
)
Set minimum perl version to 5.18 (macos system perl version at this time)
author
Jeff Ober
<jober@ziprecruiter.com>
Fri, 10 Jan 2020 16:08:29 +0000
(11:08 -0500)
committer
Jeff Ober
<jober@ziprecruiter.com>
Fri, 10 Jan 2020 16:08:29 +0000
(11:08 -0500)
.travis.yml
patch
|
blob
|
history
cpanfile
patch
|
blob
|
history
lib/TOML/Tiny.pm
patch
|
blob
|
history
lib/TOML/Tiny/Grammar.pm
patch
|
blob
|
history
lib/TOML/Tiny/Parser.pm
patch
|
blob
|
history
lib/TOML/Tiny/Tokenizer.pm
patch
|
blob
|
history
lib/TOML/Tiny/Writer.pm
patch
|
blob
|
history
diff --git
a/.travis.yml
b/.travis.yml
index 2fe7c277a1deca9506b43ab117ae85bed84596c7..d28cc68833d92595c77f604b26bba4a32751ff56 100644
(file)
--- a/
.travis.yml
+++ b/
.travis.yml
@@
-17,10
+17,6
@@
perl:
- "5.22"
- "5.20"
- "5.18"
- - "5.16"
- - "5.14"
- - "5.12"
- - "5.10"
before_install:
- eval $(curl https://travis-perl.github.io/init) --auto --always-upgrade-modules
diff --git
a/cpanfile
b/cpanfile
index ad0bd7495f0e6043088c0790edcc9b96035baae3..93bb50a81d38eeed683ec3ac491e2752e4be944e 100644
(file)
--- a/
cpanfile
+++ b/
cpanfile
@@
-1,5
+1,6
@@
-requires 'perl' => '>= 5.01
4
';
+requires 'perl' => '>= 5.01
8
';
requires 'Scalar::Util' => '>= 1.14';
+requires 'Data::Dumper' => '0';
recommends 'Types::Serialiser' => 0;
diff --git
a/lib/TOML/Tiny.pm
b/lib/TOML/Tiny.pm
index b67199b5cd208ed46c8574af2bd996a568d842c8..7ccee72ba1f618cad530a733fccd1ba9ef5c86cd 100644
(file)
--- a/
lib/TOML/Tiny.pm
+++ b/
lib/TOML/Tiny.pm
@@
-3,8
+3,8
@@
package TOML::Tiny;
use strict;
use warnings;
-use feature qw(switch);
no warnings qw(experimental);
+use v5.18;
use TOML::Tiny::Parser;
use TOML::Tiny::Writer;
diff --git
a/lib/TOML/Tiny/Grammar.pm
b/lib/TOML/Tiny/Grammar.pm
index 9e08c8f736f8a8ab2f64aab5c5d496b6f8cfb502..7dff53f62ae3ac169b572068848f0da35656e089 100644
(file)
--- a/
lib/TOML/Tiny/Grammar.pm
+++ b/
lib/TOML/Tiny/Grammar.pm
@@
-2,6
+2,7
@@
package TOML::Tiny::Grammar;
use strict;
use warnings;
+use v5.18;
use parent 'Exporter';
diff --git
a/lib/TOML/Tiny/Parser.pm
b/lib/TOML/Tiny/Parser.pm
index 0029e392a4363e290956347842532294fb1a0d5e..ff2f753039737f5cab0f5a90e181262ff243a711 100644
(file)
--- a/
lib/TOML/Tiny/Parser.pm
+++ b/
lib/TOML/Tiny/Parser.pm
@@
-3,7
+3,7
@@
package TOML::Tiny::Parser;
use strict;
use warnings;
no warnings qw(experimental);
-use v5.1
4
;
+use v5.1
8
;
use Carp;
use Data::Dumper;
diff --git
a/lib/TOML/Tiny/Tokenizer.pm
b/lib/TOML/Tiny/Tokenizer.pm
index 5898481b0e83b6e849527d1c4786b026affc7107..bc52df537cbd55639fd310ef6c6787f9feb9310e 100644
(file)
--- a/
lib/TOML/Tiny/Tokenizer.pm
+++ b/
lib/TOML/Tiny/Tokenizer.pm
@@
-3,7
+3,7
@@
package TOML::Tiny::Tokenizer;
use strict;
use warnings;
no warnings qw(experimental);
-use v5.1
4
;
+use v5.1
8
;
use Carp;
use TOML::Tiny::Grammar;
diff --git
a/lib/TOML/Tiny/Writer.pm
b/lib/TOML/Tiny/Writer.pm
index 6a840dda157551ddb598e4203ba909ce5ace04db..a3d04f678d64b2da25970fd17d0a3f5722055ab1 100644
(file)
--- a/
lib/TOML/Tiny/Writer.pm
+++ b/
lib/TOML/Tiny/Writer.pm
@@
-2,9
+2,8
@@
package TOML::Tiny::Writer;
use strict;
use warnings;
-
-use feature qw(switch state);
no warnings qw(experimental);
+use v5.18;
use Data::Dumper;
use Scalar::Util qw(looks_like_number);