From c29b1690d7d8623c43b04e099d9cdaabbfce0215 Mon Sep 17 00:00:00 2001 From: Tokuhiro Matsuno Date: Sat, 30 Aug 2014 18:37:42 +0900 Subject: [PATCH] Checking in changes prior to tagging of version 0.04. Changelog diff is: diff --git Changes Changes index ad21f65..b22c1b5 100644 --- Changes +++ Changes @@ -2,6 +2,10 @@ Revision history for Perl extension Unqlite {{$NEXT}} +0.04 2014-08-30T09:33:52Z + + - Fixed packaging issue. + 0.03 2013-07-18T03:14:07Z - more OPEN consts as mode argument --- Build.PL | 34 +++++++++++++++------------------- Changes | 4 ++++ META.json | 12 ++++++------ README.md | 4 ++-- lib/UnQLite.pm | 2 +- 5 files changed, 28 insertions(+), 28 deletions(-) diff --git a/Build.PL b/Build.PL index 1c8ef20..52b2771 100644 --- a/Build.PL +++ b/Build.PL @@ -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', @@ -29,9 +27,12 @@ my %args = ( script_files => [glob('script/*'), glob('bin/*')], c_source => [qw(unqlite)], + PL_files => {}, test_files => ((-d '.git' || $ENV{RELEASE_TESTING}) && -d 'xt') ? 't/ xt/' : 't/', recursive_test_files => 1, + + ); if (-d 'share') { $args{share_dir} = 'share'; @@ -50,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"; +} + diff --git a/Changes b/Changes index ad21f65..b22c1b5 100644 --- a/Changes +++ b/Changes @@ -2,6 +2,10 @@ Revision history for Perl extension Unqlite {{$NEXT}} +0.04 2014-08-30T09:33:52Z + + - Fixed packaging issue. + 0.03 2013-07-18T03:14:07Z - more OPEN consts as mode argument diff --git a/META.json b/META.json index d104f75..fefd2e4 100644 --- a/META.json +++ b/META.json @@ -4,7 +4,7 @@ "tokuhirom " ], "dynamic_config" : 0, - "generated_by" : "Minilla/v0.5.5, CPAN::Meta::Converter version 2.130880", + "generated_by" : "Minilla/v2.1.1, CPAN::Meta::Converter version 2.141520", "license" : [ "perl_5" ], @@ -21,21 +21,21 @@ "share", "eg", "examples", - "author" + "author", + "builder" ] }, "prereqs" : { "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" } @@ -63,7 +63,7 @@ "web" : "https://github.com/tokuhirom/UnQLite" } }, - "version" : "0.03", + "version" : "0.04", "x_contributors" : [ "Kenichi Ishigaki ", "Reini Urban " diff --git a/README.md b/README.md index 44bad80..811353e 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ If you want to know more information about UnQLite, see [http://unqlite.org/](ht This version of UnQLite.pm does not provides document store feature. Patches welcome. -__You can use UnQLite.pm as DBM__. +**You can use UnQLite.pm as DBM**. # METHODS @@ -122,7 +122,7 @@ Here is example code: Seek cursor to ` $key `. - You can specify the option as ` $opt `. Please see [http://unqlite.org/c\_api/unqlite\_kv\_cursor.html](http://unqlite.org/c\_api/unqlite\_kv\_cursor.html) for more details. + You can specify the option as ` $opt `. Please see [http://unqlite.org/c\_api/unqlite\_kv\_cursor.html](http://unqlite.org/c_api/unqlite_kv_cursor.html) for more details. Return true if succeeded, false otherwise. diff --git a/lib/UnQLite.pm b/lib/UnQLite.pm index 6ba7b52..68a6400 100644 --- a/lib/UnQLite.pm +++ b/lib/UnQLite.pm @@ -4,7 +4,7 @@ use strict; use warnings; use Carp (); -our $VERSION = "0.03"; +our $VERSION = "0.04"; our $rc = 0; use XSLoader;