capistrano-git-submodule-strategy 0.1.18 → 0.1.19

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e3bdfd6d82fb5d7e59c4f12ed146d51bc9896f8b
4
- data.tar.gz: 9e09538dcaf5b5d9088d06175c5b5ff06cd586d0
3
+ metadata.gz: 138b3353df19d2756c6c80fad790ceb60b10bd6f
4
+ data.tar.gz: 856563220960927ef9bf9ec4eacea5996328ef9b
5
5
  SHA512:
6
- metadata.gz: 94cff3e2be360795097fe7e2ff6ef83cc0efc1575604f473679c2d16f69ab787c1d89533edd3b91aa9baf60b08f0c9c954a7aa306c161a6de15a42206ee3e402
7
- data.tar.gz: acfc196f880c643d9b81cf087f0cf2c3389fa32dc792f3e87ccdef6f1d5888aab7aec2bf5b650c44f64277ac9c432ffaf541ffe052c4ff616d7103ad4190e4e6
6
+ metadata.gz: 86eb3b501157a09a4e68fb8e59562093217f02c69bec00144be6aeb8f296a8d4205b735a68bb83232b0029531ecf85173b7a7b5bb5e2a14a8f9880c432aded7a
7
+ data.tar.gz: 4d855ea53521e24275cebf35077e6e167ecc2742dc536fee309963301b5c2bfc454a5b9c40ab8788458ce23a61175acb1111305c8dd7265bf9b2c3286125f7b7
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.18
1
+ 0.1.19
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: capistrano-git-submodule-strategy 0.1.18 ruby lib
5
+ # stub: capistrano-git-submodule-strategy 0.1.19 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "capistrano-git-submodule-strategy"
9
- s.version = "0.1.18"
9
+ s.version = "0.1.19"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Boris Gorbylev"]
14
- s.date = "2015-12-28"
14
+ s.date = "2016-01-27"
15
15
  s.description = "Git submodule support for Capistrano 3"
16
16
  s.email = "ekho@ekho.name"
17
17
  s.extra_rdoc_files = [
@@ -36,7 +36,10 @@ class Capistrano::Git
36
36
  # and copy everything to the release path
37
37
  def release
38
38
  unless context.test(:test, '-e', release_path) && context.test("ls -A #{release_path} | read linevar")
39
- git :clone, (fetch(:git_keep_meta, false) ? '' : '--depth=1'), '--recursive', '-b', fetch(:branch), "file://#{repo_path}", release_path
39
+ git :clone, (fetch(:git_keep_meta, false) ? '' : '--depth=1'), '-b', fetch(:branch), "file://#{repo_path}", release_path
40
+ context.within_only release_path do
41
+ git :submodule, 'update', '--init', '--recursive'
42
+ end
40
43
  if fetch(:git_keep_meta, false)
41
44
  context.within_only release_path do
42
45
  git :remote, 'set-url', 'origin', repo_url
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-git-submodule-strategy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.18
4
+ version: 0.1.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boris Gorbylev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-28 00:00:00.000000000 Z
11
+ date: 2016-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: shoulda