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 CHANGED
@@ -1 +1 @@
1
- 0.0.4
1
+ 0.0.5
@@ -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.4"
8
+ s.version = "0.0.5"
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['cap-rightscale/recipes/*.rb'].map {|recipe| File.expand_path(recipe)}
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: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Satoshi Ohki