capistrano-content 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/capistrano-content.gemspec +1 -1
- data/lib/capistrano/ext/content.rb +1 -6
- metadata +2 -2
data/capistrano-content.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
|
|
13
13
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
14
14
|
gem.name = 'capistrano-content'
|
15
15
|
gem.require_paths = ['lib']
|
16
|
-
gem.version = '0.0.
|
16
|
+
gem.version = '0.0.3'
|
17
17
|
|
18
18
|
# Runtime dependencies
|
19
19
|
gem.add_dependency 'rake'
|
@@ -77,12 +77,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
77
77
|
|
78
78
|
desc '[internal] Cleanup the content folder'
|
79
79
|
task :clean, :roles => :app do
|
80
|
-
|
81
|
-
commands = find_params.inject '' do |commands, find_param|
|
82
|
-
commands << "#{try_sudo} find #{fetch :shared_content_path} #{find_param} -exec rm -f {} ';';"
|
83
|
-
end
|
84
|
-
|
85
|
-
run commands
|
80
|
+
clean_folder fetch(:shared_content_path)
|
86
81
|
end
|
87
82
|
end
|
88
83
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-content
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
93
93
|
version: '0'
|
94
94
|
segments:
|
95
95
|
- 0
|
96
|
-
hash: -
|
96
|
+
hash: -2416752865718671562
|
97
97
|
requirements: []
|
98
98
|
rubyforge_project:
|
99
99
|
rubygems_version: 1.8.23
|