marcosgz-cap-recipe 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
@@ -19,11 +19,11 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
19
19
|
namespace :create do
|
20
20
|
task :dirs, :roles => :app do
|
21
21
|
deploy.setup
|
22
|
-
commands = %w(config uploads backup bundle pids tmp/cache public/cache
|
22
|
+
commands = %w(config uploads backup bundle pids tmp/cache public/cache).map do |path|
|
23
23
|
"if [ ! -d '#{path}' ]; then mkdir -p #{path}; fi;"
|
24
24
|
end
|
25
25
|
run "cd #{shared_path}; #{commands.join(' ')}"
|
26
|
-
run "chmod 777 #{shared_path}/public/cache #{shared_path}/
|
26
|
+
run "chmod 777 #{shared_path}/public/cache #{shared_path}/tmp/cache"
|
27
27
|
end
|
28
28
|
|
29
29
|
|
data/marcosgz-cap-recipe.gemspec
CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "marcosgz-cap-recipe"
|
6
|
-
s.version = "0.0.
|
6
|
+
s.version = "0.0.7"
|
7
7
|
s.authors = ["Marcos G. Zimmermann"]
|
8
8
|
s.email = ["mgzmaster@gmail.com"]
|
9
9
|
s.homepage = "https://github.com/marcosgz/capistrano-recipe"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: marcosgz-cap-recipe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-03-
|
12
|
+
date: 2013-03-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|
@@ -93,3 +93,4 @@ signing_key:
|
|
93
93
|
specification_version: 3
|
94
94
|
summary: Capistrano recipe
|
95
95
|
test_files: []
|
96
|
+
has_rdoc:
|