autobuild 1.11.0 → 1.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/autobuild/import/git.rb +6 -2
- data/lib/autobuild/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fab18de6490d1d857c12311da98263b3850d6c4e
|
|
4
|
+
data.tar.gz: b952a06db12531cf69636c5090b114353b134cfa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e1733e964eb76f243d22e401b87638ff23e957e3f8ee78123acbfa3e1b2d702075a6b37a34e0b7a51be7dfd7e5c3061fced11fb69e5357cd53269e7de76fa693
|
|
7
|
+
data.tar.gz: 519560831f91ba309f110e62a9bf850348fdbbadc0adbec3f318e2b547c836ba0af4dc323fa3d602ea9348594f5200e78bffbf803cf530ca2f1d80f8b5a70ac5
|
data/lib/autobuild/import/git.rb
CHANGED
|
@@ -1029,6 +1029,10 @@ def update(package, options = Hash.new)
|
|
|
1029
1029
|
else
|
|
1030
1030
|
merge_if_simple(package, target_commit)
|
|
1031
1031
|
end
|
|
1032
|
+
|
|
1033
|
+
if with_submodules?
|
|
1034
|
+
run_git(package, "submodule", "update", '--init')
|
|
1035
|
+
end
|
|
1032
1036
|
end
|
|
1033
1037
|
|
|
1034
1038
|
# @api private
|
|
@@ -1095,8 +1099,8 @@ def relocate(repository, options = Hash.new)
|
|
|
1095
1099
|
@local_branch = local_branch
|
|
1096
1100
|
@remote_branch = remote_branch
|
|
1097
1101
|
end
|
|
1098
|
-
@tag = options
|
|
1099
|
-
@commit = options
|
|
1102
|
+
@tag = options.fetch(:tag, @tag)
|
|
1103
|
+
@commit = options.fetch(:commit, @commit)
|
|
1100
1104
|
|
|
1101
1105
|
@repository = repository.to_str
|
|
1102
1106
|
@repository_id = options[:repository_id] ||
|
data/lib/autobuild/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: autobuild
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.11.
|
|
4
|
+
version: 1.11.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sylvain Joyeux
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-08-
|
|
11
|
+
date: 2017-08-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -236,9 +236,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
236
236
|
version: '0'
|
|
237
237
|
requirements: []
|
|
238
238
|
rubyforge_project:
|
|
239
|
-
rubygems_version: 2.
|
|
239
|
+
rubygems_version: 2.5.1
|
|
240
240
|
signing_key:
|
|
241
241
|
specification_version: 4
|
|
242
242
|
summary: Library to handle build systems and import mechanisms
|
|
243
243
|
test_files: []
|
|
244
|
-
has_rdoc:
|