depengine 0.0.26 → 0.0.27
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 +1 -4
- data/lib/depengine/publisher/git.rb +0 -1
- 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: 32fea509480666bf40405f710fccdba27dae57b1
|
4
|
+
data.tar.gz: bf020af61701b2c9e7cefff607e010d619a9786d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0ed143347cbc7a5864fe9fd34e1e4f7f035a2c8bae7b228863dd52577863e9e49fbb7427045cdfce5eacc311585cd28ac41c21f81f5ee564492739d7d8866fe
|
7
|
+
data.tar.gz: 50b03cd8ee4b44434a03a3a98057f05a7f4ed2709036f087b24096516f42eacb7d9e86c78fa0052724f521323cc91ef8305de102fa7aa7e77e14002f184ca244
|
@@ -686,13 +686,10 @@ 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[:git_submodule_option] || @cdb['git_submodule_option'] , "submodule_option not set "
|
691
|
-
|
689
|
+
def git_submodule(submodule_option, options={})
|
692
690
|
publisher = Publisher::Git.new
|
693
691
|
publisher.repository_url = options[:git_repository_url] || @cdb['git_repository_url']
|
694
692
|
publisher.repository_local_dir = options[:git_repository_local] || @cdb['git_repository_local']
|
695
|
-
publisher.submodule_option = options[:git_submodule_option] || @cdb['git_submodule_option'] || "--recursive"
|
696
693
|
publisher.submodule(submodule_option, options)
|
697
694
|
end
|
698
695
|
|
data/lib/depengine/version.rb
CHANGED