depengine 0.0.23 → 0.0.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/depengine/dsl/deployment.rb +2 -3
- data/lib/depengine/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3dcc36a44f350c9a3e9c075b0aac9bedfb1ca64b
|
4
|
+
data.tar.gz: b7dcd54200a88790ccd76ef8627e1c840b046079
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39cdf8bb2e926cff89f95af77dac0bf063cff6e3ec3dc1a925ec07006fa40fba24c07648dddb0d5685c7e9c66b8b57d4e10a72808d913f6555d383910087d856
|
7
|
+
data.tar.gz: ed6adc1f7e28171203433385ac843eb6f8e1aec60a4dec5303270bf3161a6007332bd306e8270474bab10e48b0b6a669479813b6e12e65cf99428428a4e14508
|
@@ -686,13 +686,12 @@ module Deployment
|
|
686
686
|
publisher.checkout(branch_name, options)
|
687
687
|
end
|
688
688
|
|
689
|
-
def git_submodule(options={})
|
690
|
-
Helper.validates_presence_of options[:
|
689
|
+
def git_submodule(submodule_option, options={})
|
690
|
+
Helper.validates_presence_of options[:submodule_option] || @cdb['git_submodule_option'] , "submodule_option not set "
|
691
691
|
|
692
692
|
publisher = Publisher::Git.new
|
693
693
|
publisher.repository_url = options[:git_repository_url] || @cdb['git_repository_url']
|
694
694
|
publisher.repository_local_dir = options[:git_repository_local] || @cdb['git_repository_local']
|
695
|
-
publisher.submodule_option = options[:git_submodule_option] || @cdb['git_submodule_option'] || "--recusive"
|
696
695
|
publisher.submodule(submodule_option, options)
|
697
696
|
end
|
698
697
|
|
data/lib/depengine/version.rb
CHANGED