cap-rightscale 0.0.6 → 0.0.7
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 +2 -2
- data/lib/cap-rightscale/recipes/rightscale/cache.rb +14 -0
- metadata +4 -4
- data/lib/cap-rightscale/recipes/rs_cache.rb +0 -13
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.7
|
data/cap-rightscale.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{cap-rightscale}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.7"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Satoshi Ohki"]
|
@@ -33,7 +33,7 @@ Gem::Specification.new do |s|
|
|
33
33
|
"lib/cap-rightscale/configuration.rb",
|
34
34
|
"lib/cap-rightscale/configuration/rightscale.rb",
|
35
35
|
"lib/cap-rightscale/recipes.rb",
|
36
|
-
"lib/cap-rightscale/recipes/
|
36
|
+
"lib/cap-rightscale/recipes/rightscale/cache.rb",
|
37
37
|
"spec/cap-rightscale_spec.rb",
|
38
38
|
"spec/spec_helper.rb"
|
39
39
|
]
|
@@ -0,0 +1,14 @@
|
|
1
|
+
desc "Alias cache:clear"
|
2
|
+
namespace :rightscale do
|
3
|
+
task :rightscale do
|
4
|
+
rightscale.cache.clear
|
5
|
+
end
|
6
|
+
|
7
|
+
desc "Clear rightscale's server list cache"
|
8
|
+
namespace :cache do
|
9
|
+
task :clear do
|
10
|
+
puts "Clear cache all"
|
11
|
+
pp Dir.glob("#{Dir.tmpdir}/cap-rightscale-*/#{stage}*")
|
12
|
+
FileUtils.rm(Dir.glob("#{Dir.tmpdir}/cap-rightscale-*/#{stage}*"), {:force => true})
|
13
|
+
end
|
14
|
+
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: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 7
|
10
|
+
version: 0.0.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Satoshi Ohki
|
@@ -120,7 +120,7 @@ files:
|
|
120
120
|
- lib/cap-rightscale/configuration.rb
|
121
121
|
- lib/cap-rightscale/configuration/rightscale.rb
|
122
122
|
- lib/cap-rightscale/recipes.rb
|
123
|
-
- lib/cap-rightscale/recipes/
|
123
|
+
- lib/cap-rightscale/recipes/rightscale/cache.rb
|
124
124
|
- spec/cap-rightscale_spec.rb
|
125
125
|
- spec/spec_helper.rb
|
126
126
|
has_rdoc: true
|
@@ -1,13 +0,0 @@
|
|
1
|
-
desc "Alias cache:clear"
|
2
|
-
task :rs_cc do
|
3
|
-
rs_cache.clear
|
4
|
-
end
|
5
|
-
|
6
|
-
desc "Clear rightscale's server list cache"
|
7
|
-
namespace :rs_cache do
|
8
|
-
task :clear do
|
9
|
-
puts "Clear cache all"
|
10
|
-
pp Dir.glob("#{Dir.tmpdir}/cap-rightscale-*/*")
|
11
|
-
FileUtils.rm(Dir.glob("#{Dir.tmpdir}/cap-rightscale-*/*"), {:force => true})
|
12
|
-
end
|
13
|
-
end
|