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 +4 -4
- data/VERSION +1 -1
- data/capistrano-git-submodule-strategy.gemspec +3 -3
- data/lib/capistrano/git-submodule-strategy.rb +4 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 138b3353df19d2756c6c80fad790ceb60b10bd6f
|
4
|
+
data.tar.gz: 856563220960927ef9bf9ec4eacea5996328ef9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86eb3b501157a09a4e68fb8e59562093217f02c69bec00144be6aeb8f296a8d4205b735a68bb83232b0029531ecf85173b7a7b5bb5e2a14a8f9880c432aded7a
|
7
|
+
data.tar.gz: 4d855ea53521e24275cebf35077e6e167ecc2742dc536fee309963301b5c2bfc454a5b9c40ab8788458ce23a61175acb1111305c8dd7265bf9b2c3286125f7b7
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
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.
|
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.
|
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 = "
|
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'), '
|
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.
|
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:
|
11
|
+
date: 2016-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: shoulda
|