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
This commit is contained in:
parent
c6e3d80dd1
commit
c29b1690d7
5 changed files with 28 additions and 28 deletions
34
Build.PL
34
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";
|
||||
}
|
||||
|
||||
|
|
4
Changes
4
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
|
||||
|
|
12
META.json
12
META.json
|
@ -4,7 +4,7 @@
|
|||
"tokuhirom <tokuhirom@gmail.com>"
|
||||
],
|
||||
"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 <ishigaki@cpan.org>",
|
||||
"Reini Urban <rurban@cpanel.net>"
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ use strict;
|
|||
use warnings;
|
||||
use Carp ();
|
||||
|
||||
our $VERSION = "0.03";
|
||||
our $VERSION = "0.04";
|
||||
our $rc = 0;
|
||||
|
||||
use XSLoader;
|
||||
|
|
Loading…
Add table
Reference in a new issue