xendeploy 0.13 → 0.14

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.
Files changed (2) hide show
  1. data/lib/xendeploy.rb +2 -14
  2. metadata +1 -1
data/lib/xendeploy.rb CHANGED
@@ -1,21 +1,9 @@
1
1
  require 'capistrano'
2
- # require 'deprec'
2
+ #require 'deprec'
3
3
 
4
4
  unless Capistrano::Configuration.respond_to?(:instance)
5
5
  abort "xendeploy requires Capistrano 2"
6
6
  end
7
7
 
8
8
  require "#{File.dirname(__FILE__)}/xendeploy/deprec_extensions"
9
-
10
- # Load recipes.
11
- recipes = Dir[File.dirname(__FILE__) + "/recipes/*.rb"].collect { |recipe| File.expand_path(recipe) }
12
- recipes.each do |recipe|
13
- Capistrano::Configuration.instance.load recipe
14
-
15
- namespace "deploy:#{recipe}" do
16
- desc "Check #{recipe.capitalize}"
17
- task :check do
18
- puts "checked #{recipe}"
19
- end
20
- end
21
- end
9
+ Capistrano::Configuration.instance.load File.dirname(__FILE__) + "/recipes/deploy"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xendeploy
3
3
  version: !ruby/object:Gem::Version
4
- version: "0.13"
4
+ version: "0.14"
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Marden