summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build.PL4
-rw-r--r--README.md2
-rw-r--r--config.yml3
-rw-r--r--lib/jitterbug.pm1
-rw-r--r--t/005_builder.t2
-rw-r--r--t/data/test.yml3
-rw-r--r--t/lib/jitterbug/Test.pm2
7 files changed, 9 insertions, 8 deletions
diff --git a/Build.PL b/Build.PL
index a1b2814..a3da0df 100644
--- a/Build.PL
+++ b/Build.PL
@@ -19,12 +19,12 @@ my $builder = Module::Build->new(
'IPC::System::Simple' => 0,
'IPC::Cmd' => 0,
'YAML' => 0,
- 'Dancer' => 1.1810,
+ 'Dancer' => '1.3091',
'XML::Feed' => 0,
'DateTime' => 0,
'JSON' => 0,
'YAML' => 0,
- 'Dancer::Template::Xslate' => 0,
+ 'Dancer::Template::Xslate' => '0.02',
'Dancer::Plugin::DBIC' => 0,
'DBIx::Class' => 0,
'DateTime::Format::SQLite' => 0,
diff --git a/README.md b/README.md
index 0f71cc8..dc4f6c4 100644
--- a/README.md
+++ b/README.md
@@ -34,7 +34,7 @@ as Moose, Dancer, DBIx::Class and others.
In another terminal, deploy a DBIx::Class schema ( which is SQLite by default,
change the values in config.yml to tweak) :
- perl scripts/jitterbug_db --config config.yml --deploy
+ perl -Ilib scripts/jitterbug_db --config config.yml --deploy
Now add a post-receive hook to your github project that hits the /hook/ URL
on the server that the jitterbug Dancer app is running on, i.e.
diff --git a/config.yml b/config.yml
index 53a50c1..e06de00 100644
--- a/config.yml
+++ b/config.yml
@@ -6,7 +6,8 @@ builds_per_feed: 5
template: "xslate"
engines:
xslate:
- path: /
+ path:
+ - /
type: text
cache: 0
diff --git a/lib/jitterbug.pm b/lib/jitterbug.pm
index dadfbe8..a1a76dc 100644
--- a/lib/jitterbug.pm
+++ b/lib/jitterbug.pm
@@ -20,7 +20,6 @@ get '/' => sub {
};
sub _get_projects {
-
my @projects = ();
my $projects = schema->resultset('Project')->search();
diff --git a/t/005_builder.t b/t/005_builder.t
index 7888417..de7dbbb 100644
--- a/t/005_builder.t
+++ b/t/005_builder.t
@@ -41,7 +41,7 @@ jitterbug::Test->init();
'engines' => {
'xslate' => {
'type' => 'text',
- 'path' => '/',
+ 'path' => [ '/' ],
'cache' => '0'
}
},
diff --git a/t/data/test.yml b/t/data/test.yml
index eab52c3..80a9945 100644
--- a/t/data/test.yml
+++ b/t/data/test.yml
@@ -6,7 +6,8 @@ builds_per_feed: 5
template: "xslate"
engines:
xslate:
- path: /
+ path:
+ - /
type: text
cache: 0
diff --git a/t/lib/jitterbug/Test.pm b/t/lib/jitterbug/Test.pm
index 2326e83..652fa79 100644
--- a/t/lib/jitterbug/Test.pm
+++ b/t/lib/jitterbug/Test.pm
@@ -35,7 +35,7 @@ sub _setting {
setting views => 'views';
setting engines => {
xslate => {
- path => '/',
+ path => [ '/' ],
type => 'text',
cache => 0,
}