recipiez 0.5.10 → 0.5.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Recipiez
2
- VERSION = '0.5.10'
2
+ VERSION = '0.5.11'
3
3
  end
data/recipes/apache.rb CHANGED
@@ -37,6 +37,14 @@ Capistrano::Configuration.instance(true).load do
37
37
  sudo "/etc/init.d/apache2 reload"
38
38
  end
39
39
 
40
+ desc "Install mongo to php"
41
+ task :mongo_php do
42
+ sudo "apt-get install -y php-pear php5-dev"
43
+ sudo "pecl install mongo"
44
+ put render('mongo_ini', binding), "mongo_ini"
45
+ sudo "mv mongo_ini.so /etc/php5/conf.d/mongo.ini"
46
+ sudo "/etc/init.d/apache2 reload"
47
+ end
40
48
 
41
49
  desc "enable php"
42
50
  task :enable_php do
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 10
9
- version: 0.5.10
8
+ - 11
9
+ version: 0.5.11
10
10
  platform: ruby
11
11
  authors:
12
12
  - Alastair Brunton
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2013-10-02 00:00:00 +02:00
17
+ date: 2014-01-31 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency