cap-rightscale 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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.5
|
data/cap-rightscale.gemspec
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Load recipes
|
|
2
|
-
recipes = Dir[
|
|
2
|
+
recipes = Dir[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,8 +1,3 @@
|
|
|
1
|
-
desc "Alias cache:clear"
|
|
2
|
-
task :cc do
|
|
3
|
-
rs_cache.clear
|
|
4
|
-
end
|
|
5
|
-
|
|
6
1
|
desc "Clear rightscale's server list cache"
|
|
7
2
|
namespace :rs_cache do
|
|
8
3
|
task :clear do
|
|
@@ -10,4 +5,9 @@ namespace :rs_cache do
|
|
|
10
5
|
pp Dir.glob("#{Dir.tmpdir}/cap-rightscale-*/*")
|
|
11
6
|
FileUtils.rm(Dir.glob("#{Dir.tmpdir}/cap-rightscale-*/*"), {:force => true})
|
|
12
7
|
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: 21
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 5
|
|
10
|
+
version: 0.0.5
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Satoshi Ohki
|