capistrano-recipes 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -6,10 +6,11 @@ begin
6
6
  Jeweler::Tasks.new do |gem|
7
7
  gem.name = "capistrano-recipes"
8
8
  gem.summary = %Q{Capistrano recipes}
9
+ gem.description = 'Extend the Capistrano gem with these useful recipes'
9
10
  gem.email = "phil@webficient.com"
10
11
  gem.homepage = "http://github.com/webficient/capistrano-recipes"
11
12
  gem.authors = ["Phil Misiowiec"]
12
- gem.add_dependency('capistrano', ['>= 2.5.5'])
13
+ gem.add_dependency('capistrano', ['>= 2.5.9'])
13
14
  gem.add_dependency('capistrano-ext', ['>= 1.2.1'])
14
15
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
15
16
  end
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 0
2
+ :patch: 1
3
3
  :major: 0
4
4
  :minor: 4
@@ -5,11 +5,12 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{capistrano-recipes}
8
- s.version = "0.4.0"
8
+ s.version = "0.4.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Phil Misiowiec"]
12
12
  s.date = %q{2009-09-29}
13
+ s.description = %q{Extend the Capistrano gem with these useful recipes}
13
14
  s.email = %q{phil@webficient.com}
14
15
  s.extra_rdoc_files = [
15
16
  "LICENSE",
@@ -41,14 +42,14 @@ Gem::Specification.new do |s|
41
42
  s.specification_version = 3
42
43
 
43
44
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
44
- s.add_runtime_dependency(%q<capistrano>, [">= 2.5.5"])
45
+ s.add_runtime_dependency(%q<capistrano>, [">= 2.5.9"])
45
46
  s.add_runtime_dependency(%q<capistrano-ext>, [">= 1.2.1"])
46
47
  else
47
- s.add_dependency(%q<capistrano>, [">= 2.5.5"])
48
+ s.add_dependency(%q<capistrano>, [">= 2.5.9"])
48
49
  s.add_dependency(%q<capistrano-ext>, [">= 1.2.1"])
49
50
  end
50
51
  else
51
- s.add_dependency(%q<capistrano>, [">= 2.5.5"])
52
+ s.add_dependency(%q<capistrano>, [">= 2.5.9"])
52
53
  s.add_dependency(%q<capistrano-ext>, [">= 1.2.1"])
53
54
  end
54
55
  end
@@ -3,8 +3,4 @@ require 'capistrano/cli'
3
3
  require 'capistrano/ext/multistage'
4
4
  require 'helpers'
5
5
 
6
- @@cap_config = Capistrano::Configuration.respond_to?(:instance) ?
7
- Capistrano::Configuration.instance(:must_exist) :
8
- Capistrano.configuration(:must_exist)
9
-
10
6
  Dir.glob(File.join(File.dirname(__FILE__), '/recipes/*.rb')).each { |f| load f }
data/lib/recipes/db.rb CHANGED
@@ -1,7 +1,6 @@
1
1
  require 'erb'
2
2
 
3
- @@cap_config.load do
4
-
3
+ Capistrano::Configuration.instance(:must_exist).load do
5
4
  namespace :db do
6
5
  namespace :mysql do
7
6
  desc "Create MySQL database and user for this environment using prompted values"
@@ -1,5 +1,4 @@
1
- @@cap_config.load do
2
-
1
+ Capistrano::Configuration.instance(:must_exist).load do
3
2
  set :shared_children, %w(system log pids config)
4
3
 
5
4
  after "deploy:setup" do
data/lib/recipes/log.rb CHANGED
@@ -1,4 +1,4 @@
1
- @@cap_config.load do
1
+ Capistrano::Configuration.instance(:must_exist).load do
2
2
  namespace :log do
3
3
 
4
4
  desc "Tail application log file for the specified environment, e.g. cap staging log:tail"
@@ -1,4 +1,4 @@
1
- @@cap_config.load do
1
+ Capistrano::Configuration.instance(:must_exist).load do
2
2
  namespace :passenger do
3
3
 
4
4
  desc "Restart Rails app running under Phusion Passenger by touching restart.txt"
@@ -1,4 +1,4 @@
1
- @@cap_config.load do
1
+ Capistrano::Configuration.instance(:must_exist).load do
2
2
  namespace :symlink do
3
3
 
4
4
  desc <<-DESC
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-recipes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Phil Misiowiec
@@ -20,7 +20,7 @@ dependencies:
20
20
  requirements:
21
21
  - - ">="
22
22
  - !ruby/object:Gem::Version
23
- version: 2.5.5
23
+ version: 2.5.9
24
24
  version:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: capistrano-ext
@@ -32,7 +32,7 @@ dependencies:
32
32
  - !ruby/object:Gem::Version
33
33
  version: 1.2.1
34
34
  version:
35
- description:
35
+ description: Extend the Capistrano gem with these useful recipes
36
36
  email: phil@webficient.com
37
37
  executables: []
38
38