Skip to content

Commit

Permalink
Checking in changes prior to tagging of version 0.16011.
Browse files Browse the repository at this point in the history
Changelog diff is:

diff --git a/Changes b/Changes
index 41cc962..28fe9cc 100644
--- a/Changes
+++ b/Changes
@@ -2,6 +2,9 @@ Revision history for Perl extension DateTime::Format::Pg.

 {{$NEXT}}

+0.16011 2015-06-19T13:40:27Z
+    - Support full interval syntax [pr #7]
+
 0.16010 2014-09-18T12:36:03Z
     - Add support for various more interval units [pr #3]:
       millenium, century, decade, month, week
  • Loading branch information
lestrrat committed Jun 19, 2015
1 parent 566694a commit a7a8e87
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 26 deletions.
33 changes: 13 additions & 20 deletions Build.PL
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ use utf8;
use Module::Build;
use File::Basename;
use File::Spec;
use CPAN::Meta;
use CPAN::Meta::Prereqs;

my %args = (
license => 'perl',
Expand All @@ -34,7 +32,7 @@ my %args = (
test_files => ((-d '.git' || $ENV{RELEASE_TESTING}) && -d 'xt') ? 't/ xt/' : 't/',
recursive_test_files => 1,


);
if (-d 'share') {
$args{share_dir} = 'share';
Expand All @@ -53,20 +51,15 @@ my $builder = Module::Build->subclass(
)->new(%args);
$builder->create_build_script();

my $mbmeta = CPAN::Meta->load_file('MYMETA.json');
my $meta = CPAN::Meta->load_file('META.json');
my $prereqs_hash = CPAN::Meta::Prereqs->new(
$meta->prereqs
)->with_merged_prereqs(
CPAN::Meta::Prereqs->new($mbmeta->prereqs)
)->as_string_hash;
my $mymeta = CPAN::Meta->new(
{
%{$meta->as_struct},
prereqs => $prereqs_hash
}
);
print "Merging cpanfile prereqs to MYMETA.yml\n";
$mymeta->save('MYMETA.yml', { version => 1.4 });
print "Merging cpanfile prereqs to MYMETA.json\n";
$mymeta->save('MYMETA.json', { version => 2 });
use File::Copy;

print "cp META.json MYMETA.json\n";
copy("META.json","MYMETA.json") or die "Copy failed(META.json): $!";

if (-f 'META.yml') {
print "cp META.yml MYMETA.yml\n";
copy("META.yml","MYMETA.yml") or die "Copy failed(META.yml): $!";
} else {
print "There is no META.yml... You may install this module from the repository...\n";
}

3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ Revision history for Perl extension DateTime::Format::Pg.

{{$NEXT}}

0.16011 2015-06-19T13:40:27Z
- Support full interval syntax [pr #7]

0.16010 2014-09-18T12:36:03Z
- Add support for various more interval units [pr #3]:
millenium, century, decade, month, week
Expand Down
10 changes: 5 additions & 5 deletions META.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Daisuke Maki <daisuke@endeworks.jp>"
],
"dynamic_config" : 0,
"generated_by" : "Minilla/v0.12.0, CPAN::Meta::Converter version 2.120921",
"generated_by" : "Minilla/v2.2.0, CPAN::Meta::Converter version 2.142690",
"license" : [
"perl_5"
],
Expand Down Expand Up @@ -34,15 +34,14 @@
},
"configure" : {
"requires" : {
"CPAN::Meta" : "0",
"CPAN::Meta::Prereqs" : "0",
"Module::Build" : "0.38"
}
},
"develop" : {
"requires" : {
"Test::CPAN::Meta" : "0",
"Test::MinimumVersion" : "0.10108",
"Test::MinimumVersion::Fast" : "0.04",
"Test::PAUSE::Permissions" : "0.04",
"Test::Pod" : "1.41",
"Test::Spellunker" : "v0.2.7"
}
Expand All @@ -67,11 +66,12 @@
"web" : "https://github.com/lestrrat/DateTime-Format-Pg"
}
},
"version" : "0.16010",
"version" : "0.16011",
"x_contributors" : [
"Vasily Chekalkin <bacek@bacek.com>",
"David Steinbrunner <dsteinbrunner@pobox.com>",
"Henrik Pauli <henrik.pauli@gmail.com>",
"Nitish Bezzala <nbezzala@yahoo.com>",
"lestrrat <lestrrat+github@gmail.com>"
]
}
2 changes: 1 addition & 1 deletion lib/DateTime/Format/Pg.pm
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use DateTime::TimeZone::UTC;
use DateTime::TimeZone::Floating;
use Data::Dumper;

$VERSION = '0.16010';
$VERSION = '0.16011';
$VERSION = eval $VERSION;

our @ISA = ('DateTime::Format::Builder');
Expand Down

0 comments on commit a7a8e87

Please sign in to comment.