Skip to content

Commit

Permalink
initial commit for SporeDefinitionControl Dancer Plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
kolok committed Nov 8, 2010
0 parents commit a85169e
Show file tree
Hide file tree
Showing 22 changed files with 658 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Revision history for Dancer-Plugin-SporeDefinitionControl

0.01 Date/time
First version, released on an unsuspecting world.

9 changes: 9 additions & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Changes
MANIFEST
Makefile.PL
README
lib/Dancer/Plugin/SporeDefinitionControl.pm
t/00-load.t
t/manifest.t
t/pod-coverage.t
t/pod.t
22 changes: 22 additions & 0 deletions Makefile.PL
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
use strict;
use warnings;
use ExtUtils::MakeMaker;

WriteMakefile(
NAME => 'Dancer::Plugin::SporeDefinitionControl',
AUTHOR => q{Nicolas Oudard <nicolas@oudard.org>},
VERSION_FROM => 'lib/Dancer/Plugin/SporeDefinitionControl.pm',
ABSTRACT_FROM => 'lib/Dancer/Plugin/SporeDefinitionControl.pm',
LICENSE => 'perl',
PL_FILES => {},
PREREQ_PM => {
'Dancer' => 0,
'Dancer::Plugin' => 0,
'Dancer::Test' => 0,
'YAML' => 0,
'File::Spec' => 0,
'Test::More' => 0,
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'Dancer-Plugin-SporeDefinitionControl-*' },
);
55 changes: 55 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
Dancer-Plugin-SporeDefinitionControl

The README is used to introduce the module and provide instructions on
how to install the module, any machine dependencies it may have (for
example C compilers and installed libraries) and any other information
that should be provided before the module is installed.

A README file is required for CPAN modules since CPAN extracts the README
file from a module distribution so that people browsing the archive
can use it to get an idea of the module's uses. It is usually a good idea
to provide version information here so that people can decide whether
fixes for the module are worth downloading.


INSTALLATION

To install this module, run the following commands:

perl Makefile.PL
make
make test
make install

SUPPORT AND DOCUMENTATION

After installing, you can find documentation for this module with the
perldoc command.

perldoc Dancer::Plugin::SporeDefinitionControl

You can also look for information at:

RT, CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Dancer-Plugin-SporeDefinitionControl

AnnoCPAN, Annotated CPAN documentation
http://annocpan.org/dist/Dancer-Plugin-SporeDefinitionControl

CPAN Ratings
http://cpanratings.perl.org/d/Dancer-Plugin-SporeDefinitionControl

Search CPAN
http://search.cpan.org/dist/Dancer-Plugin-SporeDefinitionControl/


LICENSE AND COPYRIGHT

Copyright (C) 2010 Nicolas Oudard

This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

6 changes: 6 additions & 0 deletions config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
layout: "main"
logger: "console"
charset: "utf8"
appname: "weborama_api"


96 changes: 96 additions & 0 deletions environments/.svn/entries
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
10

dir
25863
svn+ssh://storage3.in.weborama.fr/data/svnrepo/Weborama-Common/perl/weborama_api/trunk/environments
svn+ssh://storage3.in.weborama.fr/data/svnrepo



2010-10-21T10:08:11.958624Z
25485
asukrieh














60e2132d-0123-0410-b3af-800862c0aeb8

development.yml
file
25864



2010-10-28T09:50:56.125943Z
8cceafff874bc99b77007cd6eee8df4e
2010-10-28T09:58:56.539392Z
25864
noudard





















651

production.yml
file




2010-10-14T10:38:31.486368Z
014aa3ece901365f9b81cc3e7d4c9c04
2010-10-14T10:31:09.875374Z
25021
noudard





















114

27 changes: 27 additions & 0 deletions environments/.svn/text-base/development.yml.svn-base
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
log: "debug"
warnings: 1
show_errors: 1

# auto_reload is a development feature
# you should enable it by yourself if you want it
# Module::Refresh is needed
auto_reload: 0


plugins:
SporeDefinitionControl:
spore_spec_path: route_config.yaml
DBIC:
stats:
schema_class: "Weborama::StatsModel"
dsn: "DBI:mysql:mysql;mysql_socket=/tmp/webo-mysql-stats.sock:dbname=performance_info"
user: 'root'
options:
AutoCommit: 1
base:
schema_class: "Weborama::BaseModel"
dsn: "DBI:mysql:mysql;mysql_socket=/tmp/webo-mysql-base.sock:dbname=labase"
user: 'root'
options:
AutoCommit: 1

7 changes: 7 additions & 0 deletions environments/.svn/text-base/production.yml.svn-base
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
log: "warning"
warnings: 0
show_errors: 0
route_cache: 1
# never enable auto_reload in production
auto_reload: 0

27 changes: 27 additions & 0 deletions environments/development.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
log: "debug"
warnings: 1
show_errors: 1

# auto_reload is a development feature
# you should enable it by yourself if you want it
# Module::Refresh is needed
auto_reload: 0


plugins:
SporeDefinitionControl:
spore_spec_path: route_config.yaml
DBIC:
stats:
schema_class: "Weborama::StatsModel"
dsn: "DBI:mysql:mysql;mysql_socket=/tmp/webo-mysql-stats.sock:dbname=performance_info"
user: 'root'
options:
AutoCommit: 1
base:
schema_class: "Weborama::BaseModel"
dsn: "DBI:mysql:mysql;mysql_socket=/tmp/webo-mysql-base.sock:dbname=labase"
user: 'root'
options:
AutoCommit: 1

7 changes: 7 additions & 0 deletions environments/production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
log: "warning"
warnings: 0
show_errors: 0
route_cache: 1
# never enable auto_reload in production
auto_reload: 0

12 changes: 12 additions & 0 deletions ignore.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
blib*
Makefile
Makefile.old
Build
Build.bat
_build*
pm_to_blib*
*.tar.gz
.lwpcookies
cover_db
pod2htm*.tmp
Dancer-Plugin-SporeDefinitionControl-*
Loading

0 comments on commit a85169e

Please sign in to comment.