cachivache 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d395340edc5efa34f8cafead802c3ff0726da99
|
4
|
+
data.tar.gz: 2c1cb76ae62c0fa558cad5072e64d68fc762cfce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d48d5f20a32d6e2a6759fb005670199096d7b30fdbbb6ce6e475a2bd8800a8b1209857daa816e20075f8942a7be7a43f14fb386de5b2c73b5d38e825d889763
|
7
|
+
data.tar.gz: 92eb614e6831df563bf4a5099dbd0814e570438b34d4d5580eeb9ad276ac392348b1e146ea00137685eafaf313738b43609ffc3b0df4ca1011b95ef633d53f8d
|
@@ -19,7 +19,7 @@ end
|
|
19
19
|
|
20
20
|
namespace :'cachivache-com' do
|
21
21
|
task :'enable-site' do
|
22
|
-
|
22
|
+
shell %Q{
|
23
23
|
# Copy .conf to /etc/apache2/sites-available
|
24
24
|
sudo cp -f #{Cachivache.provision_folder}/stuff/php-site-sample/cachivache-com.conf /etc/apache2/sites-available
|
25
25
|
|
@@ -47,14 +47,14 @@ namespace :'cachivache-com' do
|
|
47
47
|
end
|
48
48
|
|
49
49
|
task :'enable-hosts' do
|
50
|
-
|
50
|
+
shell_unless file: "/etc/hosts", contains: "127.0.0.1 #{CachivacheDotCom.domain}" do
|
51
51
|
shell append "127.0.0.1 #{CachivacheDotCom.domain}"
|
52
52
|
end
|
53
53
|
end
|
54
54
|
|
55
55
|
task :'populate-mysql' do
|
56
|
-
|
56
|
+
shell %Q{
|
57
57
|
mysql -uroot -p#{MysqlServer.root_password} < #{Cachivache.provision_folder}/stuff/php-site-sample/populate-mysql.sql
|
58
58
|
}
|
59
59
|
end
|
60
|
-
end
|
60
|
+
end
|
data/lib/cachivache/version.rb
CHANGED