cap-rightscale 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/cap-rightscale.gemspec +1 -1
- data/lib/cap-rightscale/recipes.rb +1 -1
- data/lib/cap-rightscale/recipes/rs_cache.rb +5 -5
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.6
|
data/cap-rightscale.gemspec
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# Load recipes
|
2
|
-
recipes = Dir[File.dirname(__FILE__)
|
2
|
+
recipes = Dir[File.join(File.dirname(__FILE__), "recipes/**/*.rb")].map {|recipe| File.expand_path(recipe)}
|
3
3
|
recipes.each do |recipe|
|
4
4
|
Capistrano::Configuration.instance.load recipe
|
5
5
|
end
|
@@ -1,3 +1,8 @@
|
|
1
|
+
desc "Alias cache:clear"
|
2
|
+
task :rs_cc do
|
3
|
+
rs_cache.clear
|
4
|
+
end
|
5
|
+
|
1
6
|
desc "Clear rightscale's server list cache"
|
2
7
|
namespace :rs_cache do
|
3
8
|
task :clear do
|
@@ -5,9 +10,4 @@ namespace :rs_cache do
|
|
5
10
|
pp Dir.glob("#{Dir.tmpdir}/cap-rightscale-*/*")
|
6
11
|
FileUtils.rm(Dir.glob("#{Dir.tmpdir}/cap-rightscale-*/*"), {:force => true})
|
7
12
|
end
|
8
|
-
|
9
|
-
desc "Alias cache:clear"
|
10
|
-
task :cc do
|
11
|
-
clear
|
12
|
-
end
|
13
13
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cap-rightscale
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 6
|
10
|
+
version: 0.0.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Satoshi Ohki
|