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 Module::Build;
|
||||||
use File::Basename;
|
use File::Basename;
|
||||||
use File::Spec;
|
use File::Spec;
|
||||||
use CPAN::Meta;
|
|
||||||
use CPAN::Meta::Prereqs;
|
|
||||||
|
|
||||||
my %args = (
|
my %args = (
|
||||||
license => 'perl',
|
license => 'perl',
|
||||||
|
@ -29,9 +27,12 @@ my %args = (
|
||||||
|
|
||||||
script_files => [glob('script/*'), glob('bin/*')],
|
script_files => [glob('script/*'), glob('bin/*')],
|
||||||
c_source => [qw(unqlite)],
|
c_source => [qw(unqlite)],
|
||||||
|
PL_files => {},
|
||||||
|
|
||||||
test_files => ((-d '.git' || $ENV{RELEASE_TESTING}) && -d 'xt') ? 't/ xt/' : 't/',
|
test_files => ((-d '.git' || $ENV{RELEASE_TESTING}) && -d 'xt') ? 't/ xt/' : 't/',
|
||||||
recursive_test_files => 1,
|
recursive_test_files => 1,
|
||||||
|
|
||||||
|
|
||||||
);
|
);
|
||||||
if (-d 'share') {
|
if (-d 'share') {
|
||||||
$args{share_dir} = 'share';
|
$args{share_dir} = 'share';
|
||||||
|
@ -50,20 +51,15 @@ my $builder = Module::Build->subclass(
|
||||||
)->new(%args);
|
)->new(%args);
|
||||||
$builder->create_build_script();
|
$builder->create_build_script();
|
||||||
|
|
||||||
my $mbmeta = CPAN::Meta->load_file('MYMETA.json');
|
use File::Copy;
|
||||||
my $meta = CPAN::Meta->load_file('META.json');
|
|
||||||
my $prereqs_hash = CPAN::Meta::Prereqs->new(
|
print "cp META.json MYMETA.json\n";
|
||||||
$meta->prereqs
|
copy("META.json","MYMETA.json") or die "Copy failed(META.json): $!";
|
||||||
)->with_merged_prereqs(
|
|
||||||
CPAN::Meta::Prereqs->new($mbmeta->prereqs)
|
if (-f 'META.yml') {
|
||||||
)->as_string_hash;
|
print "cp META.yml MYMETA.yml\n";
|
||||||
my $mymeta = CPAN::Meta->new(
|
copy("META.yml","MYMETA.yml") or die "Copy failed(META.yml): $!";
|
||||||
{
|
} else {
|
||||||
%{$meta->as_struct},
|
print "There is no META.yml... You may install this module from the repository...\n";
|
||||||
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 });
|
|
||||||
|
|
4
Changes
4
Changes
|
@ -2,6 +2,10 @@ Revision history for Perl extension Unqlite
|
||||||
|
|
||||||
{{$NEXT}}
|
{{$NEXT}}
|
||||||
|
|
||||||
|
0.04 2014-08-30T09:33:52Z
|
||||||
|
|
||||||
|
- Fixed packaging issue.
|
||||||
|
|
||||||
0.03 2013-07-18T03:14:07Z
|
0.03 2013-07-18T03:14:07Z
|
||||||
|
|
||||||
- more OPEN consts as mode argument
|
- more OPEN consts as mode argument
|
||||||
|
|
12
META.json
12
META.json
|
@ -4,7 +4,7 @@
|
||||||
"tokuhirom <tokuhirom@gmail.com>"
|
"tokuhirom <tokuhirom@gmail.com>"
|
||||||
],
|
],
|
||||||
"dynamic_config" : 0,
|
"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" : [
|
"license" : [
|
||||||
"perl_5"
|
"perl_5"
|
||||||
],
|
],
|
||||||
|
@ -21,21 +21,21 @@
|
||||||
"share",
|
"share",
|
||||||
"eg",
|
"eg",
|
||||||
"examples",
|
"examples",
|
||||||
"author"
|
"author",
|
||||||
|
"builder"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"prereqs" : {
|
"prereqs" : {
|
||||||
"configure" : {
|
"configure" : {
|
||||||
"requires" : {
|
"requires" : {
|
||||||
"CPAN::Meta" : "0",
|
|
||||||
"CPAN::Meta::Prereqs" : "0",
|
|
||||||
"Module::Build" : "0.38"
|
"Module::Build" : "0.38"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"develop" : {
|
"develop" : {
|
||||||
"requires" : {
|
"requires" : {
|
||||||
"Test::CPAN::Meta" : "0",
|
"Test::CPAN::Meta" : "0",
|
||||||
"Test::MinimumVersion" : "0.10108",
|
"Test::MinimumVersion::Fast" : "0.04",
|
||||||
|
"Test::PAUSE::Permissions" : "0.04",
|
||||||
"Test::Pod" : "1.41",
|
"Test::Pod" : "1.41",
|
||||||
"Test::Spellunker" : "v0.2.7"
|
"Test::Spellunker" : "v0.2.7"
|
||||||
}
|
}
|
||||||
|
@ -63,7 +63,7 @@
|
||||||
"web" : "https://github.com/tokuhirom/UnQLite"
|
"web" : "https://github.com/tokuhirom/UnQLite"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version" : "0.03",
|
"version" : "0.04",
|
||||||
"x_contributors" : [
|
"x_contributors" : [
|
||||||
"Kenichi Ishigaki <ishigaki@cpan.org>",
|
"Kenichi Ishigaki <ishigaki@cpan.org>",
|
||||||
"Reini Urban <rurban@cpanel.net>"
|
"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.
|
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
|
# METHODS
|
||||||
|
|
||||||
|
@ -122,7 +122,7 @@ Here is example code:
|
||||||
|
|
||||||
Seek cursor to ` $key `.
|
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.
|
Return true if succeeded, false otherwise.
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
use Carp ();
|
use Carp ();
|
||||||
|
|
||||||
our $VERSION = "0.03";
|
our $VERSION = "0.04";
|
||||||
our $rc = 0;
|
our $rc = 0;
|
||||||
|
|
||||||
use XSLoader;
|
use XSLoader;
|
||||||
|
|
Loading…
Add table
Reference in a new issue