capistrano-utils 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/capistrano-utils.gemspec +1 -1
- data/lib/capistrano/ext/helpers.rb +5 -1
- metadata +2 -2
data/capistrano-utils.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-utils'
|
15
15
|
gem.require_paths = ['lib']
|
16
|
-
gem.version = '0.0.
|
16
|
+
gem.version = '0.0.7'
|
17
17
|
|
18
18
|
gem.add_dependency 'rake'
|
19
19
|
gem.add_dependency 'capistrano', '>= 2.12.0'
|
@@ -27,7 +27,11 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
27
27
|
end
|
28
28
|
|
29
29
|
def clean_folder(folder)
|
30
|
-
find_params = [
|
30
|
+
find_params = [
|
31
|
+
"-name '._*'", "-name '*~'", "-name '*.tmp'", "-name '*.bak'",
|
32
|
+
"-name 'Thumbs.db'", "-name '.DS_Store'",
|
33
|
+
]
|
34
|
+
|
31
35
|
commands = find_params.inject '' do |commands, find_param|
|
32
36
|
commands << "#{try_sudo} find #{folder} #{find_param} -exec rm -f {} ';';"
|
33
37
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-utils
|
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:
|
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
78
78
|
version: '0'
|
79
79
|
segments:
|
80
80
|
- 0
|
81
|
-
hash: -
|
81
|
+
hash: -3751233142603140895
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
84
|
rubygems_version: 1.8.23
|