obbistrano 1.1.57 → 1.1.58

Sign up to get free protection for your applications and to get access to all the features.
@@ -161,11 +161,11 @@ Capistrano::Configuration.instance(:must_exist).load do
161
161
  logger.level = 2
162
162
  run "cd #{deploy_to} && git fetch"
163
163
  begin
164
- run "cd #{deploy_to} && git checkout -b #{branch} origin/#{branch}"
164
+ run "cd #{deploy_to} && git checkout -b #{branch} origin/#{branch} && git submodule update --init --recursive"
165
165
  rescue
166
166
  run "cd #{deploy_to} && git pull origin #{branch}"
167
- run "cd #{deploy_to} && git checkout #{branch}"
168
- run "cd #{deploy_to} && git checkout #{commit}" if defined? "#{commit}"
167
+ run "cd #{deploy_to} && git checkout #{branch} && git submodule update --init --recursive"
168
+ run "cd #{deploy_to} && git checkout #{commit} && git submodule update --init --recursive" if defined? "#{commit}"
169
169
  end
170
170
 
171
171
  logger.info "Application has been updated on branch #{branch}"
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{obbistrano}
5
- s.version = "1.1.57"
5
+ s.version = "1.1.58"
6
6
  s.authors = ["Ross Riley", "One Black Bear"]
7
7
  s.date = Time.now
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: obbistrano
3
3
  version: !ruby/object:Gem::Version
4
- hash: 97
4
+ hash: 103
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 57
10
- version: 1.1.57
9
+ - 58
10
+ version: 1.1.58
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ross Riley
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-02-18 00:00:00 +00:00
19
+ date: 2011-05-23 00:00:00 +01:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency