openteam-capistrano 0.0.6 → 0.0.7

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.
@@ -1,24 +1,22 @@
1
1
  Capistrano::Configuration.instance.load do
2
- after 'multistage:ensure', 'openteam:setup_deploy'
2
+ after 'multistage:ensure', 'openteam_capistrano_setup_deploy'
3
3
 
4
- namespace :openteam do
5
- task :setup_deploy do
6
- set :deploy_config, YAML::load(File.open('config/deploy.yml'))[stage.to_s]
4
+ task :openteam_capistrano_setup_deploy do
5
+ set :deploy_config, YAML::load(File.open('config/deploy.yml'))[stage.to_s]
7
6
 
8
- # application name
9
- set :application, deploy_config['application']
7
+ # application name
8
+ set :application, deploy_config['application']
10
9
 
11
- # deployment host
12
- set :domain, deploy_config['domain']
10
+ # deployment host
11
+ set :domain, deploy_config['domain']
13
12
 
14
- # deloyment gateway
15
- set:gateway, deploy_config['gateway'] if deploy_config.has_key? 'gateway'
13
+ # deloyment gateway
14
+ set:gateway, deploy_config['gateway'] if deploy_config.has_key? 'gateway'
16
15
 
17
- # application root
18
- set :deploy_to, "/srv/#{application}"
16
+ # application root
17
+ set :deploy_to, "/srv/#{application}"
19
18
 
20
- # setup server
21
- server domain, :app, :web, :db, :primary => true
22
- end
19
+ # setup server
20
+ server domain, :app, :web, :db, :primary => true
23
21
  end
24
22
  end
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = 'openteam-capistrano'
7
- gem.version = '0.0.6'
7
+ gem.version = '0.0.7'
8
8
  gem.authors = ["OpenTeam developers"]
9
9
  gem.email = ["developers@openteam.ru"]
10
10
  gem.description = %q{OpenTeam common capistrano recipe}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openteam-capistrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -127,7 +127,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
127
127
  version: '0'
128
128
  segments:
129
129
  - 0
130
- hash: 2912125959121799691
130
+ hash: 3278497435865315661
131
131
  required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  none: false
133
133
  requirements:
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  version: '0'
137
137
  segments:
138
138
  - 0
139
- hash: 2912125959121799691
139
+ hash: 3278497435865315661
140
140
  requirements: []
141
141
  rubyforge_project:
142
142
  rubygems_version: 1.8.24