autobuild 1.11.0 → 1.11.1

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: 887fdd72b296e1905b9ef98f951774a1d40104e2
4
- data.tar.gz: b4d1f7408b5f8146edc578b1b9cd40f9b65cd9bf
3
+ metadata.gz: fab18de6490d1d857c12311da98263b3850d6c4e
4
+ data.tar.gz: b952a06db12531cf69636c5090b114353b134cfa
5
5
  SHA512:
6
- metadata.gz: ebac01012f832b8280a3266c57260f8da951ff8bfe3fc9a0210ff39233c89fb5663f5b9fb5903d0f63d761db64e442b557997351098e625aa6f02e3ab1923475
7
- data.tar.gz: 0a3b3ea1e7fd49ecf915bbe9e4582081683ffe887deaada457d28ca3b53c6ab5229a58befc36dccd9842f36eccdc28590f2c2163b292311921230218a027a054
6
+ metadata.gz: e1733e964eb76f243d22e401b87638ff23e957e3f8ee78123acbfa3e1b2d702075a6b37a34e0b7a51be7dfd7e5c3061fced11fb69e5357cd53269e7de76fa693
7
+ data.tar.gz: 519560831f91ba309f110e62a9bf850348fdbbadc0adbec3f318e2b547c836ba0af4dc323fa3d602ea9348594f5200e78bffbf803cf530ca2f1d80f8b5a70ac5
@@ -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[:tag] || @tag
1099
- @commit = options[:commit] || @commit
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] ||
@@ -1,5 +1,5 @@
1
1
  module Autobuild
2
- VERSION = "1.11.0" unless defined? Autobuild::VERSION
2
+ VERSION = "1.11.1" unless defined? Autobuild::VERSION
3
3
  end
4
4
 
5
5
 
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.0
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-10 00:00:00.000000000 Z
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.2.5
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: