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 CHANGED
@@ -1 +1 @@
1
- 0.0.5
1
+ 0.0.6
@@ -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.5"
8
+ s.version = "0.0.6"
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"]
@@ -1,5 +1,5 @@
1
1
  # Load recipes
2
- recipes = Dir[File.dirname(__FILE__) + "recipes/**/*.rb"].map {|recipe| File.expand_path(recipe)}
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: 21
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 5
10
- version: 0.0.5
9
+ - 6
10
+ version: 0.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Satoshi Ohki