Skip to content
Browse files

Updated deps and used Mojo::JSON::Any

  • Loading branch information...
1 parent 3fb649d commit 3bbc92f32c7798887357d8737970f0c0adedf25a @vti committed Jun 15, 2010
Showing with 10 additions and 2 deletions.
  1. +3 −0 .gitmodules
  2. +1 −1 extlib/mojo
  3. +1 −0 extlib/mojo-json-any
  4. +1 −1 extlib/mojox-common
  5. +3 −0 lib/MojoliciousApps.pm
  6. +1 −0 script/mojolicious_apps
View
3 .gitmodules
@@ -4,3 +4,6 @@
[submodule "extlib/mojox-common"]
path = extlib/mojox-common
url = http://github.com/vti/mojox-common.git
+[submodule "extlib/mojo-json-any"]
+ path = extlib/mojo-json-any
+ url = http://github.com/vti/mojo-json-any.git
2 extlib/mojo
@@ -1 +1 @@
-Subproject commit 7b36f13487a7632650a8c2af1d55d7561215cc56
+Subproject commit 44d44a13c2c11cbb7bdaa600fa540e1689845215
1 extlib/mojo-json-any
@@ -0,0 +1 @@
+Subproject commit c33d9190a31be46752a08ca99734c6f774757758
2 extlib/mojox-common
@@ -1 +1 @@
-Subproject commit bbbdeecf0ad0fda6e1cf129d04866bdcc157becd
+Subproject commit 8438e15cc22f55f5e01d710758b65040271180da
View
3 lib/MojoliciousApps.pm
@@ -8,6 +8,8 @@ use base 'Mojolicious';
__PACKAGE__->attr('config');
__PACKAGE__->attr('config_file');
+use Mojo::JSON::Any;
+
sub test_mode {
my $self = shift;
@@ -43,6 +45,7 @@ sub startup {
# CouchDB
$self->plugin(couchdb => $config->{couchdb});
+ $self->couchdb->json_class('Mojo::JSON::Any');
# Register controller
$self->controller_class('MojoliciousApps::Controller');
View
1 script/mojolicious_apps
@@ -7,6 +7,7 @@ use FindBin;
use lib "$FindBin::Bin/../lib";
use lib "$FindBin::Bin/../extlib/mojo/lib";
+use lib "$FindBin::Bin/../extlib/mojo-json-any/lib";
use lib "$FindBin::Bin/../extlib/mojox-common/lib";
# Check if Mojo is installed

0 comments on commit 3bbc92f

Please sign in to comment.
Something went wrong with that request. Please try again.