autobuild 1.10.0.rc20 → 1.10.0.rc21
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 +8 -1
- data/lib/autobuild/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: a24414c9ff5b3377a5a8438a11684c3bb9ab0d9f
|
|
4
|
+
data.tar.gz: 8017397fe427de78d2e465e5e1fb4308114879fd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0f06dd6f2869c9478ac2eeceac5ed24633293bfdd91f19e8d47917145fdc8565b1d8a5fb4cae84b3c35af2fd109310f6657f3bb8f6318a77f0849d4783a73154
|
|
7
|
+
data.tar.gz: 655745169510960573c119ac72d9f64af255f4223e79f509f98e809b2906e270500ada724bb7f8c5ce7c940beefc79c4151650d488adb6cc679bcee02258ba5e
|
data/lib/autobuild/import/git.rb
CHANGED
|
@@ -247,7 +247,14 @@ def with_submodules?; !!@with_submodules end
|
|
|
247
247
|
|
|
248
248
|
# Whether 'clone' should fetch only the remote branch, or all the
|
|
249
249
|
# branches
|
|
250
|
-
|
|
250
|
+
def single_branch?
|
|
251
|
+
@single_branch
|
|
252
|
+
end
|
|
253
|
+
|
|
254
|
+
# Set the {#single_branch?} predicate
|
|
255
|
+
def single_branch=(flag)
|
|
256
|
+
@single_branch = !!flag
|
|
257
|
+
end
|
|
251
258
|
|
|
252
259
|
# @api private
|
|
253
260
|
#
|
data/lib/autobuild/version.rb
CHANGED