deployer 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/deployer.rb +3 -3
  2. metadata +4 -4
data/lib/deployer.rb CHANGED
@@ -5,9 +5,9 @@ require File.join(File.dirname(__FILE__), 'deployer', 'helpers')
5
5
  ##
6
6
  # This Configuration Is *Conventional*
7
7
  set :application, ip
8
- set :deploy_to, "/var/apps/#{appname}"
9
- set :repository_path, "/var/git/#{appname}.git"
10
- set :repository, "#{user}@#{application}:#{repository_path}"
8
+ set :deploy_to, "/var/apps/#{appname}" unless respond_to?(:deploy_to)
9
+ set :repository_path, "/var/git/#{appname}.git" unless respond_to?(:repository_path)
10
+ set :repository, "#{user}@#{application}:#{repository_path}"
11
11
  set :repository, repository_url if respond_to?(:repository_url)
12
12
 
13
13
  set :scm, 'git'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deployer
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael van Rooijen
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-06-13 00:00:00 +02:00
18
+ date: 2010-06-14 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency