Skip to content

Commit c72c1b3

Browse files
committed
2 parents 75aad2f + 19fa756 commit c72c1b3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+2426
-2010
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
.DS_Store
12
*.kpf
23
*.komodoproject
34
*.sqlite*
5+
/var/tmp/
6+
/var/log/metacpan.*
7+
/etc/metacpan_local.pl

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "inc/monken/p5-elasticsearch-model"]
2+
path = inc/monken/p5-elasticsearch-model
3+
url = git://github.com/monken/p5-elasticsearch-model.git

bin/check_json.pl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env perl
2-
2+
# PODNAME: check_json.pl
33
use 5.010;
44

55
use Data::Dumper;
@@ -15,5 +15,4 @@
1515
};
1616

1717
if ( $@ ) { say "\terror in $file: $@" }
18-
}
19-
18+
}

bin/get_fields.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#!/usr/bin/perl -l
2-
1+
#!/usr/bin/env perl
2+
# PODNAME: get_fields.pl
33
use Data::Dumper;
44
use JSON::XS;
55
use File::Find::Rule;

bin/metacpan

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/env perl
2+
# PODNAME: metadbic
3+
4+
use strict;
5+
use warnings;
6+
use FindBin;
7+
use lib "$FindBin::RealBin/../lib";
8+
use MetaCPAN::Script::Runner;
9+
10+
MetaCPAN::Script::Runner->run;

conf/author-2.0.js

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"BDFOY": {
3+
"donation": { // null or object
4+
"paypal": "[email protected]",
5+
"moneybookers": "username",
6+
},
7+
"country": "US", // 2 char iso letter code
8+
"region": "IL",
9+
"city": "Chicago",
10+
"location": "-14.42,55.22", // can be calculated from city / region / country
11+
"website": ["http://www.pair.com/comdog", "http://about.me/brian_d_foy"],
12+
13+
"identity": { // null or object
14+
"delicious": "http://delicious.com/manske",
15+
"facebook": "http://www.facebook.com/rbo.openserv.org",
16+
"github": "https://github.com/briandfoy",
17+
"openid": "http://sartak.org",
18+
"linkedin": "http://www.linkedin.com/in/briandfoy",
19+
"stackoverflow": "http://stackoverflow.com/users/8817/brian-d-foy",
20+
"perlmonks": "http://www.perlmonks.org/?node=brian_d_foy",
21+
"twitter": "http://twitter.com/briandfoy_perl",
22+
"slideshare": "http://www.slideshare.net/brian_d_foy/",
23+
"youtube": "http://www.youtube.com/bradmcconahay",
24+
"amazon": "http://www.amazon.com/brian-d-foy/e/B002MRC39U",
25+
"oreilly": "http://www.oreillynet.com/pub/au/1071",
26+
},
27+
"perlmongers": "Frankfurt.pm",
28+
"blog": [{ // object or array of objects
29+
"url": "http://blogs.perl.org/users/brian_d_foy/",
30+
"feed": "http://blogs.perl.org/users/brian_d_foy/atom.xml",
31+
}],
32+
"extra": { // not indexed, no mapping, just an object
33+
"cats": ["Buster", "Mimi"],
34+
"books": ["0596527241", "0321496949", "0596102062", "0596009968", "0596520107", "0596101058"],
35+
36+
}
37+
}
38+
}

dist.ini

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name = MetaCPAN
2+
version = 0.0.1
3+
author = Moritz Onken <[email protected]>
4+
license = BSD
5+
copyright_holder = Moritz Onken
6+
7+
[@Filter]
8+
-bundle = @JQUELIN
9+
-remove = AutoVersion
10+
11+
[Prereqs]
12+
Plack::Middleware::Header = 0
13+
Archive::Tar = 0
14+
WWW::Mechanize::Cached = 0
15+
DateTime::Format::Epoch::Unix = 0
16+
ElasticSearch = 0
17+
Gravatar::URL = 0
18+
Parse::CSV = 0
19+
Pod::Coverage::Moose = 0.02
20+
MooseX::Attribute::Deflator = 1.130002
21+
Twiggy = 0
22+
EV = 0
23+
Log::Log4perl::Appender::ScreenColoredLevels = 0
24+
Starman = 0

elasticsearch/cpants.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
use Data::Dump qw( dump );
44
use JSON::Any;
5-
use Modern::Perl;
5+
use feature 'say';
66
use WWW::Mechanize::Cached;
77

88
my $j = JSON::Any->new;

elasticsearch/create_index.pl

Lines changed: 0 additions & 11 deletions
This file was deleted.

elasticsearch/delete_index.pl

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)