This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ hello | |
Failed to write file to ./hello/public/images/perldancer-bg.jpg - No such file or directory at /usr/lib/perl5/site_perl/5.12.3/Dancer/Script.pm line 219. | |
Failed to write file to ./hello/public/images/perldancer.jpg - No such file or directory at /usr/lib/perl5/site_perl/5.12.3/Dancer/Script.pm line 219. | |
Failed to write file to ./hello/public/favicon.ico - No such file or directory at /usr/lib/perl5/site_perl/5.12.3/Dancer/Script.pm line 219. | |
Odd number of elements in anonymous hash at /usr/lib/perl5/site_perl/5.12.3/Dancer/Script.pm line 124. | |
+ hello/bin | |
+ hello/bin/app.pl | |
+ hello/config.yml | |
+ hello/environments | |
+ hello/environments/development.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gnusosa@GN005-virtue ~/test $ dancer -a hello | |
+ hello | |
+ hello/bin | |
+ hello/bin/app.pl | |
+ hello/config.yml | |
+ hello/environments | |
+ hello/environments/development.yml | |
+ hello/environments/production.yml | |
+ hello/views | |
+ hello/views/index.tt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Test::More tests => 3; | |
use Dancer::Script; | |
my $script = Dancer::Script->new(appname => 'Hello', path => '.', check_version => '1'); | |
isa_ok( $script, 'Dancer::Script', ); | |
can_ok( $script, 'parse_opts', 'validate_app_name', ); | |
can_ok( $script, '_set_application_path', '_set_script_path', '_set_lib_path', ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Text::Buffer; | |
#Add the following to Dancer::Script | |
sub upgrade { | |
my $self = shift; | |
my $file = catfile($self->{path},$self->{appname},'lib',$self->lib_path},$self->{lib_file}); | |
my $deprecated = $self->deprecated; | |
my $text = Text::Buffer->new(-file=>"$file"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Linux eeepc 2.6.39-2-686-pae #1 SMP Tue Jul 5 03:48:49 UTC 2011 i686 GNU/Linux | |
Testing Dancer::Script Dancer: 1.3049_01, Perl 5.012004, /usr/bin/perl | |
t/19_dancer/object/00_load.t ...... ok | |
t/19_dancer/object/01_new.t ....... ok | |
t/19_dancer/object/02_write.t ..... ok | |
t/19_dancer/object/03_run.t ....... ok | |
t/19_dancer/object/04_scaffold.t .. ok | |
t/19_dancer/object/05_output.t .... ok | |
All tests successful. | |
Files=6, Tests=31, 5 wallclock secs ( 0.15 usr 0.04 sys + 4.82 cusr 0.33 csys = 5.34 CPU) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Darwin server.gundam 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC Power Macintosh | |
19_dancer/object/00_load.t ...... ok | |
19_dancer/object/01_new.t ....... ok | |
19_dancer/object/02_write.t ..... ok | |
19_dancer/object/03_run.t ....... ok | |
19_dancer/object/04_scaffold.t .. ok | |
19_dancer/object/05_output.t .... ok | |
All tests successful. | |
Files=6, Tests=31, 3 wallclock secs ( 0.08 usr 0.07 sys + 2.21 cusr 0.58 csys = 2.94 CPU) | |
Result: PASS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Darwin Carlos-Computer.local 10.7.0 Darwin Kernel Version 10.7.0: Sat Jan 29 15:17:16 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386 i386 | |
Testing Dancer::Script Dancer: 1.3049_01, Perl 5.014001, /Users/ron/perl5/perlbrew/perls/perl-5.14.1/bin/perl | |
object/00_load.t ...... ok | |
object/01_new.t ....... ok | |
object/02_write.t ..... ok | |
object/03_run.t ....... ok | |
object/04_scaffold.t .. ok | |
object/05_output.t .... ok | |
All tests successful. | |
Files=6, Tests=31, 2 wallclock secs ( 0.04 usr 0.02 sys + 1.19 cusr 0.17 csys = 1.42 CPU) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
09:16 -!- gnusosa_ [[email protected]] has joined #dancer-soc | |
09:16 [Users #dancer-soc] | |
09:16 [ franck] [ gnusosa_] | |
09:16 -!- Irssi: #dancer-soc: Total of 2 nicks [0 ops, 0 halfops, 0 voices, 2 normal] | |
09:16 -!- Channel #dancer-soc created Fri May 20 12:07:36 2011 | |
09:16 -!- Irssi: Join to #dancer-soc was synced in 14 secs | |
09:21 < gnusosa_> franck: ping | |
09:21 < franck> gnusosa_: I'm leaving work | |
09:21 < franck> I'm really sorry I was not available this weekend | |
09:21 < franck> *really* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.chart { | |
background: #b0e0f8; | |
margin: 5px; | |
} | |
.chart rect { | |
stroke: white; | |
fill: steelblue; | |
} |
OlderNewer